Package com.duffel.sdk.model
Class ServiceMetadataForABaggage
java.lang.Object
com.duffel.sdk.model.ServiceMetadataForABaggage
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-28T15:13:42.592945+07:00[Asia/Bangkok]")
public class ServiceMetadataForABaggage
extends Object
An object containing metadata about the service, like the maximum weight and dimensions of the baggage.
-
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 ServiceMetadataForABaggage.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
-
ServiceMetadataForABaggage
public ServiceMetadataForABaggage()
-
-
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
-