Package com.duffel.sdk.model
Class OrderSliceConditions
java.lang.Object
com.duffel.sdk.model.OrderSliceConditions
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-28T15:13:42.592945+07:00[Asia/Bangkok]")
public class OrderSliceConditions
extends Object
The conditions associated with this slice, describing the kinds of modifications you can make 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 order - for information at the order 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(OrderSliceConditions1ChangeBeforeDeparture changeBeforeDeparture) boolean@NotNull @Valid OrderSliceConditions1ChangeBeforeDepartureGet changeBeforeDepartureinthashCode()voidsetChangeBeforeDeparture(OrderSliceConditions1ChangeBeforeDeparture changeBeforeDeparture) toString()
-
Field Details
-
JSON_PROPERTY_CHANGE_BEFORE_DEPARTURE
- See Also:
-
-
Constructor Details
-
OrderSliceConditions
public OrderSliceConditions()
-
-
Method Details
-
changeBeforeDeparture
public OrderSliceConditions changeBeforeDeparture(OrderSliceConditions1ChangeBeforeDeparture changeBeforeDeparture) -
getChangeBeforeDeparture
@Nullable @NotNull @Valid public @NotNull @Valid OrderSliceConditions1ChangeBeforeDeparture getChangeBeforeDeparture()Get changeBeforeDeparture- Returns:
- changeBeforeDeparture
-
setChangeBeforeDeparture
public void setChangeBeforeDeparture(OrderSliceConditions1ChangeBeforeDeparture changeBeforeDeparture) -
equals
-
hashCode
public int hashCode() -
toString
-