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