public static enum RefundCreateParams.Reason extends java.lang.Enum<RefundCreateParams.Reason> implements ApiRequestParams.EnumParam
Enum Constant and Description |
---|
DUPLICATE |
FRAUDULENT |
REQUESTED_BY_CUSTOMER |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static RefundCreateParams.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RefundCreateParams.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="duplicate") public static final RefundCreateParams.Reason DUPLICATE
@SerializedName(value="fraudulent") public static final RefundCreateParams.Reason FRAUDULENT
@SerializedName(value="requested_by_customer") public static final RefundCreateParams.Reason REQUESTED_BY_CUSTOMER
public static RefundCreateParams.Reason[] values()
for (RefundCreateParams.Reason c : RefundCreateParams.Reason.values()) System.out.println(c);
public static RefundCreateParams.Reason 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