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

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

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