Package travel.wink.sdk.extranet.model
Class VariableChargeSupplierDetails
java.lang.Object
travel.wink.sdk.extranet.model.VariableChargeSupplierDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-15T11:55:15.242722091+07:00[Asia/Bangkok]")
public class VariableChargeSupplierDetails
extends Object
VariableChargeSupplierDetails
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhen the type is FIXED, fixedAmount is required. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfixedAmount(CustomMonetaryAmount fixedAmount) @Valid CustomMonetaryAmountGet fixedAmountA percentage of the total stay amount for an early check-in or late check-outgetType()When the type is FIXED, fixedAmount is required.inthashCode()voidsetFixedAmount(CustomMonetaryAmount fixedAmount) voidsetPercent(Float percent) voidtoString()
-
Field Details
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_PERCENT
- See Also:
-
JSON_PROPERTY_FIXED_AMOUNT
- See Also:
-
-
Constructor Details
-
VariableChargeSupplierDetails
public VariableChargeSupplierDetails()
-
-
Method Details
-
type
-
getType
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.- Returns:
- type
-
setType
-
percent
-
getPercent
A percentage of the total stay amount for an early check-in or late check-out- Returns:
- percent
-
setPercent
-
fixedAmount
-
getFixedAmount
Get fixedAmount- Returns:
- fixedAmount
-
setFixedAmount
-
equals
-
hashCode
public int hashCode() -
toString
-