Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
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
|
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 |
public Validate ( Validations validationType = Validations.Weak ) : void | ||
validationType | Validations | Validation level to use on this model |
Результат | void |