Enum TransactionGuaranteeBehavior
- java.lang.Object
-
- java.lang.Enum<TransactionGuaranteeBehavior>
-
- ch.swissbilling.commercial.client.enums.TransactionGuaranteeBehavior
-
- All Implemented Interfaces:
Serializable,Comparable<TransactionGuaranteeBehavior>
public enum TransactionGuaranteeBehavior extends Enum<TransactionGuaranteeBehavior>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIRM_NO_GUARANTEE_IF_NO_AVAILABLENONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransactionGuaranteeBehaviorvalueOf(String name)Returns the enum constant of this type with the specified name.static TransactionGuaranteeBehavior[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final TransactionGuaranteeBehavior NONE
-
CONFIRM_NO_GUARANTEE_IF_NO_AVAILABLE
public static final TransactionGuaranteeBehavior CONFIRM_NO_GUARANTEE_IF_NO_AVAILABLE
-
-
Method Detail
-
values
public static TransactionGuaranteeBehavior[] 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 (TransactionGuaranteeBehavior c : TransactionGuaranteeBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransactionGuaranteeBehavior 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
-
-