Enum Class CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum
java.lang.Object
java.lang.Enum<CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum>
travel.wink.sdk.booking.model.CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum
- All Implemented Interfaces:
Serializable,Comparable<CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum>,Constable
- Enclosing class:
CancellationPolicyLightweightBooker
public static enum CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum
extends Enum<CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum>
If advanceCancellationFreeOfCharge rules is not honored, this property explains what the guest will be charged.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
-
Enum Constant Details
-
FIRST_NIGHT
public static final CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum FIRST_NIGHT -
THIRTY_PERCENT
public static final CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum THIRTY_PERCENT -
FIFTY_PERCENT
public static final CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum FIFTY_PERCENT -
SIXTY_PERCENT
public static final CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum SIXTY_PERCENT -
SEVENTY_PERCENT
public static final CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum SEVENTY_PERCENT -
NINENTY_PERCENT
public static final CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum NINENTY_PERCENT -
ONE_HUNDRED_PERCENT
public static final CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum ONE_HUNDRED_PERCENT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-
toString
- Overrides:
toStringin classEnum<CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum>
-
fromValue
public static CancellationPolicyLightweightBooker.RefundableCancellationChargeEnum fromValue(String value)
-