All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.allegro.webapi.UserIncomingPaymentStruct Maven / Gradle / Ivy

There is a newer version: 0.0.6
Show newest version
/**
 * UserIncomingPaymentStruct.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.allegro.webapi;

public class UserIncomingPaymentStruct  implements java.io.Serializable {
    private long payTransId;

    private long payTransItId;

    private int payTransBuyerId;

    private java.lang.String payTransType;

    private java.lang.String payTransStatus;

    private float payTransAmount;

    private long payTransCreateDate;

    private long payTransRecvDate;

    private float payTransPrice;

    private int payTransCount;

    private float payTransPostageAmount;

    private com.allegro.webapi.ArrayOfPaymentdetailsstruct payTransDetails;

    private int payTransIncomplete;

    private long payTransMainId;

    public UserIncomingPaymentStruct() {
    }

    public UserIncomingPaymentStruct(
           long payTransId,
           long payTransItId,
           int payTransBuyerId,
           java.lang.String payTransType,
           java.lang.String payTransStatus,
           float payTransAmount,
           long payTransCreateDate,
           long payTransRecvDate,
           float payTransPrice,
           int payTransCount,
           float payTransPostageAmount,
           com.allegro.webapi.ArrayOfPaymentdetailsstruct payTransDetails,
           int payTransIncomplete,
           long payTransMainId) {
           this.payTransId = payTransId;
           this.payTransItId = payTransItId;
           this.payTransBuyerId = payTransBuyerId;
           this.payTransType = payTransType;
           this.payTransStatus = payTransStatus;
           this.payTransAmount = payTransAmount;
           this.payTransCreateDate = payTransCreateDate;
           this.payTransRecvDate = payTransRecvDate;
           this.payTransPrice = payTransPrice;
           this.payTransCount = payTransCount;
           this.payTransPostageAmount = payTransPostageAmount;
           this.payTransDetails = payTransDetails;
           this.payTransIncomplete = payTransIncomplete;
           this.payTransMainId = payTransMainId;
    }


    /**
     * Gets the payTransId value for this UserIncomingPaymentStruct.
     * 
     * @return payTransId
     */
    public long getPayTransId() {
        return payTransId;
    }


    /**
     * Sets the payTransId value for this UserIncomingPaymentStruct.
     * 
     * @param payTransId
     */
    public void setPayTransId(long payTransId) {
        this.payTransId = payTransId;
    }


    /**
     * Gets the payTransItId value for this UserIncomingPaymentStruct.
     * 
     * @return payTransItId
     */
    public long getPayTransItId() {
        return payTransItId;
    }


    /**
     * Sets the payTransItId value for this UserIncomingPaymentStruct.
     * 
     * @param payTransItId
     */
    public void setPayTransItId(long payTransItId) {
        this.payTransItId = payTransItId;
    }


    /**
     * Gets the payTransBuyerId value for this UserIncomingPaymentStruct.
     * 
     * @return payTransBuyerId
     */
    public int getPayTransBuyerId() {
        return payTransBuyerId;
    }


    /**
     * Sets the payTransBuyerId value for this UserIncomingPaymentStruct.
     * 
     * @param payTransBuyerId
     */
    public void setPayTransBuyerId(int payTransBuyerId) {
        this.payTransBuyerId = payTransBuyerId;
    }


    /**
     * Gets the payTransType value for this UserIncomingPaymentStruct.
     * 
     * @return payTransType
     */
    public java.lang.String getPayTransType() {
        return payTransType;
    }


    /**
     * Sets the payTransType value for this UserIncomingPaymentStruct.
     * 
     * @param payTransType
     */
    public void setPayTransType(java.lang.String payTransType) {
        this.payTransType = payTransType;
    }


    /**
     * Gets the payTransStatus value for this UserIncomingPaymentStruct.
     * 
     * @return payTransStatus
     */
    public java.lang.String getPayTransStatus() {
        return payTransStatus;
    }


    /**
     * Sets the payTransStatus value for this UserIncomingPaymentStruct.
     * 
     * @param payTransStatus
     */
    public void setPayTransStatus(java.lang.String payTransStatus) {
        this.payTransStatus = payTransStatus;
    }


    /**
     * Gets the payTransAmount value for this UserIncomingPaymentStruct.
     * 
     * @return payTransAmount
     */
    public float getPayTransAmount() {
        return payTransAmount;
    }


    /**
     * Sets the payTransAmount value for this UserIncomingPaymentStruct.
     * 
     * @param payTransAmount
     */
    public void setPayTransAmount(float payTransAmount) {
        this.payTransAmount = payTransAmount;
    }


    /**
     * Gets the payTransCreateDate value for this UserIncomingPaymentStruct.
     * 
     * @return payTransCreateDate
     */
    public long getPayTransCreateDate() {
        return payTransCreateDate;
    }


    /**
     * Sets the payTransCreateDate value for this UserIncomingPaymentStruct.
     * 
     * @param payTransCreateDate
     */
    public void setPayTransCreateDate(long payTransCreateDate) {
        this.payTransCreateDate = payTransCreateDate;
    }


    /**
     * Gets the payTransRecvDate value for this UserIncomingPaymentStruct.
     * 
     * @return payTransRecvDate
     */
    public long getPayTransRecvDate() {
        return payTransRecvDate;
    }


    /**
     * Sets the payTransRecvDate value for this UserIncomingPaymentStruct.
     * 
     * @param payTransRecvDate
     */
    public void setPayTransRecvDate(long payTransRecvDate) {
        this.payTransRecvDate = payTransRecvDate;
    }


    /**
     * Gets the payTransPrice value for this UserIncomingPaymentStruct.
     * 
     * @return payTransPrice
     */
    public float getPayTransPrice() {
        return payTransPrice;
    }


    /**
     * Sets the payTransPrice value for this UserIncomingPaymentStruct.
     * 
     * @param payTransPrice
     */
    public void setPayTransPrice(float payTransPrice) {
        this.payTransPrice = payTransPrice;
    }


    /**
     * Gets the payTransCount value for this UserIncomingPaymentStruct.
     * 
     * @return payTransCount
     */
    public int getPayTransCount() {
        return payTransCount;
    }


    /**
     * Sets the payTransCount value for this UserIncomingPaymentStruct.
     * 
     * @param payTransCount
     */
    public void setPayTransCount(int payTransCount) {
        this.payTransCount = payTransCount;
    }


    /**
     * Gets the payTransPostageAmount value for this UserIncomingPaymentStruct.
     * 
     * @return payTransPostageAmount
     */
    public float getPayTransPostageAmount() {
        return payTransPostageAmount;
    }


    /**
     * Sets the payTransPostageAmount value for this UserIncomingPaymentStruct.
     * 
     * @param payTransPostageAmount
     */
    public void setPayTransPostageAmount(float payTransPostageAmount) {
        this.payTransPostageAmount = payTransPostageAmount;
    }


    /**
     * Gets the payTransDetails value for this UserIncomingPaymentStruct.
     * 
     * @return payTransDetails
     */
    public com.allegro.webapi.ArrayOfPaymentdetailsstruct getPayTransDetails() {
        return payTransDetails;
    }


    /**
     * Sets the payTransDetails value for this UserIncomingPaymentStruct.
     * 
     * @param payTransDetails
     */
    public void setPayTransDetails(com.allegro.webapi.ArrayOfPaymentdetailsstruct payTransDetails) {
        this.payTransDetails = payTransDetails;
    }


    /**
     * Gets the payTransIncomplete value for this UserIncomingPaymentStruct.
     * 
     * @return payTransIncomplete
     */
    public int getPayTransIncomplete() {
        return payTransIncomplete;
    }


    /**
     * Sets the payTransIncomplete value for this UserIncomingPaymentStruct.
     * 
     * @param payTransIncomplete
     */
    public void setPayTransIncomplete(int payTransIncomplete) {
        this.payTransIncomplete = payTransIncomplete;
    }


    /**
     * Gets the payTransMainId value for this UserIncomingPaymentStruct.
     * 
     * @return payTransMainId
     */
    public long getPayTransMainId() {
        return payTransMainId;
    }


    /**
     * Sets the payTransMainId value for this UserIncomingPaymentStruct.
     * 
     * @param payTransMainId
     */
    public void setPayTransMainId(long payTransMainId) {
        this.payTransMainId = payTransMainId;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof UserIncomingPaymentStruct)) return false;
        UserIncomingPaymentStruct other = (UserIncomingPaymentStruct) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            this.payTransId == other.getPayTransId() &&
            this.payTransItId == other.getPayTransItId() &&
            this.payTransBuyerId == other.getPayTransBuyerId() &&
            ((this.payTransType==null && other.getPayTransType()==null) || 
             (this.payTransType!=null &&
              this.payTransType.equals(other.getPayTransType()))) &&
            ((this.payTransStatus==null && other.getPayTransStatus()==null) || 
             (this.payTransStatus!=null &&
              this.payTransStatus.equals(other.getPayTransStatus()))) &&
            this.payTransAmount == other.getPayTransAmount() &&
            this.payTransCreateDate == other.getPayTransCreateDate() &&
            this.payTransRecvDate == other.getPayTransRecvDate() &&
            this.payTransPrice == other.getPayTransPrice() &&
            this.payTransCount == other.getPayTransCount() &&
            this.payTransPostageAmount == other.getPayTransPostageAmount() &&
            ((this.payTransDetails==null && other.getPayTransDetails()==null) || 
             (this.payTransDetails!=null &&
              this.payTransDetails.equals(other.getPayTransDetails()))) &&
            this.payTransIncomplete == other.getPayTransIncomplete() &&
            this.payTransMainId == other.getPayTransMainId();
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        _hashCode += new Long(getPayTransId()).hashCode();
        _hashCode += new Long(getPayTransItId()).hashCode();
        _hashCode += getPayTransBuyerId();
        if (getPayTransType() != null) {
            _hashCode += getPayTransType().hashCode();
        }
        if (getPayTransStatus() != null) {
            _hashCode += getPayTransStatus().hashCode();
        }
        _hashCode += new Float(getPayTransAmount()).hashCode();
        _hashCode += new Long(getPayTransCreateDate()).hashCode();
        _hashCode += new Long(getPayTransRecvDate()).hashCode();
        _hashCode += new Float(getPayTransPrice()).hashCode();
        _hashCode += getPayTransCount();
        _hashCode += new Float(getPayTransPostageAmount()).hashCode();
        if (getPayTransDetails() != null) {
            _hashCode += getPayTransDetails().hashCode();
        }
        _hashCode += getPayTransIncomplete();
        _hashCode += new Long(getPayTransMainId()).hashCode();
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "UserIncomingPaymentStruct"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("payTransId");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "payTransId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("payTransItId");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "payTransItId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("payTransBuyerId");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "payTransBuyerId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("payTransType");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "payTransType"));
        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("payTransStatus");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "payTransStatus"));
        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("payTransAmount");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "payTransAmount"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("payTransCreateDate");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "payTransCreateDate"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("payTransRecvDate");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "payTransRecvDate"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("payTransPrice");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "payTransPrice"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("payTransCount");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "payTransCount"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("payTransPostageAmount");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "payTransPostageAmount"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("payTransDetails");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "payTransDetails"));
        elemField.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "ArrayOfPaymentdetailsstruct"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("payTransIncomplete");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "payTransIncomplete"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("payTransMainId");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "payTransMainId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
        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(
           java.lang.String mechType, 
           java.lang.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(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy