Enum Class CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum
java.lang.Object
java.lang.Enum<CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum>
travel.wink.sdk.lookup.model.CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum
- All Implemented Interfaces:
Serializable,Comparable<CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum>,Constable
- Enclosing class:
CancellationPolicyLightweightNonAuthenticatedEntity
public static enum CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum
extends Enum<CancellationPolicyLightweightNonAuthenticatedEntity.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 CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum FIRST_NIGHT -
TEN_PERCENT
public static final CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum TEN_PERCENT -
THIRTY_PERCENT
public static final CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum THIRTY_PERCENT -
FIFTY_PERCENT
public static final CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum FIFTY_PERCENT -
SEVENTY_PERCENT
public static final CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum SEVENTY_PERCENT
-
-
Method Details
-
values
public static CancellationPolicyLightweightNonAuthenticatedEntity.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 CancellationPolicyLightweightNonAuthenticatedEntity.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 CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum fromValue(String value)
-