Package com.braintreegateway
Enum Transaction.ScaExemption
- java.lang.Object
-
- java.lang.Enum<Transaction.ScaExemption>
-
- com.braintreegateway.Transaction.ScaExemption
-
- All Implemented Interfaces:
Serializable,Comparable<Transaction.ScaExemption>
- Enclosing class:
- Transaction
public static enum Transaction.ScaExemption extends Enum<Transaction.ScaExemption>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOW_VALUESECURE_CORPORATETRANSACTION_RISK_ANALYSISTRUSTED_BENEFICIARY
-
Constructor Summary
Constructors Modifier Constructor Description privateScaExemption(String exemption)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static Transaction.ScaExemptionvalueOf(String name)Returns the enum constant of this type with the specified name.static Transaction.ScaExemption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOW_VALUE
public static final Transaction.ScaExemption LOW_VALUE
-
SECURE_CORPORATE
public static final Transaction.ScaExemption SECURE_CORPORATE
-
TRUSTED_BENEFICIARY
public static final Transaction.ScaExemption TRUSTED_BENEFICIARY
-
TRANSACTION_RISK_ANALYSIS
public static final Transaction.ScaExemption TRANSACTION_RISK_ANALYSIS
-
-
Field Detail
-
exemption
private final String exemption
-
-
Constructor Detail
-
ScaExemption
private ScaExemption(String exemption)
-
-
Method Detail
-
values
public static Transaction.ScaExemption[] 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 (Transaction.ScaExemption c : Transaction.ScaExemption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Transaction.ScaExemption 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<Transaction.ScaExemption>
-
-