Package com.duffel.sdk.model
Class OfferIndexPaymentRequirements
java.lang.Object
com.duffel.sdk.model.OfferIndexPaymentRequirements
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-28T15:18:14.926970+07:00[Asia/Bangkok]")
public class OfferIndexPaymentRequirements
extends Object
OfferIndexPaymentRequirements
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid OffsetDateTimeThe [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which you must pay for this offer.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 may change before payment.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>When payment is required at the time of booking this will be `true` and `payment_required_by` and `price_guarantee_expires_at` will be `null`.inthashCode()paymentRequiredBy(OffsetDateTime paymentRequiredBy) priceGuaranteeExpiresAt(OffsetDateTime priceGuaranteeExpiresAt) requiresInstantPayment(Boolean requiresInstantPayment) voidsetPaymentRequiredBy(OffsetDateTime paymentRequiredBy) voidsetPaymentRequiredBy_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> paymentRequiredBy) voidsetPriceGuaranteeExpiresAt(OffsetDateTime priceGuaranteeExpiresAt) voidsetPriceGuaranteeExpiresAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> priceGuaranteeExpiresAt) voidsetRequiresInstantPayment(Boolean requiresInstantPayment) toString()
-
Field Details
-
JSON_PROPERTY_PAYMENT_REQUIRED_BY
- See Also:
-
JSON_PROPERTY_PRICE_GUARANTEE_EXPIRES_AT
- See Also:
-
JSON_PROPERTY_REQUIRES_INSTANT_PAYMENT
- See Also:
-
-
Constructor Details
-
OfferIndexPaymentRequirements
public OfferIndexPaymentRequirements()
-
-
Method Details
-
paymentRequiredBy
-
getPaymentRequiredBy
The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which you must pay for this offer. 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` when the offer requires immediate payment - that is, when `requires_instant_payment` is `true`.- 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
public OfferIndexPaymentRequirements priceGuaranteeExpiresAt(OffsetDateTime 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 may change before payment. This will be `null` when `requires_instant_payment` is `true`.- 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
-
requiresInstantPayment
-
getRequiresInstantPayment
When payment is required at the time of booking this will be `true` and `payment_required_by` and `price_guarantee_expires_at` will be `null`. When payment can be made at a time after booking, this will be `false` and the time limits on the payment will be provided in `payment_required_by` and `price_guarantee_expires_at`.- Returns:
- requiresInstantPayment
-
setRequiresInstantPayment
-
equals
-
hashCode
public int hashCode() -
toString
-