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
  • Field Details

  • Constructor Details

    • OrderDocument

      public OrderDocument()
  • Method Details

    • passengerIds

      public OrderDocument passengerIds(List<String> passengerIds)
    • addPassengerIdsItem

      public OrderDocument addPassengerIdsItem(String passengerIdsItem)
    • getPassengerIds

      @Nullable public List<String> getPassengerIds()
      The list of passenger `id`s the document applies to
      Returns:
      passengerIds
    • setPassengerIds

      public void setPassengerIds(List<String> passengerIds)
    • type

    • getType

      @Nullable public OrderDocument.TypeEnum getType()
      The type of document
      Returns:
      type
    • setType

      public void setType(OrderDocument.TypeEnum type)
    • uniqueIdentifier

      public OrderDocument uniqueIdentifier(String uniqueIdentifier)
    • getUniqueIdentifier

      @Nullable public String 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

      public void setUniqueIdentifier(String uniqueIdentifier)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object