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