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