Свойство | Type | Description |
---|
Méthode | Description | |
---|---|---|
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
|
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 | |
Résultat | System |
public Validate ( Validations validationType = Validations.Weak ) : void | ||
validationType | Validations | Should use weak validations or strong |
Résultat | void |