Package com.duffel.sdk.model
Class OrderConditions
java.lang.Object
com.duffel.sdk.model.OrderConditions
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-16T15:26:22.356688490+07:00[Asia/Bangkok]")
public class OrderConditions
extends Object
The conditions associated with this order, describing the kinds of modifications you can make to it 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 order - 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(OrderConditions1ChangeBeforeDeparture changeBeforeDeparture) booleanGet changeBeforeDepartureorg.openapitools.jackson.nullable.JsonNullable<OrderConditions1ChangeBeforeDeparture> Get refundBeforeDepartureorg.openapitools.jackson.nullable.JsonNullable<OrderConditions1RefundBeforeDeparture> inthashCode()refundBeforeDeparture(OrderConditions1RefundBeforeDeparture refundBeforeDeparture) voidsetChangeBeforeDeparture(OrderConditions1ChangeBeforeDeparture changeBeforeDeparture) voidsetChangeBeforeDeparture_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OrderConditions1ChangeBeforeDeparture> changeBeforeDeparture) voidsetRefundBeforeDeparture(OrderConditions1RefundBeforeDeparture refundBeforeDeparture) voidsetRefundBeforeDeparture_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OrderConditions1RefundBeforeDeparture> refundBeforeDeparture) toString()
-
Field Details
-
JSON_PROPERTY_CHANGE_BEFORE_DEPARTURE
- See Also:
-
JSON_PROPERTY_REFUND_BEFORE_DEPARTURE
- See Also:
-
-
Constructor Details
-
OrderConditions
public OrderConditions()
-
-
Method Details
-
changeBeforeDeparture
public OrderConditions changeBeforeDeparture(OrderConditions1ChangeBeforeDeparture changeBeforeDeparture) -
getChangeBeforeDeparture
Get changeBeforeDeparture- Returns:
- changeBeforeDeparture
-
getChangeBeforeDeparture_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OrderConditions1ChangeBeforeDeparture> getChangeBeforeDeparture_JsonNullable() -
setChangeBeforeDeparture_JsonNullable
public void setChangeBeforeDeparture_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OrderConditions1ChangeBeforeDeparture> changeBeforeDeparture) -
setChangeBeforeDeparture
-
refundBeforeDeparture
public OrderConditions refundBeforeDeparture(OrderConditions1RefundBeforeDeparture refundBeforeDeparture) -
getRefundBeforeDeparture
Get refundBeforeDeparture- Returns:
- refundBeforeDeparture
-
getRefundBeforeDeparture_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OrderConditions1RefundBeforeDeparture> getRefundBeforeDeparture_JsonNullable() -
setRefundBeforeDeparture_JsonNullable
public void setRefundBeforeDeparture_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OrderConditions1RefundBeforeDeparture> refundBeforeDeparture) -
setRefundBeforeDeparture
-
equals
-
hashCode
public int hashCode() -
toString
-