
com.fedex.ship.stub.NaftaCertificateOfOriginDetail Maven / Gradle / Ivy
The newest version!
/**
* NaftaCertificateOfOriginDetail.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.ship.stub;
/**
* Data required to produce a Certificate of Origin document. Remaining
* content (business data) to be defined once requirements have been
* completed.
*/
public class NaftaCertificateOfOriginDetail implements java.io.Serializable {
private com.fedex.ship.stub.ShippingDocumentFormat format;
private com.fedex.ship.stub.DateRange blanketPeriod;
/* Indicates which Party (if any) from the shipment is to be used
* as the source of importer data on the NAFTA COO form. */
private com.fedex.ship.stub.NaftaImporterSpecificationType importerSpecification;
/* Contact information for "Authorized Signature" area of form. */
private com.fedex.ship.stub.Contact signatureContact;
private com.fedex.ship.stub.NaftaProducerSpecificationType producerSpecification;
private com.fedex.ship.stub.NaftaProducer[] producers;
private com.fedex.ship.stub.CustomerImageUsage[] customerImageUsages;
public NaftaCertificateOfOriginDetail() {
}
public NaftaCertificateOfOriginDetail(
com.fedex.ship.stub.ShippingDocumentFormat format,
com.fedex.ship.stub.DateRange blanketPeriod,
com.fedex.ship.stub.NaftaImporterSpecificationType importerSpecification,
com.fedex.ship.stub.Contact signatureContact,
com.fedex.ship.stub.NaftaProducerSpecificationType producerSpecification,
com.fedex.ship.stub.NaftaProducer[] producers,
com.fedex.ship.stub.CustomerImageUsage[] customerImageUsages) {
this.format = format;
this.blanketPeriod = blanketPeriod;
this.importerSpecification = importerSpecification;
this.signatureContact = signatureContact;
this.producerSpecification = producerSpecification;
this.producers = producers;
this.customerImageUsages = customerImageUsages;
}
/**
* Gets the format value for this NaftaCertificateOfOriginDetail.
*
* @return format
*/
public com.fedex.ship.stub.ShippingDocumentFormat getFormat() {
return format;
}
/**
* Sets the format value for this NaftaCertificateOfOriginDetail.
*
* @param format
*/
public void setFormat(com.fedex.ship.stub.ShippingDocumentFormat format) {
this.format = format;
}
/**
* Gets the blanketPeriod value for this NaftaCertificateOfOriginDetail.
*
* @return blanketPeriod
*/
public com.fedex.ship.stub.DateRange getBlanketPeriod() {
return blanketPeriod;
}
/**
* Sets the blanketPeriod value for this NaftaCertificateOfOriginDetail.
*
* @param blanketPeriod
*/
public void setBlanketPeriod(com.fedex.ship.stub.DateRange blanketPeriod) {
this.blanketPeriod = blanketPeriod;
}
/**
* Gets the importerSpecification value for this NaftaCertificateOfOriginDetail.
*
* @return importerSpecification * Indicates which Party (if any) from the shipment is to be used
* as the source of importer data on the NAFTA COO form.
*/
public com.fedex.ship.stub.NaftaImporterSpecificationType getImporterSpecification() {
return importerSpecification;
}
/**
* Sets the importerSpecification value for this NaftaCertificateOfOriginDetail.
*
* @param importerSpecification * Indicates which Party (if any) from the shipment is to be used
* as the source of importer data on the NAFTA COO form.
*/
public void setImporterSpecification(com.fedex.ship.stub.NaftaImporterSpecificationType importerSpecification) {
this.importerSpecification = importerSpecification;
}
/**
* Gets the signatureContact value for this NaftaCertificateOfOriginDetail.
*
* @return signatureContact * Contact information for "Authorized Signature" area of form.
*/
public com.fedex.ship.stub.Contact getSignatureContact() {
return signatureContact;
}
/**
* Sets the signatureContact value for this NaftaCertificateOfOriginDetail.
*
* @param signatureContact * Contact information for "Authorized Signature" area of form.
*/
public void setSignatureContact(com.fedex.ship.stub.Contact signatureContact) {
this.signatureContact = signatureContact;
}
/**
* Gets the producerSpecification value for this NaftaCertificateOfOriginDetail.
*
* @return producerSpecification
*/
public com.fedex.ship.stub.NaftaProducerSpecificationType getProducerSpecification() {
return producerSpecification;
}
/**
* Sets the producerSpecification value for this NaftaCertificateOfOriginDetail.
*
* @param producerSpecification
*/
public void setProducerSpecification(com.fedex.ship.stub.NaftaProducerSpecificationType producerSpecification) {
this.producerSpecification = producerSpecification;
}
/**
* Gets the producers value for this NaftaCertificateOfOriginDetail.
*
* @return producers
*/
public com.fedex.ship.stub.NaftaProducer[] getProducers() {
return producers;
}
/**
* Sets the producers value for this NaftaCertificateOfOriginDetail.
*
* @param producers
*/
public void setProducers(com.fedex.ship.stub.NaftaProducer[] producers) {
this.producers = producers;
}
public com.fedex.ship.stub.NaftaProducer getProducers(int i) {
return this.producers[i];
}
public void setProducers(int i, com.fedex.ship.stub.NaftaProducer _value) {
this.producers[i] = _value;
}
/**
* Gets the customerImageUsages value for this NaftaCertificateOfOriginDetail.
*
* @return customerImageUsages
*/
public com.fedex.ship.stub.CustomerImageUsage[] getCustomerImageUsages() {
return customerImageUsages;
}
/**
* Sets the customerImageUsages value for this NaftaCertificateOfOriginDetail.
*
* @param customerImageUsages
*/
public void setCustomerImageUsages(com.fedex.ship.stub.CustomerImageUsage[] customerImageUsages) {
this.customerImageUsages = customerImageUsages;
}
public com.fedex.ship.stub.CustomerImageUsage getCustomerImageUsages(int i) {
return this.customerImageUsages[i];
}
public void setCustomerImageUsages(int i, com.fedex.ship.stub.CustomerImageUsage _value) {
this.customerImageUsages[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof NaftaCertificateOfOriginDetail)) return false;
NaftaCertificateOfOriginDetail other = (NaftaCertificateOfOriginDetail) 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.blanketPeriod==null && other.getBlanketPeriod()==null) ||
(this.blanketPeriod!=null &&
this.blanketPeriod.equals(other.getBlanketPeriod()))) &&
((this.importerSpecification==null && other.getImporterSpecification()==null) ||
(this.importerSpecification!=null &&
this.importerSpecification.equals(other.getImporterSpecification()))) &&
((this.signatureContact==null && other.getSignatureContact()==null) ||
(this.signatureContact!=null &&
this.signatureContact.equals(other.getSignatureContact()))) &&
((this.producerSpecification==null && other.getProducerSpecification()==null) ||
(this.producerSpecification!=null &&
this.producerSpecification.equals(other.getProducerSpecification()))) &&
((this.producers==null && other.getProducers()==null) ||
(this.producers!=null &&
java.util.Arrays.equals(this.producers, other.getProducers()))) &&
((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 (getBlanketPeriod() != null) {
_hashCode += getBlanketPeriod().hashCode();
}
if (getImporterSpecification() != null) {
_hashCode += getImporterSpecification().hashCode();
}
if (getSignatureContact() != null) {
_hashCode += getSignatureContact().hashCode();
}
if (getProducerSpecification() != null) {
_hashCode += getProducerSpecification().hashCode();
}
if (getProducers() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy