Package com.duffel.sdk.model
Class OfferServiceMetadata
java.lang.Object
com.duffel.sdk.model.OfferServiceMetadata
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-16T15:26:22.356688490+07:00[Asia/Bangkok]")
public class OfferServiceMetadata
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 TypeMethodDescriptionboolean@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 OfferServiceMetadata.TypeEnumgetType()The type of the baggageinthashCode()maximumDepthCm(BigDecimal maximumDepthCm) maximumHeightCm(BigDecimal maximumHeightCm) maximumLengthCm(BigDecimal maximumLengthCm) maximumWeightKg(BigDecimal maximumWeightKg) voidsetMaximumDepthCm(BigDecimal maximumDepthCm) voidsetMaximumHeightCm(BigDecimal maximumHeightCm) voidsetMaximumLengthCm(BigDecimal maximumLengthCm) voidsetMaximumWeightKg(BigDecimal maximumWeightKg) voidtoString()
-
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:
-
-
Constructor Details
-
OfferServiceMetadata
public OfferServiceMetadata()
-
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-