Package com.duffel.sdk.model
Class ServiceMetadataSeat
java.lang.Object
com.duffel.sdk.model.ServiceMetadataSeat
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-28T15:18:14.926970+07:00[Asia/Bangkok]")
public class ServiceMetadataSeat
extends Object
An object containing metadata about the service, like the designator of the seat.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDisclosuresItem(String disclosuresItem) designator(String designator) disclosures(List<String> disclosures) boolean@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.@NotNull StringgetName()A name which describes the type of seat, which you can display in your user interface to help customers to understand its featuresinthashCode()voidsetDesignator(String designator) voidsetDisclosures(List<String> disclosures) voidtoString()
-
Field Details
-
JSON_PROPERTY_DESIGNATOR
- See Also:
-
JSON_PROPERTY_DISCLOSURES
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
ServiceMetadataSeat
public ServiceMetadataSeat()
-
-
Method Details
-
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
-
setName
-
equals
-
hashCode
public int hashCode() -
toString
-