Serializable, Comparable<RefundReason>public enum RefundReason extends Enum<RefundReason>
| Enum Constant | Description |
|---|---|
CHARGEBACK |
|
CUSTOMER_REQUEST |
|
DUPLICATE |
|
FRAUD |
| Modifier and Type | Method | Description |
|---|---|---|
static RefundReason |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static RefundReason[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName("duplicate")
public static final RefundReason DUPLICATE
@SerializedName("fraud")
public static final RefundReason FRAUD
@SerializedName("customer_request")
public static final RefundReason CUSTOMER_REQUEST
@SerializedName("chargeback")
public static final RefundReason CHARGEBACK
public static RefundReason[] values()
for (RefundReason c : RefundReason.values()) System.out.println(c);
public static RefundReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 The Apache Software Foundation. All rights reserved.