C# Класс Riskified.SDK.Model.OrderElements.BasicAddress

Наследование: IJsonSerializable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
BasicAddress ( string address1 = null, string city = null, string country = null, string countryCode = null, string phone = null, string address2 = null, string zipCode = null, string province = null, string provinceCode = null, string company = null, bool verifiedPhone = null, string additionalPhone = null ) : Newtonsoft.Json

Creates a BasicAddress instance

Validate ( Validations validationType = Validations.Weak ) : void

Validates the objects fields content

Описание методов

BasicAddress() публичный Метод

Creates a BasicAddress instance
public BasicAddress ( string address1 = null, string city = null, string country = null, string countryCode = null, string phone = null, string address2 = null, string zipCode = null, string province = null, string provinceCode = null, string company = null, bool verifiedPhone = null, string additionalPhone = null ) : Newtonsoft.Json
address1 string The address (street, house number)
city string The city part of the address
country string The full name of the country
countryCode string The 2 letter code of the country
phone string The phone number of the addressee
address2 string Additional address information like entrance, apartment number, etc. (optional)
zipCode string The zipcode of the address (optional)
province string The full province name (optional)
provinceCode string The 2 letter code of the province (optional)
company string The company of the addressee (optional)
verifiedPhone bool
additionalPhone string
Результат Newtonsoft.Json

Validate() публичный Метод

Validates the objects fields content
throws an exception if one of the parameters doesn't match the expected format
public Validate ( Validations validationType = Validations.Weak ) : void
validationType Validations Validation level to use on this model
Результат void