com.mypos.myposcheckout.ipc.enumerable

 

Enum CardVerification

java.lang.Object java.lang.Enum<CardVerification> com.mypos.myposcheckout.ipc.enumerable.CardVerification
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CardVerification>


public enum CardVerification
extends java.lang.Enum<CardVerification>
Available API card verification methods.

 

Enum Constant Summary

Enum Constants
Enum Constant and Description
REAL_AMOUNT_DEBIT 
ZERO_AMOUNT_DEBIT 

 

Method Summary

All MethodsStatic MethodsInstance MethodsConcrete Methods
Modifier and Type Method and Description
static CardVerification forCode(int code) 
int getValue() 
static CardVerification valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
static CardVerification[] values()
Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum

clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object

getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

ZERO_AMOUNT_DEBIT

public static final CardVerification ZERO_AMOUNT_DEBIT

REAL_AMOUNT_DEBIT

public static final CardVerification REAL_AMOUNT_DEBIT

 

Method Detail

values

public static CardVerification[] 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 (CardVerification c : CardVerification.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CardVerification 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 name
java.lang.NullPointerException - if the argument is null

getValue

public int getValue()

forCode

public static CardVerification forCode(int code)