com.allegro.webapi.PostBuyFormAddressStruct Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of allegro-webapi Show documentation
Show all versions of allegro-webapi Show documentation
Allegro Web API WSDL converted to Java
/**
* PostBuyFormAddressStruct.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 PostBuyFormAddressStruct implements java.io.Serializable {
private int postBuyFormAdrCountry;
private java.lang.String postBuyFormAdrStreet;
private java.lang.String postBuyFormAdrPostcode;
private java.lang.String postBuyFormAdrCity;
private java.lang.String postBuyFormAdrFullName;
private java.lang.String postBuyFormAdrCompany;
private java.lang.String postBuyFormAdrPhone;
private java.lang.String postBuyFormAdrNip;
private java.lang.String postBuyFormCreatedDate;
private int postBuyFormAdrType;
public PostBuyFormAddressStruct() {
}
public PostBuyFormAddressStruct(
int postBuyFormAdrCountry,
java.lang.String postBuyFormAdrStreet,
java.lang.String postBuyFormAdrPostcode,
java.lang.String postBuyFormAdrCity,
java.lang.String postBuyFormAdrFullName,
java.lang.String postBuyFormAdrCompany,
java.lang.String postBuyFormAdrPhone,
java.lang.String postBuyFormAdrNip,
java.lang.String postBuyFormCreatedDate,
int postBuyFormAdrType) {
this.postBuyFormAdrCountry = postBuyFormAdrCountry;
this.postBuyFormAdrStreet = postBuyFormAdrStreet;
this.postBuyFormAdrPostcode = postBuyFormAdrPostcode;
this.postBuyFormAdrCity = postBuyFormAdrCity;
this.postBuyFormAdrFullName = postBuyFormAdrFullName;
this.postBuyFormAdrCompany = postBuyFormAdrCompany;
this.postBuyFormAdrPhone = postBuyFormAdrPhone;
this.postBuyFormAdrNip = postBuyFormAdrNip;
this.postBuyFormCreatedDate = postBuyFormCreatedDate;
this.postBuyFormAdrType = postBuyFormAdrType;
}
/**
* Gets the postBuyFormAdrCountry value for this PostBuyFormAddressStruct.
*
* @return postBuyFormAdrCountry
*/
public int getPostBuyFormAdrCountry() {
return postBuyFormAdrCountry;
}
/**
* Sets the postBuyFormAdrCountry value for this PostBuyFormAddressStruct.
*
* @param postBuyFormAdrCountry
*/
public void setPostBuyFormAdrCountry(int postBuyFormAdrCountry) {
this.postBuyFormAdrCountry = postBuyFormAdrCountry;
}
/**
* Gets the postBuyFormAdrStreet value for this PostBuyFormAddressStruct.
*
* @return postBuyFormAdrStreet
*/
public java.lang.String getPostBuyFormAdrStreet() {
return postBuyFormAdrStreet;
}
/**
* Sets the postBuyFormAdrStreet value for this PostBuyFormAddressStruct.
*
* @param postBuyFormAdrStreet
*/
public void setPostBuyFormAdrStreet(java.lang.String postBuyFormAdrStreet) {
this.postBuyFormAdrStreet = postBuyFormAdrStreet;
}
/**
* Gets the postBuyFormAdrPostcode value for this PostBuyFormAddressStruct.
*
* @return postBuyFormAdrPostcode
*/
public java.lang.String getPostBuyFormAdrPostcode() {
return postBuyFormAdrPostcode;
}
/**
* Sets the postBuyFormAdrPostcode value for this PostBuyFormAddressStruct.
*
* @param postBuyFormAdrPostcode
*/
public void setPostBuyFormAdrPostcode(java.lang.String postBuyFormAdrPostcode) {
this.postBuyFormAdrPostcode = postBuyFormAdrPostcode;
}
/**
* Gets the postBuyFormAdrCity value for this PostBuyFormAddressStruct.
*
* @return postBuyFormAdrCity
*/
public java.lang.String getPostBuyFormAdrCity() {
return postBuyFormAdrCity;
}
/**
* Sets the postBuyFormAdrCity value for this PostBuyFormAddressStruct.
*
* @param postBuyFormAdrCity
*/
public void setPostBuyFormAdrCity(java.lang.String postBuyFormAdrCity) {
this.postBuyFormAdrCity = postBuyFormAdrCity;
}
/**
* Gets the postBuyFormAdrFullName value for this PostBuyFormAddressStruct.
*
* @return postBuyFormAdrFullName
*/
public java.lang.String getPostBuyFormAdrFullName() {
return postBuyFormAdrFullName;
}
/**
* Sets the postBuyFormAdrFullName value for this PostBuyFormAddressStruct.
*
* @param postBuyFormAdrFullName
*/
public void setPostBuyFormAdrFullName(java.lang.String postBuyFormAdrFullName) {
this.postBuyFormAdrFullName = postBuyFormAdrFullName;
}
/**
* Gets the postBuyFormAdrCompany value for this PostBuyFormAddressStruct.
*
* @return postBuyFormAdrCompany
*/
public java.lang.String getPostBuyFormAdrCompany() {
return postBuyFormAdrCompany;
}
/**
* Sets the postBuyFormAdrCompany value for this PostBuyFormAddressStruct.
*
* @param postBuyFormAdrCompany
*/
public void setPostBuyFormAdrCompany(java.lang.String postBuyFormAdrCompany) {
this.postBuyFormAdrCompany = postBuyFormAdrCompany;
}
/**
* Gets the postBuyFormAdrPhone value for this PostBuyFormAddressStruct.
*
* @return postBuyFormAdrPhone
*/
public java.lang.String getPostBuyFormAdrPhone() {
return postBuyFormAdrPhone;
}
/**
* Sets the postBuyFormAdrPhone value for this PostBuyFormAddressStruct.
*
* @param postBuyFormAdrPhone
*/
public void setPostBuyFormAdrPhone(java.lang.String postBuyFormAdrPhone) {
this.postBuyFormAdrPhone = postBuyFormAdrPhone;
}
/**
* Gets the postBuyFormAdrNip value for this PostBuyFormAddressStruct.
*
* @return postBuyFormAdrNip
*/
public java.lang.String getPostBuyFormAdrNip() {
return postBuyFormAdrNip;
}
/**
* Sets the postBuyFormAdrNip value for this PostBuyFormAddressStruct.
*
* @param postBuyFormAdrNip
*/
public void setPostBuyFormAdrNip(java.lang.String postBuyFormAdrNip) {
this.postBuyFormAdrNip = postBuyFormAdrNip;
}
/**
* Gets the postBuyFormCreatedDate value for this PostBuyFormAddressStruct.
*
* @return postBuyFormCreatedDate
*/
public java.lang.String getPostBuyFormCreatedDate() {
return postBuyFormCreatedDate;
}
/**
* Sets the postBuyFormCreatedDate value for this PostBuyFormAddressStruct.
*
* @param postBuyFormCreatedDate
*/
public void setPostBuyFormCreatedDate(java.lang.String postBuyFormCreatedDate) {
this.postBuyFormCreatedDate = postBuyFormCreatedDate;
}
/**
* Gets the postBuyFormAdrType value for this PostBuyFormAddressStruct.
*
* @return postBuyFormAdrType
*/
public int getPostBuyFormAdrType() {
return postBuyFormAdrType;
}
/**
* Sets the postBuyFormAdrType value for this PostBuyFormAddressStruct.
*
* @param postBuyFormAdrType
*/
public void setPostBuyFormAdrType(int postBuyFormAdrType) {
this.postBuyFormAdrType = postBuyFormAdrType;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof PostBuyFormAddressStruct)) return false;
PostBuyFormAddressStruct other = (PostBuyFormAddressStruct) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.postBuyFormAdrCountry == other.getPostBuyFormAdrCountry() &&
((this.postBuyFormAdrStreet==null && other.getPostBuyFormAdrStreet()==null) ||
(this.postBuyFormAdrStreet!=null &&
this.postBuyFormAdrStreet.equals(other.getPostBuyFormAdrStreet()))) &&
((this.postBuyFormAdrPostcode==null && other.getPostBuyFormAdrPostcode()==null) ||
(this.postBuyFormAdrPostcode!=null &&
this.postBuyFormAdrPostcode.equals(other.getPostBuyFormAdrPostcode()))) &&
((this.postBuyFormAdrCity==null && other.getPostBuyFormAdrCity()==null) ||
(this.postBuyFormAdrCity!=null &&
this.postBuyFormAdrCity.equals(other.getPostBuyFormAdrCity()))) &&
((this.postBuyFormAdrFullName==null && other.getPostBuyFormAdrFullName()==null) ||
(this.postBuyFormAdrFullName!=null &&
this.postBuyFormAdrFullName.equals(other.getPostBuyFormAdrFullName()))) &&
((this.postBuyFormAdrCompany==null && other.getPostBuyFormAdrCompany()==null) ||
(this.postBuyFormAdrCompany!=null &&
this.postBuyFormAdrCompany.equals(other.getPostBuyFormAdrCompany()))) &&
((this.postBuyFormAdrPhone==null && other.getPostBuyFormAdrPhone()==null) ||
(this.postBuyFormAdrPhone!=null &&
this.postBuyFormAdrPhone.equals(other.getPostBuyFormAdrPhone()))) &&
((this.postBuyFormAdrNip==null && other.getPostBuyFormAdrNip()==null) ||
(this.postBuyFormAdrNip!=null &&
this.postBuyFormAdrNip.equals(other.getPostBuyFormAdrNip()))) &&
((this.postBuyFormCreatedDate==null && other.getPostBuyFormCreatedDate()==null) ||
(this.postBuyFormCreatedDate!=null &&
this.postBuyFormCreatedDate.equals(other.getPostBuyFormCreatedDate()))) &&
this.postBuyFormAdrType == other.getPostBuyFormAdrType();
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += getPostBuyFormAdrCountry();
if (getPostBuyFormAdrStreet() != null) {
_hashCode += getPostBuyFormAdrStreet().hashCode();
}
if (getPostBuyFormAdrPostcode() != null) {
_hashCode += getPostBuyFormAdrPostcode().hashCode();
}
if (getPostBuyFormAdrCity() != null) {
_hashCode += getPostBuyFormAdrCity().hashCode();
}
if (getPostBuyFormAdrFullName() != null) {
_hashCode += getPostBuyFormAdrFullName().hashCode();
}
if (getPostBuyFormAdrCompany() != null) {
_hashCode += getPostBuyFormAdrCompany().hashCode();
}
if (getPostBuyFormAdrPhone() != null) {
_hashCode += getPostBuyFormAdrPhone().hashCode();
}
if (getPostBuyFormAdrNip() != null) {
_hashCode += getPostBuyFormAdrNip().hashCode();
}
if (getPostBuyFormCreatedDate() != null) {
_hashCode += getPostBuyFormCreatedDate().hashCode();
}
_hashCode += getPostBuyFormAdrType();
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(PostBuyFormAddressStruct.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "PostBuyFormAddressStruct"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("postBuyFormAdrCountry");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "postBuyFormAdrCountry"));
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("postBuyFormAdrStreet");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "postBuyFormAdrStreet"));
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("postBuyFormAdrPostcode");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "postBuyFormAdrPostcode"));
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("postBuyFormAdrCity");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "postBuyFormAdrCity"));
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("postBuyFormAdrFullName");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "postBuyFormAdrFullName"));
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("postBuyFormAdrCompany");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "postBuyFormAdrCompany"));
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("postBuyFormAdrPhone");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "postBuyFormAdrPhone"));
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("postBuyFormAdrNip");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "postBuyFormAdrNip"));
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("postBuyFormCreatedDate");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "postBuyFormCreatedDate"));
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("postBuyFormAdrType");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "postBuyFormAdrType"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
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);
}
}