Enum SvOperation
- java.lang.Object
-
- java.lang.Enum<SvOperation>
-
- org.calypsonet.terminal.calypso.transaction.SvOperation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SvOperation>
public enum SvOperation extends java.lang.Enum<SvOperation>
Defines the type of Stored Value operation to be performed.- Since:
- 1.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SvOperation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SvOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RELOAD
public static final SvOperation RELOAD
Increase the balance of the stored value- Since:
- 1.0.0
-
DEBIT
public static final SvOperation DEBIT
Decrease the balance of the stored value- Since:
- 1.0.0
-
-
Method Detail
-
values
public static SvOperation[] 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 (SvOperation c : SvOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SvOperation valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-