Package com.duffel.sdk.model
Class OrderRequestPassengerIdentityDocument
java.lang.Object
com.duffel.sdk.model.OrderRequestPassengerIdentityDocument
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-28T15:13:42.592945+07:00[Asia/Bangkok]")
public class OrderRequestPassengerIdentityDocument
extends Object
OrderRequestPassengerIdentityDocument
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull @Valid LocalDateThe date on which the identity document expires@NotNull StringThe [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code of the country that issued this identity document@NotNull StringgetType()The type of the identity document.@NotNull StringThe unique identifier of the identity document.inthashCode()issuingCountryCode(String issuingCountryCode) voidsetExpiresOn(LocalDate expiresOn) voidsetIssuingCountryCode(String issuingCountryCode) voidvoidsetUniqueIdentifier(String uniqueIdentifier) toString()uniqueIdentifier(String uniqueIdentifier)
-
Field Details
-
JSON_PROPERTY_EXPIRES_ON
- See Also:
-
JSON_PROPERTY_ISSUING_COUNTRY_CODE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_UNIQUE_IDENTIFIER
- See Also:
-
-
Constructor Details
-
OrderRequestPassengerIdentityDocument
public OrderRequestPassengerIdentityDocument()
-
-
Method Details
-
expiresOn
-
getExpiresOn
The date on which the identity document expires- Returns:
- expiresOn
-
setExpiresOn
-
issuingCountryCode
-
getIssuingCountryCode
The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code of the country that issued this identity document- Returns:
- issuingCountryCode
-
setIssuingCountryCode
-
type
-
getType
The type of the identity document. Currently, the only supported type is `passport`. This must be one of the `allowed_passenger_identity_document_types` on the offer.- Returns:
- type
-
setType
-
uniqueIdentifier
-
getUniqueIdentifier
The unique identifier of the identity document. We currently only support passport so this would be the passport number.- Returns:
- uniqueIdentifier
-
setUniqueIdentifier
-
equals
-
hashCode
public int hashCode() -
toString
-