public static enum SourceCreateParams.Flow extends java.lang.Enum<SourceCreateParams.Flow> implements ApiRequestParams.EnumParam
Enum Constant and Description |
---|
CODE_VERIFICATION |
NONE |
RECEIVER |
REDIRECT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static SourceCreateParams.Flow |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SourceCreateParams.Flow[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="code_verification") public static final SourceCreateParams.Flow CODE_VERIFICATION
@SerializedName(value="none") public static final SourceCreateParams.Flow NONE
@SerializedName(value="receiver") public static final SourceCreateParams.Flow RECEIVER
@SerializedName(value="redirect") public static final SourceCreateParams.Flow REDIRECT
public static SourceCreateParams.Flow[] values()
for (SourceCreateParams.Flow c : SourceCreateParams.Flow.values()) System.out.println(c);
public static SourceCreateParams.Flow 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