Package com.stripe.param
Enum Class ChargeCaptureParams.PaymentDetails.CarRentalData.Insurance.InsuranceType
java.lang.Object
java.lang.Enum<ChargeCaptureParams.PaymentDetails.CarRentalData.Insurance.InsuranceType>
com.stripe.param.ChargeCaptureParams.PaymentDetails.CarRentalData.Insurance.InsuranceType
- All Implemented Interfaces:
ApiRequestParams.EnumParam,Serializable,Comparable<ChargeCaptureParams.PaymentDetails.CarRentalData.Insurance.InsuranceType>,Constable
- Enclosing class:
- ChargeCaptureParams.PaymentDetails.CarRentalData.Insurance
public static enum ChargeCaptureParams.PaymentDetails.CarRentalData.Insurance.InsuranceType
extends Enum<ChargeCaptureParams.PaymentDetails.CarRentalData.Insurance.InsuranceType>
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
-
LIABILITY_SUPPLEMENT
@SerializedName("liability_supplement") public static final ChargeCaptureParams.PaymentDetails.CarRentalData.Insurance.InsuranceType LIABILITY_SUPPLEMENT -
LOSS_DAMAGE_WAIVER
@SerializedName("loss_damage_waiver") public static final ChargeCaptureParams.PaymentDetails.CarRentalData.Insurance.InsuranceType LOSS_DAMAGE_WAIVER -
OTHER
@SerializedName("other") public static final ChargeCaptureParams.PaymentDetails.CarRentalData.Insurance.InsuranceType OTHER -
PARTIAL_DAMAGE_WAIVER
@SerializedName("partial_damage_waiver") public static final ChargeCaptureParams.PaymentDetails.CarRentalData.Insurance.InsuranceType PARTIAL_DAMAGE_WAIVER -
PERSONAL_ACCIDENT
@SerializedName("personal_accident") public static final ChargeCaptureParams.PaymentDetails.CarRentalData.Insurance.InsuranceType PERSONAL_ACCIDENT -
PERSONAL_EFFECTS
@SerializedName("personal_effects") public static final ChargeCaptureParams.PaymentDetails.CarRentalData.Insurance.InsuranceType PERSONAL_EFFECTS
-
-
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 ChargeCaptureParams.PaymentDetails.CarRentalData.Insurance.InsuranceType 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
-