Package com.braintreegateway
Enum Dispute.ProtectionLevel
- java.lang.Object
-
- java.lang.Enum<Dispute.ProtectionLevel>
-
- com.braintreegateway.Dispute.ProtectionLevel
-
- All Implemented Interfaces:
Serializable,Comparable<Dispute.ProtectionLevel>
- Enclosing class:
- Dispute
public static enum Dispute.ProtectionLevel extends Enum<Dispute.ProtectionLevel>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EFFORTLESS_CBPNO_PROTECTIONSTANDARD_CBP
-
Constructor Summary
Constructors Modifier Constructor Description privateProtectionLevel(String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static Dispute.ProtectionLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static Dispute.ProtectionLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EFFORTLESS_CBP
public static final Dispute.ProtectionLevel EFFORTLESS_CBP
-
STANDARD_CBP
public static final Dispute.ProtectionLevel STANDARD_CBP
-
NO_PROTECTION
public static final Dispute.ProtectionLevel NO_PROTECTION
-
-
Field Detail
-
value
private final String value
-
-
Constructor Detail
-
ProtectionLevel
private ProtectionLevel(String value)
-
-
Method Detail
-
values
public static Dispute.ProtectionLevel[] 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.ProtectionLevel c : Dispute.ProtectionLevel.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.ProtectionLevel 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<Dispute.ProtectionLevel>
-
-