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