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