Package org.jpos.iso
Enum PosDataCode.POSEnvironment
- java.lang.Object
-
- java.lang.Enum<PosDataCode.POSEnvironment>
-
- org.jpos.iso.PosDataCode.POSEnvironment
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PosDataCode.POSEnvironment>
,PosFlags.Flag
- Enclosing class:
- PosDataCode
public static enum PosDataCode.POSEnvironment extends java.lang.Enum<PosDataCode.POSEnvironment> implements PosFlags.Flag
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATM_OFF_BANK
ATM_ON_BANK
ATTENDED
CAT
DEFERRED_TRANSACTION
E_COMMERCE
INSTALLMENT_TRANSACTION
M_COMMERCE
MOTO
RECURRING
STORED_DETAILS
UNATTENDED
UNKNOWN
-
Field Summary
Fields Modifier and Type Field Description static int
OFFSET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOffset()
int
intValue()
java.lang.String
toString()
static PosDataCode.POSEnvironment
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PosDataCode.POSEnvironment[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final PosDataCode.POSEnvironment UNKNOWN
-
ATTENDED
public static final PosDataCode.POSEnvironment ATTENDED
-
UNATTENDED
public static final PosDataCode.POSEnvironment UNATTENDED
-
MOTO
public static final PosDataCode.POSEnvironment MOTO
-
E_COMMERCE
public static final PosDataCode.POSEnvironment E_COMMERCE
-
M_COMMERCE
public static final PosDataCode.POSEnvironment M_COMMERCE
-
RECURRING
public static final PosDataCode.POSEnvironment RECURRING
-
STORED_DETAILS
public static final PosDataCode.POSEnvironment STORED_DETAILS
-
CAT
public static final PosDataCode.POSEnvironment CAT
-
ATM_ON_BANK
public static final PosDataCode.POSEnvironment ATM_ON_BANK
-
ATM_OFF_BANK
public static final PosDataCode.POSEnvironment ATM_OFF_BANK
-
DEFERRED_TRANSACTION
public static final PosDataCode.POSEnvironment DEFERRED_TRANSACTION
-
INSTALLMENT_TRANSACTION
public static final PosDataCode.POSEnvironment INSTALLMENT_TRANSACTION
-
-
Field Detail
-
OFFSET
public static int OFFSET
-
-
Method Detail
-
values
public static PosDataCode.POSEnvironment[] 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 (PosDataCode.POSEnvironment c : PosDataCode.POSEnvironment.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PosDataCode.POSEnvironment 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
-
intValue
public int intValue()
- Specified by:
intValue
in interfacePosFlags.Flag
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<PosDataCode.POSEnvironment>
-
getOffset
public int getOffset()
- Specified by:
getOffset
in interfacePosFlags.Flag
-
-