Class OrderPaymentStatus

java.lang.Object
com.duffel.sdk.model.OrderPaymentStatus

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-08-28T15:18:14.926970+07:00[Asia/Bangkok]") public class OrderPaymentStatus extends Object
The payment status for this order
  • Field Details

  • Constructor Details

    • OrderPaymentStatus

      public OrderPaymentStatus()
  • Method Details

    • awaitingPayment

      public OrderPaymentStatus awaitingPayment(Boolean awaitingPayment)
    • getAwaitingPayment

      @Nullable public Boolean getAwaitingPayment()
      Whether a full payment has been made, or the airline is waiting for a payment to be made. This will be set to false if the order has been cancelled or if `payment_required_by` has elapsed.
      Returns:
      awaitingPayment
    • setAwaitingPayment

      public void setAwaitingPayment(Boolean awaitingPayment)
    • paymentRequiredBy

      public OrderPaymentStatus paymentRequiredBy(OffsetDateTime paymentRequiredBy)
    • getPaymentRequiredBy

      @Nullable @Valid public @Valid OffsetDateTime getPaymentRequiredBy()
      The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which you must pay for this order. At this time, if still unpaid, the reserved space on the flight(s) will be released and you will have to create a new order. This will be `null` only for orders where `awaiting_payment` is `false`.
      Returns:
      paymentRequiredBy
    • getPaymentRequiredBy_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getPaymentRequiredBy_JsonNullable()
    • setPaymentRequiredBy_JsonNullable

      public void setPaymentRequiredBy_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> paymentRequiredBy)
    • setPaymentRequiredBy

      public void setPaymentRequiredBy(OffsetDateTime paymentRequiredBy)
    • priceGuaranteeExpiresAt

      public OrderPaymentStatus priceGuaranteeExpiresAt(OffsetDateTime priceGuaranteeExpiresAt)
    • getPriceGuaranteeExpiresAt

      @Nullable @Valid public @Valid OffsetDateTime getPriceGuaranteeExpiresAt()
      The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the price associated with the order will no longer be guaranteed by the airline and the order will need to be repriced before payment. This will be `null` when there is no price guarantee.
      Returns:
      priceGuaranteeExpiresAt
    • getPriceGuaranteeExpiresAt_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getPriceGuaranteeExpiresAt_JsonNullable()
    • setPriceGuaranteeExpiresAt_JsonNullable

      public void setPriceGuaranteeExpiresAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> priceGuaranteeExpiresAt)
    • setPriceGuaranteeExpiresAt

      public void setPriceGuaranteeExpiresAt(OffsetDateTime priceGuaranteeExpiresAt)
    • 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