Package com.duffel.sdk.model
Class OrderDocument
java.lang.Object
com.duffel.sdk.model.OrderDocument
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-16T15:26:22.356688490+07:00[Asia/Bangkok]")
public class OrderDocument
extends Object
OrderDocument
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPassengerIdsItem(String passengerIdsItem) booleanThe list of passenger `id`s the document applies togetType()The type of documentThe identifier for the document, in the case of electronic tickets this string represents the payment or the entitlement to fly.inthashCode()passengerIds(List<String> passengerIds) voidsetPassengerIds(List<String> passengerIds) voidvoidsetUniqueIdentifier(String uniqueIdentifier) toString()type(OrderDocument.TypeEnum type) uniqueIdentifier(String uniqueIdentifier)
-
Field Details
-
JSON_PROPERTY_PASSENGER_IDS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_UNIQUE_IDENTIFIER
- See Also:
-
-
Constructor Details
-
OrderDocument
public OrderDocument()
-
-
Method Details
-
passengerIds
-
addPassengerIdsItem
-
getPassengerIds
The list of passenger `id`s the document applies to- Returns:
- passengerIds
-
setPassengerIds
-
type
-
getType
The type of document- Returns:
- type
-
setType
-
uniqueIdentifier
-
getUniqueIdentifier
The identifier for the document, in the case of electronic tickets this string represents the payment or the entitlement to fly.- Returns:
- uniqueIdentifier
-
setUniqueIdentifier
-
equals
-
hashCode
public int hashCode() -
toString
-