Package com.duffel.sdk.model
Class OfferConditions
java.lang.Object
com.duffel.sdk.model.OfferConditions
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-16T15:26:22.356688490+07:00[Asia/Bangkok]")
public class OfferConditions
extends Object
The conditions associated with this offer, describing the kinds of modifications you can make post-booking and any penalties that will apply to those modifications. This information assumes the condition is applied to all of the slices and passengers associated with this offer - for information at the slice level (e.g. \"what happens if I just want to change the first slice?\") refer to the `slices`. If a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchangeBeforeDeparture(OfferConditions1ChangeBeforeDeparture changeBeforeDeparture) booleanGet changeBeforeDepartureorg.openapitools.jackson.nullable.JsonNullable<OfferConditions1ChangeBeforeDeparture> Get refundBeforeDepartureorg.openapitools.jackson.nullable.JsonNullable<OfferConditions1RefundBeforeDeparture> inthashCode()refundBeforeDeparture(OfferConditions1RefundBeforeDeparture refundBeforeDeparture) voidsetChangeBeforeDeparture(OfferConditions1ChangeBeforeDeparture changeBeforeDeparture) voidsetChangeBeforeDeparture_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OfferConditions1ChangeBeforeDeparture> changeBeforeDeparture) voidsetRefundBeforeDeparture(OfferConditions1RefundBeforeDeparture refundBeforeDeparture) voidsetRefundBeforeDeparture_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OfferConditions1RefundBeforeDeparture> refundBeforeDeparture) toString()
-
Field Details
-
JSON_PROPERTY_CHANGE_BEFORE_DEPARTURE
- See Also:
-
JSON_PROPERTY_REFUND_BEFORE_DEPARTURE
- See Also:
-
-
Constructor Details
-
OfferConditions
public OfferConditions()
-
-
Method Details
-
changeBeforeDeparture
public OfferConditions changeBeforeDeparture(OfferConditions1ChangeBeforeDeparture changeBeforeDeparture) -
getChangeBeforeDeparture
Get changeBeforeDeparture- Returns:
- changeBeforeDeparture
-
getChangeBeforeDeparture_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OfferConditions1ChangeBeforeDeparture> getChangeBeforeDeparture_JsonNullable() -
setChangeBeforeDeparture_JsonNullable
public void setChangeBeforeDeparture_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OfferConditions1ChangeBeforeDeparture> changeBeforeDeparture) -
setChangeBeforeDeparture
-
refundBeforeDeparture
public OfferConditions refundBeforeDeparture(OfferConditions1RefundBeforeDeparture refundBeforeDeparture) -
getRefundBeforeDeparture
Get refundBeforeDeparture- Returns:
- refundBeforeDeparture
-
getRefundBeforeDeparture_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OfferConditions1RefundBeforeDeparture> getRefundBeforeDeparture_JsonNullable() -
setRefundBeforeDeparture_JsonNullable
public void setRefundBeforeDeparture_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OfferConditions1RefundBeforeDeparture> refundBeforeDeparture) -
setRefundBeforeDeparture
-
equals
-
hashCode
public int hashCode() -
toString
-