Package com.braintreegateway
Enum Dispute.Kind
- java.lang.Object
-
- java.lang.Enum<Dispute.Kind>
-
- com.braintreegateway.Dispute.Kind
-
- All Implemented Interfaces:
Serializable,Comparable<Dispute.Kind>
- Enclosing class:
- Dispute
public static enum Dispute.Kind extends Enum<Dispute.Kind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHARGEBACKPRE_ARBITRATIONRETRIEVALUNRECOGNIZED
-
Constructor Summary
Constructors Modifier Constructor Description privateKind()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Dispute.KindvalueOf(String name)Returns the enum constant of this type with the specified name.static Dispute.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHARGEBACK
public static final Dispute.Kind CHARGEBACK
-
PRE_ARBITRATION
public static final Dispute.Kind PRE_ARBITRATION
-
RETRIEVAL
public static final Dispute.Kind RETRIEVAL
-
UNRECOGNIZED
public static final Dispute.Kind UNRECOGNIZED
-
-
Method Detail
-
values
public static Dispute.Kind[] 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.Kind c : Dispute.Kind.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.Kind 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
-
-