Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7905 manish.sha 1
/**
2
 * CompletedShipmentDetail.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 CompletedShipmentDetail  implements java.io.Serializable {
11
    /* Indicates whether or not this is a US Domestic shipment. */
12
    private java.lang.Boolean usDomestic;
13
 
14
    /* Indicates the carrier that will be used to deliver this shipment. */
15
    private com.fedex.ship.stub.CarrierCodeType carrierCode;
16
 
17
    /* The master tracking number and form id of this multiple piece
18
     * shipment. This information is to be provided for each subsequent of
19
     * a multiple piece shipment. */
20
    private com.fedex.ship.stub.TrackingId masterTrackingId;
21
 
22
    /* Description of the FedEx service used for this shipment. Currently
23
     * not supported. */
24
    private java.lang.String serviceTypeDescription;
25
 
26
    /* Description of the packaging used for this shipment. Currently
27
     * not supported. */
28
    private java.lang.String packagingDescription;
29
 
30
    private com.fedex.ship.stub.ShipmentOperationalDetail operationalDetail;
31
 
32
    /* Only used with pending shipments. */
33
    private com.fedex.ship.stub.PendingShipmentAccessDetail accessDetail;
34
 
35
    /* Only used in the reply to tag requests. */
36
    private com.fedex.ship.stub.CompletedTagDetail tagDetail;
37
 
38
    /* Provides reply information specific to SmartPost shipments. */
39
    private com.fedex.ship.stub.CompletedSmartPostDetail smartPostDetail;
40
 
41
    /* Computed shipment level information about hazarous commodities. */
42
    private com.fedex.ship.stub.CompletedHazardousShipmentDetail hazardousShipmentDetail;
43
 
44
    /* All shipment-level rating data for this shipment, which may
45
     * include data for multiple rate types. */
46
    private com.fedex.ship.stub.ShipmentRating shipmentRating;
47
 
48
    /* Returns the default holding location information when HOLD_AT_LOCATION
49
     * special service is requested and the client does not specify the hold
50
     * location address. */
51
    private com.fedex.ship.stub.CompletedHoldAtLocationDetail completedHoldAtLocationDetail;
52
 
53
    /* Returns any defaults or updates applied to RequestedShipment.exportDetail.exportComplianceStatement. */
54
    private java.lang.String exportComplianceStatement;
55
 
56
    private com.fedex.ship.stub.CompletedEtdDetail completedEtdDetail;
57
 
58
    /* All shipment-level shipping documents (other than labels and
59
     * barcodes). */
60
    private com.fedex.ship.stub.ShippingDocument[] shipmentDocuments;
61
 
62
    private com.fedex.ship.stub.AssociatedShipmentDetail[] associatedShipments;
63
 
64
    private com.fedex.ship.stub.CompletedCodDetail completedCodDetail;
65
 
66
    /* Package level details about this package. */
67
    private com.fedex.ship.stub.CompletedPackageDetail[] completedPackageDetails;
68
 
69
    public CompletedShipmentDetail() {
70
    }
71
 
72
    public CompletedShipmentDetail(
73
           java.lang.Boolean usDomestic,
74
           com.fedex.ship.stub.CarrierCodeType carrierCode,
75
           com.fedex.ship.stub.TrackingId masterTrackingId,
76
           java.lang.String serviceTypeDescription,
77
           java.lang.String packagingDescription,
78
           com.fedex.ship.stub.ShipmentOperationalDetail operationalDetail,
79
           com.fedex.ship.stub.PendingShipmentAccessDetail accessDetail,
80
           com.fedex.ship.stub.CompletedTagDetail tagDetail,
81
           com.fedex.ship.stub.CompletedSmartPostDetail smartPostDetail,
82
           com.fedex.ship.stub.CompletedHazardousShipmentDetail hazardousShipmentDetail,
83
           com.fedex.ship.stub.ShipmentRating shipmentRating,
84
           com.fedex.ship.stub.CompletedHoldAtLocationDetail completedHoldAtLocationDetail,
85
           java.lang.String exportComplianceStatement,
86
           com.fedex.ship.stub.CompletedEtdDetail completedEtdDetail,
87
           com.fedex.ship.stub.ShippingDocument[] shipmentDocuments,
88
           com.fedex.ship.stub.AssociatedShipmentDetail[] associatedShipments,
89
           com.fedex.ship.stub.CompletedCodDetail completedCodDetail,
90
           com.fedex.ship.stub.CompletedPackageDetail[] completedPackageDetails) {
91
           this.usDomestic = usDomestic;
92
           this.carrierCode = carrierCode;
93
           this.masterTrackingId = masterTrackingId;
94
           this.serviceTypeDescription = serviceTypeDescription;
95
           this.packagingDescription = packagingDescription;
96
           this.operationalDetail = operationalDetail;
97
           this.accessDetail = accessDetail;
98
           this.tagDetail = tagDetail;
99
           this.smartPostDetail = smartPostDetail;
100
           this.hazardousShipmentDetail = hazardousShipmentDetail;
101
           this.shipmentRating = shipmentRating;
102
           this.completedHoldAtLocationDetail = completedHoldAtLocationDetail;
103
           this.exportComplianceStatement = exportComplianceStatement;
104
           this.completedEtdDetail = completedEtdDetail;
105
           this.shipmentDocuments = shipmentDocuments;
106
           this.associatedShipments = associatedShipments;
107
           this.completedCodDetail = completedCodDetail;
108
           this.completedPackageDetails = completedPackageDetails;
109
    }
