
com.fedex.rate.stub.EdtCommodityTax Maven / Gradle / Ivy
The newest version!
/**
* EdtCommodityTax.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.fedex.rate.stub;
public class EdtCommodityTax implements java.io.Serializable {
private java.lang.String harmonizedCode;
private com.fedex.rate.stub.EdtTaxDetail[] taxes;
public EdtCommodityTax() {
}
public EdtCommodityTax(
java.lang.String harmonizedCode,
com.fedex.rate.stub.EdtTaxDetail[] taxes) {
this.harmonizedCode = harmonizedCode;
this.taxes = taxes;
}
/**
* Gets the harmonizedCode value for this EdtCommodityTax.
*
* @return harmonizedCode
*/
public java.lang.String getHarmonizedCode() {
return harmonizedCode;
}
/**
* Sets the harmonizedCode value for this EdtCommodityTax.
*
* @param harmonizedCode
*/
public void setHarmonizedCode(java.lang.String harmonizedCode) {
this.harmonizedCode = harmonizedCode;
}
/**
* Gets the taxes value for this EdtCommodityTax.
*
* @return taxes
*/
public com.fedex.rate.stub.EdtTaxDetail[] getTaxes() {
return taxes;
}
/**
* Sets the taxes value for this EdtCommodityTax.
*
* @param taxes
*/
public void setTaxes(com.fedex.rate.stub.EdtTaxDetail[] taxes) {
this.taxes = taxes;
}
public com.fedex.rate.stub.EdtTaxDetail getTaxes(int i) {
return this.taxes[i];
}
public void setTaxes(int i, com.fedex.rate.stub.EdtTaxDetail _value) {
this.taxes[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof EdtCommodityTax)) return false;
EdtCommodityTax other = (EdtCommodityTax) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.harmonizedCode==null && other.getHarmonizedCode()==null) ||
(this.harmonizedCode!=null &&
this.harmonizedCode.equals(other.getHarmonizedCode()))) &&
((this.taxes==null && other.getTaxes()==null) ||
(this.taxes!=null &&
java.util.Arrays.equals(this.taxes, other.getTaxes())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getHarmonizedCode() != null) {
_hashCode += getHarmonizedCode().hashCode();
}
if (getTaxes() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy