Enum Class CancellationPolicyLightweightAuthenticatedEntity.NonRefundableCancellationChargeEnum
java.lang.Object
java.lang.Enum<CancellationPolicyLightweightAuthenticatedEntity.NonRefundableCancellationChargeEnum>
travel.wink.sdk.booking.model.CancellationPolicyLightweightAuthenticatedEntity.NonRefundableCancellationChargeEnum
- All Implemented Interfaces:
Serializable,Comparable<CancellationPolicyLightweightAuthenticatedEntity.NonRefundableCancellationChargeEnum>,Constable
- Enclosing class:
CancellationPolicyLightweightAuthenticatedEntity
public static enum CancellationPolicyLightweightAuthenticatedEntity.NonRefundableCancellationChargeEnum
extends Enum<CancellationPolicyLightweightAuthenticatedEntity.NonRefundableCancellationChargeEnum>
When the cancellation policy is non-refundable, this flag can be set and indicates there is more rules involved to calculate what the guest will owe in case of a cancellation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
FIRST_NIGHT
public static final CancellationPolicyLightweightAuthenticatedEntity.NonRefundableCancellationChargeEnum FIRST_NIGHT -
TEN_PERCENT
public static final CancellationPolicyLightweightAuthenticatedEntity.NonRefundableCancellationChargeEnum TEN_PERCENT -
THIRTY_PERCENT
public static final CancellationPolicyLightweightAuthenticatedEntity.NonRefundableCancellationChargeEnum THIRTY_PERCENT -
FIFTY_PERCENT
public static final CancellationPolicyLightweightAuthenticatedEntity.NonRefundableCancellationChargeEnum FIFTY_PERCENT -
SEVENTY_PERCENT
public static final CancellationPolicyLightweightAuthenticatedEntity.NonRefundableCancellationChargeEnum SEVENTY_PERCENT
-
-
Method Details
-
values
public static CancellationPolicyLightweightAuthenticatedEntity.NonRefundableCancellationChargeEnum[] 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 CancellationPolicyLightweightAuthenticatedEntity.NonRefundableCancellationChargeEnum 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
-
fromValue
public static CancellationPolicyLightweightAuthenticatedEntity.NonRefundableCancellationChargeEnum fromValue(String value)
-