Package com.stripe.param
Enum Class PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType
java.lang.Object
java.lang.Enum<PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType>
com.stripe.param.PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType
- All Implemented Interfaces:
ApiRequestParams.EnumParam,Serializable,Comparable<PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType>,Constable
- Enclosing class:
- PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation
public static enum PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType
extends Enum<PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType>
implements ApiRequestParams.EnumParam
-
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
-
APARTMENT
@SerializedName("apartment") public static final PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType APARTMENT -
CABANA
@SerializedName("cabana") public static final PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType CABANA -
HOUSE
@SerializedName("house") public static final PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType HOUSE -
PENTHOUSE
@SerializedName("penthouse") public static final PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType PENTHOUSE -
ROOM
@SerializedName("room") public static final PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType ROOM -
STANDARD
@SerializedName("standard") public static final PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType STANDARD -
SUITE
@SerializedName("suite") public static final PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType SUITE -
VILLA
@SerializedName("villa") public static final PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType VILLA
-
-
Method Details
-
values
public static PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType[] 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 PaymentIntentCreateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType 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
- Specified by:
getValuein interfaceApiRequestParams.EnumParam
-