public static enum SourceCreateParams.Mandate.NotificationMethod extends java.lang.Enum<SourceCreateParams.Mandate.NotificationMethod> implements ApiRequestParams.EnumParam
Enum Constant and Description |
---|
DEPRECATED_NONE |
EMAIL |
MANUAL |
NONE |
STRIPE_EMAIL |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static SourceCreateParams.Mandate.NotificationMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SourceCreateParams.Mandate.NotificationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="deprecated_none") public static final SourceCreateParams.Mandate.NotificationMethod DEPRECATED_NONE
@SerializedName(value="email") public static final SourceCreateParams.Mandate.NotificationMethod EMAIL
@SerializedName(value="manual") public static final SourceCreateParams.Mandate.NotificationMethod MANUAL
@SerializedName(value="none") public static final SourceCreateParams.Mandate.NotificationMethod NONE
@SerializedName(value="stripe_email") public static final SourceCreateParams.Mandate.NotificationMethod STRIPE_EMAIL
public static SourceCreateParams.Mandate.NotificationMethod[] values()
for (SourceCreateParams.Mandate.NotificationMethod c : SourceCreateParams.Mandate.NotificationMethod.values()) System.out.println(c);
public static SourceCreateParams.Mandate.NotificationMethod valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
getValue
in interface ApiRequestParams.EnumParam