110
 
111
 
112
    /**
113
     * Gets the usDomestic value for this CompletedShipmentDetail.
114
     * 
115
     * @return usDomestic   * Indicates whether or not this is a US Domestic shipment.
116
     */
117
    public java.lang.Boolean getUsDomestic() {
118
        return usDomestic;
119
    }
120
 
121
 
122
    /**
123
     * Sets the usDomestic value for this CompletedShipmentDetail.
124
     * 
125
     * @param usDomestic   * Indicates whether or not this is a US Domestic shipment.
126
     */
127
    public void setUsDomestic(java.lang.Boolean usDomestic) {
128
        this.usDomestic = usDomestic;
129
    }
130
 
131
 
132
    /**
133
     * Gets the carrierCode value for this CompletedShipmentDetail.
134
     * 
135
     * @return carrierCode   * Indicates the carrier that will be used to deliver this shipment.
136
     */
137
    public com.fedex.ship.stub.CarrierCodeType getCarrierCode() {
138
        return carrierCode;
139
    }
140
 
141
 
142
    /**
143
     * Sets the carrierCode value for this CompletedShipmentDetail.
144
     * 
145
     * @param carrierCode   * Indicates the carrier that will be used to deliver this shipment.
146
     */
147
    public void setCarrierCode(com.fedex.ship.stub.CarrierCodeType carrierCode) {
148
        this.carrierCode = carrierCode;
149
    }
150
 
151
 
152
    /**
153
     * Gets the masterTrackingId value for this CompletedShipmentDetail.
154
     * 
155
     * @return masterTrackingId   * The master tracking number and form id of this multiple piece
156
     * shipment. This information is to be provided for each subsequent of
157
     * a multiple piece shipment.
158
     */
159
    public com.fedex.ship.stub.TrackingId getMasterTrackingId() {
160
        return masterTrackingId;
161
    }
162
 
163
 
164
    /**
165
     * Sets the masterTrackingId value for this CompletedShipmentDetail.
166
     * 
167
     * @param masterTrackingId   * The master tracking number and form id of this multiple piece
168
     * shipment. This information is to be provided for each subsequent of
169
     * a multiple piece shipment.
170
     */
171
    public void setMasterTrackingId(com.fedex.ship.stub.TrackingId masterTrackingId) {
172
        this.masterTrackingId = masterTrackingId;
173
    }
174
 
175
 
176
    /**
177
     * Gets the serviceTypeDescription value for this CompletedShipmentDetail.
178
     * 
179
     * @return serviceTypeDescription   * Description of the FedEx service used for this shipment. Currently
180
     * not supported.
181
     */
182
    public java.lang.String getServiceTypeDescription() {
183
        return serviceTypeDescription;
184
    }
185
 
186
 
187
    /**
188
     * Sets the serviceTypeDescription value for this CompletedShipmentDetail.
189
     * 
190
     * @param serviceTypeDescription   * Description of the FedEx service used for this shipment. Currently
191
     * not supported.
192
     */
193
    public void setServiceTypeDescription(java.lang.String serviceTypeDescription) {
194
        this.serviceTypeDescription = serviceTypeDescription;
195
    }
196
 
197
 
198
    /**
199
     * Gets the packagingDescription value for this CompletedShipmentDetail.
200
     * 
201
     * @return packagingDescription   * Description of the packaging used for this shipment. Currently
202
     * not supported.
203
     */
204
    public java.lang.String getPackagingDescription() {
205
        return packagingDescription;
206
    }
207
 
208
 
