/**
 * ListRequestType.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 ListRequestType  extends com.style24.core.biz.checkout.base.BaseCheckoutRequestType  implements java.io.Serializable {
    private java.util.Calendar inquiryTimeFrom;

    private java.util.Calendar inquiryTimeTo;

    private String inquiryExtraData;

    public ListRequestType() {
    }

    public ListRequestType(
           com.style24.core.biz.checkout.base.AccessCredentialsType accessCredentials,
           String requestID,
           String detailLevel,
           String version,
           java.util.Calendar inquiryTimeFrom,
           java.util.Calendar inquiryTimeTo,
           String inquiryExtraData) {
        super(
            accessCredentials,
            requestID,
            detailLevel,
            version);
        this.inquiryTimeFrom = inquiryTimeFrom;
        this.inquiryTimeTo = inquiryTimeTo;
        this.inquiryExtraData = inquiryExtraData;
    }


    /**
     * Gets the inquiryTimeFrom value for this ListRequestType.
     *
     * @return inquiryTimeFrom
     */
    public java.util.Calendar getInquiryTimeFrom() {
        return inquiryTimeFrom;
    }


    /**
     * Sets the inquiryTimeFrom value for this ListRequestType.
     *
     * @param inquiryTimeFrom
     */
    public void setInquiryTimeFrom(java.util.Calendar inquiryTimeFrom) {
        this.inquiryTimeFrom = inquiryTimeFrom;
    }


    /**
     * Gets the inquiryTimeTo value for this ListRequestType.
     *
     * @return inquiryTimeTo
     */
    public java.util.Calendar getInquiryTimeTo() {
        return inquiryTimeTo;
    }


    /**
     * Sets the inquiryTimeTo value for this ListRequestType.
     *
     * @param inquiryTimeTo
     */
    public void setInquiryTimeTo(java.util.Calendar inquiryTimeTo) {
        this.inquiryTimeTo = inquiryTimeTo;
    }


    /**
     * Gets the inquiryExtraData value for this ListRequestType.
     *
     * @return inquiryExtraData
     */
    public String getInquiryExtraData() {
        return inquiryExtraData;
    }


    /**
     * Sets the inquiryExtraData value for this ListRequestType.
     *
     * @param inquiryExtraData
     */
    public void setInquiryExtraData(String inquiryExtraData) {
        this.inquiryExtraData = inquiryExtraData;
    }

    private Object __equalsCalc = null;
    public synchronized boolean equals(Object obj) {
        if (!(obj instanceof ListRequestType)) return false;
        ListRequestType other = (ListRequestType) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = super.equals(obj) &&
            ((this.inquiryTimeFrom==null && other.getInquiryTimeFrom()==null) ||
             (this.inquiryTimeFrom!=null &&
              this.inquiryTimeFrom.equals(other.getInquiryTimeFrom()))) &&
            ((this.inquiryTimeTo==null && other.getInquiryTimeTo()==null) ||
             (this.inquiryTimeTo!=null &&
              this.inquiryTimeTo.equals(other.getInquiryTimeTo()))) &&
            ((this.inquiryExtraData==null && other.getInquiryExtraData()==null) ||
             (this.inquiryExtraData!=null &&
              this.inquiryExtraData.equals(other.getInquiryExtraData())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = super.hashCode();
        if (getInquiryTimeFrom() != null) {
            _hashCode += getInquiryTimeFrom().hashCode();
        }
        if (getInquiryTimeTo() != null) {
            _hashCode += getInquiryTimeTo().hashCode();
        }
        if (getInquiryExtraData() != null) {
            _hashCode += getInquiryExtraData().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(ListRequestType.class, true);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "ListRequestType"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("inquiryTimeFrom");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "InquiryTimeFrom"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("inquiryTimeTo");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "InquiryTimeTo"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("inquiryExtraData");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "InquiryExtraData"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
    }

    /**
     * Return type metadata object
     */
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return typeDesc;
    }

    /**
     * Get Custom Serializer
     */
    public static org.apache.axis.encoding.Serializer getSerializer(
           String mechType,
           Class _javaType,
           javax.xml.namespace.QName _xmlType) {
        return
          new  org.apache.axis.encoding.ser.BeanSerializer(
            _javaType, _xmlType, typeDesc);
    }

    /**
     * Get Custom Deserializer
     */
    public static org.apache.axis.encoding.Deserializer getDeserializer(
           String mechType,
           Class _javaType,
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }

}
