Package com.duffel.sdk.model
Class SliceSegmentPassengerBaggage
java.lang.Object
com.duffel.sdk.model.SliceSegmentPassengerBaggage
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-16T15:26:22.356688490+07:00[Asia/Bangkok]")
public class SliceSegmentPassengerBaggage
extends Object
SliceSegmentPassengerBaggage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the baggage allowance -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe number of items of baggage of the specified `type` allowed on the segment.getType()The type of the baggage allowanceinthashCode()voidsetQuantity(Integer quantity) voidtoString()
-
Field Details
-
JSON_PROPERTY_QUANTITY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SliceSegmentPassengerBaggage
public SliceSegmentPassengerBaggage()
-
-
Method Details
-
quantity
-
getQuantity
The number of items of baggage of the specified `type` allowed on the segment. Where zero items of a particular `type` are allowed, this may be represented as `quantity: 0`, or there may be no entry for the `type` at all.- Returns:
- quantity
-
setQuantity
-
type
-
getType
The type of the baggage allowance- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-