209
    /**
210
     * Sets the packagingDescription value for this CompletedShipmentDetail.
211
     * 
212
     * @param packagingDescription   * Description of the packaging used for this shipment. Currently
213
     * not supported.
214
     */
215
    public void setPackagingDescription(java.lang.String packagingDescription) {
216
        this.packagingDescription = packagingDescription;
217
    }
218
 
219
 
220
    /**
221
     * Gets the operationalDetail value for this CompletedShipmentDetail.
222
     * 
223
     * @return operationalDetail
224
     */
225
    public com.fedex.ship.stub.ShipmentOperationalDetail getOperationalDetail() {
226
        return operationalDetail;
227
    }
228
 
229
 
230
    /**
231
     * Sets the operationalDetail value for this CompletedShipmentDetail.
232
     * 
233
     * @param operationalDetail
234
     */
235
    public void setOperationalDetail(com.fedex.ship.stub.ShipmentOperationalDetail operationalDetail) {
236
        this.operationalDetail = operationalDetail;
237
    }
238
 
239
 
240
    /**
241
     * Gets the accessDetail value for this CompletedShipmentDetail.
242
     * 
243
     * @return accessDetail   * Only used with pending shipments.
244
     */
245
    public com.fedex.ship.stub.PendingShipmentAccessDetail getAccessDetail() {
246
        return accessDetail;
247
    }
248
 
249
 
250
    /**
251
     * Sets the accessDetail value for this CompletedShipmentDetail.
252
     * 
253
     * @param accessDetail   * Only used with pending shipments.
254
     */
255
    public void setAccessDetail(com.fedex.ship.stub.PendingShipmentAccessDetail accessDetail) {
256
        this.accessDetail = accessDetail;
257
    }
258
 
259
 
260
    /**
261
     * Gets the tagDetail value for this CompletedShipmentDetail.
262
     * 
263
     * @return tagDetail   * Only used in the reply to tag requests.
264
     */
265
    public com.fedex.ship.stub.CompletedTagDetail getTagDetail() {
266
        return tagDetail;
267
    }
268
 
269
 
270
    /**
271
     * Sets the tagDetail value for this CompletedShipmentDetail.
272
     * 
273
     * @param tagDetail   * Only used in the reply to tag requests.
274
     */
275
    public void setTagDetail(com.fedex.ship.stub.CompletedTagDetail tagDetail) {
276
        this.tagDetail = tagDetail;
277
    }
278
 
279
 
280
    /**
281
     * Gets the smartPostDetail value for this CompletedShipmentDetail.
282
     * 
283
     * @return smartPostDetail   * Provides reply information specific to SmartPost shipments.
284
     */
285
    public com.fedex.ship.stub.CompletedSmartPostDetail getSmartPostDetail() {
286
        return smartPostDetail;
287
    }
288
 
289
 
290
    /**
291
     * Sets the smartPostDetail value for this CompletedShipmentDetail.
292
     * 
293
     * @param smartPostDetail   * Provides reply information specific to SmartPost shipments.
294
     */
295
    public void setSmartPostDetail(com.fedex.ship.stub.CompletedSmartPostDetail smartPostDetail) {
296
        this.smartPostDetail = smartPostDetail;
297
    }
298
 
299
 
300
    /**
301
     * Gets the hazardousShipmentDetail value for this CompletedShipmentDetail.
302
     * 
303
     * @return hazardousShipmentDetail   * Computed shipment level information about hazarous commodities.
304
     */
305
    public com.fedex.ship.stub.CompletedHazardousShipmentDetail getHazardousShipmentDetail() {
306
        return hazardousShipmentDetail;
307
    }
308
 
309
 
310
    /**
311
     * Sets the hazardousShipmentDetail value for this CompletedShipmentDetail.
312
     * 
313
     * @param hazardousShipmentDetail   * Computed shipment level information about hazarous commodities.
314
     */
315
    public void setHazardousShipmentDetail(com.fedex.ship.stub.CompletedHazardousShipmentDetail hazardousShipmentDetail) {
316
        this.hazardousShipmentDetail = hazardousShipmentDetail;
317
    }
318
 
319
 
320
    /**
321
     * Gets the shipmentRating value for this CompletedShipmentDetail.
322
     * 
323
     * @return shipmentRating   * All shipment-level rating data for this shipment, which may
324
     * include data for multiple rate types.
325
     */
326
    public com.fedex.ship.stub.ShipmentRating getShipmentRating() {
327
        return shipmentRating;
328
    }
329
 
330
 
