| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* CustomsClearanceDetail.java
|
|
|
3 |
*
|
|
|
4 |
* This file was auto-generated from WSDL
|
|
|
5 |
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
|
|
6 |
*/
|
|
|
7 |
|
|
|
8 |
package com.fedex.ship.stub;
|
|
|
9 |
|
|
|
10 |
public class CustomsClearanceDetail implements java.io.Serializable {
|
|
|
11 |
private com.fedex.ship.stub.BrokerDetail[] brokers;
|
|
|
12 |
|
|
|
13 |
/* Interacts both with properties of the shipment and contractual
|
|
|
14 |
* relationship with the shipper. */
|
|
|
15 |
private com.fedex.ship.stub.ClearanceBrokerageType clearanceBrokerage;
|
|
|
16 |
|
|
|
17 |
private com.fedex.ship.stub.CustomsOptionDetail customsOptions;
|
|
|
18 |
|
|
|
19 |
private com.fedex.ship.stub.Party importerOfRecord;
|
|
|
20 |
|
|
|
21 |
/* Specifies how the recipient is identified for customs purposes;
|
|
|
22 |
* the requirements on this information vary with destination country. */
|
|
|
23 |
private com.fedex.ship.stub.RecipientCustomsId recipientCustomsId;
|
|
|
24 |
|
|
|
25 |
private com.fedex.ship.stub.Payment dutiesPayment;
|
|
|
26 |
|
|
|
27 |
private com.fedex.ship.stub.InternationalDocumentContentType documentContent;
|
|
|
28 |
|
|
|
29 |
private com.fedex.ship.stub.Money customsValue;
|
|
|
30 |
|
|
|
31 |
/* Identifies responsibilities with respect to loss, damage, etc. */
|
|
|
32 |
private com.fedex.ship.stub.FreightOnValueType freightOnValue;
|
|
|
33 |
|
|
|
34 |
/* Documents amount paid to third party for coverage of shipment
|
|
|
35 |
* content. */
|
|
|
36 |
private com.fedex.ship.stub.Money insuranceCharges;
|
|
|
37 |
|
|
|
38 |
private java.lang.Boolean partiesToTransactionAreRelated;
|
|
|
39 |
|
|
|
40 |
private com.fedex.ship.stub.CommercialInvoice commercialInvoice;
|
|
|
41 |
|
|
|
42 |
private com.fedex.ship.stub.Commodity[] commodities;
|
|
|
43 |
|
|
|
44 |
private com.fedex.ship.stub.ExportDetail exportDetail;
|
|
|
45 |
|
|
|
46 |
private com.fedex.ship.stub.RegulatoryControlType[] regulatoryControls;
|
|
|
47 |
|
|
|
48 |
public CustomsClearanceDetail() {
|
|
|
49 |
}
|
|
|
50 |
|
|
|
51 |
public CustomsClearanceDetail(
|
|
|
52 |
com.fedex.ship.stub.BrokerDetail[] brokers,
|
|
|
53 |
com.fedex.ship.stub.ClearanceBrokerageType clearanceBrokerage,
|
|
|
54 |
com.fedex.ship.stub.CustomsOptionDetail customsOptions,
|
|
|
55 |
com.fedex.ship.stub.Party importerOfRecord,
|
|
|
56 |
com.fedex.ship.stub.RecipientCustomsId recipientCustomsId,
|
|
|
57 |
com.fedex.ship.stub.Payment dutiesPayment,
|
|
|
58 |
com.fedex.ship.stub.InternationalDocumentContentType documentContent,
|
|
|
59 |
com.fedex.ship.stub.Money customsValue,
|
|
|
60 |
com.fedex.ship.stub.FreightOnValueType freightOnValue,
|
|
|
61 |
com.fedex.ship.stub.Money insuranceCharges,
|
|
|
62 |
java.lang.Boolean partiesToTransactionAreRelated,
|
|
|
63 |
com.fedex.ship.stub.CommercialInvoice commercialInvoice,
|
|
|
64 |
com.fedex.ship.stub.Commodity[] commodities,
|
|
|
65 |
com.fedex.ship.stub.ExportDetail exportDetail,
|
|
|
66 |
com.fedex.ship.stub.RegulatoryControlType[] regulatoryControls) {
|
|
|
67 |
this.brokers = brokers;
|
|
|
68 |
this.clearanceBrokerage = clearanceBrokerage;
|
|
|
69 |
this.customsOptions = customsOptions;
|
|
|
70 |
this.importerOfRecord = importerOfRecord;
|
|
|
71 |
this.recipientCustomsId = recipientCustomsId;
|
|
|
72 |
this.dutiesPayment = dutiesPayment;
|
|
|
73 |
this.documentContent = documentContent;
|
|
|
74 |
this.customsValue = customsValue;
|
|
|
75 |
this.freightOnValue = freightOnValue;
|
|
|
76 |
this.insuranceCharges = insuranceCharges;
|
|
|
77 |
this.partiesToTransactionAreRelated = partiesToTransactionAreRelated;
|
|
|
78 |
this.commercialInvoice = commercialInvoice;
|
|
|
79 |
this.commodities = commodities;
|
|
|
80 |
this.exportDetail = exportDetail;
|
|
|
81 |
this.regulatoryControls = regulatoryControls;
|
|
|
82 |
}
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
/**
|
|
|
86 |
* Gets the brokers value for this CustomsClearanceDetail.
|
|
|
87 |
*
|
|
|
88 |
* @return brokers
|
|
|
89 |
*/
|
|
|
90 |
public com.fedex.ship.stub.BrokerDetail[] getBrokers() {
|
|
|
91 |
return brokers;
|
|
|
92 |
}
|
|
|
93 |
|
|
|
94 |
|
|
|
95 |
/**
|
|
|
96 |
* Sets the brokers value for this CustomsClearanceDetail.
|
|
|
97 |
*
|
|
|
98 |
* @param brokers
|
|
|
99 |
*/
|
|
|
100 |
public void setBrokers(com.fedex.ship.stub.BrokerDetail[] brokers) {
|
|
|
101 |
this.brokers = brokers;
|
|
|
102 |
}
|
|
|
103 |
|
|
|
104 |
public com.fedex.ship.stub.BrokerDetail getBrokers(int i) {
|
|
|
105 |
return this.brokers[i];
|
|
|
106 |
}
|
|
|
107 |
|
|
|
108 |
public void setBrokers(int i, com.fedex.ship.stub.BrokerDetail _value) {
|
|
|
109 |
this.brokers[i] = _value;
|
|
|
110 |
}
|
|
|
111 |
|
|
|
112 |
|
|
|
113 |
/**
|
|
|
114 |
* Gets the clearanceBrokerage value for this CustomsClearanceDetail.
|
|
|
115 |
*
|
|
|
116 |
* @return clearanceBrokerage * Interacts both with properties of the shipment and contractual
|
|
|
117 |
* relationship with the shipper.
|
|
|
118 |
*/
|
|
|
119 |
public com.fedex.ship.stub.ClearanceBrokerageType getClearanceBrokerage() {
|
|
|
120 |
return clearanceBrokerage;
|
|
|
121 |
}
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
/**
|
|
|
125 |
* Sets the clearanceBrokerage value for this CustomsClearanceDetail.
|
|
|
126 |
*
|
|
|
127 |
* @param clearanceBrokerage * Interacts both with properties of the shipment and contractual
|
|
|
128 |
* relationship with the shipper.
|
|
|
129 |
*/
|
|
|
130 |
public void setClearanceBrokerage(com.fedex.ship.stub.ClearanceBrokerageType clearanceBrokerage) {
|
|
|
131 |
this.clearanceBrokerage = clearanceBrokerage;
|
|
|
132 |
}
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
/**
|
|
|
136 |
* Gets the customsOptions value for this CustomsClearanceDetail.
|
|
|
137 |
*
|
|
|
138 |
* @return customsOptions
|
|
|
139 |
*/
|
|
|
140 |
public com.fedex.ship.stub.CustomsOptionDetail getCustomsOptions() {
|
|
|
141 |
return customsOptions;
|
|
|
142 |
}
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
/**
|
|
|
146 |
* Sets the customsOptions value for this CustomsClearanceDetail.
|
|
|
147 |
*
|
|
|
148 |
* @param customsOptions
|
|
|
149 |
*/
|
|
|
150 |
public void setCustomsOptions(com.fedex.ship.stub.CustomsOptionDetail customsOptions) {
|
|
|
151 |
this.customsOptions = customsOptions;
|
|
|
152 |
}
|
|
|
153 |
|
|
|
154 |
|
|
|
155 |
/**
|
|
|
156 |
* Gets the importerOfRecord value for this CustomsClearanceDetail.
|
|
|
157 |
*
|
|
|
158 |
* @return importerOfRecord
|
|
|
159 |
*/
|
|
|
160 |
public com.fedex.ship.stub.Party getImporterOfRecord() {
|
|
|
161 |
return importerOfRecord;
|
|
|
162 |
}
|
|
|
163 |
|
|
|
164 |
|
|
|
165 |
/**
|
|
|
166 |
* Sets the importerOfRecord value for this CustomsClearanceDetail.
|
|
|
167 |
*
|
|
|
168 |
* @param importerOfRecord
|
|
|
169 |
*/
|
|
|
170 |
public void setImporterOfRecord(com.fedex.ship.stub.Party importerOfRecord) {
|
|
|
171 |
this.importerOfRecord = importerOfRecord;
|
|
|
172 |
}
|
|
|
173 |
|
|
|
174 |
|
|
|
175 |
/**
|
|
|
176 |
* Gets the recipientCustomsId value for this CustomsClearanceDetail.
|
|
|
177 |
*
|
|
|
178 |
* @return recipientCustomsId * Specifies how the recipient is identified for customs purposes;
|
|
|
179 |
* the requirements on this information vary with destination country.
|
|
|
180 |
*/
|
|
|
181 |
public com.fedex.ship.stub.RecipientCustomsId getRecipientCustomsId() {
|
|
|
182 |
return recipientCustomsId;
|
|
|
183 |
}
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
/**
|
|
|
187 |
* Sets the recipientCustomsId value for this CustomsClearanceDetail.
|
|
|
188 |
*
|
|
|
189 |
* @param recipientCustomsId * Specifies how the recipient is identified for customs purposes;
|
|
|
190 |
* the requirements on this information vary with destination country.
|
|
|
191 |
*/
|
|
|
192 |
public void setRecipientCustomsId(com.fedex.ship.stub.RecipientCustomsId recipientCustomsId) {
|
|
|
193 |
this.recipientCustomsId = recipientCustomsId;
|
|
|
194 |
}
|
|
|
195 |
|
|
|
196 |
|
|
|
197 |
/**
|
|
|
198 |
* Gets the dutiesPayment value for this CustomsClearanceDetail.
|
|
|
199 |
*
|
|
|
200 |
* @return dutiesPayment
|
|
|
201 |
*/
|
|
|
202 |
public com.fedex.ship.stub.Payment getDutiesPayment() {
|
|
|
203 |
return dutiesPayment;
|
|
|
204 |
}
|
|
|
205 |
|
|
|
206 |
|
|
|
207 |
/**
|
|
|
208 |
* Sets the dutiesPayment value for this CustomsClearanceDetail.
|
|
|
209 |
*
|
|
|
210 |
* @param dutiesPayment
|
|
|
211 |
*/
|
|
|
212 |
public void setDutiesPayment(com.fedex.ship.stub.Payment dutiesPayment) {
|
|
|
213 |
this.dutiesPayment = dutiesPayment;
|
|
|
214 |
}
|
|
|
215 |
|
|
|
216 |
|
|
|
217 |
/**
|
|
|
218 |
* Gets the documentContent value for this CustomsClearanceDetail.
|
|
|
219 |
*
|
|
|
220 |
* @return documentContent
|
|
|
221 |
*/
|
|
|
222 |
public com.fedex.ship.stub.InternationalDocumentContentType getDocumentContent() {
|
|
|
223 |
return documentContent;
|
|
|
224 |
}
|
|
|
225 |
|
|
|
226 |
|
|
|
227 |
/**
|
|
|
228 |
* Sets the documentContent value for this CustomsClearanceDetail.
|
|
|
229 |
*
|
|
|
230 |
* @param documentContent
|
|
|
231 |
*/
|
|
|
232 |
public void setDocumentContent(com.fedex.ship.stub.InternationalDocumentContentType documentContent) {
|
|
|
233 |
this.documentContent = documentContent;
|
|
|
234 |
}
|
|
|
235 |
|
|
|
236 |
|
|
|
237 |
/**
|
|
|
238 |
* Gets the customsValue value for this CustomsClearanceDetail.
|
|
|
239 |
*
|
|
|
240 |
* @return customsValue
|
|
|
241 |
*/
|
|
|
242 |
public com.fedex.ship.stub.Money getCustomsValue() {
|
|
|
243 |
return customsValue;
|
|
|
244 |
}
|
|
|
245 |
|
|
|
246 |
|
|
|
247 |
/**
|
|
|
248 |
* Sets the customsValue value for this CustomsClearanceDetail.
|
|
|
249 |
*
|
|
|
250 |
* @param customsValue
|
|
|
251 |
*/
|
|
|
252 |
public void setCustomsValue(com.fedex.ship.stub.Money customsValue) {
|
|
|
253 |
this.customsValue = customsValue;
|
|
|
254 |
}
|
|
|
255 |
|
|
|
256 |
|
|
|
257 |
/**
|
|
|
258 |
* Gets the freightOnValue value for this CustomsClearanceDetail.
|
|
|
259 |
*
|
|
|
260 |
* @return freightOnValue * Identifies responsibilities with respect to loss, damage, etc.
|
|
|
261 |
*/
|
|
|
262 |
public com.fedex.ship.stub.FreightOnValueType getFreightOnValue() {
|
|
|
263 |
return freightOnValue;
|
|
|
264 |
}
|
|
|
265 |
|
|
|
266 |
|
|
|
267 |
/**
|
|
|
268 |
* Sets the freightOnValue value for this CustomsClearanceDetail.
|
|
|
269 |
*
|
|
|
270 |
* @param freightOnValue * Identifies responsibilities with respect to loss, damage, etc.
|
|
|
271 |
*/
|
|
|
272 |
public void setFreightOnValue(com.fedex.ship.stub.FreightOnValueType freightOnValue) {
|
|
|
273 |
this.freightOnValue = freightOnValue;
|
|
|
274 |
}
|
|
|
275 |
|
|
|
276 |
|
|
|
277 |
/**
|
|
|
278 |
* Gets the insuranceCharges value for this CustomsClearanceDetail.
|
|
|
279 |
*
|
|
|
280 |
* @return insuranceCharges * Documents amount paid to third party for coverage of shipment
|
|
|
281 |
* content.
|
|
|
282 |
*/
|
|
|
283 |
public com.fedex.ship.stub.Money getInsuranceCharges() {
|
|
|
284 |
return insuranceCharges;
|
|
|
285 |
}
|
|
|
286 |
|
|
|
287 |
|
|
|
288 |
/**
|
|
|
289 |
* Sets the insuranceCharges value for this CustomsClearanceDetail.
|
|
|
290 |
*
|
|
|
291 |
* @param insuranceCharges * Documents amount paid to third party for coverage of shipment
|
|
|
292 |
* content.
|
|
|
293 |
*/
|
|
|
294 |
public void setInsuranceCharges(com.fedex.ship.stub.Money insuranceCharges) {
|
|
|
295 |
this.insuranceCharges = insuranceCharges;
|
|
|
296 |
}
|
|
|
297 |
|
|
|
298 |
|
|
|
299 |
/**
|
|
|
300 |
* Gets the partiesToTransactionAreRelated value for this CustomsClearanceDetail.
|
|
|
301 |
*
|
|
|
302 |
* @return partiesToTransactionAreRelated
|
|
|
303 |
*/
|
|
|
304 |
public java.lang.Boolean getPartiesToTransactionAreRelated() {
|
|
|
305 |
return partiesToTransactionAreRelated;
|
|
|
306 |
}
|
|
|
307 |
|
|
|
308 |
|
|
|
309 |
/**
|
|
|
310 |
* Sets the partiesToTransactionAreRelated value for this CustomsClearanceDetail.
|
|
|
311 |
*
|
|
|
312 |
* @param partiesToTransactionAreRelated
|
|
|
313 |
*/
|
|
|
314 |
public void setPartiesToTransactionAreRelated(java.lang.Boolean partiesToTransactionAreRelated) {
|
|
|
315 |
this.partiesToTransactionAreRelated = partiesToTransactionAreRelated;
|
|
|
316 |
}
|
|
|
317 |
|
|
|
318 |
|
|
|
319 |
/**
|
|
|
320 |
* Gets the commercialInvoice value for this CustomsClearanceDetail.
|
|
|
321 |
*
|
|
|
322 |
* @return commercialInvoice
|
|
|
323 |
*/
|
|
|
324 |
public com.fedex.ship.stub.CommercialInvoice getCommercialInvoice() {
|
|
|
325 |
return commercialInvoice;
|
|
|
326 |
}
|
|
|
327 |
|
|
|
328 |
|
|
|
329 |
/**
|
|
|
330 |
* Sets the commercialInvoice value for this CustomsClearanceDetail.
|
|
|
331 |
*
|
|
|
332 |
* @param commercialInvoice
|
|
|
333 |
*/
|
|
|
334 |
public void setCommercialInvoice(com.fedex.ship.stub.CommercialInvoice commercialInvoice) {
|
|
|
335 |
this.commercialInvoice = commercialInvoice;
|
|
|
336 |
}
|
|
|
337 |
|
|
|
338 |
|
|
|
339 |
/**
|
|
|
340 |
* Gets the commodities value for this CustomsClearanceDetail.
|
|
|
341 |
*
|
|
|
342 |
* @return commodities
|
|
|
343 |
*/
|
|
|
344 |
public com.fedex.ship.stub.Commodity[] getCommodities() {
|
|
|
345 |
return commodities;
|
|
|
346 |
}
|
|
|
347 |
|
|
|
348 |
|
|
|
349 |
/**
|
|
|
350 |
* Sets the commodities value for this CustomsClearanceDetail.
|
|
|
351 |
*
|
|
|
352 |
* @param commodities
|
|
|
353 |
*/
|
|
|
354 |
public void setCommodities(com.fedex.ship.stub.Commodity[] commodities) {
|
|
|
355 |
this.commodities = commodities;
|
|
|
356 |
}
|
|
|
357 |
|
|
|
358 |
public com.fedex.ship.stub.Commodity getCommodities(int i) {
|
|
|
359 |
return this.commodities[i];
|
|
|
360 |
}
|
|
|
361 |
|
|
|
362 |
public void setCommodities(int i, com.fedex.ship.stub.Commodity _value) {
|
|
|
363 |
this.commodities[i] = _value;
|
|
|
364 |
}
|
|
|
365 |
|
|
|
366 |
|
|
|
367 |
/**
|
|
|
368 |
* Gets the exportDetail value for this CustomsClearanceDetail.
|
|
|
369 |
*
|
|
|
370 |
* @return exportDetail
|
|
|
371 |
*/
|
|
|
372 |
public com.fedex.ship.stub.ExportDetail getExportDetail() {
|
|
|
373 |
return exportDetail;
|
|
|
374 |
}
|
|
|
375 |
|
|
|
376 |
|
|
|
377 |
/**
|
|
|
378 |
* Sets the exportDetail value for this CustomsClearanceDetail.
|
|
|
379 |
*
|
|
|
380 |
* @param exportDetail
|
|
|
381 |
*/
|
|
|
382 |
public void setExportDetail(com.fedex.ship.stub.ExportDetail exportDetail) {
|
|
|
383 |
this.exportDetail = exportDetail;
|
|
|
384 |
}
|
|
|
385 |
|
|
|
386 |
|
|
|
387 |
/**
|
|
|
388 |
* Gets the regulatoryControls value for this CustomsClearanceDetail.
|
|
|
389 |
*
|
|
|
390 |
* @return regulatoryControls
|
|
|
391 |
*/
|
|
|
392 |
public com.fedex.ship.stub.RegulatoryControlType[] getRegulatoryControls() {
|
|
|
393 |
return regulatoryControls;
|
|
|
394 |
}
|
|
|
395 |
|
|
|
396 |
|
|
|
397 |
/**
|
|
|
398 |
* Sets the regulatoryControls value for this CustomsClearanceDetail.
|
|
|
399 |
*
|
|
|
400 |
* @param regulatoryControls
|
|
|
401 |
*/
|
|
|
402 |
public void setRegulatoryControls(com.fedex.ship.stub.RegulatoryControlType[] regulatoryControls) {
|
|
|
403 |
this.regulatoryControls = regulatoryControls;
|
|
|
404 |
}
|
|
|
405 |
|
|
|
406 |
public com.fedex.ship.stub.RegulatoryControlType getRegulatoryControls(int i) {
|
|
|
407 |
return this.regulatoryControls[i];
|
|
|
408 |
}
|
|
|
409 |
|
|
|
410 |
public void setRegulatoryControls(int i, com.fedex.ship.stub.RegulatoryControlType _value) {
|
|
|
411 |
this.regulatoryControls[i] = _value;
|
|
|
412 |
}
|
|
|
413 |
|
|
|
414 |
private java.lang.Object __equalsCalc = null;
|
|
|
415 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
416 |
if (!(obj instanceof CustomsClearanceDetail)) return false;
|
|
|
417 |
CustomsClearanceDetail other = (CustomsClearanceDetail) obj;
|
|
|
418 |
if (obj == null) return false;
|
|
|
419 |
if (this == obj) return true;
|
|
|
420 |
if (__equalsCalc != null) {
|
|
|
421 |
return (__equalsCalc == obj);
|
|
|
422 |
}
|
|
|
423 |
__equalsCalc = obj;
|
|
|
424 |
boolean _equals;
|
|
|
425 |
_equals = true &&
|
|
|
426 |
((this.brokers==null && other.getBrokers()==null) ||
|
|
|
427 |
(this.brokers!=null &&
|
|
|
428 |
java.util.Arrays.equals(this.brokers, other.getBrokers()))) &&
|
|
|
429 |
((this.clearanceBrokerage==null && other.getClearanceBrokerage()==null) ||
|
|
|
430 |
(this.clearanceBrokerage!=null &&
|
|
|
431 |
this.clearanceBrokerage.equals(other.getClearanceBrokerage()))) &&
|
|
|
432 |
((this.customsOptions==null && other.getCustomsOptions()==null) ||
|
|
|
433 |
(this.customsOptions!=null &&
|
|
|
434 |
this.customsOptions.equals(other.getCustomsOptions()))) &&
|
|
|
435 |
((this.importerOfRecord==null && other.getImporterOfRecord()==null) ||
|
|
|
436 |
(this.importerOfRecord!=null &&
|
|
|
437 |
this.importerOfRecord.equals(other.getImporterOfRecord()))) &&
|
|
|
438 |
((this.recipientCustomsId==null && other.getRecipientCustomsId()==null) ||
|
|
|
439 |
(this.recipientCustomsId!=null &&
|
|
|
440 |
this.recipientCustomsId.equals(other.getRecipientCustomsId()))) &&
|
|
|
441 |
((this.dutiesPayment==null && other.getDutiesPayment()==null) ||
|
|
|
442 |
(this.dutiesPayment!=null &&
|
|
|
443 |
this.dutiesPayment.equals(other.getDutiesPayment()))) &&
|
|
|
444 |
((this.documentContent==null && other.getDocumentContent()==null) ||
|
|
|
445 |
(this.documentContent!=null &&
|
|
|
446 |
this.documentContent.equals(other.getDocumentContent()))) &&
|
|
|
447 |
((this.customsValue==null && other.getCustomsValue()==null) ||
|
|
|
448 |
(this.customsValue!=null &&
|
|
|
449 |
this.customsValue.equals(other.getCustomsValue()))) &&
|
|
|
450 |
((this.freightOnValue==null && other.getFreightOnValue()==null) ||
|
|
|
451 |
(this.freightOnValue!=null &&
|
|
|
452 |
this.freightOnValue.equals(other.getFreightOnValue()))) &&
|
|
|
453 |
((this.insuranceCharges==null && other.getInsuranceCharges()==null) ||
|
|
|
454 |
(this.insuranceCharges!=null &&
|
|
|
455 |
this.insuranceCharges.equals(other.getInsuranceCharges()))) &&
|
|
|
456 |
((this.partiesToTransactionAreRelated==null && other.getPartiesToTransactionAreRelated()==null) ||
|
|
|
457 |
(this.partiesToTransactionAreRelated!=null &&
|
|
|
458 |
this.partiesToTransactionAreRelated.equals(other.getPartiesToTransactionAreRelated()))) &&
|
|
|
459 |
((this.commercialInvoice==null && other.getCommercialInvoice()==null) ||
|
|
|
460 |
(this.commercialInvoice!=null &&
|
|
|
461 |
this.commercialInvoice.equals(other.getCommercialInvoice()))) &&
|
|
|
462 |
((this.commodities==null && other.getCommodities()==null) ||
|
|
|
463 |
(this.commodities!=null &&
|
|
|
464 |
java.util.Arrays.equals(this.commodities, other.getCommodities()))) &&
|
|
|
465 |
((this.exportDetail==null && other.getExportDetail()==null) ||
|
|
|
466 |
(this.exportDetail!=null &&
|
|
|
467 |
this.exportDetail.equals(other.getExportDetail()))) &&
|
|
|
468 |
((this.regulatoryControls==null && other.getRegulatoryControls()==null) ||
|
|
|
469 |
(this.regulatoryControls!=null &&
|
|
|
470 |
java.util.Arrays.equals(this.regulatoryControls, other.getRegulatoryControls())));
|
|
|
471 |
__equalsCalc = null;
|
|
|
472 |
return _equals;
|
|
|
473 |
}
|
|
|
474 |
|
|
|
475 |
private boolean __hashCodeCalc = false;
|
|
|
476 |
public synchronized int hashCode() {
|
|
|
477 |
if (__hashCodeCalc) {
|
|
|
478 |
return 0;
|
|
|
479 |
}
|
|
|
480 |
__hashCodeCalc = true;
|
|
|
481 |
int _hashCode = 1;
|
|
|
482 |
if (getBrokers() != null) {
|
|
|
483 |
for (int i=0;
|
|
|
484 |
i<java.lang.reflect.Array.getLength(getBrokers());
|
|
|
485 |
i++) {
|
|
|
486 |
java.lang.Object obj = java.lang.reflect.Array.get(getBrokers(), i);
|
|
|
487 |
if (obj != null &&
|
|
|
488 |
!obj.getClass().isArray()) {
|
|
|
489 |
_hashCode += obj.hashCode();
|
|
|
490 |
}
|
|
|
491 |
}
|
|
|
492 |
}
|
|
|
493 |
if (getClearanceBrokerage() != null) {
|
|
|
494 |
_hashCode += getClearanceBrokerage().hashCode();
|
|
|
495 |
}
|
|
|
496 |
if (getCustomsOptions() != null) {
|
|
|
497 |
_hashCode += getCustomsOptions().hashCode();
|
|
|
498 |
}
|
|
|
499 |
if (getImporterOfRecord() != null) {
|
|
|
500 |
_hashCode += getImporterOfRecord().hashCode();
|
|
|
501 |
}
|
|
|
502 |
if (getRecipientCustomsId() != null) {
|
|
|
503 |
_hashCode += getRecipientCustomsId().hashCode();
|
|
|
504 |
}
|
|
|
505 |
if (getDutiesPayment() != null) {
|
|
|
506 |
_hashCode += getDutiesPayment().hashCode();
|
|
|
507 |
}
|
|
|
508 |
if (getDocumentContent() != null) {
|
|
|
509 |
_hashCode += getDocumentContent().hashCode();
|
|
|
510 |
}
|
|
|
511 |
if (getCustomsValue() != null) {
|
|
|
512 |
_hashCode += getCustomsValue().hashCode();
|
|
|
513 |
}
|
|
|
514 |
if (getFreightOnValue() != null) {
|
|
|
515 |
_hashCode += getFreightOnValue().hashCode();
|
|
|
516 |
}
|
|
|
517 |
if (getInsuranceCharges() != null) {
|
|
|
518 |
_hashCode += getInsuranceCharges().hashCode();
|
|
|
519 |
}
|
|
|
520 |
if (getPartiesToTransactionAreRelated() != null) {
|
|
|
521 |
_hashCode += getPartiesToTransactionAreRelated().hashCode();
|
|
|
522 |
}
|
|
|
523 |
if (getCommercialInvoice() != null) {
|
|
|
524 |
_hashCode += getCommercialInvoice().hashCode();
|
|
|
525 |
}
|
|
|
526 |
if (getCommodities() != null) {
|
|
|
527 |
for (int i=0;
|
|
|
528 |
i<java.lang.reflect.Array.getLength(getCommodities());
|
|
|
529 |
i++) {
|
|
|
530 |
java.lang.Object obj = java.lang.reflect.Array.get(getCommodities(), i);
|
|
|
531 |
if (obj != null &&
|
|
|
532 |
!obj.getClass().isArray()) {
|
|
|
533 |
_hashCode += obj.hashCode();
|
|
|
534 |
}
|
|
|
535 |
}
|
|
|
536 |
}
|
|
|
537 |
if (getExportDetail() != null) {
|
|
|
538 |
_hashCode += getExportDetail().hashCode();
|
|
|
539 |
}
|
|
|
540 |
if (getRegulatoryControls() != null) {
|
|
|
541 |
for (int i=0;
|
|
|
542 |
i<java.lang.reflect.Array.getLength(getRegulatoryControls());
|
|
|
543 |
i++) {
|
|
|
544 |
java.lang.Object obj = java.lang.reflect.Array.get(getRegulatoryControls(), i);
|
|
|
545 |
if (obj != null &&
|
|
|
546 |
!obj.getClass().isArray()) {
|
|
|
547 |
_hashCode += obj.hashCode();
|
|
|
548 |
}
|
|
|
549 |
}
|
|
|
550 |
}
|
|
|
551 |
__hashCodeCalc = false;
|
|
|
552 |
return _hashCode;
|
|
|
553 |
}
|
|
|
554 |
|
|
|
555 |
// Type metadata
|
|
|
556 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
557 |
new org.apache.axis.description.TypeDesc(CustomsClearanceDetail.class, true);
|
|
|
558 |
|
|
|
559 |
static {
|
|
|
560 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomsClearanceDetail"));
|
|
|
561 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
562 |
elemField.setFieldName("brokers");
|
|
|
563 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Brokers"));
|
|
|
564 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "BrokerDetail"));
|
|
|
565 |
elemField.setMinOccurs(0);
|
|
|
566 |
elemField.setNillable(false);
|
|
|
567 |
elemField.setMaxOccursUnbounded(true);
|
|
|
568 |
typeDesc.addFieldDesc(elemField);
|
|
|
569 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
570 |
elemField.setFieldName("clearanceBrokerage");
|
|
|
571 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ClearanceBrokerage"));
|
|
|
572 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ClearanceBrokerageType"));
|
|
|
573 |
elemField.setMinOccurs(0);
|
|
|
574 |
elemField.setNillable(false);
|
|
|
575 |
typeDesc.addFieldDesc(elemField);
|
|
|
576 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
577 |
elemField.setFieldName("customsOptions");
|
|
|
578 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomsOptions"));
|
|
|
579 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomsOptionDetail"));
|
|
|
580 |
elemField.setMinOccurs(0);
|
|
|
581 |
elemField.setNillable(false);
|
|
|
582 |
typeDesc.addFieldDesc(elemField);
|
|
|
583 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
584 |
elemField.setFieldName("importerOfRecord");
|
|
|
585 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ImporterOfRecord"));
|
|
|
586 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Party"));
|
|
|
587 |
elemField.setMinOccurs(0);
|
|
|
588 |
elemField.setNillable(false);
|
|
|
589 |
typeDesc.addFieldDesc(elemField);
|
|
|
590 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
591 |
elemField.setFieldName("recipientCustomsId");
|
|
|
592 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RecipientCustomsId"));
|
|
|
593 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RecipientCustomsId"));
|
|
|
594 |
elemField.setMinOccurs(0);
|
|
|
595 |
elemField.setNillable(false);
|
|
|
596 |
typeDesc.addFieldDesc(elemField);
|
|
|
597 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
598 |
elemField.setFieldName("dutiesPayment");
|
|
|
599 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DutiesPayment"));
|
|
|
600 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Payment"));
|
|
|
601 |
elemField.setMinOccurs(0);
|
|
|
602 |
elemField.setNillable(false);
|
|
|
603 |
typeDesc.addFieldDesc(elemField);
|
|
|
604 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
605 |
elemField.setFieldName("documentContent");
|
|
|
606 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocumentContent"));
|
|
|
607 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "InternationalDocumentContentType"));
|
|
|
608 |
elemField.setMinOccurs(0);
|
|
|
609 |
elemField.setNillable(false);
|
|
|
610 |
typeDesc.addFieldDesc(elemField);
|
|
|
611 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
612 |
elemField.setFieldName("customsValue");
|
|
|
613 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomsValue"));
|
|
|
614 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));
|
|
|
615 |
elemField.setMinOccurs(0);
|
|
|
616 |
elemField.setNillable(false);
|
|
|
617 |
typeDesc.addFieldDesc(elemField);
|
|
|
618 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
619 |
elemField.setFieldName("freightOnValue");
|
|
|
620 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightOnValue"));
|
|
|
621 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightOnValueType"));
|
|
|
622 |
elemField.setMinOccurs(0);
|
|
|
623 |
elemField.setNillable(false);
|
|
|
624 |
typeDesc.addFieldDesc(elemField);
|
|
|
625 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
626 |
elemField.setFieldName("insuranceCharges");
|
|
|
627 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "InsuranceCharges"));
|
|
|
628 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));
|
|
|
629 |
elemField.setMinOccurs(0);
|
|
|
630 |
elemField.setNillable(false);
|
|
|
631 |
typeDesc.addFieldDesc(elemField);
|
|
|
632 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
633 |
elemField.setFieldName("partiesToTransactionAreRelated");
|
|
|
634 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PartiesToTransactionAreRelated"));
|
|
|
635 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
|
|
636 |
elemField.setMinOccurs(0);
|
|
|
637 |
elemField.setNillable(false);
|
|
|
638 |
typeDesc.addFieldDesc(elemField);
|
|
|
639 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
640 |
elemField.setFieldName("commercialInvoice");
|
|
|
641 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CommercialInvoice"));
|
|
|
642 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CommercialInvoice"));
|
|
|
643 |
elemField.setMinOccurs(0);
|
|
|
644 |
elemField.setNillable(false);
|
|
|
645 |
typeDesc.addFieldDesc(elemField);
|
|
|
646 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
647 |
elemField.setFieldName("commodities");
|
|
|
648 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Commodities"));
|
|
|
649 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Commodity"));
|
|
|
650 |
elemField.setMinOccurs(0);
|
|
|
651 |
elemField.setNillable(false);
|
|
|
652 |
elemField.setMaxOccursUnbounded(true);
|
|
|
653 |
typeDesc.addFieldDesc(elemField);
|
|
|
654 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
655 |
elemField.setFieldName("exportDetail");
|
|
|
656 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ExportDetail"));
|
|
|
657 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ExportDetail"));
|
|
|
658 |
elemField.setMinOccurs(0);
|
|
|
659 |
elemField.setNillable(false);
|
|
|
660 |
typeDesc.addFieldDesc(elemField);
|
|
|
661 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
662 |
elemField.setFieldName("regulatoryControls");
|
|
|
663 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RegulatoryControls"));
|
|
|
664 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RegulatoryControlType"));
|
|
|
665 |
elemField.setMinOccurs(0);
|
|
|
666 |
elemField.setNillable(false);
|
|
|
667 |
elemField.setMaxOccursUnbounded(true);
|
|
|
668 |
typeDesc.addFieldDesc(elemField);
|
|
|
669 |
}
|
|
|
670 |
|
|
|
671 |
/**
|
|
|
672 |
* Return type metadata object
|
|
|
673 |
*/
|
|
|
674 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
675 |
return typeDesc;
|
|
|
676 |
}
|
|
|
677 |
|
|
|
678 |
/**
|
|
|
679 |
* Get Custom Serializer
|
|
|
680 |
*/
|
|
|
681 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
682 |
java.lang.String mechType,
|
|
|
683 |
java.lang.Class _javaType,
|
|
|
684 |
javax.xml.namespace.QName _xmlType) {
|
|
|
685 |
return
|
|
|
686 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
687 |
_javaType, _xmlType, typeDesc);
|
|
|
688 |
}
|
|
|
689 |
|
|
|
690 |
/**
|
|
|
691 |
* Get Custom Deserializer
|
|
|
692 |
*/
|
|
|
693 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
694 |
java.lang.String mechType,
|
|
|
695 |
java.lang.Class _javaType,
|
|
|
696 |
javax.xml.namespace.QName _xmlType) {
|
|
|
697 |
return
|
|
|
698 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
699 |
_javaType, _xmlType, typeDesc);
|
|
|
700 |
}
|
|
|
701 |
|
|
|
702 |
}
|