Package com.braintreegateway
Enum Dispute.Reason
- java.lang.Object
-
- java.lang.Enum<Dispute.Reason>
-
- com.braintreegateway.Dispute.Reason
-
- All Implemented Interfaces:
Serializable,Comparable<Dispute.Reason>
- Enclosing class:
- Dispute
public static enum Dispute.Reason extends Enum<Dispute.Reason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLED_RECURRING_TRANSACTIONCREDIT_NOT_PROCESSEDDUPLICATEFRAUDGENERALINVALID_ACCOUNTNOT_RECOGNIZEDPRODUCT_NOT_RECEIVEDPRODUCT_UNSATISFACTORYRETRIEVALTRANSACTION_AMOUNT_DIFFERS
-
Constructor Summary
Constructors Modifier Constructor Description privateReason()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Dispute.ReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static Dispute.Reason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANCELLED_RECURRING_TRANSACTION
public static final Dispute.Reason CANCELLED_RECURRING_TRANSACTION
-
CREDIT_NOT_PROCESSED
public static final Dispute.Reason CREDIT_NOT_PROCESSED
-
DUPLICATE
public static final Dispute.Reason DUPLICATE
-
FRAUD
public static final Dispute.Reason FRAUD
-
GENERAL
public static final Dispute.Reason GENERAL
-
INVALID_ACCOUNT
public static final Dispute.Reason INVALID_ACCOUNT
-
NOT_RECOGNIZED
public static final Dispute.Reason NOT_RECOGNIZED
-
PRODUCT_NOT_RECEIVED
public static final Dispute.Reason PRODUCT_NOT_RECEIVED
-
PRODUCT_UNSATISFACTORY
public static final Dispute.Reason PRODUCT_UNSATISFACTORY
-
TRANSACTION_AMOUNT_DIFFERS
public static final Dispute.Reason TRANSACTION_AMOUNT_DIFFERS
-
RETRIEVAL
public static final Dispute.Reason RETRIEVAL
-
-
Method Detail
-
values
public static Dispute.Reason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Dispute.Reason c : Dispute.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Dispute.Reason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-