331
    /**
332
     * Sets the shipmentRating value for this CompletedShipmentDetail.
333
     * 
334
     * @param shipmentRating   * All shipment-level rating data for this shipment, which may
335
     * include data for multiple rate types.
336
     */
337
    public void setShipmentRating(com.fedex.ship.stub.ShipmentRating shipmentRating) {
338
        this.shipmentRating = shipmentRating;
339
    }
340
 
341
 
342
    /**
343
     * Gets the completedHoldAtLocationDetail value for this CompletedShipmentDetail.
344
     * 
345
     * @return completedHoldAtLocationDetail   * Returns the default holding location information when HOLD_AT_LOCATION
346
     * special service is requested and the client does not specify the hold
347
     * location address.
348
     */
349
    public com.fedex.ship.stub.CompletedHoldAtLocationDetail getCompletedHoldAtLocationDetail() {
350
        return completedHoldAtLocationDetail;
351
    }
352
 
353
 
354
    /**
355
     * Sets the completedHoldAtLocationDetail value for this CompletedShipmentDetail.
356
     * 
357
     * @param completedHoldAtLocationDetail   * Returns the default holding location information when HOLD_AT_LOCATION
358
     * special service is requested and the client does not specify the hold
359
     * location address.
360
     */
361
    public void setCompletedHoldAtLocationDetail(com.fedex.ship.stub.CompletedHoldAtLocationDetail completedHoldAtLocationDetail) {
362
        this.completedHoldAtLocationDetail = completedHoldAtLocationDetail;
363
    }
364
 
365
 
366
    /**
367
     * Gets the exportComplianceStatement value for this CompletedShipmentDetail.
368
     * 
369
     * @return exportComplianceStatement   * Returns any defaults or updates applied to RequestedShipment.exportDetail.exportComplianceStatement.
370
     */
371
    public java.lang.String getExportComplianceStatement() {
372
        return exportComplianceStatement;
373
    }
374
 
375
 
376
    /**
377
     * Sets the exportComplianceStatement value for this CompletedShipmentDetail.
378
     * 
379
     * @param exportComplianceStatement   * Returns any defaults or updates applied to RequestedShipment.exportDetail.exportComplianceStatement.
380
     */
381
    public void setExportComplianceStatement(java.lang.String exportComplianceStatement) {
382
        this.exportComplianceStatement = exportComplianceStatement;
383
    }
384
 
385
 
386
    /**
387
     * Gets the completedEtdDetail value for this CompletedShipmentDetail.
388
     * 
389
     * @return completedEtdDetail
390
     */
391
    public com.fedex.ship.stub.CompletedEtdDetail getCompletedEtdDetail() {
392
        return completedEtdDetail;
393
    }
394
 
395
 
396
    /**
397
     * Sets the completedEtdDetail value for this CompletedShipmentDetail.
398
     * 
399
     * @param completedEtdDetail
400
     */
401
    public void setCompletedEtdDetail(com.fedex.ship.stub.CompletedEtdDetail completedEtdDetail) {
402
        this.completedEtdDetail = completedEtdDetail;
403
    }
404
 
405
 
406
    /**
407
     * Gets the shipmentDocuments value for this CompletedShipmentDetail.
408
     * 
409
     * @return shipmentDocuments   * All shipment-level shipping documents (other than labels and
410
     * barcodes).
411
     */
412
    public com.fedex.ship.stub.ShippingDocument[] getShipmentDocuments() {
413
        return shipmentDocuments;
414
    }
415
 
416
 
417
    /**
418
     * Sets the shipmentDocuments value for this CompletedShipmentDetail.
419
     * 
420
     * @param shipmentDocuments   * All shipment-level shipping documents (other than labels and
421
     * barcodes).
422
     */
423
    public void setShipmentDocuments(com.fedex.ship.stub.ShippingDocument[] shipmentDocuments) {
424
        this.shipmentDocuments = shipmentDocuments;
425
    }
426
 
427
    public com.fedex.ship.stub.ShippingDocument getShipmentDocuments(int i) {
428
        return this.shipmentDocuments[i];
429
    }
430
 
431
    public void setShipmentDocuments(int i, com.fedex.ship.stub.ShippingDocument _value) {
432
        this.shipmentDocuments[i] = _value;
433
    }
434
 
435
 
436
    /**
437
     * Gets the associatedShipments value for this CompletedShipmentDetail.
438
     * 
439
     * @return associatedShipments
440
     */
441
    public com.fedex.ship.stub.AssociatedShipmentDetail[] getAssociatedShipments() {
442
        return associatedShipments;
443
    }
