
com.fedex.rate.stub.CommercialInvoiceDetail Maven / Gradle / Ivy
The newest version!
/**
* CommercialInvoiceDetail.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;
/**
* The instructions indicating how to print the Commercial Invoice(
* e.g. image type) Specifies characteristics of a shipping document
* to be produced.
*/
public class CommercialInvoiceDetail implements java.io.Serializable {
private com.fedex.rate.stub.ShippingDocumentFormat format;
/* Specifies the usage and identification of a customer supplied
* image to be used on this document. */
private com.fedex.rate.stub.CustomerImageUsage[] customerImageUsages;
public CommercialInvoiceDetail() {
}
public CommercialInvoiceDetail(
com.fedex.rate.stub.ShippingDocumentFormat format,
com.fedex.rate.stub.CustomerImageUsage[] customerImageUsages) {
this.format = format;
this.customerImageUsages = customerImageUsages;
}
/**
* Gets the format value for this CommercialInvoiceDetail.
*
* @return format
*/
public com.fedex.rate.stub.ShippingDocumentFormat getFormat() {
return format;
}
/**
* Sets the format value for this CommercialInvoiceDetail.
*
* @param format
*/
public void setFormat(com.fedex.rate.stub.ShippingDocumentFormat format) {
this.format = format;
}
/**
* Gets the customerImageUsages value for this CommercialInvoiceDetail.
*
* @return customerImageUsages * Specifies the usage and identification of a customer supplied
* image to be used on this document.
*/
public com.fedex.rate.stub.CustomerImageUsage[] getCustomerImageUsages() {
return customerImageUsages;
}
/**
* Sets the customerImageUsages value for this CommercialInvoiceDetail.
*
* @param customerImageUsages * Specifies the usage and identification of a customer supplied
* image to be used on this document.
*/
public void setCustomerImageUsages(com.fedex.rate.stub.CustomerImageUsage[] customerImageUsages) {
this.customerImageUsages = customerImageUsages;
}
public com.fedex.rate.stub.CustomerImageUsage getCustomerImageUsages(int i) {
return this.customerImageUsages[i];
}
public void setCustomerImageUsages(int i, com.fedex.rate.stub.CustomerImageUsage _value) {
this.customerImageUsages[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CommercialInvoiceDetail)) return false;
CommercialInvoiceDetail other = (CommercialInvoiceDetail) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.format==null && other.getFormat()==null) ||
(this.format!=null &&
this.format.equals(other.getFormat()))) &&
((this.customerImageUsages==null && other.getCustomerImageUsages()==null) ||
(this.customerImageUsages!=null &&
java.util.Arrays.equals(this.customerImageUsages, other.getCustomerImageUsages())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getFormat() != null) {
_hashCode += getFormat().hashCode();
}
if (getCustomerImageUsages() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy