Class RatePlanSingleOccupancyRateModifier
java.lang.Object
travel.wink.sdk.booking.engine.model.RatePlanSingleOccupancyRateModifier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-09-06T15:30:26.907612+07:00[Asia/Bangkok]")
public class RatePlanSingleOccupancyRateModifier
extends Object
How much extra to charge if a single individual stays in a room meant for more two or more people.
-
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(Moneys fixedAmount) @Valid MoneysGet 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(Moneys fixedAmount) voidsetPercent(Float percent) voidtoString()
-
Field Details
-
JSON_PROPERTY_PERCENT
- See Also:
-
JSON_PROPERTY_FIXED_AMOUNT
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
RatePlanSingleOccupancyRateModifier
public RatePlanSingleOccupancyRateModifier()
-
-
Method Details
-
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
-
type
-
getType
When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-