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