package iapp.classifiers;
public class PaymentOptionClassifier
implements java.io.Serializable, iapp.services.Classifier {
public static final PaymentOptionClassifier AMEX = new PaymentOptionClassifier("AC");
public static final PaymentOptionClassifier DISCOVER_CREDIT = new PaymentOptionClassifier("DC");
public static final PaymentOptionClassifier DISCOVER_DEBIT = new PaymentOptionClassifier("DD");
public static final PaymentOptionClassifier MASTER_CARD_CREDIT = new PaymentOptionClassifier("MC");
public static final PaymentOptionClassifier MASTER_CARD_DEBIT = new PaymentOptionClassifier("MD");
public static final PaymentOptionClassifier VISA_CREDIT = new PaymentOptionClassifier("VC");
public static final PaymentOptionClassifier VISA_DEBIT = new PaymentOptionClassifier("VD");
public static final PaymentOptionClassifier CHECKING = new PaymentOptionClassifier("BC");
public static final PaymentOptionClassifier SAVINGS = new PaymentOptionClassifier("BS");
public static final PaymentOptionClassifier DINNERS = new PaymentOptionClassifier("NC");
public static final PaymentOptionClassifier MASTER_CARD_PREPAID = new PaymentOptionClassifier("MP");
public static final PaymentOptionClassifier MASTER_CARD_FLEET = new PaymentOptionClassifier("MF");
public static final PaymentOptionClassifier VISA_PREPAID = new PaymentOptionClassifier("VP");
public static final PaymentOptionClassifier VISA_FLEET = new PaymentOptionClassifier("VS");
public static final PaymentOptionClassifier GENERAL_GIFT = new PaymentOptionClassifier("GG");
public static final PaymentOptionClassifier FLEET_ONE = new PaymentOptionClassifier("FL");
public static final PaymentOptionClassifier FUEL_MAN_FLEET_WIDE = new PaymentOptionClassifier("GF");
public static final PaymentOptionClassifier VOYAGER = new PaymentOptionClassifier("VF");
public static final PaymentOptionClassifier WRIGHT_EXPRESS = new PaymentOptionClassifier("WX");
public static final PaymentOptionClassifier BANK_CARD_DEBIT = new PaymentOptionClassifier("BD");
public static final PaymentOptionClassifier FUEL_LYNK = new PaymentOptionClassifier("FU");
public static final PaymentOptionClassifier CHINA_UNION_PAY_CREDIT = new PaymentOptionClassifier("UC");
public static final PaymentOptionClassifier CHINA_UNION_PAY_DEBIT = new PaymentOptionClassifier("UD");
public static final PaymentOptionClassifier AMEX = new PaymentOptionClassifier("AC");
public static final PaymentOptionClassifier DISCOVER_CREDIT = new PaymentOptionClassifier("DC");
public static final PaymentOptionClassifier DISCOVER_DEBIT = new PaymentOptionClassifier("DD");
public static final PaymentOptionClassifier MASTER_CARD_CREDIT = new PaymentOptionClassifier("MC");
public static final PaymentOptionClassifier MASTER_CARD_DEBIT = new PaymentOptionClassifier("MD");
public static final PaymentOptionClassifier VISA_CREDIT = new PaymentOptionClassifier("VC");
public static final PaymentOptionClassifier VISA_DEBIT = new PaymentOptionClassifier("VD");
public static final PaymentOptionClassifier CHECKING = new PaymentOptionClassifier("BC");
public static final PaymentOptionClassifier SAVINGS = new PaymentOptionClassifier("BS");
public static final PaymentOptionClassifier DINNERS = new PaymentOptionClassifier("NC");
public static final PaymentOptionClassifier MASTER_CARD_PREPAID = new PaymentOptionClassifier("MP");
public static final PaymentOptionClassifier MASTER_CARD_FLEET = new PaymentOptionClassifier("MF");
public static final PaymentOptionClassifier VISA_PREPAID = new PaymentOptionClassifier("VP");
public static final PaymentOptionClassifier VISA_FLEET = new PaymentOptionClassifier("VS");
public static final PaymentOptionClassifier GENERAL_GIFT = new PaymentOptionClassifier("GG");
public static final PaymentOptionClassifier FLEET_ONE = new PaymentOptionClassifier("FL");
public static final PaymentOptionClassifier FUEL_MAN_FLEET_WIDE = new PaymentOptionClassifier("GF");
public static final PaymentOptionClassifier VOYAGER = new PaymentOptionClassifier("VF");
public static final PaymentOptionClassifier WRIGHT_EXPRESS = new PaymentOptionClassifier("WX");
public static final PaymentOptionClassifier BANK_CARD_DEBIT = new PaymentOptionClassifier("BD");
public static final PaymentOptionClassifier FUEL_LYNK = new PaymentOptionClassifier("FU");
public static final PaymentOptionClassifier CHINA_UNION_PAY_CREDIT = new PaymentOptionClassifier("UC");
public static final PaymentOptionClassifier CHINA_UNION_PAY_DEBIT = new PaymentOptionClassifier("UD");
public static final PaymentOptionClassifier AMEX = new PaymentOptionClassifier("AC");
public static final PaymentOptionClassifier DISCOVER_CREDIT = new PaymentOptionClassifier("DC");
public static final PaymentOptionClassifier DISCOVER_DEBIT = new PaymentOptionClassifier("DD");
public static final PaymentOptionClassifier MASTER_CARD_CREDIT = new PaymentOptionClassifier("MC");
public static final PaymentOptionClassifier MASTER_CARD_DEBIT = new PaymentOptionClassifier("MD");
public static final PaymentOptionClassifier VISA_CREDIT = new PaymentOptionClassifier("VC");
public static final PaymentOptionClassifier VISA_DEBIT = new PaymentOptionClassifier("VD");
public static final PaymentOptionClassifier CHECKING = new PaymentOptionClassifier("BC");
public static final PaymentOptionClassifier SAVINGS = new PaymentOptionClassifier("BS");
public static final PaymentOptionClassifier DINNERS = new PaymentOptionClassifier("NC");
public static final PaymentOptionClassifier MASTER_CARD_PREPAID = new PaymentOptionClassifier("MP");
public static final PaymentOptionClassifier MASTER_CARD_FLEET = new PaymentOptionClassifier("MF");
public static final PaymentOptionClassifier VISA_PREPAID = new PaymentOptionClassifier("VP");
public static final PaymentOptionClassifier VISA_FLEET = new PaymentOptionClassifier("VS");
public static final PaymentOptionClassifier GENERAL_GIFT = new PaymentOptionClassifier("GG");
public static final PaymentOptionClassifier FLEET_ONE = new PaymentOptionClassifier("FL");
public static final PaymentOptionClassifier FUEL_MAN_FLEET_WIDE = new PaymentOptionClassifier("GF");
public static final PaymentOptionClassifier VOYAGER = new PaymentOptionClassifier("VF");
public static final PaymentOptionClassifier WRIGHT_EXPRESS = new PaymentOptionClassifier("WX");
public static final PaymentOptionClassifier BANK_CARD_DEBIT = new PaymentOptionClassifier("BD");
public static final PaymentOptionClassifier FUEL_LYNK = new PaymentOptionClassifier("FU");
public static final PaymentOptionClassifier CHINA_UNION_PAY_CREDIT = new PaymentOptionClassifier("UC");
public static final PaymentOptionClassifier CHINA_UNION_PAY_DEBIT = new PaymentOptionClassifier("UD");
public static final PaymentOptionClassifier FOOD_STAMP = new PaymentOptionClassifier("EF");
public static final PaymentOptionClassifier CASH_BENEFIT = new PaymentOptionClassifier("EC");
public static final PaymentOptionClassifier FOOD_STAMP = new PaymentOptionClassifier("EF");
public static final PaymentOptionClassifier CASH_BENEFIT = new PaymentOptionClassifier("EC");
public static final PaymentOptionClassifier FOOD_STAMP = new PaymentOptionClassifier("EF");
public static final PaymentOptionClassifier CASH_BENEFIT = new PaymentOptionClassifier("EC");
public static final PaymentOptionClassifier MADA = new PaymentOptionClassifier("ND");
public static final PaymentOptionClassifier MADA = new PaymentOptionClassifier("ND");
public static final PaymentOptionClassifier MADA = new PaymentOptionClassifier("ND");
public static final PaymentOptionClassifier CASH_BENEFIT = new PaymentOptionClassifier("EC");
public static final PaymentOptionClassifier FOOD_STAMP = new PaymentOptionClassifier("EF");
private static final java.util.Map values = new java.util.TreeMap();
private static java.util.List literals = new java.util.ArrayList(3);
private static java.util.List names = new java.util.ArrayList(3);
/**
* Initializes the values.
*/
static {
values.put(AMEX.value, AMEX);
literals.add(AMEX.value);
AMEX.setName("AMEX");
names.add("AMEX");
values.put(DISCOVER_CREDIT.value, DISCOVER_CREDIT);
literals.add(DISCOVER_CREDIT.value);
DISCOVER_CREDIT.setName("DISCOVER_CREDIT");
names.add("DISCOVER_CREDIT");
values.put(DISCOVER_DEBIT.value, DISCOVER_DEBIT);
literals.add(DISCOVER_DEBIT.value);
DISCOVER_DEBIT.setName("DISCOVER_DEBIT");
names.add("DISCOVER_DEBIT");
values.put(MASTER_CARD_CREDIT.value, MASTER_CARD_CREDIT);
literals.add(MASTER_CARD_CREDIT.value);
MASTER_CARD_CREDIT.setName("MASTER_CARD_CREDIT");
names.add("MASTER_CARD_CREDIT");
values.put(MASTER_CARD_DEBIT.value, MASTER_CARD_DEBIT);
literals.add(MASTER_CARD_DEBIT.value);
MASTER_CARD_DEBIT.setName("MASTER_CARD_DEBIT");
names.add("MASTER_CARD_DEBIT");
values.put(VISA_CREDIT.value, VISA_CREDIT);
literals.add(VISA_CREDIT.value);
VISA_CREDIT.setName("VISA_CREDIT");
names.add("VISA_CREDIT");
values.put(VISA_DEBIT.value, VISA_DEBIT);
literals.add(VISA_DEBIT.value);
VISA_DEBIT.setName("VISA_DEBIT");
names.add("VISA_DEBIT");
values.put(CHECKING.value, CHECKING);
literals.add(CHECKING.value);
CHECKING.setName("CHECKING");
names.add("CHECKING");
values.put(SAVINGS.value, SAVINGS);
literals.add(SAVINGS.value);
SAVINGS.setName("SAVINGS");
names.add("SAVINGS");
values.put(DINNERS.value, DINNERS);
literals.add(DINNERS.value);
DINNERS.setName("DINNERS");
names.add("DINNERS");
values.put(MASTER_CARD_PREPAID.value, MASTER_CARD_PREPAID);
literals.add(MASTER_CARD_PREPAID.value);
MASTER_CARD_PREPAID.setName("MASTER_CARD_PREPAID");
names.add("MASTER_CARD_PREPAID");
values.put(MASTER_CARD_FLEET.value, MASTER_CARD_FLEET);
literals.add(MASTER_CARD_FLEET.value);
MASTER_CARD_FLEET.setName("MASTER_CARD_FLEET");
names.add("MASTER_CARD_FLEET");
values.put(VISA_PREPAID.value, VISA_PREPAID);
literals.add(VISA_PREPAID.value);
VISA_PREPAID.setName("VISA_PREPAID");
names.add("VISA_PREPAID");
values.put(VISA_FLEET.value, VISA_FLEET);
literals.add(VISA_FLEET.value);
VISA_FLEET.setName("VISA_FLEET");
names.add("VISA_FLEET");
values.put(GENERAL_GIFT.value, GENERAL_GIFT);
literals.add(GENERAL_GIFT.value);
GENERAL_GIFT.setName("GENERAL_GIFT");
names.add("GENERAL_GIFT");
values.put(FLEET_ONE.value, FLEET_ONE);
literals.add(FLEET_ONE.value);
FLEET_ONE.setName("FLEET_ONE");
names.add("FLEET_ONE");
values.put(FUEL_MAN_FLEET_WIDE.value, FUEL_MAN_FLEET_WIDE);
literals.add(FUEL_MAN_FLEET_WIDE.value);
FUEL_MAN_FLEET_WIDE.setName("FUEL_MAN_FLEET_WIDE");
names.add("FUEL_MAN_FLEET_WIDE");
values.put(VOYAGER.value, VOYAGER);
literals.add(VOYAGER.value);
VOYAGER.setName("VOYAGER");
names.add("VOYAGER");
values.put(WRIGHT_EXPRESS.value, WRIGHT_EXPRESS);
literals.add(WRIGHT_EXPRESS.value);
WRIGHT_EXPRESS.setName("WRIGHT_EXPRESS");
names.add("WRIGHT_EXPRESS");
values.put(BANK_CARD_DEBIT.value, BANK_CARD_DEBIT);
literals.add(BANK_CARD_DEBIT.value);
BANK_CARD_DEBIT.setName("BANK_CARD_DEBIT");
names.add("BANK_CARD_DEBIT");
values.put(FUEL_LYNK.value, FUEL_LYNK);
literals.add(FUEL_LYNK.value);
FUEL_LYNK.setName("FUEL_LYNK");
names.add("FUEL_LYNK");
values.put(CHINA_UNION_PAY_CREDIT.value, CHINA_UNION_PAY_CREDIT);
literals.add(CHINA_UNION_PAY_CREDIT.value);
CHINA_UNION_PAY_CREDIT.setName("CHINA_UNION_PAY_CREDIT");
names.add("CHINA_UNION_PAY_CREDIT");
values.put(CHINA_UNION_PAY_DEBIT.value, CHINA_UNION_PAY_DEBIT);
literals.add(CHINA_UNION_PAY_DEBIT.value);
CHINA_UNION_PAY_DEBIT.setName("CHINA_UNION_PAY_DEBIT");
names.add("CHINA_UNION_PAY_DEBIT");
values.put(AMEX.value, AMEX);
literals.add(AMEX.value);
AMEX.setName("AMEX");
names.add("AMEX");
values.put(DISCOVER_CREDIT.value, DISCOVER_CREDIT);
literals.add(DISCOVER_CREDIT.value);
DISCOVER_CREDIT.setName("DISCOVER_CREDIT");
names.add("DISCOVER_CREDIT");
values.put(DISCOVER_DEBIT.value, DISCOVER_DEBIT);
literals.add(DISCOVER_DEBIT.value);
DISCOVER_DEBIT.setName("DISCOVER_DEBIT");
names.add("DISCOVER_DEBIT");
values.put(MASTER_CARD_CREDIT.value, MASTER_CARD_CREDIT);
literals.add(MASTER_CARD_CREDIT.value);
MASTER_CARD_CREDIT.setName("MASTER_CARD_CREDIT");
names.add("MASTER_CARD_CREDIT");
values.put(MASTER_CARD_DEBIT.value, MASTER_CARD_DEBIT);
literals.add(MASTER_CARD_DEBIT.value);
MASTER_CARD_DEBIT.setName("MASTER_CARD_DEBIT");
names.add("MASTER_CARD_DEBIT");
values.put(VISA_CREDIT.value, VISA_CREDIT);
literals.add(VISA_CREDIT.value);
VISA_CREDIT.setName("VISA_CREDIT");
names.add("VISA_CREDIT");
values.put(VISA_DEBIT.value, VISA_DEBIT);
literals.add(VISA_DEBIT.value);
VISA_DEBIT.setName("VISA_DEBIT");
names.add("VISA_DEBIT");
values.put(CHECKING.value, CHECKING);
literals.add(CHECKING.value);
CHECKING.setName("CHECKING");
names.add("CHECKING");
values.put(SAVINGS.value, SAVINGS);
literals.add(SAVINGS.value);
SAVINGS.setName("SAVINGS");
names.add("SAVINGS");
values.put(DINNERS.value, DINNERS);
literals.add(DINNERS.value);
DINNERS.setName("DINNERS");
names.add("DINNERS");
values.put(MASTER_CARD_PREPAID.value, MASTER_CARD_PREPAID);
literals.add(MASTER_CARD_PREPAID.value);
MASTER_CARD_PREPAID.setName("MASTER_CARD_PREPAID");
names.add("MASTER_CARD_PREPAID");
values.put(MASTER_CARD_FLEET.value, MASTER_CARD_FLEET);
literals.add(MASTER_CARD_FLEET.value);
MASTER_CARD_FLEET.setName("MASTER_CARD_FLEET");
names.add("MASTER_CARD_FLEET");
values.put(VISA_PREPAID.value, VISA_PREPAID);
literals.add(VISA_PREPAID.value);
VISA_PREPAID.setName("VISA_PREPAID");
names.add("VISA_PREPAID");
values.put(VISA_FLEET.value, VISA_FLEET);
literals.add(VISA_FLEET.value);
VISA_FLEET.setName("VISA_FLEET");
names.add("VISA_FLEET");
values.put(GENERAL_GIFT.value, GENERAL_GIFT);
literals.add(GENERAL_GIFT.value);
GENERAL_GIFT.setName("GENERAL_GIFT");
names.add("GENERAL_GIFT");
values.put(FLEET_ONE.value, FLEET_ONE);
literals.add(FLEET_ONE.value);
FLEET_ONE.setName("FLEET_ONE");
names.add("FLEET_ONE");
values.put(FUEL_MAN_FLEET_WIDE.value, FUEL_MAN_FLEET_WIDE);
literals.add(FUEL_MAN_FLEET_WIDE.value);
FUEL_MAN_FLEET_WIDE.setName("FUEL_MAN_FLEET_WIDE");
names.add("FUEL_MAN_FLEET_WIDE");
values.put(VOYAGER.value, VOYAGER);
literals.add(VOYAGER.value);
VOYAGER.setName("VOYAGER");
names.add("VOYAGER");
values.put(WRIGHT_EXPRESS.value, WRIGHT_EXPRESS);
literals.add(WRIGHT_EXPRESS.value);
WRIGHT_EXPRESS.setName("WRIGHT_EXPRESS");
names.add("WRIGHT_EXPRESS");
values.put(BANK_CARD_DEBIT.value, BANK_CARD_DEBIT);
literals.add(BANK_CARD_DEBIT.value);
BANK_CARD_DEBIT.setName("BANK_CARD_DEBIT");
names.add("BANK_CARD_DEBIT");
values.put(FUEL_LYNK.value, FUEL_LYNK);
literals.add(FUEL_LYNK.value);
FUEL_LYNK.setName("FUEL_LYNK");
names.add("FUEL_LYNK");
values.put(CHINA_UNION_PAY_CREDIT.value, CHINA_UNION_PAY_CREDIT);
literals.add(CHINA_UNION_PAY_CREDIT.value);
CHINA_UNION_PAY_CREDIT.setName("CHINA_UNION_PAY_CREDIT");
names.add("CHINA_UNION_PAY_CREDIT");
values.put(CHINA_UNION_PAY_DEBIT.value, CHINA_UNION_PAY_DEBIT);
literals.add(CHINA_UNION_PAY_DEBIT.value);
CHINA_UNION_PAY_DEBIT.setName("CHINA_UNION_PAY_DEBIT");
names.add("CHINA_UNION_PAY_DEBIT");
values.put(AMEX.value, AMEX);
literals.add(AMEX.value);
AMEX.setName("AMEX");
names.add("AMEX");
values.put(DISCOVER_CREDIT.value, DISCOVER_CREDIT);
literals.add(DISCOVER_CREDIT.value);
DISCOVER_CREDIT.setName("DISCOVER_CREDIT");
names.add("DISCOVER_CREDIT");
values.put(DISCOVER_DEBIT.value, DISCOVER_DEBIT);
literals.add(DISCOVER_DEBIT.value);
DISCOVER_DEBIT.setName("DISCOVER_DEBIT");
names.add("DISCOVER_DEBIT");
values.put(MASTER_CARD_CREDIT.value, MASTER_CARD_CREDIT);
literals.add(MASTER_CARD_CREDIT.value);
MASTER_CARD_CREDIT.setName("MASTER_CARD_CREDIT");
names.add("MASTER_CARD_CREDIT");
values.put(MASTER_CARD_DEBIT.value, MASTER_CARD_DEBIT);
literals.add(MASTER_CARD_DEBIT.value);
MASTER_CARD_DEBIT.setName("MASTER_CARD_DEBIT");
names.add("MASTER_CARD_DEBIT");
values.put(VISA_CREDIT.value, VISA_CREDIT);
literals.add(VISA_CREDIT.value);
VISA_CREDIT.setName("VISA_CREDIT");
names.add("VISA_CREDIT");
values.put(VISA_DEBIT.value, VISA_DEBIT);
literals.add(VISA_DEBIT.value);
VISA_DEBIT.setName("VISA_DEBIT");
names.add("VISA_DEBIT");
values.put(CHECKING.value, CHECKING);
literals.add(CHECKING.value);
CHECKING.setName("CHECKING");
names.add("CHECKING");
values.put(SAVINGS.value, SAVINGS);
literals.add(SAVINGS.value);
SAVINGS.setName("SAVINGS");
names.add("SAVINGS");
values.put(DINNERS.value, DINNERS);
literals.add(DINNERS.value);
DINNERS.setName("DINNERS");
names.add("DINNERS");
values.put(MASTER_CARD_PREPAID.value, MASTER_CARD_PREPAID);
literals.add(MASTER_CARD_PREPAID.value);
MASTER_CARD_PREPAID.setName("MASTER_CARD_PREPAID");
names.add("MASTER_CARD_PREPAID");
values.put(MASTER_CARD_FLEET.value, MASTER_CARD_FLEET);
literals.add(MASTER_CARD_FLEET.value);
MASTER_CARD_FLEET.setName("MASTER_CARD_FLEET");
names.add("MASTER_CARD_FLEET");
values.put(VISA_PREPAID.value, VISA_PREPAID);
literals.add(VISA_PREPAID.value);
VISA_PREPAID.setName("VISA_PREPAID");
names.add("VISA_PREPAID");
values.put(VISA_FLEET.value, VISA_FLEET);
literals.add(VISA_FLEET.value);
VISA_FLEET.setName("VISA_FLEET");
names.add("VISA_FLEET");
values.put(GENERAL_GIFT.value, GENERAL_GIFT);
literals.add(GENERAL_GIFT.value);
GENERAL_GIFT.setName("GENERAL_GIFT");
names.add("GENERAL_GIFT");
values.put(FLEET_ONE.value, FLEET_ONE);
literals.add(FLEET_ONE.value);
FLEET_ONE.setName("FLEET_ONE");
names.add("FLEET_ONE");
values.put(FUEL_MAN_FLEET_WIDE.value, FUEL_MAN_FLEET_WIDE);
literals.add(FUEL_MAN_FLEET_WIDE.value);
FUEL_MAN_FLEET_WIDE.setName("FUEL_MAN_FLEET_WIDE");
names.add("FUEL_MAN_FLEET_WIDE");
values.put(VOYAGER.value, VOYAGER);
literals.add(VOYAGER.value);
VOYAGER.setName("VOYAGER");
names.add("VOYAGER");
values.put(WRIGHT_EXPRESS.value, WRIGHT_EXPRESS);
literals.add(WRIGHT_EXPRESS.value);
WRIGHT_EXPRESS.setName("WRIGHT_EXPRESS");
names.add("WRIGHT_EXPRESS");
values.put(BANK_CARD_DEBIT.value, BANK_CARD_DEBIT);
literals.add(BANK_CARD_DEBIT.value);
BANK_CARD_DEBIT.setName("BANK_CARD_DEBIT");
names.add("BANK_CARD_DEBIT");
values.put(FUEL_LYNK.value, FUEL_LYNK);
literals.add(FUEL_LYNK.value);
FUEL_LYNK.setName("FUEL_LYNK");
names.add("FUEL_LYNK");
values.put(CHINA_UNION_PAY_CREDIT.value, CHINA_UNION_PAY_CREDIT);
literals.add(CHINA_UNION_PAY_CREDIT.value);
CHINA_UNION_PAY_CREDIT.setName("CHINA_UNION_PAY_CREDIT");
names.add("CHINA_UNION_PAY_CREDIT");
values.put(CHINA_UNION_PAY_DEBIT.value, CHINA_UNION_PAY_DEBIT);
literals.add(CHINA_UNION_PAY_DEBIT.value);
CHINA_UNION_PAY_DEBIT.setName("CHINA_UNION_PAY_DEBIT");
names.add("CHINA_UNION_PAY_DEBIT");
values.put(FOOD_STAMP.value, FOOD_STAMP);
literals.add(FOOD_STAMP.value);
FOOD_STAMP.setName("FOOD_STAMP");
names.add("FOOD_STAMP");
values.put(CASH_BENEFIT.value, CASH_BENEFIT);
literals.add(CASH_BENEFIT.value);
CASH_BENEFIT.setName("CASH_BENEFIT");
names.add("CASH_BENEFIT");
values.put(FOOD_STAMP.value, FOOD_STAMP);
literals.add(FOOD_STAMP.value);
FOOD_STAMP.setName("FOOD_STAMP");
names.add("FOOD_STAMP");
values.put(CASH_BENEFIT.value, CASH_BENEFIT);
literals.add(CASH_BENEFIT.value);
CASH_BENEFIT.setName("CASH_BENEFIT");
names.add("CASH_BENEFIT");
values.put(FOOD_STAMP.value, FOOD_STAMP);
literals.add(FOOD_STAMP.value);
FOOD_STAMP.setName("FOOD_STAMP");
names.add("FOOD_STAMP");
values.put(CASH_BENEFIT.value, CASH_BENEFIT);
literals.add(CASH_BENEFIT.value);
CASH_BENEFIT.setName("CASH_BENEFIT");
names.add("CASH_BENEFIT");
values.put(MADA.value, MADA);
literals.add(MADA.value);
MADA.setName("MADA");
names.add("MADA");
values.put(MADA.value, MADA);
literals.add(MADA.value);
MADA.setName("MADA");
names.add("MADA");
values.put(MADA.value, MADA);
literals.add(MADA.value);
MADA.setName("MADA");
names.add("MADA");
values.put(CASH_BENEFIT.value, CASH_BENEFIT);
literals.add(CASH_BENEFIT.value);
CASH_BENEFIT.setName("CASH_BENEFIT");
names.add("CASH_BENEFIT");
values.put(FOOD_STAMP.value, FOOD_STAMP);
literals.add(FOOD_STAMP.value);
FOOD_STAMP.setName("FOOD_STAMP");
names.add("FOOD_STAMP");
literals = java.util.Collections.unmodifiableList(literals);
names = java.util.Collections.unmodifiableList(names);
}
private java.lang.String value;
private java.lang.String name;
/**
* The default constructor allowing super classes to access it.
*/
protected PaymentOptionClassifier() {}
private PaymentOptionClassifier(java.lang.String value) {
this.value = value;
}
public String toString() {
return java.lang.String.valueOf(value);
}
/**
* Creates an instance of PaymentOptionClassifier from <code>value</code>.
*
* @param value the value to create the PaymentOptionClassifier from.
*/
public static PaymentOptionClassifier fromString(java.lang.String value) {
if(value == null) return null;
final PaymentOptionClassifier typeValue = (PaymentOptionClassifier) values.get(value);
if (typeValue == null) {
throw new IllegalArgumentException("invalid value '" + value + "', possible values are: " + literals);
}
return typeValue;
}
/**
* Checks correct value for the classifier
*/
public boolean isPaymentOptionClassifier(java.lang.String value){
return (value == null || values.get(value) != null);
}
/**
* Get/set for value
*/
public java.lang.String getValue() {
return this.value;
}
public java.lang.String getName() {
return this.name;
}
/**
* Get/set for name
*/
private void setName(java.lang.String name) {
this.name = name;
}
/**
* @see java.lang.Comparable#compareTo(java.lang.Object)
*/
public int compareTo(Object that)
{
return (this == that) ? 0 : this.getValue().compareTo(((PaymentOptionClassifier)that).getValue());
}
public static java.util.Map getValues() {
return values;
}
/**
* Returns an unmodifiable list containing the literals that are known by this enumeration.
*
* @return A List containing the actual literals defined by this enumeration, this list
* can not be modified.
*/
public static java.util.List literals() {
return literals;
}
/**
* Returns an unmodifiable list containing the names of the literals that are known
* by this enumeration.
*
* @return A List containing the actual names of the literals defined by this
* enumeration, this list can not be modified.
*/
public static java.util.List names() {
return names;
}
/**
* @see java.lang.Object#equals(java.lang.Object)
*/
public boolean equals(Object object) {
return (this == object)
|| (object instanceof PaymentOptionClassifier && ((PaymentOptionClassifier)object).getValue().equals(
this.getValue()));
}
/**
* @see java.lang.Object#hashCode()
*/
public int hashCode() {
return this.getValue().hashCode();
}
/**
* This method allows the deserialization of an instance of this enumeration type to return the actual instance
* that will be the singleton for the JVM in which the current thread is running.
* <p/>
* Doing this will allow users to safely use the equality operator <code>==</code> for enumerations because
* a regular deserialized object is always a newly constructed instance and will therefore never be
* an existing reference; it is this <code>readResolve()</code> method which will intercept the deserialization
* process in order to return the proper singleton reference.
*/
private java.lang.Object readResolve() throws java.io.ObjectStreamException {
return PaymentOptionClassifier.fromString(this.value);
}
}