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