444
 
445
 
446
    /**
447
     * Sets the associatedShipments value for this CompletedShipmentDetail.
448
     * 
449
     * @param associatedShipments
450
     */
451
    public void setAssociatedShipments(com.fedex.ship.stub.AssociatedShipmentDetail[] associatedShipments) {
452
        this.associatedShipments = associatedShipments;
453
    }
454
 
455
    public com.fedex.ship.stub.AssociatedShipmentDetail getAssociatedShipments(int i) {
456
        return this.associatedShipments[i];
457
    }
458
 
459
    public void setAssociatedShipments(int i, com.fedex.ship.stub.AssociatedShipmentDetail _value) {
460
        this.associatedShipments[i] = _value;
461
    }
462
 
463
 
464
    /**
465
     * Gets the completedCodDetail value for this CompletedShipmentDetail.
466
     * 
467
     * @return completedCodDetail
468
     */
469
    public com.fedex.ship.stub.CompletedCodDetail getCompletedCodDetail() {
470
        return completedCodDetail;
471
    }
472
 
473
 
474
    /**
475
     * Sets the completedCodDetail value for this CompletedShipmentDetail.
476
     * 
477
     * @param completedCodDetail
478
     */
479
    public void setCompletedCodDetail(com.fedex.ship.stub.CompletedCodDetail completedCodDetail) {
480
        this.completedCodDetail = completedCodDetail;
481
    }
482
 
483
 
484
    /**
485
     * Gets the completedPackageDetails value for this CompletedShipmentDetail.
486
     * 
487
     * @return completedPackageDetails   * Package level details about this package.
488
     */
489
    public com.fedex.ship.stub.CompletedPackageDetail[] getCompletedPackageDetails() {
490
        return completedPackageDetails;
491
    }
492
 
493
 
494
    /**
495
     * Sets the completedPackageDetails value for this CompletedShipmentDetail.
496
     * 
497
     * @param completedPackageDetails   * Package level details about this package.
498
     */
499
    public void setCompletedPackageDetails(com.fedex.ship.stub.CompletedPackageDetail[] completedPackageDetails) {
500
        this.completedPackageDetails = completedPackageDetails;
501
    }
502
 
503
    public com.fedex.ship.stub.CompletedPackageDetail getCompletedPackageDetails(int i) {
504
        return this.completedPackageDetails[i];
505
    }
506
 
507
    public void setCompletedPackageDetails(int i, com.fedex.ship.stub.CompletedPackageDetail _value) {
508
        this.completedPackageDetails[i] = _value;
509
    }
510
 
511
    private java.lang.Object __equalsCalc = null;
