Package com.duffel.sdk.model
Class CabinRowSectionSeatElement
java.lang.Object
com.duffel.sdk.model.CabinRowSectionSeatElement
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-16T15:26:22.356688490+07:00[Asia/Bangkok]")
public class CabinRowSectionSeatElement
extends Object
A seat for a passenger. If the `available_services` list is empty (which will be represented as an empty list : `[]`), the seat is unavailable. For display, all seats should be displayed with the same static width.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of this element -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAvailableServicesItem(SeatService availableServicesItem) addDisclosuresItem(String disclosuresItem) availableServices(List<SeatService> availableServices) designator(String designator) disclosures(List<String> disclosures) boolean@NotNull @Valid List<SeatService> Seats are considered a special kind of service.@NotNull StringThe designator used to uniquely identify the seat, usually made up of a row number and a column letterEach disclosure is text, in English, provided by the airline that describes the terms and conditions of this seat.getName()A name which describes the type of seat, which you can display in your user interface to help customers to understand its featuresorg.openapitools.jackson.nullable.JsonNullable<String> @NotNull CabinRowSectionSeatElement.TypeEnumgetType()The type of this elementinthashCode()voidsetAvailableServices(List<SeatService> availableServices) voidsetDesignator(String designator) voidsetDisclosures(List<String> disclosures) voidvoidsetName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> name) voidtoString()
-
Field Details
-
JSON_PROPERTY_AVAILABLE_SERVICES
- See Also:
-
JSON_PROPERTY_DESIGNATOR
- See Also:
-
JSON_PROPERTY_DISCLOSURES
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CabinRowSectionSeatElement
public CabinRowSectionSeatElement()
-
-
Method Details
-
availableServices
-
addAvailableServicesItem
-
getAvailableServices
Seats are considered a special kind of service. There will be at most one service per seat per passenger. A seat can only be booked for one passenger. If a seat has no available services (which will be represented as an empty list : `[]`) then it's unavailable.- Returns:
- availableServices
-
setAvailableServices
-
designator
-
getDesignator
The designator used to uniquely identify the seat, usually made up of a row number and a column letter- Returns:
- designator
-
setDesignator
-
disclosures
-
addDisclosuresItem
-
getDisclosures
Each disclosure is text, in English, provided by the airline that describes the terms and conditions of this seat. We recommend showing this in your user interface to make sure that customers understand any restrictions and limitations.- Returns:
- disclosures
-
setDisclosures
-
name
-
getName
A name which describes the type of seat, which you can display in your user interface to help customers to understand its features- Returns:
- name
-
getName_JsonNullable
-
setName_JsonNullable
-
setName
-
type
-
getType
The type of this element- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-