/**
 * HoldbackClassType.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 */

package com.style24.core.biz.checkout.base;

public class HoldbackClassType implements java.io.Serializable {
    private String _value_;
    private static java.util.HashMap _table_ = new java.util.HashMap();

    // Constructor
    protected HoldbackClassType(String value) {
        _value_ = value;
        _table_.put(_value_,this);
    }

    public static final String _RETURN_DELIVERYFEE = "RETURN_DELIVERYFEE";
    public static final String _EXTRAFEEE = "EXTRAFEEE";
    public static final String _RETURN_DELIVERYFEE_AND_EXTRAFEEE = "RETURN_DELIVERYFEE_AND_EXTRAFEEE";
    public static final String _RETURN_PRODUCT_NOT_DELIVERED = "RETURN_PRODUCT_NOT_DELIVERED";
    public static final String _ETC = "ETC";
    public static final String _EXCHANGE_DELIVERYFEE = "EXCHANGE_DELIVERYFEE";
    public static final String _EXCHANGE_EXTRAFEE = "EXCHANGE_EXTRAFEE";
    public static final String _EXCHANGE_PRODUCT_READY = "EXCHANGE_PRODUCT_READY";
    public static final String _EXCHANGE_PRODUCT_NOT_DELIVERED = "EXCHANGE_PRODUCT_NOT_DELIVERED";
    public static final String _SELLER_CONFIRM_NEED = "SELLER_CONFIRM_NEED";
    public static final String _PURCHASER_CONFIRM_NEED = "PURCHASER_CONFIRM_NEED";
    public static final String _SELLER_REMIT = "SELLER_REMIT";
    public static final String _ETC2 = "ETC2";
    public static final String _EXCHANGE_HOLDBACK = "EXCHANGE_HOLDBACK";
    public static final HoldbackClassType RETURN_DELIVERYFEE = new HoldbackClassType(_RETURN_DELIVERYFEE);
    public static final HoldbackClassType EXTRAFEEE = new HoldbackClassType(_EXTRAFEEE);
    public static final HoldbackClassType RETURN_DELIVERYFEE_AND_EXTRAFEEE = new HoldbackClassType(_RETURN_DELIVERYFEE_AND_EXTRAFEEE);
    public static final HoldbackClassType RETURN_PRODUCT_NOT_DELIVERED = new HoldbackClassType(_RETURN_PRODUCT_NOT_DELIVERED);
    public static final HoldbackClassType ETC = new HoldbackClassType(_ETC);
    public static final HoldbackClassType EXCHANGE_DELIVERYFEE = new HoldbackClassType(_EXCHANGE_DELIVERYFEE);
    public static final HoldbackClassType EXCHANGE_EXTRAFEE = new HoldbackClassType(_EXCHANGE_EXTRAFEE);
    public static final HoldbackClassType EXCHANGE_PRODUCT_READY = new HoldbackClassType(_EXCHANGE_PRODUCT_READY);
    public static final HoldbackClassType EXCHANGE_PRODUCT_NOT_DELIVERED = new HoldbackClassType(_EXCHANGE_PRODUCT_NOT_DELIVERED);
    public static final HoldbackClassType SELLER_CONFIRM_NEED = new HoldbackClassType(_SELLER_CONFIRM_NEED);
    public static final HoldbackClassType PURCHASER_CONFIRM_NEED = new HoldbackClassType(_PURCHASER_CONFIRM_NEED);
    public static final HoldbackClassType SELLER_REMIT = new HoldbackClassType(_SELLER_REMIT);
    public static final HoldbackClassType ETC2 = new HoldbackClassType(_ETC2);
    public static final HoldbackClassType EXCHANGE_HOLDBACK = new HoldbackClassType(_EXCHANGE_HOLDBACK);
    public String getValue() { return _value_;}
    public static HoldbackClassType fromValue(String value)
          throws IllegalArgumentException {
        HoldbackClassType enumeration = (HoldbackClassType)
            _table_.get(value);
        if (enumeration==null) throw new IllegalArgumentException();
        return enumeration;
    }
    public static HoldbackClassType fromString(String value)
          throws IllegalArgumentException {
        return fromValue(value);
    }
    public boolean equals(Object obj) {return (obj == this);}
    public int hashCode() { return toString().hashCode();}
    public String toString() { return _value_;}
    public Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
    public static org.apache.axis.encoding.Serializer getSerializer(
           String mechType,
           Class _javaType,
           javax.xml.namespace.QName _xmlType) {
        return
          new org.apache.axis.encoding.ser.EnumSerializer(
            _javaType, _xmlType);
    }
    public static org.apache.axis.encoding.Deserializer getDeserializer(
           String mechType,
           Class _javaType,
           javax.xml.namespace.QName _xmlType) {
        return 
          new org.apache.axis.encoding.ser.EnumDeserializer(
            _javaType, _xmlType);
    }
    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(HoldbackClassType.class);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "holdbackClassType"));
    }
    /**
     * Return type metadata object
     */
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return typeDesc;
    }

}