512
    public synchronized boolean equals(java.lang.Object obj) {
513
        if (!(obj instanceof CompletedShipmentDetail)) return false;
514
        CompletedShipmentDetail other = (CompletedShipmentDetail) obj;
515
        if (obj == null) return false;
516
        if (this == obj) return true;
517
        if (__equalsCalc != null) {
518
            return (__equalsCalc == obj);
519
        }
520
        __equalsCalc = obj;
521
        boolean _equals;
522
        _equals = true && 
523
            ((this.usDomestic==null && other.getUsDomestic()==null) || 
524
             (this.usDomestic!=null &&
525
              this.usDomestic.equals(other.getUsDomestic()))) &&
526
            ((this.carrierCode==null && other.getCarrierCode()==null) || 
527
             (this.carrierCode!=null &&
528
              this.carrierCode.equals(other.getCarrierCode()))) &&
529
            ((this.masterTrackingId==null && other.getMasterTrackingId()==null) || 
530
             (this.masterTrackingId!=null &&
531
              this.masterTrackingId.equals(other.getMasterTrackingId()))) &&
532
            ((this.serviceTypeDescription==null && other.getServiceTypeDescription()==null) || 
533
             (this.serviceTypeDescription!=null &&
534
              this.serviceTypeDescription.equals(other.getServiceTypeDescription()))) &&
535
            ((this.packagingDescription==null && other.getPackagingDescription()==null) || 
536
             (this.packagingDescription!=null &&
537
              this.packagingDescription.equals(other.getPackagingDescription()))) &&
538
            ((this.operationalDetail==null && other.getOperationalDetail()==null) || 
539
             (this.operationalDetail!=null &&
540
              this.operationalDetail.equals(other.getOperationalDetail()))) &&
541
            ((this.accessDetail==null && other.getAccessDetail()==null) || 
542
             (this.accessDetail!=null &&
543
              this.accessDetail.equals(other.getAccessDetail()))) &&
544
            ((this.tagDetail==null && other.getTagDetail()==null) || 
545
             (this.tagDetail!=null &&
546
              this.tagDetail.equals(other.getTagDetail()))) &&
547
            ((this.smartPostDetail==null && other.getSmartPostDetail()==null) || 
548
             (this.smartPostDetail!=null &&
549
              this.smartPostDetail.equals(other.getSmartPostDetail()))) &&
550
            ((this.hazardousShipmentDetail==null && other.getHazardousShipmentDetail()==null) || 
551
             (this.hazardousShipmentDetail!=null &&
552
              this.hazardousShipmentDetail.equals(other.getHazardousShipmentDetail()))) &&
553
            ((this.shipmentRating==null && other.getShipmentRating()==null) || 
554
             (this.shipmentRating!=null &&
555
              this.shipmentRating.equals(other.getShipmentRating()))) &&
556
            ((this.completedHoldAtLocationDetail==null && other.getCompletedHoldAtLocationDetail()==null) || 
557
             (this.completedHoldAtLocationDetail!=null &&
558
              this.completedHoldAtLocationDetail.equals(other.getCompletedHoldAtLocationDetail()))) &&
559
            ((this.exportComplianceStatement==null && other.getExportComplianceStatement()==null) || 
560
             (this.exportComplianceStatement!=null &&
561
              this.exportComplianceStatement.equals(other.getExportComplianceStatement()))) &&
562
            ((this.completedEtdDetail==null && other.getCompletedEtdDetail()==null) || 
563
             (this.completedEtdDetail!=null &&
564
              this.completedEtdDetail.equals(other.getCompletedEtdDetail()))) &&
565
            ((this.shipmentDocuments==null && other.getShipmentDocuments()==null) || 
566
             (this.shipmentDocuments!=null &&
567
              java.util.Arrays.equals(this.shipmentDocuments, other.getShipmentDocuments()))) &&
568
            ((this.associatedShipments==null && other.getAssociatedShipments()==null) || 
569
             (this.associatedShipments!=null &&
570
              java.util.Arrays.equals(this.associatedShipments, other.getAssociatedShipments()))) &&
571
            ((this.completedCodDetail==null && other.getCompletedCodDetail()==null) || 
572
             (this.completedCodDetail!=null &&
573
              this.completedCodDetail.equals(other.getCompletedCodDetail()))) &&
574
            ((this.completedPackageDetails==null && other.getCompletedPackageDetails()==null) || 
575
             (this.completedPackageDetails!=null &&
576
              java.util.Arrays.equals(this.completedPackageDetails, other.getCompletedPackageDetails())));
577
        __equalsCalc = null;
578
        return _equals;
579
    }
580
 
581
    private boolean __hashCodeCalc = false;
582
    public synchronized int hashCode() {
583
        if (__hashCodeCalc) {
584
            return 0;
585
        }
586
        __hashCodeCalc = true;
587
        int _hashCode = 1;
588
        if (getUsDomestic() != null) {
589
            _hashCode += getUsDomestic().hashCode();
590
        }
591
        if (getCarrierCode() != null) {
592
            _hashCode += getCarrierCode().hashCode();
593
        }
594
        if (getMasterTrackingId() != null) {
595
            _hashCode += getMasterTrackingId().hashCode();
596
        }
597
        if (getServiceTypeDescription() != null) {
598
            _hashCode += getServiceTypeDescription().hashCode();
599
        }
600
        if (getPackagingDescription() != null) {
601
            _hashCode += getPackagingDescription().hashCode();
602
        }
603
        if (getOperationalDetail() != null) {
604
            _hashCode += getOperationalDetail().hashCode();
605
        }
606
        if (getAccessDetail() != null) {
607
            _hashCode += getAccessDetail().hashCode();
608
        }
609
        if (getTagDetail() != null) {
610
            _hashCode += getTagDetail().hashCode();
611
        }
612
        if (getSmartPostDetail() != null) {
613
            _hashCode += getSmartPostDetail().hashCode();
614
        }
615
        if (getHazardousShipmentDetail() != null) {
616
            _hashCode += getHazardousShipmentDetail().hashCode();
617
        }
618
        if (getShipmentRating() != null) {
619
            _hashCode += getShipmentRating().hashCode();
620
        }
621
        if (getCompletedHoldAtLocationDetail() != null) {
622
            _hashCode += getCompletedHoldAtLocationDetail().hashCode();
623
        }
624
        if (getExportComplianceStatement() != null) {
625
            _hashCode += getExportComplianceStatement().hashCode();
626
        }
627
        if (getCompletedEtdDetail() != null) {
628
            _hashCode += getCompletedEtdDetail().hashCode();
629
        }
630
        if (getShipmentDocuments() != null) {
631
            for (int i=0;
632
                 i<java.lang.reflect.Array.getLength(getShipmentDocuments());
633
                 i++) {
634
                java.lang.Object obj = java.lang.reflect.Array.get(getShipmentDocuments(), i);
635
                if (obj != null &&
636
                    !obj.getClass().isArray()) {
637
                    _hashCode += obj.hashCode();
638
                }
639
            }
640
        }
641
        if (getAssociatedShipments() != null) {
642
            for (int i=0;
643
                 i<java.lang.reflect.Array.getLength(getAssociatedShipments());
644
                 i++) {
645
                java.lang.Object obj = java.lang.reflect.Array.get(getAssociatedShipments(), i);
646
                if (obj != null &&
647
                    !obj.getClass().isArray()) {
648
                    _hashCode += obj.hashCode();
649
                }
650
            }
651
        }
652
        if (getCompletedCodDetail() != null) {
653
            _hashCode += getCompletedCodDetail().hashCode();
654
        }
655
        if (getCompletedPackageDetails() != null) {
656
            for (int i=0;
657
                 i<java.lang.reflect.Array.getLength(getCompletedPackageDetails());
658
                 i++) {
659
                java.lang.Object obj = java.lang.reflect.Array.get(getCompletedPackageDetails(), i);
660
                if (obj != null &&
661
                    !obj.getClass().isArray()) {
662
                    _hashCode += obj.hashCode();
663
                }
664
            }
665
        }
666
        __hashCodeCalc = false;
667
        return _hashCode;
668
    }
