Package com.duffel.sdk.model
Class OfferSliceConditions
java.lang.Object
com.duffel.sdk.model.OfferSliceConditions
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-28T15:13:42.592945+07:00[Asia/Bangkok]")
public class OfferSliceConditions
extends Object
The conditions associated with this slice, describing the kinds of modifications you can make post-booking and any penalties that will apply to those modifications. This condition is applied only to this slice and to all the passengers associated with this offer - for information at the offer level (e.g. \"what happens if I want to change all the slices?\") refer to the `conditions` at the top level. 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(OfferSliceConditions1ChangeBeforeDeparture changeBeforeDeparture) booleanGet changeBeforeDepartureorg.openapitools.jackson.nullable.JsonNullable<OfferSliceConditions1ChangeBeforeDeparture>inthashCode()voidsetChangeBeforeDeparture(OfferSliceConditions1ChangeBeforeDeparture changeBeforeDeparture) voidsetChangeBeforeDeparture_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OfferSliceConditions1ChangeBeforeDeparture> changeBeforeDeparture) toString()
-
Field Details
-
JSON_PROPERTY_CHANGE_BEFORE_DEPARTURE
- See Also:
-
-
Constructor Details
-
OfferSliceConditions
public OfferSliceConditions()
-
-
Method Details
-
changeBeforeDeparture
public OfferSliceConditions changeBeforeDeparture(OfferSliceConditions1ChangeBeforeDeparture changeBeforeDeparture) -
getChangeBeforeDeparture
@Nullable @Valid public @Valid OfferSliceConditions1ChangeBeforeDeparture getChangeBeforeDeparture()Get changeBeforeDeparture- Returns:
- changeBeforeDeparture
-
getChangeBeforeDeparture_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OfferSliceConditions1ChangeBeforeDeparture> getChangeBeforeDeparture_JsonNullable() -
setChangeBeforeDeparture_JsonNullable
public void setChangeBeforeDeparture_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OfferSliceConditions1ChangeBeforeDeparture> changeBeforeDeparture) -
setChangeBeforeDeparture
public void setChangeBeforeDeparture(OfferSliceConditions1ChangeBeforeDeparture changeBeforeDeparture) -
equals
-
hashCode
public int hashCode() -
toString
-