Package com.stripe.param
Enum Class SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose
java.lang.Object
java.lang.Enum<SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose>
com.stripe.param.SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,Serializable
,Comparable<SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose>
,Constable
- Enclosing class:
- SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions
public static enum SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose
extends Enum<SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose>
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
-
DEPENDANT_SUPPORT
@SerializedName("dependant_support") public static final SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose DEPENDANT_SUPPORT -
GOVERNMENT
@SerializedName("government") public static final SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose GOVERNMENT -
LOAN
@SerializedName("loan") public static final SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose LOAN -
MORTGAGE
@SerializedName("mortgage") public static final SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose MORTGAGE -
OTHER
@SerializedName("other") public static final SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose OTHER -
PENSION
@SerializedName("pension") public static final SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose PENSION -
PERSONAL
@SerializedName("personal") public static final SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose PERSONAL -
RETAIL
@SerializedName("retail") public static final SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose RETAIL -
SALARY
@SerializedName("salary") public static final SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose SALARY -
TAX
@SerializedName("tax") public static final SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose TAX -
UTILITY
@SerializedName("utility") public static final SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose UTILITY
-
-
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 SetupIntentConfirmParams.PaymentMethodOptions.Payto.MandateOptions.Purpose 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:
getValue
in interfaceApiRequestParams.EnumParam
-