
com.fedex.rate.stub.CustomsClearanceDetail Maven / Gradle / Ivy
The newest version!
/**
* CustomsClearanceDetail.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 CustomsClearanceDetail implements java.io.Serializable {
private com.fedex.rate.stub.BrokerDetail[] brokers;
/* Interacts both with properties of the shipment and contractual
* relationship with the shipper. */
private com.fedex.rate.stub.ClearanceBrokerageType clearanceBrokerage;
private com.fedex.rate.stub.CustomsOptionDetail customsOptions;
private com.fedex.rate.stub.Party importerOfRecord;
/* Specifies how the recipient is identified for customs purposes;
* the requirements on this information vary with destination country. */
private com.fedex.rate.stub.RecipientCustomsId recipientCustomsId;
private com.fedex.rate.stub.Payment dutiesPayment;
private com.fedex.rate.stub.InternationalDocumentContentType documentContent;
private com.fedex.rate.stub.Money customsValue;
/* Identifies responsibilities with respect to loss, damage, etc. */
private com.fedex.rate.stub.FreightOnValueType freightOnValue;
/* Documents amount paid to third party for coverage of shipment
* content. */
private com.fedex.rate.stub.Money insuranceCharges;
private java.lang.Boolean partiesToTransactionAreRelated;
private com.fedex.rate.stub.CommercialInvoice commercialInvoice;
private com.fedex.rate.stub.Commodity[] commodities;
private com.fedex.rate.stub.ExportDetail exportDetail;
private com.fedex.rate.stub.RegulatoryControlType[] regulatoryControls;
public CustomsClearanceDetail() {
}
public CustomsClearanceDetail(
com.fedex.rate.stub.BrokerDetail[] brokers,
com.fedex.rate.stub.ClearanceBrokerageType clearanceBrokerage,
com.fedex.rate.stub.CustomsOptionDetail customsOptions,
com.fedex.rate.stub.Party importerOfRecord,
com.fedex.rate.stub.RecipientCustomsId recipientCustomsId,
com.fedex.rate.stub.Payment dutiesPayment,
com.fedex.rate.stub.InternationalDocumentContentType documentContent,
com.fedex.rate.stub.Money customsValue,
com.fedex.rate.stub.FreightOnValueType freightOnValue,
com.fedex.rate.stub.Money insuranceCharges,
java.lang.Boolean partiesToTransactionAreRelated,
com.fedex.rate.stub.CommercialInvoice commercialInvoice,
com.fedex.rate.stub.Commodity[] commodities,
com.fedex.rate.stub.ExportDetail exportDetail,
com.fedex.rate.stub.RegulatoryControlType[] regulatoryControls) {
this.brokers = brokers;
this.clearanceBrokerage = clearanceBrokerage;
this.customsOptions = customsOptions;
this.importerOfRecord = importerOfRecord;
this.recipientCustomsId = recipientCustomsId;
this.dutiesPayment = dutiesPayment;
this.documentContent = documentContent;
this.customsValue = customsValue;
this.freightOnValue = freightOnValue;
this.insuranceCharges = insuranceCharges;
this.partiesToTransactionAreRelated = partiesToTransactionAreRelated;
this.commercialInvoice = commercialInvoice;
this.commodities = commodities;
this.exportDetail = exportDetail;
this.regulatoryControls = regulatoryControls;
}
/**
* Gets the brokers value for this CustomsClearanceDetail.
*
* @return brokers
*/
public com.fedex.rate.stub.BrokerDetail[] getBrokers() {
return brokers;
}
/**
* Sets the brokers value for this CustomsClearanceDetail.
*
* @param brokers
*/
public void setBrokers(com.fedex.rate.stub.BrokerDetail[] brokers) {
this.brokers = brokers;
}
public com.fedex.rate.stub.BrokerDetail getBrokers(int i) {
return this.brokers[i];
}
public void setBrokers(int i, com.fedex.rate.stub.BrokerDetail _value) {
this.brokers[i] = _value;
}
/**
* Gets the clearanceBrokerage value for this CustomsClearanceDetail.
*
* @return clearanceBrokerage * Interacts both with properties of the shipment and contractual
* relationship with the shipper.
*/
public com.fedex.rate.stub.ClearanceBrokerageType getClearanceBrokerage() {
return clearanceBrokerage;
}
/**
* Sets the clearanceBrokerage value for this CustomsClearanceDetail.
*
* @param clearanceBrokerage * Interacts both with properties of the shipment and contractual
* relationship with the shipper.
*/
public void setClearanceBrokerage(com.fedex.rate.stub.ClearanceBrokerageType clearanceBrokerage) {
this.clearanceBrokerage = clearanceBrokerage;
}
/**
* Gets the customsOptions value for this CustomsClearanceDetail.
*
* @return customsOptions
*/
public com.fedex.rate.stub.CustomsOptionDetail getCustomsOptions() {
return customsOptions;
}
/**
* Sets the customsOptions value for this CustomsClearanceDetail.
*
* @param customsOptions
*/
public void setCustomsOptions(com.fedex.rate.stub.CustomsOptionDetail customsOptions) {
this.customsOptions = customsOptions;
}
/**
* Gets the importerOfRecord value for this CustomsClearanceDetail.
*
* @return importerOfRecord
*/
public com.fedex.rate.stub.Party getImporterOfRecord() {
return importerOfRecord;
}
/**
* Sets the importerOfRecord value for this CustomsClearanceDetail.
*
* @param importerOfRecord
*/
public void setImporterOfRecord(com.fedex.rate.stub.Party importerOfRecord) {
this.importerOfRecord = importerOfRecord;
}
/**
* Gets the recipientCustomsId value for this CustomsClearanceDetail.
*
* @return recipientCustomsId * Specifies how the recipient is identified for customs purposes;
* the requirements on this information vary with destination country.
*/
public com.fedex.rate.stub.RecipientCustomsId getRecipientCustomsId() {
return recipientCustomsId;
}
/**
* Sets the recipientCustomsId value for this CustomsClearanceDetail.
*
* @param recipientCustomsId * Specifies how the recipient is identified for customs purposes;
* the requirements on this information vary with destination country.
*/
public void setRecipientCustomsId(com.fedex.rate.stub.RecipientCustomsId recipientCustomsId) {
this.recipientCustomsId = recipientCustomsId;
}
/**
* Gets the dutiesPayment value for this CustomsClearanceDetail.
*
* @return dutiesPayment
*/
public com.fedex.rate.stub.Payment getDutiesPayment() {
return dutiesPayment;
}
/**
* Sets the dutiesPayment value for this CustomsClearanceDetail.
*
* @param dutiesPayment
*/
public void setDutiesPayment(com.fedex.rate.stub.Payment dutiesPayment) {
this.dutiesPayment = dutiesPayment;
}
/**
* Gets the documentContent value for this CustomsClearanceDetail.
*
* @return documentContent
*/
public com.fedex.rate.stub.InternationalDocumentContentType getDocumentContent() {
return documentContent;
}
/**
* Sets the documentContent value for this CustomsClearanceDetail.
*
* @param documentContent
*/
public void setDocumentContent(com.fedex.rate.stub.InternationalDocumentContentType documentContent) {
this.documentContent = documentContent;
}
/**
* Gets the customsValue value for this CustomsClearanceDetail.
*
* @return customsValue
*/
public com.fedex.rate.stub.Money getCustomsValue() {
return customsValue;
}
/**
* Sets the customsValue value for this CustomsClearanceDetail.
*
* @param customsValue
*/
public void setCustomsValue(com.fedex.rate.stub.Money customsValue) {
this.customsValue = customsValue;
}
/**
* Gets the freightOnValue value for this CustomsClearanceDetail.
*
* @return freightOnValue * Identifies responsibilities with respect to loss, damage, etc.
*/
public com.fedex.rate.stub.FreightOnValueType getFreightOnValue() {
return freightOnValue;
}
/**
* Sets the freightOnValue value for this CustomsClearanceDetail.
*
* @param freightOnValue * Identifies responsibilities with respect to loss, damage, etc.
*/
public void setFreightOnValue(com.fedex.rate.stub.FreightOnValueType freightOnValue) {
this.freightOnValue = freightOnValue;
}
/**
* Gets the insuranceCharges value for this CustomsClearanceDetail.
*
* @return insuranceCharges * Documents amount paid to third party for coverage of shipment
* content.
*/
public com.fedex.rate.stub.Money getInsuranceCharges() {
return insuranceCharges;
}
/**
* Sets the insuranceCharges value for this CustomsClearanceDetail.
*
* @param insuranceCharges * Documents amount paid to third party for coverage of shipment
* content.
*/
public void setInsuranceCharges(com.fedex.rate.stub.Money insuranceCharges) {
this.insuranceCharges = insuranceCharges;
}
/**
* Gets the partiesToTransactionAreRelated value for this CustomsClearanceDetail.
*
* @return partiesToTransactionAreRelated
*/
public java.lang.Boolean getPartiesToTransactionAreRelated() {
return partiesToTransactionAreRelated;
}
/**
* Sets the partiesToTransactionAreRelated value for this CustomsClearanceDetail.
*
* @param partiesToTransactionAreRelated
*/
public void setPartiesToTransactionAreRelated(java.lang.Boolean partiesToTransactionAreRelated) {
this.partiesToTransactionAreRelated = partiesToTransactionAreRelated;
}
/**
* Gets the commercialInvoice value for this CustomsClearanceDetail.
*
* @return commercialInvoice
*/
public com.fedex.rate.stub.CommercialInvoice getCommercialInvoice() {
return commercialInvoice;
}
/**
* Sets the commercialInvoice value for this CustomsClearanceDetail.
*
* @param commercialInvoice
*/
public void setCommercialInvoice(com.fedex.rate.stub.CommercialInvoice commercialInvoice) {
this.commercialInvoice = commercialInvoice;
}
/**
* Gets the commodities value for this CustomsClearanceDetail.
*
* @return commodities
*/
public com.fedex.rate.stub.Commodity[] getCommodities() {
return commodities;
}
/**
* Sets the commodities value for this CustomsClearanceDetail.
*
* @param commodities
*/
public void setCommodities(com.fedex.rate.stub.Commodity[] commodities) {
this.commodities = commodities;
}
public com.fedex.rate.stub.Commodity getCommodities(int i) {
return this.commodities[i];
}
public void setCommodities(int i, com.fedex.rate.stub.Commodity _value) {
this.commodities[i] = _value;
}
/**
* Gets the exportDetail value for this CustomsClearanceDetail.
*
* @return exportDetail
*/
public com.fedex.rate.stub.ExportDetail getExportDetail() {
return exportDetail;
}
/**
* Sets the exportDetail value for this CustomsClearanceDetail.
*
* @param exportDetail
*/
public void setExportDetail(com.fedex.rate.stub.ExportDetail exportDetail) {
this.exportDetail = exportDetail;
}
/**
* Gets the regulatoryControls value for this CustomsClearanceDetail.
*
* @return regulatoryControls
*/
public com.fedex.rate.stub.RegulatoryControlType[] getRegulatoryControls() {
return regulatoryControls;
}
/**
* Sets the regulatoryControls value for this CustomsClearanceDetail.
*
* @param regulatoryControls
*/
public void setRegulatoryControls(com.fedex.rate.stub.RegulatoryControlType[] regulatoryControls) {
this.regulatoryControls = regulatoryControls;
}
public com.fedex.rate.stub.RegulatoryControlType getRegulatoryControls(int i) {
return this.regulatoryControls[i];
}
public void setRegulatoryControls(int i, com.fedex.rate.stub.RegulatoryControlType _value) {
this.regulatoryControls[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CustomsClearanceDetail)) return false;
CustomsClearanceDetail other = (CustomsClearanceDetail) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.brokers==null && other.getBrokers()==null) ||
(this.brokers!=null &&
java.util.Arrays.equals(this.brokers, other.getBrokers()))) &&
((this.clearanceBrokerage==null && other.getClearanceBrokerage()==null) ||
(this.clearanceBrokerage!=null &&
this.clearanceBrokerage.equals(other.getClearanceBrokerage()))) &&
((this.customsOptions==null && other.getCustomsOptions()==null) ||
(this.customsOptions!=null &&
this.customsOptions.equals(other.getCustomsOptions()))) &&
((this.importerOfRecord==null && other.getImporterOfRecord()==null) ||
(this.importerOfRecord!=null &&
this.importerOfRecord.equals(other.getImporterOfRecord()))) &&
((this.recipientCustomsId==null && other.getRecipientCustomsId()==null) ||
(this.recipientCustomsId!=null &&
this.recipientCustomsId.equals(other.getRecipientCustomsId()))) &&
((this.dutiesPayment==null && other.getDutiesPayment()==null) ||
(this.dutiesPayment!=null &&
this.dutiesPayment.equals(other.getDutiesPayment()))) &&
((this.documentContent==null && other.getDocumentContent()==null) ||
(this.documentContent!=null &&
this.documentContent.equals(other.getDocumentContent()))) &&
((this.customsValue==null && other.getCustomsValue()==null) ||
(this.customsValue!=null &&
this.customsValue.equals(other.getCustomsValue()))) &&
((this.freightOnValue==null && other.getFreightOnValue()==null) ||
(this.freightOnValue!=null &&
this.freightOnValue.equals(other.getFreightOnValue()))) &&
((this.insuranceCharges==null && other.getInsuranceCharges()==null) ||
(this.insuranceCharges!=null &&
this.insuranceCharges.equals(other.getInsuranceCharges()))) &&
((this.partiesToTransactionAreRelated==null && other.getPartiesToTransactionAreRelated()==null) ||
(this.partiesToTransactionAreRelated!=null &&
this.partiesToTransactionAreRelated.equals(other.getPartiesToTransactionAreRelated()))) &&
((this.commercialInvoice==null && other.getCommercialInvoice()==null) ||
(this.commercialInvoice!=null &&
this.commercialInvoice.equals(other.getCommercialInvoice()))) &&
((this.commodities==null && other.getCommodities()==null) ||
(this.commodities!=null &&
java.util.Arrays.equals(this.commodities, other.getCommodities()))) &&
((this.exportDetail==null && other.getExportDetail()==null) ||
(this.exportDetail!=null &&
this.exportDetail.equals(other.getExportDetail()))) &&
((this.regulatoryControls==null && other.getRegulatoryControls()==null) ||
(this.regulatoryControls!=null &&
java.util.Arrays.equals(this.regulatoryControls, other.getRegulatoryControls())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getBrokers() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy