C# 클래스 Riskified.SDK.Model.OrderElements.BasicAddress

상속: IJsonSerializable
파일 보기 프로젝트 열기: Riskified/sdk_net 1 사용 예제들

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