Package com.duffel.sdk.model
Class OrderServiceMetadata
java.lang.Object
com.duffel.sdk.model.OrderServiceMetadata
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-16T15:26:22.356688490+07:00[Asia/Bangkok]")
public class OrderServiceMetadata
extends Object
The metadata varies by the type of service. It includes further data about the service. For example, for baggages, it may have data about size and weight restrictions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the baggage -
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 @Valid BigDecimalThe maximum depth that the baggage can have in centimetres@NotNull @Valid BigDecimalThe maximum height that the baggage can have in centimetres@NotNull @Valid BigDecimalThe maximum length that the baggage can have in centimetres@NotNull @Valid BigDecimalThe maximum weight that the baggage can have in kilograms@NotNull StringgetName()A name which describes the type of seat, which you can display in your user interface to help customers to understand its features@NotNull OrderServiceMetadata.TypeEnumgetType()The type of the baggageinthashCode()maximumDepthCm(BigDecimal maximumDepthCm) maximumHeightCm(BigDecimal maximumHeightCm) maximumLengthCm(BigDecimal maximumLengthCm) maximumWeightKg(BigDecimal maximumWeightKg) voidsetDesignator(String designator) voidsetDisclosures(List<String> disclosures) voidsetMaximumDepthCm(BigDecimal maximumDepthCm) voidsetMaximumHeightCm(BigDecimal maximumHeightCm) voidsetMaximumLengthCm(BigDecimal maximumLengthCm) voidsetMaximumWeightKg(BigDecimal maximumWeightKg) voidvoidtoString()
-
Field Details
-
JSON_PROPERTY_MAXIMUM_DEPTH_CM
- See Also:
-
JSON_PROPERTY_MAXIMUM_HEIGHT_CM
- See Also:
-
JSON_PROPERTY_MAXIMUM_LENGTH_CM
- See Also:
-
JSON_PROPERTY_MAXIMUM_WEIGHT_KG
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_DESIGNATOR
- See Also:
-
JSON_PROPERTY_DISCLOSURES
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
OrderServiceMetadata
public OrderServiceMetadata()
-
-
Method Details
-
maximumDepthCm
-
getMaximumDepthCm
The maximum depth that the baggage can have in centimetres- Returns:
- maximumDepthCm
-
setMaximumDepthCm
-
maximumHeightCm
-
getMaximumHeightCm
The maximum height that the baggage can have in centimetres- Returns:
- maximumHeightCm
-
setMaximumHeightCm
-
maximumLengthCm
-
getMaximumLengthCm
The maximum length that the baggage can have in centimetres- Returns:
- maximumLengthCm
-
setMaximumLengthCm
-
maximumWeightKg
-
getMaximumWeightKg
The maximum weight that the baggage can have in kilograms- Returns:
- maximumWeightKg
-
setMaximumWeightKg
-
type
-
getType
The type of the baggage- Returns:
- type
-
setType
-
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
-