Enum Class SpecialRateBundleLightweightAuthenticatedEntity.PricingTypeEnum
java.lang.Object
java.lang.Enum<SpecialRateBundleLightweightAuthenticatedEntity.PricingTypeEnum>
travel.wink.sdk.user.settings.model.SpecialRateBundleLightweightAuthenticatedEntity.PricingTypeEnum
- All Implemented Interfaces:
Serializable,Comparable<SpecialRateBundleLightweightAuthenticatedEntity.PricingTypeEnum>,Constable
- Enclosing class:
SpecialRateBundleLightweightAuthenticatedEntity
public static enum SpecialRateBundleLightweightAuthenticatedEntity.PricingTypeEnum
extends Enum<SpecialRateBundleLightweightAuthenticatedEntity.PricingTypeEnum>
Determines whether this discount should be applied per night, per stay or per person - per night; Required if amount override is not null
-
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
-
PER_STAY
-
PER_DAY
-
PER_NIGHT
-
PER_USE
-
PER_HOUR
-
PER_PERSON
-
PER_PERSON_PER_NIGHT
public static final SpecialRateBundleLightweightAuthenticatedEntity.PricingTypeEnum PER_PERSON_PER_NIGHT -
PER_PERSON_PER_HOUR
public static final SpecialRateBundleLightweightAuthenticatedEntity.PricingTypeEnum PER_PERSON_PER_HOUR -
PER_ADULT
-
PER_ADULT_PER_NIGHT
public static final SpecialRateBundleLightweightAuthenticatedEntity.PricingTypeEnum PER_ADULT_PER_NIGHT -
PER_ADULT_PER_HOUR
public static final SpecialRateBundleLightweightAuthenticatedEntity.PricingTypeEnum PER_ADULT_PER_HOUR -
PER_CHILD
-
PER_CHILD_PER_NIGHT
public static final SpecialRateBundleLightweightAuthenticatedEntity.PricingTypeEnum PER_CHILD_PER_NIGHT -
PER_CHILD_PER_HOUR
public static final SpecialRateBundleLightweightAuthenticatedEntity.PricingTypeEnum PER_CHILD_PER_HOUR
-
-
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
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<SpecialRateBundleLightweightAuthenticatedEntity.PricingTypeEnum>
-
fromValue
public static SpecialRateBundleLightweightAuthenticatedEntity.PricingTypeEnum fromValue(String value)
-