Enum Class PosDataCode.POSEnvironment
- All Implemented Interfaces:
Serializable, Comparable<PosDataCode.POSEnvironment>, Constable, PosFlags.Flag
- Enclosing class:
PosDataCode
public static enum PosDataCode.POSEnvironment
extends Enum<PosDataCode.POSEnvironment>
implements PosFlags.Flag
Enumeration of POS terminal environment types.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionATM located off bank premises.ATM located on bank premises.Attended POS terminal.Cardholder Activated Terminal.Deferred transaction.E-Commerce transaction.Installment transaction.M-Commerce (mobile commerce) transaction.Mail order / telephone order transaction.Recurring transaction.Transaction using stored cardholder details.Unattended POS terminal, details unknown.POS environment is unknown. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intBit offset within the PosDataCode byte array for POS environment flags. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the byte offset withinPosFlags.getBytes()where this flag's mask starts.intintValue()Returns the multi-byte bit mask for this flag (low byte applied atPosFlags.Flag.getOffset()).toString()static PosDataCode.POSEnvironmentReturns the enum constant of this class with the specified name.static PosDataCode.POSEnvironment[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
POS environment is unknown. -
ATTENDED
Attended POS terminal. -
UNATTENDED
Unattended POS terminal, details unknown. -
MOTO
Mail order / telephone order transaction. -
E_COMMERCE
E-Commerce transaction. -
M_COMMERCE
M-Commerce (mobile commerce) transaction. -
RECURRING
Recurring transaction. -
STORED_DETAILS
Transaction using stored cardholder details. -
CAT
Cardholder Activated Terminal. -
ATM_ON_BANK
ATM located on bank premises. -
ATM_OFF_BANK
ATM located off bank premises. -
DEFERRED_TRANSACTION
Deferred transaction. -
INSTALLMENT_TRANSACTION
Installment transaction.
-
-
Field Details
-
OFFSET
Bit offset within the PosDataCode byte array for POS environment flags.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
intValue
Returns the multi-byte bit mask for this flag (low byte applied atPosFlags.Flag.getOffset()).- Specified by:
intValuein interfacePosFlags.Flag- Returns:
- bit mask as a packed integer
-
toString
- Overrides:
toStringin classEnum<PosDataCode.POSEnvironment>
-
getOffset
Returns the byte offset withinPosFlags.getBytes()where this flag's mask starts.- Specified by:
getOffsetin interfacePosFlags.Flag- Returns:
- byte offset
-