
com.fedex.rate.stub.ShippingDocumentSpecification Maven / Gradle / Ivy
The newest version!
/**
* ShippingDocumentSpecification.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;
/**
* Contains all data required for additional (non-label) shipping
* documents to be produced in conjunction with a specific shipment.
*/
public class ShippingDocumentSpecification implements java.io.Serializable {
/* Indicates the types of shipping documents requested by the
* shipper. */
private com.fedex.rate.stub.RequestedShippingDocumentType[] shippingDocumentTypes;
private com.fedex.rate.stub.CertificateOfOriginDetail certificateOfOrigin;
private com.fedex.rate.stub.CommercialInvoiceDetail commercialInvoiceDetail;
/* Specifies the production of each package-level custom document
* (the same specification is used for all packages). */
private com.fedex.rate.stub.CustomDocumentDetail[] customPackageDocumentDetail;
/* Specifies the production of a shipment-level custom document. */
private com.fedex.rate.stub.CustomDocumentDetail[] customShipmentDocumentDetail;
private com.fedex.rate.stub.ExportDeclarationDetail exportDeclarationDetail;
private com.fedex.rate.stub.GeneralAgencyAgreementDetail generalAgencyAgreementDetail;
private com.fedex.rate.stub.NaftaCertificateOfOriginDetail naftaCertificateOfOriginDetail;
/* Specifies the production of the OP-900 document for hazardous
* materials packages. */
private com.fedex.rate.stub.Op900Detail op900Detail;
/* Specifies the production of the 1421c document for dangerous
* goods shipment. */
private com.fedex.rate.stub.DangerousGoodsShippersDeclarationDetail dangerousGoodsShippersDeclarationDetail;
/* Specifies the production of the OP-900 document for hazardous
* materials. */
private com.fedex.rate.stub.FreightAddressLabelDetail freightAddressLabelDetail;
/* Specifies the production of the return instructions document. */
private com.fedex.rate.stub.ReturnInstructionsDetail returnInstructionsDetail;
public ShippingDocumentSpecification() {
}
public ShippingDocumentSpecification(
com.fedex.rate.stub.RequestedShippingDocumentType[] shippingDocumentTypes,
com.fedex.rate.stub.CertificateOfOriginDetail certificateOfOrigin,
com.fedex.rate.stub.CommercialInvoiceDetail commercialInvoiceDetail,
com.fedex.rate.stub.CustomDocumentDetail[] customPackageDocumentDetail,
com.fedex.rate.stub.CustomDocumentDetail[] customShipmentDocumentDetail,
com.fedex.rate.stub.ExportDeclarationDetail exportDeclarationDetail,
com.fedex.rate.stub.GeneralAgencyAgreementDetail generalAgencyAgreementDetail,
com.fedex.rate.stub.NaftaCertificateOfOriginDetail naftaCertificateOfOriginDetail,
com.fedex.rate.stub.Op900Detail op900Detail,
com.fedex.rate.stub.DangerousGoodsShippersDeclarationDetail dangerousGoodsShippersDeclarationDetail,
com.fedex.rate.stub.FreightAddressLabelDetail freightAddressLabelDetail,
com.fedex.rate.stub.ReturnInstructionsDetail returnInstructionsDetail) {
this.shippingDocumentTypes = shippingDocumentTypes;
this.certificateOfOrigin = certificateOfOrigin;
this.commercialInvoiceDetail = commercialInvoiceDetail;
this.customPackageDocumentDetail = customPackageDocumentDetail;
this.customShipmentDocumentDetail = customShipmentDocumentDetail;
this.exportDeclarationDetail = exportDeclarationDetail;
this.generalAgencyAgreementDetail = generalAgencyAgreementDetail;
this.naftaCertificateOfOriginDetail = naftaCertificateOfOriginDetail;
this.op900Detail = op900Detail;
this.dangerousGoodsShippersDeclarationDetail = dangerousGoodsShippersDeclarationDetail;
this.freightAddressLabelDetail = freightAddressLabelDetail;
this.returnInstructionsDetail = returnInstructionsDetail;
}
/**
* Gets the shippingDocumentTypes value for this ShippingDocumentSpecification.
*
* @return shippingDocumentTypes * Indicates the types of shipping documents requested by the
* shipper.
*/
public com.fedex.rate.stub.RequestedShippingDocumentType[] getShippingDocumentTypes() {
return shippingDocumentTypes;
}
/**
* Sets the shippingDocumentTypes value for this ShippingDocumentSpecification.
*
* @param shippingDocumentTypes * Indicates the types of shipping documents requested by the
* shipper.
*/
public void setShippingDocumentTypes(com.fedex.rate.stub.RequestedShippingDocumentType[] shippingDocumentTypes) {
this.shippingDocumentTypes = shippingDocumentTypes;
}
public com.fedex.rate.stub.RequestedShippingDocumentType getShippingDocumentTypes(int i) {
return this.shippingDocumentTypes[i];
}
public void setShippingDocumentTypes(int i, com.fedex.rate.stub.RequestedShippingDocumentType _value) {
this.shippingDocumentTypes[i] = _value;
}
/**
* Gets the certificateOfOrigin value for this ShippingDocumentSpecification.
*
* @return certificateOfOrigin
*/
public com.fedex.rate.stub.CertificateOfOriginDetail getCertificateOfOrigin() {
return certificateOfOrigin;
}
/**
* Sets the certificateOfOrigin value for this ShippingDocumentSpecification.
*
* @param certificateOfOrigin
*/
public void setCertificateOfOrigin(com.fedex.rate.stub.CertificateOfOriginDetail certificateOfOrigin) {
this.certificateOfOrigin = certificateOfOrigin;
}
/**
* Gets the commercialInvoiceDetail value for this ShippingDocumentSpecification.
*
* @return commercialInvoiceDetail
*/
public com.fedex.rate.stub.CommercialInvoiceDetail getCommercialInvoiceDetail() {
return commercialInvoiceDetail;
}
/**
* Sets the commercialInvoiceDetail value for this ShippingDocumentSpecification.
*
* @param commercialInvoiceDetail
*/
public void setCommercialInvoiceDetail(com.fedex.rate.stub.CommercialInvoiceDetail commercialInvoiceDetail) {
this.commercialInvoiceDetail = commercialInvoiceDetail;
}
/**
* Gets the customPackageDocumentDetail value for this ShippingDocumentSpecification.
*
* @return customPackageDocumentDetail * Specifies the production of each package-level custom document
* (the same specification is used for all packages).
*/
public com.fedex.rate.stub.CustomDocumentDetail[] getCustomPackageDocumentDetail() {
return customPackageDocumentDetail;
}
/**
* Sets the customPackageDocumentDetail value for this ShippingDocumentSpecification.
*
* @param customPackageDocumentDetail * Specifies the production of each package-level custom document
* (the same specification is used for all packages).
*/
public void setCustomPackageDocumentDetail(com.fedex.rate.stub.CustomDocumentDetail[] customPackageDocumentDetail) {
this.customPackageDocumentDetail = customPackageDocumentDetail;
}
public com.fedex.rate.stub.CustomDocumentDetail getCustomPackageDocumentDetail(int i) {
return this.customPackageDocumentDetail[i];
}
public void setCustomPackageDocumentDetail(int i, com.fedex.rate.stub.CustomDocumentDetail _value) {
this.customPackageDocumentDetail[i] = _value;
}
/**
* Gets the customShipmentDocumentDetail value for this ShippingDocumentSpecification.
*
* @return customShipmentDocumentDetail * Specifies the production of a shipment-level custom document.
*/
public com.fedex.rate.stub.CustomDocumentDetail[] getCustomShipmentDocumentDetail() {
return customShipmentDocumentDetail;
}
/**
* Sets the customShipmentDocumentDetail value for this ShippingDocumentSpecification.
*
* @param customShipmentDocumentDetail * Specifies the production of a shipment-level custom document.
*/
public void setCustomShipmentDocumentDetail(com.fedex.rate.stub.CustomDocumentDetail[] customShipmentDocumentDetail) {
this.customShipmentDocumentDetail = customShipmentDocumentDetail;
}
public com.fedex.rate.stub.CustomDocumentDetail getCustomShipmentDocumentDetail(int i) {
return this.customShipmentDocumentDetail[i];
}
public void setCustomShipmentDocumentDetail(int i, com.fedex.rate.stub.CustomDocumentDetail _value) {
this.customShipmentDocumentDetail[i] = _value;
}
/**
* Gets the exportDeclarationDetail value for this ShippingDocumentSpecification.
*
* @return exportDeclarationDetail
*/
public com.fedex.rate.stub.ExportDeclarationDetail getExportDeclarationDetail() {
return exportDeclarationDetail;
}
/**
* Sets the exportDeclarationDetail value for this ShippingDocumentSpecification.
*
* @param exportDeclarationDetail
*/
public void setExportDeclarationDetail(com.fedex.rate.stub.ExportDeclarationDetail exportDeclarationDetail) {
this.exportDeclarationDetail = exportDeclarationDetail;
}
/**
* Gets the generalAgencyAgreementDetail value for this ShippingDocumentSpecification.
*
* @return generalAgencyAgreementDetail
*/
public com.fedex.rate.stub.GeneralAgencyAgreementDetail getGeneralAgencyAgreementDetail() {
return generalAgencyAgreementDetail;
}
/**
* Sets the generalAgencyAgreementDetail value for this ShippingDocumentSpecification.
*
* @param generalAgencyAgreementDetail
*/
public void setGeneralAgencyAgreementDetail(com.fedex.rate.stub.GeneralAgencyAgreementDetail generalAgencyAgreementDetail) {
this.generalAgencyAgreementDetail = generalAgencyAgreementDetail;
}
/**
* Gets the naftaCertificateOfOriginDetail value for this ShippingDocumentSpecification.
*
* @return naftaCertificateOfOriginDetail
*/
public com.fedex.rate.stub.NaftaCertificateOfOriginDetail getNaftaCertificateOfOriginDetail() {
return naftaCertificateOfOriginDetail;
}
/**
* Sets the naftaCertificateOfOriginDetail value for this ShippingDocumentSpecification.
*
* @param naftaCertificateOfOriginDetail
*/
public void setNaftaCertificateOfOriginDetail(com.fedex.rate.stub.NaftaCertificateOfOriginDetail naftaCertificateOfOriginDetail) {
this.naftaCertificateOfOriginDetail = naftaCertificateOfOriginDetail;
}
/**
* Gets the op900Detail value for this ShippingDocumentSpecification.
*
* @return op900Detail * Specifies the production of the OP-900 document for hazardous
* materials packages.
*/
public com.fedex.rate.stub.Op900Detail getOp900Detail() {
return op900Detail;
}
/**
* Sets the op900Detail value for this ShippingDocumentSpecification.
*
* @param op900Detail * Specifies the production of the OP-900 document for hazardous
* materials packages.
*/
public void setOp900Detail(com.fedex.rate.stub.Op900Detail op900Detail) {
this.op900Detail = op900Detail;
}
/**
* Gets the dangerousGoodsShippersDeclarationDetail value for this ShippingDocumentSpecification.
*
* @return dangerousGoodsShippersDeclarationDetail * Specifies the production of the 1421c document for dangerous
* goods shipment.
*/
public com.fedex.rate.stub.DangerousGoodsShippersDeclarationDetail getDangerousGoodsShippersDeclarationDetail() {
return dangerousGoodsShippersDeclarationDetail;
}
/**
* Sets the dangerousGoodsShippersDeclarationDetail value for this ShippingDocumentSpecification.
*
* @param dangerousGoodsShippersDeclarationDetail * Specifies the production of the 1421c document for dangerous
* goods shipment.
*/
public void setDangerousGoodsShippersDeclarationDetail(com.fedex.rate.stub.DangerousGoodsShippersDeclarationDetail dangerousGoodsShippersDeclarationDetail) {
this.dangerousGoodsShippersDeclarationDetail = dangerousGoodsShippersDeclarationDetail;
}
/**
* Gets the freightAddressLabelDetail value for this ShippingDocumentSpecification.
*
* @return freightAddressLabelDetail * Specifies the production of the OP-900 document for hazardous
* materials.
*/
public com.fedex.rate.stub.FreightAddressLabelDetail getFreightAddressLabelDetail() {
return freightAddressLabelDetail;
}
/**
* Sets the freightAddressLabelDetail value for this ShippingDocumentSpecification.
*
* @param freightAddressLabelDetail * Specifies the production of the OP-900 document for hazardous
* materials.
*/
public void setFreightAddressLabelDetail(com.fedex.rate.stub.FreightAddressLabelDetail freightAddressLabelDetail) {
this.freightAddressLabelDetail = freightAddressLabelDetail;
}
/**
* Gets the returnInstructionsDetail value for this ShippingDocumentSpecification.
*
* @return returnInstructionsDetail * Specifies the production of the return instructions document.
*/
public com.fedex.rate.stub.ReturnInstructionsDetail getReturnInstructionsDetail() {
return returnInstructionsDetail;
}
/**
* Sets the returnInstructionsDetail value for this ShippingDocumentSpecification.
*
* @param returnInstructionsDetail * Specifies the production of the return instructions document.
*/
public void setReturnInstructionsDetail(com.fedex.rate.stub.ReturnInstructionsDetail returnInstructionsDetail) {
this.returnInstructionsDetail = returnInstructionsDetail;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ShippingDocumentSpecification)) return false;
ShippingDocumentSpecification other = (ShippingDocumentSpecification) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.shippingDocumentTypes==null && other.getShippingDocumentTypes()==null) ||
(this.shippingDocumentTypes!=null &&
java.util.Arrays.equals(this.shippingDocumentTypes, other.getShippingDocumentTypes()))) &&
((this.certificateOfOrigin==null && other.getCertificateOfOrigin()==null) ||
(this.certificateOfOrigin!=null &&
this.certificateOfOrigin.equals(other.getCertificateOfOrigin()))) &&
((this.commercialInvoiceDetail==null && other.getCommercialInvoiceDetail()==null) ||
(this.commercialInvoiceDetail!=null &&
this.commercialInvoiceDetail.equals(other.getCommercialInvoiceDetail()))) &&
((this.customPackageDocumentDetail==null && other.getCustomPackageDocumentDetail()==null) ||
(this.customPackageDocumentDetail!=null &&
java.util.Arrays.equals(this.customPackageDocumentDetail, other.getCustomPackageDocumentDetail()))) &&
((this.customShipmentDocumentDetail==null && other.getCustomShipmentDocumentDetail()==null) ||
(this.customShipmentDocumentDetail!=null &&
java.util.Arrays.equals(this.customShipmentDocumentDetail, other.getCustomShipmentDocumentDetail()))) &&
((this.exportDeclarationDetail==null && other.getExportDeclarationDetail()==null) ||
(this.exportDeclarationDetail!=null &&
this.exportDeclarationDetail.equals(other.getExportDeclarationDetail()))) &&
((this.generalAgencyAgreementDetail==null && other.getGeneralAgencyAgreementDetail()==null) ||
(this.generalAgencyAgreementDetail!=null &&
this.generalAgencyAgreementDetail.equals(other.getGeneralAgencyAgreementDetail()))) &&
((this.naftaCertificateOfOriginDetail==null && other.getNaftaCertificateOfOriginDetail()==null) ||
(this.naftaCertificateOfOriginDetail!=null &&
this.naftaCertificateOfOriginDetail.equals(other.getNaftaCertificateOfOriginDetail()))) &&
((this.op900Detail==null && other.getOp900Detail()==null) ||
(this.op900Detail!=null &&
this.op900Detail.equals(other.getOp900Detail()))) &&
((this.dangerousGoodsShippersDeclarationDetail==null && other.getDangerousGoodsShippersDeclarationDetail()==null) ||
(this.dangerousGoodsShippersDeclarationDetail!=null &&
this.dangerousGoodsShippersDeclarationDetail.equals(other.getDangerousGoodsShippersDeclarationDetail()))) &&
((this.freightAddressLabelDetail==null && other.getFreightAddressLabelDetail()==null) ||
(this.freightAddressLabelDetail!=null &&
this.freightAddressLabelDetail.equals(other.getFreightAddressLabelDetail()))) &&
((this.returnInstructionsDetail==null && other.getReturnInstructionsDetail()==null) ||
(this.returnInstructionsDetail!=null &&
this.returnInstructionsDetail.equals(other.getReturnInstructionsDetail())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getShippingDocumentTypes() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy