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

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

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Passenger ( string firstname, string lastname, System.DateTime dateOfBirth, string nationalityCode, float insurancePrice, string documentNumber, string documentType, System.DateTime documentIssueDate, System.DateTime documentExpirationDate, string passengerType = null, string insuranceType = null ) : System

The shipping line (shiiping method)

Validate ( Validations validationType = Validations.Weak ) : void

Validates the objects fields content

메소드 상세

Passenger() 공개 메소드

The shipping line (shiiping method)
public Passenger ( string firstname, string lastname, System.DateTime dateOfBirth, string nationalityCode, float insurancePrice, string documentNumber, string documentType, System.DateTime documentIssueDate, System.DateTime documentExpirationDate, string passengerType = null, string insuranceType = null ) : System
firstname string
lastname string
dateOfBirth System.DateTime
nationalityCode string
insurancePrice float
documentNumber string
documentType string
documentIssueDate System.DateTime
documentExpirationDate System.DateTime
passengerType string
insuranceType string
리턴 System

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 Should use weak validations or strong
리턴 void