Package com.stripe.param
Enum Class PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type
java.lang.Object
java.lang.Enum<PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type>
com.stripe.param.PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type
- All Implemented Interfaces:
ApiRequestParams.EnumParam,Serializable,Comparable<PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type>,Constable
public static enum PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type
extends Enum<PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type>
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 ConstantsEnum ConstantDescription -
Method Summary
-
Enum Constant Details
-
EXTRA_MILEAGE
@SerializedName("extra_mileage") public static final PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type EXTRA_MILEAGE -
GAS
@SerializedName("gas") public static final PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type GAS -
GPS
@SerializedName("gps") public static final PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type GPS -
LATE_CHARGE
@SerializedName("late_charge") public static final PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type LATE_CHARGE -
ONE_WAY_DROP_OFF
@SerializedName("one_way_drop_off") public static final PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type ONE_WAY_DROP_OFF -
OTHER
@SerializedName("other") public static final PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type OTHER -
PARKING
@SerializedName("parking") public static final PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type PARKING -
PHONE
@SerializedName("phone") public static final PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type PHONE -
REGULAR_MILEAGE
@SerializedName("regular_mileage") public static final PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type REGULAR_MILEAGE -
TOWING
@SerializedName("towing") public static final PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type TOWING
-
-
Method Details
-
values
public static PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type[] 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 PaymentIntentCaptureParams.PaymentDetails.CarRentalData.Total.ExtraCharge.Type 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
-