669
 
670
    // Type metadata
671
    private static org.apache.axis.description.TypeDesc typeDesc =
672
        new org.apache.axis.description.TypeDesc(CompletedShipmentDetail.class, true);
673
 
674
    static {
675
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedShipmentDetail"));
676
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
677
        elemField.setFieldName("usDomestic");
678
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "UsDomestic"));
679
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
680
        elemField.setMinOccurs(0);
681
        elemField.setNillable(false);
682
        typeDesc.addFieldDesc(elemField);
683
        elemField = new org.apache.axis.description.ElementDesc();
684
        elemField.setFieldName("carrierCode");
685
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CarrierCode"));
686
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CarrierCodeType"));
687
        elemField.setMinOccurs(0);
688
        elemField.setNillable(false);
689
        typeDesc.addFieldDesc(elemField);
690
        elemField = new org.apache.axis.description.ElementDesc();
691
        elemField.setFieldName("masterTrackingId");
692
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "MasterTrackingId"));
693
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TrackingId"));
694
        elemField.setMinOccurs(0);
695
        elemField.setNillable(false);
696
        typeDesc.addFieldDesc(elemField);
697
        elemField = new org.apache.axis.description.ElementDesc();
698
        elemField.setFieldName("serviceTypeDescription");
699
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ServiceTypeDescription"));
700
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
701
        elemField.setMinOccurs(0);
702
        elemField.setNillable(false);
703
        typeDesc.addFieldDesc(elemField);
704
        elemField = new org.apache.axis.description.ElementDesc();
705
        elemField.setFieldName("packagingDescription");
706
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PackagingDescription"));
707
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
708
        elemField.setMinOccurs(0);
709
        elemField.setNillable(false);
710
        typeDesc.addFieldDesc(elemField);
711
        elemField = new org.apache.axis.description.ElementDesc();
712
        elemField.setFieldName("operationalDetail");
713
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "OperationalDetail"));
714
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShipmentOperationalDetail"));
715
        elemField.setMinOccurs(0);
716
        elemField.setNillable(false);
717
        typeDesc.addFieldDesc(elemField);
718
        elemField = new org.apache.axis.description.ElementDesc();
719
        elemField.setFieldName("accessDetail");
720
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "AccessDetail"));
721
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PendingShipmentAccessDetail"));
722
        elemField.setMinOccurs(0);
723
        elemField.setNillable(false);
724
        typeDesc.addFieldDesc(elemField);
725
        elemField = new org.apache.axis.description.ElementDesc();
726
        elemField.setFieldName("tagDetail");
727
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TagDetail"));
728
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedTagDetail"));
729
        elemField.setMinOccurs(0);
730
        elemField.setNillable(false);
731
        typeDesc.addFieldDesc(elemField);
