/**
 * ShipProductOrderRequest.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.mall;

public class ShipProductOrderRequest  extends com.style24.core.biz.checkout.base.BaseCheckoutRequestType  implements java.io.Serializable {
    private String productOrderID;

    private com.style24.core.biz.checkout.base.DeliveryMethodType deliveryMethodCode;

    private String deliveryCompanyCode;

    private String trackingNumber;

    private java.util.Calendar dispatchDate;

    public ShipProductOrderRequest() {
    }

    public ShipProductOrderRequest(
           com.style24.core.biz.checkout.base.AccessCredentialsType accessCredentials,
           String requestID,
           String detailLevel,
           String version,
           String productOrderID,
           com.style24.core.biz.checkout.base.DeliveryMethodType deliveryMethodCode,
           String deliveryCompanyCode,
           String trackingNumber,
           java.util.Calendar dispatchDate) {
        super(
            accessCredentials,
            requestID,
            detailLevel,
            version);
        this.productOrderID = productOrderID;
        this.deliveryMethodCode = deliveryMethodCode;
        this.deliveryCompanyCode = deliveryCompanyCode;
        this.trackingNumber = trackingNumber;
        this.dispatchDate = dispatchDate;
    }


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


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


    /**
     * Gets the deliveryMethodCode value for this ShipProductOrderRequest.
     *
     * @return deliveryMethodCode
     */
    public com.style24.core.biz.checkout.base.DeliveryMethodType getDeliveryMethodCode() {
        return deliveryMethodCode;
    }


    /**
     * Sets the deliveryMethodCode value for this ShipProductOrderRequest.
     *
     * @param deliveryMethodCode
     */
    public void setDeliveryMethodCode(com.style24.core.biz.checkout.base.DeliveryMethodType deliveryMethodCode) {
        this.deliveryMethodCode = deliveryMethodCode;
    }


    /**
     * Gets the deliveryCompanyCode value for this ShipProductOrderRequest.
     *
     * @return deliveryCompanyCode
     */
    public String getDeliveryCompanyCode() {
        return deliveryCompanyCode;
    }


    /**
     * Sets the deliveryCompanyCode value for this ShipProductOrderRequest.
     *
     * @param deliveryCompanyCode
     */
    public void setDeliveryCompanyCode(String deliveryCompanyCode) {
        this.deliveryCompanyCode = deliveryCompanyCode;
    }


    /**
     * Gets the trackingNumber value for this ShipProductOrderRequest.
     *
     * @return trackingNumber
     */
    public String getTrackingNumber() {
        return trackingNumber;
    }


    /**
     * Sets the trackingNumber value for this ShipProductOrderRequest.
     *
     * @param trackingNumber
     */
    public void setTrackingNumber(String trackingNumber) {
        this.trackingNumber = trackingNumber;
    }


    /**
     * Gets the dispatchDate value for this ShipProductOrderRequest.
     *
     * @return dispatchDate
     */
    public java.util.Calendar getDispatchDate() {
        return dispatchDate;
    }


    /**
     * Sets the dispatchDate value for this ShipProductOrderRequest.
     *
     * @param dispatchDate
     */
    public void setDispatchDate(java.util.Calendar dispatchDate) {
        this.dispatchDate = dispatchDate;
    }

    private Object __equalsCalc = null;
    public synchronized boolean equals(Object obj) {
        if (!(obj instanceof ShipProductOrderRequest)) return false;
        ShipProductOrderRequest other = (ShipProductOrderRequest) 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.productOrderID==null && other.getProductOrderID()==null) ||
             (this.productOrderID!=null &&
              this.productOrderID.equals(other.getProductOrderID()))) &&
            ((this.deliveryMethodCode==null && other.getDeliveryMethodCode()==null) ||
             (this.deliveryMethodCode!=null &&
              this.deliveryMethodCode.equals(other.getDeliveryMethodCode()))) &&
            ((this.deliveryCompanyCode==null && other.getDeliveryCompanyCode()==null) ||
             (this.deliveryCompanyCode!=null &&
              this.deliveryCompanyCode.equals(other.getDeliveryCompanyCode()))) &&
            ((this.trackingNumber==null && other.getTrackingNumber()==null) ||
             (this.trackingNumber!=null &&
              this.trackingNumber.equals(other.getTrackingNumber()))) &&
            ((this.dispatchDate==null && other.getDispatchDate()==null) ||
             (this.dispatchDate!=null &&
              this.dispatchDate.equals(other.getDispatchDate())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = super.hashCode();
        if (getProductOrderID() != null) {
            _hashCode += getProductOrderID().hashCode();
        }
        if (getDeliveryMethodCode() != null) {
            _hashCode += getDeliveryMethodCode().hashCode();
        }
        if (getDeliveryCompanyCode() != null) {
            _hashCode += getDeliveryCompanyCode().hashCode();
        }
        if (getTrackingNumber() != null) {
            _hashCode += getTrackingNumber().hashCode();
        }
        if (getDispatchDate() != null) {
            _hashCode += getDispatchDate().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://mall.checkout.platform.nhncorp.com/", "shipProductOrderRequest"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("productOrderID");
        elemField.setXmlName(new javax.xml.namespace.QName("http://mall.checkout.platform.nhncorp.com/", "ProductOrderID"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("deliveryMethodCode");
        elemField.setXmlName(new javax.xml.namespace.QName("http://mall.checkout.platform.nhncorp.com/", "DeliveryMethodCode"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "deliveryMethodType"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("deliveryCompanyCode");
        elemField.setXmlName(new javax.xml.namespace.QName("http://mall.checkout.platform.nhncorp.com/", "DeliveryCompanyCode"));
        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("trackingNumber");
        elemField.setXmlName(new javax.xml.namespace.QName("http://mall.checkout.platform.nhncorp.com/", "TrackingNumber"));
        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("dispatchDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://mall.checkout.platform.nhncorp.com/", "DispatchDate"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
        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);
    }

}
