package .classifiers;
public class ChargebackQueueClassifier
implements java.io.Serializable, iapp.services.Classifier {
public static final ChargebackQueueClassifier ARBITRATION_PENDING = new ChargebackQueueClassifier("AP");
public static final ChargebackQueueClassifier DECISION_PENDING = new ChargebackQueueClassifier("DP");
public static final ChargebackQueueClassifier PROCESSOR_PENDING = new ChargebackQueueClassifier("PP");
public static final ChargebackQueueClassifier PROCESSOR_ASSUMED = new ChargebackQueueClassifier("PA");
public static final ChargebackQueueClassifier PROCESSOR_ERROR = new ChargebackQueueClassifier("PE");
public static final ChargebackQueueClassifier PROCESSOR_REVIEW = new ChargebackQueueClassifier("PR");
public static final ChargebackQueueClassifier MERCHANT_PENDING = new ChargebackQueueClassifier("MP");
public static final ChargebackQueueClassifier MERCHANT_ARBITRATION = new ChargebackQueueClassifier("MR");
public static final ChargebackQueueClassifier MERCHANT_ASSUMED = new ChargebackQueueClassifier("MA");
public static final ChargebackQueueClassifier MERCHANT_ASSUMED_AUTO = new ChargebackQueueClassifier("MU");
public static final ChargebackQueueClassifier MERCHANT_PENDING_API = new ChargebackQueueClassifier("MI");
public static final ChargebackQueueClassifier NETWORK_ASSUMED = new ChargebackQueueClassifier("NA");
public static final ChargebackQueueClassifier PREARBITRATION_PENDING = new ChargebackQueueClassifier("RP");
public static final ChargebackQueueClassifier UNMAPPED = new ChargebackQueueClassifier("UM");
public static final ChargebackQueueClassifier MERCHANT = new ChargebackQueueClassifier("MN");
public static final ChargebackQueueClassifier NETWORK = new ChargebackQueueClassifier("NW");
public static final ChargebackQueueClassifier PROCESSOR = new ChargebackQueueClassifier("PS");
public static final ChargebackQueueClassifier ISSUE = new ChargebackQueueClassifier("IS");
public static final ChargebackQueueClassifier MERCHANT = new ChargebackQueueClassifier("MN");
public static final ChargebackQueueClassifier NETWORK = new ChargebackQueueClassifier("NW");
public static final ChargebackQueueClassifier PROCESSOR = new ChargebackQueueClassifier("PS");
public static final ChargebackQueueClassifier ISSUE = new ChargebackQueueClassifier("IS");
public static final ChargebackQueueClassifier MERCHANT = new ChargebackQueueClassifier("MN");
public static final ChargebackQueueClassifier NETWORK = new ChargebackQueueClassifier("NW");
public static final ChargebackQueueClassifier PROCESSOR = new ChargebackQueueClassifier("PS");
public static final ChargebackQueueClassifier ISSUE = new ChargebackQueueClassifier("IS");
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(ARBITRATION_PENDING.value, ARBITRATION_PENDING);
literals.add(ARBITRATION_PENDING.value);
ARBITRATION_PENDING.setName("ARBITRATION_PENDING");
names.add("ARBITRATION_PENDING");
values.put(DECISION_PENDING.value, DECISION_PENDING);
literals.add(DECISION_PENDING.value);
DECISION_PENDING.setName("DECISION_PENDING");
names.add("DECISION_PENDING");
values.put(PROCESSOR_PENDING.value, PROCESSOR_PENDING);
literals.add(PROCESSOR_PENDING.value);
PROCESSOR_PENDING.setName("PROCESSOR_PENDING");
names.add("PROCESSOR_PENDING");
values.put(PROCESSOR_ASSUMED.value, PROCESSOR_ASSUMED);
literals.add(PROCESSOR_ASSUMED.value);
PROCESSOR_ASSUMED.setName("PROCESSOR_ASSUMED");
names.add("PROCESSOR_ASSUMED");
values.put(PROCESSOR_ERROR.value, PROCESSOR_ERROR);
literals.add(PROCESSOR_ERROR.value);
PROCESSOR_ERROR.setName("PROCESSOR_ERROR");
names.add("PROCESSOR_ERROR");
values.put(PROCESSOR_REVIEW.value, PROCESSOR_REVIEW);
literals.add(PROCESSOR_REVIEW.value);
PROCESSOR_REVIEW.setName("PROCESSOR_REVIEW");
names.add("PROCESSOR_REVIEW");
values.put(MERCHANT_PENDING.value, MERCHANT_PENDING);
literals.add(MERCHANT_PENDING.value);
MERCHANT_PENDING.setName("MERCHANT_PENDING");
names.add("MERCHANT_PENDING");
values.put(MERCHANT_ARBITRATION.value, MERCHANT_ARBITRATION);
literals.add(MERCHANT_ARBITRATION.value);
MERCHANT_ARBITRATION.setName("MERCHANT_ARBITRATION");
names.add("MERCHANT_ARBITRATION");
values.put(MERCHANT_ASSUMED.value, MERCHANT_ASSUMED);
literals.add(MERCHANT_ASSUMED.value);
MERCHANT_ASSUMED.setName("MERCHANT_ASSUMED");
names.add("MERCHANT_ASSUMED");
values.put(MERCHANT_ASSUMED_AUTO.value, MERCHANT_ASSUMED_AUTO);
literals.add(MERCHANT_ASSUMED_AUTO.value);
MERCHANT_ASSUMED_AUTO.setName("MERCHANT_ASSUMED_AUTO");
names.add("MERCHANT_ASSUMED_AUTO");
values.put(MERCHANT_PENDING_API.value, MERCHANT_PENDING_API);
literals.add(MERCHANT_PENDING_API.value);
MERCHANT_PENDING_API.setName("MERCHANT_PENDING_API");
names.add("MERCHANT_PENDING_API");
values.put(NETWORK_ASSUMED.value, NETWORK_ASSUMED);
literals.add(NETWORK_ASSUMED.value);
NETWORK_ASSUMED.setName("NETWORK_ASSUMED");
names.add("NETWORK_ASSUMED");
values.put(PREARBITRATION_PENDING.value, PREARBITRATION_PENDING);
literals.add(PREARBITRATION_PENDING.value);
PREARBITRATION_PENDING.setName("PREARBITRATION_PENDING");
names.add("PREARBITRATION_PENDING");
values.put(UNMAPPED.value, UNMAPPED);
literals.add(UNMAPPED.value);
UNMAPPED.setName("UNMAPPED");
names.add("UNMAPPED");
values.put(MERCHANT.value, MERCHANT);
literals.add(MERCHANT.value);
MERCHANT.setName("MERCHANT");
names.add("MERCHANT");
values.put(NETWORK.value, NETWORK);
literals.add(NETWORK.value);
NETWORK.setName("NETWORK");
names.add("NETWORK");
values.put(PROCESSOR.value, PROCESSOR);
literals.add(PROCESSOR.value);
PROCESSOR.setName("PROCESSOR");
names.add("PROCESSOR");
values.put(ISSUE.value, ISSUE);
literals.add(ISSUE.value);
ISSUE.setName("ISSUE");
names.add("ISSUE");
values.put(MERCHANT.value, MERCHANT);
literals.add(MERCHANT.value);
MERCHANT.setName("MERCHANT");
names.add("MERCHANT");
values.put(NETWORK.value, NETWORK);
literals.add(NETWORK.value);
NETWORK.setName("NETWORK");
names.add("NETWORK");
values.put(PROCESSOR.value, PROCESSOR);
literals.add(PROCESSOR.value);
PROCESSOR.setName("PROCESSOR");
names.add("PROCESSOR");
values.put(ISSUE.value, ISSUE);
literals.add(ISSUE.value);
ISSUE.setName("ISSUE");
names.add("ISSUE");
values.put(MERCHANT.value, MERCHANT);
literals.add(MERCHANT.value);
MERCHANT.setName("MERCHANT");
names.add("MERCHANT");
values.put(NETWORK.value, NETWORK);
literals.add(NETWORK.value);
NETWORK.setName("NETWORK");
names.add("NETWORK");
values.put(PROCESSOR.value, PROCESSOR);
literals.add(PROCESSOR.value);
PROCESSOR.setName("PROCESSOR");
names.add("PROCESSOR");
values.put(ISSUE.value, ISSUE);
literals.add(ISSUE.value);
ISSUE.setName("ISSUE");
names.add("ISSUE");
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 ChargebackQueueClassifier() {}
private ChargebackQueueClassifier(java.lang.String value) {
this.value = value;
}
public String toString() {
return java.lang.String.valueOf(value);
}
/**
* Creates an instance of ChargebackQueueClassifier from <code>value</code>.
*
* @param value the value to create the ChargebackQueueClassifier from.
*/
public static ChargebackQueueClassifier fromString(java.lang.String value) {
if(value == null) return null;
final ChargebackQueueClassifier typeValue = (ChargebackQueueClassifier) 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 isChargebackQueueClassifier(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(((ChargebackQueueClassifier)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 ChargebackQueueClassifier && ((ChargebackQueueClassifier)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 ChargebackQueueClassifier.fromString(this.value);
}
}