public static enum StripeIntent.Status extends java.lang.Enum<StripeIntent.Status>
Enum Constant and Description |
---|
Canceled |
Processing |
RequiresAction |
RequiresCapture |
RequiresConfirmation |
RequiresPaymentMethod |
Succeeded |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
code |
Modifier and Type | Method and Description |
---|---|
static StripeIntent.Status |
fromCode(java.lang.String code) |
java.lang.String |
toString() |
static StripeIntent.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StripeIntent.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StripeIntent.Status Canceled
public static final StripeIntent.Status Processing
public static final StripeIntent.Status RequiresAction
public static final StripeIntent.Status RequiresConfirmation
public static final StripeIntent.Status RequiresPaymentMethod
public static final StripeIntent.Status Succeeded
public static final StripeIntent.Status RequiresCapture
public static StripeIntent.Status[] values()
for (StripeIntent.Status c : StripeIntent.Status.values()) System.out.println(c);
public static StripeIntent.Status 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 static StripeIntent.Status fromCode(java.lang.String code)
public java.lang.String toString()
toString
in class java.lang.Enum<StripeIntent.Status>