/**
 * ChangedProductOrderInfo.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 ChangedProductOrderInfo  implements java.io.Serializable, org.apache.axis.encoding.AnyContentType {
    private com.style24.core.biz.checkout.base.ClaimStatusType claimStatus;

    private com.style24.core.biz.checkout.base.ClaimType claimType;

    private java.util.Calendar lastChangedDate;

    private com.style24.core.biz.checkout.base.ProductOrderChangeType lastChangedStatus;

    private String orderID;

    private java.util.Calendar paymentDate;

    private String productOrderID;

    private com.style24.core.biz.checkout.base.ProductOrderStatusType productOrderStatus;

    private Boolean isReceiverAddressChanged;

    private org.apache.axis.message.MessageElement [] _any;

    public ChangedProductOrderInfo() {
    }

    public ChangedProductOrderInfo(
           com.style24.core.biz.checkout.base.ClaimStatusType claimStatus,
           com.style24.core.biz.checkout.base.ClaimType claimType,
           java.util.Calendar lastChangedDate,
           com.style24.core.biz.checkout.base.ProductOrderChangeType lastChangedStatus,
           String orderID,
           java.util.Calendar paymentDate,
           String productOrderID,
           com.style24.core.biz.checkout.base.ProductOrderStatusType productOrderStatus,
           Boolean isReceiverAddressChanged,
           org.apache.axis.message.MessageElement [] _any) {
           this.claimStatus = claimStatus;
           this.claimType = claimType;
           this.lastChangedDate = lastChangedDate;
           this.lastChangedStatus = lastChangedStatus;
           this.orderID = orderID;
           this.paymentDate = paymentDate;
           this.productOrderID = productOrderID;
           this.productOrderStatus = productOrderStatus;
           this.isReceiverAddressChanged = isReceiverAddressChanged;
           this._any = _any;
    }


    /**
     * Gets the claimStatus value for this ChangedProductOrderInfo.
     *
     * @return claimStatus
     */
    public com.style24.core.biz.checkout.base.ClaimStatusType getClaimStatus() {
        return claimStatus;
    }


    /**
     * Sets the claimStatus value for this ChangedProductOrderInfo.
     *
     * @param claimStatus
     */
    public void setClaimStatus(com.style24.core.biz.checkout.base.ClaimStatusType claimStatus) {
        this.claimStatus = claimStatus;
    }


    /**
     * Gets the claimType value for this ChangedProductOrderInfo.
     *
     * @return claimType
     */
    public com.style24.core.biz.checkout.base.ClaimType getClaimType() {
        return claimType;
    }


    /**
     * Sets the claimType value for this ChangedProductOrderInfo.
     *
     * @param claimType
     */
    public void setClaimType(com.style24.core.biz.checkout.base.ClaimType claimType) {
        this.claimType = claimType;
    }


    /**
     * Gets the lastChangedDate value for this ChangedProductOrderInfo.
     *
     * @return lastChangedDate
     */
    public java.util.Calendar getLastChangedDate() {
        return lastChangedDate;
    }


    /**
     * Sets the lastChangedDate value for this ChangedProductOrderInfo.
     *
     * @param lastChangedDate
     */
    public void setLastChangedDate(java.util.Calendar lastChangedDate) {
        this.lastChangedDate = lastChangedDate;
    }


    /**
     * Gets the lastChangedStatus value for this ChangedProductOrderInfo.
     *
     * @return lastChangedStatus
     */
    public com.style24.core.biz.checkout.base.ProductOrderChangeType getLastChangedStatus() {
        return lastChangedStatus;
    }


    /**
     * Sets the lastChangedStatus value for this ChangedProductOrderInfo.
     *
     * @param lastChangedStatus
     */
    public void setLastChangedStatus(com.style24.core.biz.checkout.base.ProductOrderChangeType lastChangedStatus) {
        this.lastChangedStatus = lastChangedStatus;
    }


    /**
     * Gets the orderID value for this ChangedProductOrderInfo.
     *
     * @return orderID
     */
    public String getOrderID() {
        return orderID;
    }


    /**
     * Sets the orderID value for this ChangedProductOrderInfo.
     *
     * @param orderID
     */
    public void setOrderID(String orderID) {
        this.orderID = orderID;
    }


    /**
     * Gets the paymentDate value for this ChangedProductOrderInfo.
     *
     * @return paymentDate
     */
    public java.util.Calendar getPaymentDate() {
        return paymentDate;
    }


    /**
     * Sets the paymentDate value for this ChangedProductOrderInfo.
     *
     * @param paymentDate
     */
    public void setPaymentDate(java.util.Calendar paymentDate) {
        this.paymentDate = paymentDate;
    }


    /**
     * Gets the productOrderID value for this ChangedProductOrderInfo.
     *
     * @return productOrderID
     */
    public String getProductOrderID() {
        return productOrderID;
    }


    /**
     * Sets the productOrderID value for this ChangedProductOrderInfo.
     *
     * @param productOrderID
     */
    public void setProductOrderID(String productOrderID) {
        this.productOrderID = productOrderID;
    }


    /**
     * Gets the productOrderStatus value for this ChangedProductOrderInfo.
     *
     * @return productOrderStatus
     */
    public com.style24.core.biz.checkout.base.ProductOrderStatusType getProductOrderStatus() {
        return productOrderStatus;
    }


    /**
     * Sets the productOrderStatus value for this ChangedProductOrderInfo.
     *
     * @param productOrderStatus
     */
    public void setProductOrderStatus(com.style24.core.biz.checkout.base.ProductOrderStatusType productOrderStatus) {
        this.productOrderStatus = productOrderStatus;
    }


    /**
     * Gets the isReceiverAddressChanged value for this ChangedProductOrderInfo.
     *
     * @return isReceiverAddressChanged
     */
    public Boolean getIsReceiverAddressChanged() {
        return isReceiverAddressChanged;
    }


    /**
     * Sets the isReceiverAddressChanged value for this ChangedProductOrderInfo.
     *
     * @param isReceiverAddressChanged
     */
    public void setIsReceiverAddressChanged(Boolean isReceiverAddressChanged) {
        this.isReceiverAddressChanged = isReceiverAddressChanged;
    }


    /**
     * Gets the _any value for this ChangedProductOrderInfo.
     *
     * @return _any
     */
    public org.apache.axis.message.MessageElement [] get_any() {
        return _any;
    }


    /**
     * Sets the _any value for this ChangedProductOrderInfo.
     *
     * @param _any
     */
    public void set_any(org.apache.axis.message.MessageElement [] _any) {
        this._any = _any;
    }

    private Object __equalsCalc = null;
    public synchronized boolean equals(Object obj) {
        if (!(obj instanceof ChangedProductOrderInfo)) return false;
        ChangedProductOrderInfo other = (ChangedProductOrderInfo) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true &&
            ((this.claimStatus==null && other.getClaimStatus()==null) ||
             (this.claimStatus!=null &&
              this.claimStatus.equals(other.getClaimStatus()))) &&
            ((this.claimType==null && other.getClaimType()==null) ||
             (this.claimType!=null &&
              this.claimType.equals(other.getClaimType()))) &&
            ((this.lastChangedDate==null && other.getLastChangedDate()==null) ||
             (this.lastChangedDate!=null &&
              this.lastChangedDate.equals(other.getLastChangedDate()))) &&
            ((this.lastChangedStatus==null && other.getLastChangedStatus()==null) ||
             (this.lastChangedStatus!=null &&
              this.lastChangedStatus.equals(other.getLastChangedStatus()))) &&
            ((this.orderID==null && other.getOrderID()==null) ||
             (this.orderID!=null &&
              this.orderID.equals(other.getOrderID()))) &&
            ((this.paymentDate==null && other.getPaymentDate()==null) ||
             (this.paymentDate!=null &&
              this.paymentDate.equals(other.getPaymentDate()))) &&
            ((this.productOrderID==null && other.getProductOrderID()==null) ||
             (this.productOrderID!=null &&
              this.productOrderID.equals(other.getProductOrderID()))) &&
            ((this.productOrderStatus==null && other.getProductOrderStatus()==null) ||
             (this.productOrderStatus!=null &&
              this.productOrderStatus.equals(other.getProductOrderStatus()))) &&
            ((this.isReceiverAddressChanged==null && other.getIsReceiverAddressChanged()==null) ||
             (this.isReceiverAddressChanged!=null &&
              this.isReceiverAddressChanged.equals(other.getIsReceiverAddressChanged()))) &&
            ((this._any==null && other.get_any()==null) ||
             (this._any!=null &&
              java.util.Arrays.equals(this._any, other.get_any())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getClaimStatus() != null) {
            _hashCode += getClaimStatus().hashCode();
        }
        if (getClaimType() != null) {
            _hashCode += getClaimType().hashCode();
        }
        if (getLastChangedDate() != null) {
            _hashCode += getLastChangedDate().hashCode();
        }
        if (getLastChangedStatus() != null) {
            _hashCode += getLastChangedStatus().hashCode();
        }
        if (getOrderID() != null) {
            _hashCode += getOrderID().hashCode();
        }
        if (getPaymentDate() != null) {
            _hashCode += getPaymentDate().hashCode();
        }
        if (getProductOrderID() != null) {
            _hashCode += getProductOrderID().hashCode();
        }
        if (getProductOrderStatus() != null) {
            _hashCode += getProductOrderStatus().hashCode();
        }
        if (getIsReceiverAddressChanged() != null) {
            _hashCode += getIsReceiverAddressChanged().hashCode();
        }
        if (get_any() != null) {
            for (int i=0;
                 i<java.lang.reflect.Array.getLength(get_any());
                 i++) {
                Object obj = java.lang.reflect.Array.get(get_any(), i);
                if (obj != null &&
                    !obj.getClass().isArray()) {
                    _hashCode += obj.hashCode();
                }
            }
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "changedProductOrderInfo"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("claimStatus");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "ClaimStatus"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "claimStatusType"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("claimType");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "ClaimType"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "claimType"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("lastChangedDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "LastChangedDate"));
        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("lastChangedStatus");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "LastChangedStatus"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "productOrderChangeType"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("orderID");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "OrderID"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("paymentDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "PaymentDate"));
        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("productOrderID");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "ProductOrderID"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("productOrderStatus");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "ProductOrderStatus"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "productOrderStatusType"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("isReceiverAddressChanged");
        elemField.setXmlName(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "IsReceiverAddressChanged"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
        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);
    }

}
