Package com.duffel.sdk.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawaitingPayment(Boolean awaitingPayment) booleanWhether a full payment has been made, or the airline is waiting for a payment to be made.@Valid OffsetDateTimeThe [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which you must pay for this order.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>@Valid OffsetDateTimeThe [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.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>inthashCode()paymentRequiredBy(OffsetDateTime paymentRequiredBy) priceGuaranteeExpiresAt(OffsetDateTime priceGuaranteeExpiresAt) voidsetAwaitingPayment(Boolean awaitingPayment) voidsetPaymentRequiredBy(OffsetDateTime paymentRequiredBy) voidsetPaymentRequiredBy_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> paymentRequiredBy) voidsetPriceGuaranteeExpiresAt(OffsetDateTime priceGuaranteeExpiresAt) voidsetPriceGuaranteeExpiresAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> priceGuaranteeExpiresAt) toString()
-
Field Details
-
JSON_PROPERTY_AWAITING_PAYMENT
- See Also:
-
JSON_PROPERTY_PAYMENT_REQUIRED_BY
- See Also:
-
JSON_PROPERTY_PRICE_GUARANTEE_EXPIRES_AT
- See Also:
-
-
Constructor Details
-
OrderPaymentStatus
public OrderPaymentStatus()
-
-
Method Details
-
awaitingPayment
-
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
-
paymentRequiredBy
-
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
-
priceGuaranteeExpiresAt
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-