732
        elemField = new org.apache.axis.description.ElementDesc();
733
        elemField.setFieldName("smartPostDetail");
734
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SmartPostDetail"));
735
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedSmartPostDetail"));
736
        elemField.setMinOccurs(0);
737
        elemField.setNillable(false);
738
        typeDesc.addFieldDesc(elemField);
739
        elemField = new org.apache.axis.description.ElementDesc();
740
        elemField.setFieldName("hazardousShipmentDetail");
741
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "HazardousShipmentDetail"));
742
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedHazardousShipmentDetail"));
743
        elemField.setMinOccurs(0);
744
        elemField.setNillable(false);
745
        typeDesc.addFieldDesc(elemField);
746
        elemField = new org.apache.axis.description.ElementDesc();
747
        elemField.setFieldName("shipmentRating");
748
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShipmentRating"));
749
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShipmentRating"));
750
        elemField.setMinOccurs(0);
751
        elemField.setNillable(false);
752
        typeDesc.addFieldDesc(elemField);
753
        elemField = new org.apache.axis.description.ElementDesc();
754
        elemField.setFieldName("completedHoldAtLocationDetail");
755
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedHoldAtLocationDetail"));
756
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedHoldAtLocationDetail"));
757
        elemField.setMinOccurs(0);
758
        elemField.setNillable(false);
759
        typeDesc.addFieldDesc(elemField);
760
        elemField = new org.apache.axis.description.ElementDesc();
761
        elemField.setFieldName("exportComplianceStatement");
762
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ExportComplianceStatement"));
763
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
764
        elemField.setMinOccurs(0);
765
        elemField.setNillable(false);
766
        typeDesc.addFieldDesc(elemField);
767
        elemField = new org.apache.axis.description.ElementDesc();
768
        elemField.setFieldName("completedEtdDetail");
769
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedEtdDetail"));
770
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedEtdDetail"));
771
        elemField.setMinOccurs(0);
772
        elemField.setNillable(false);
773
        typeDesc.addFieldDesc(elemField);
774
        elemField = new org.apache.axis.description.ElementDesc();
775
        elemField.setFieldName("shipmentDocuments");
776
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShipmentDocuments"));
777
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShippingDocument"));
778
        elemField.setMinOccurs(0);
779
        elemField.setNillable(false);
780
        elemField.setMaxOccursUnbounded(true);
781
        typeDesc.addFieldDesc(elemField);
782
        elemField = new org.apache.axis.description.ElementDesc();
783
        elemField.setFieldName("associatedShipments");
784
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "AssociatedShipments"));
785
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "AssociatedShipmentDetail"));
786
        elemField.setMinOccurs(0);
787
        elemField.setNillable(false);
788
        elemField.setMaxOccursUnbounded(true);
789
        typeDesc.addFieldDesc(elemField);
790
        elemField = new org.apache.axis.description.ElementDesc();
791
        elemField.setFieldName("completedCodDetail");
792
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedCodDetail"));
793
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedCodDetail"));
794
        elemField.setMinOccurs(0);
795
        elemField.setNillable(false);
796
        typeDesc.addFieldDesc(elemField);
797
        elemField = new org.apache.axis.description.ElementDesc();
798
        elemField.setFieldName("completedPackageDetails");
799
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedPackageDetails"));
800
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedPackageDetail"));
801
        elemField.setMinOccurs(0);
802
        elemField.setNillable(false);
803
        elemField.setMaxOccursUnbounded(true);
804
        typeDesc.addFieldDesc(elemField);
805
    }
806
 
807
    /**
808
     * Return type metadata object
809
     */
810
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
811
        return typeDesc;
812
    }
813
 
814
    /**
815
     * Get Custom Serializer
816
     */
817
    public static org.apache.axis.encoding.Serializer getSerializer(
818
           java.lang.String mechType, 
819
           java.lang.Class _javaType,  
820
           javax.xml.namespace.QName _xmlType) {
821
        return 
822
          new  org.apache.axis.encoding.ser.BeanSerializer(
823
            _javaType, _xmlType, typeDesc);
824
    }
825
 
826
    /**
827
     * Get Custom Deserializer
828
     */
829
    public static org.apache.axis.encoding.Deserializer getDeserializer(
830
           java.lang.String mechType, 
831
           java.lang.Class _javaType,  
832
           javax.xml.namespace.QName _xmlType) {
833
        return 
834
          new  org.apache.axis.encoding.ser.BeanDeserializer(
835
            _javaType, _xmlType, typeDesc);
836
    }
837
 
838
}