Package com.duffel.sdk.model
Class OrderChangeRequestBodySlicesAddInner
java.lang.Object
com.duffel.sdk.model.OrderChangeRequestBodySlicesAddInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-16T15:26:22.356688490+07:00[Asia/Bangkok]")
public class OrderChangeRequestBodySlicesAddInner
extends Object
The search criteria for a slice to be added
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe cabin that the passengers want to travel in -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondepartureDate(LocalDate departureDate) destination(String destination) booleanThe cabin that the passengers want to travel in@Valid LocalDateThe [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the passengers want to departThe 3-letter IATA code for the city or airport where this slice endsThe 3-letter IATA code for the city or airport where this slice startsinthashCode()voidvoidsetDepartureDate(LocalDate departureDate) voidsetDestination(String destination) voidtoString()
-
Field Details
-
JSON_PROPERTY_CABIN_CLASS
- See Also:
-
JSON_PROPERTY_DEPARTURE_DATE
- See Also:
-
JSON_PROPERTY_DESTINATION
- See Also:
-
JSON_PROPERTY_ORIGIN
- See Also:
-
-
Constructor Details
-
OrderChangeRequestBodySlicesAddInner
public OrderChangeRequestBodySlicesAddInner()
-
-
Method Details
-
cabinClass
public OrderChangeRequestBodySlicesAddInner cabinClass(OrderChangeRequestBodySlicesAddInner.CabinClassEnum cabinClass) -
getCabinClass
The cabin that the passengers want to travel in- Returns:
- cabinClass
-
setCabinClass
-
departureDate
-
getDepartureDate
The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the passengers want to depart- Returns:
- departureDate
-
setDepartureDate
-
destination
-
getDestination
The 3-letter IATA code for the city or airport where this slice ends- Returns:
- destination
-
setDestination
-
origin
-
getOrigin
The 3-letter IATA code for the city or airport where this slice starts- Returns:
- origin
-
setOrigin
-
equals
-
hashCode
public int hashCode() -
toString
-