Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7905 manish.sha 1
/**
2
 * ShipmentLegRateDetail.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
 
11
/**
12
 * Data for a single leg of a shipment's total/summary rates, as calculated
13
 * per a specific rate type.
14
 */
15
public class ShipmentLegRateDetail  implements java.io.Serializable {
16
    /* Human-readable text describing the shipment leg. */
17
    private java.lang.String legDescription;
18
 
19
    /* Origin for this leg. */
20
    private com.fedex.ship.stub.Address legOrigin;
21
 
22
    /* Specifies the location id the origin of shipment leg. */
23
    private java.lang.String legOriginLocationId;
24
 
25
    /* Destination for this leg. */
26
    private com.fedex.ship.stub.Address legDestination;
27
 
28
    /* Specifies the location id the destination of shipment leg. */
29
    private java.lang.String legDestinationLocationId;
30
 
31
    /* Type used for this specific set of rate data. */
32
    private com.fedex.ship.stub.ReturnedRateType rateType;
33
 
34
    /* Indicates the rate scale used. */
35
    private java.lang.String rateScale;
36
 
37
    /* Indicates the rate zone used (based on origin and destination). */
38
    private java.lang.String rateZone;
39
 
40
    private com.fedex.ship.stub.PricingCodeType pricingCode;
41
 
42
    /* Indicates which weight was used. */
43
    private com.fedex.ship.stub.RatedWeightMethod ratedWeightMethod;
44
 
45
    /* INTERNAL FEDEX USE ONLY. */
46
    private com.fedex.ship.stub.MinimumChargeType minimumChargeType;
47
 
48
    /* Specifies the currency exchange performed on financial amounts
49
     * for this rate. */
50
    private com.fedex.ship.stub.CurrencyExchangeRate currencyExchangeRate;
51
 
52
    /* Indicates which special rating cases applied to this shipment. */
53
    private com.fedex.ship.stub.SpecialRatingAppliedType[] specialRatingApplied;
54
 
55
    private org.apache.axis.types.NonNegativeInteger dimDivisor;
56
 
57
    /* Identifies the type of dim divisor that was applied. */
58
    private com.fedex.ship.stub.RateDimensionalDivisorType dimDivisorType;
59
 
60
    private java.math.BigDecimal fuelSurchargePercent;
61
 
62
    private com.fedex.ship.stub.Weight totalBillingWeight;
63
 
64
    /* Sum of dimensional weights for all packages. */
65
    private com.fedex.ship.stub.Weight totalDimWeight;
66
 
67
    private com.fedex.ship.stub.Money totalBaseCharge;
68
 
69
    private com.fedex.ship.stub.Money totalFreightDiscounts;
70
 
71
    private com.fedex.ship.stub.Money totalNetFreight;
72
 
73
    private com.fedex.ship.stub.Money totalSurcharges;
74
 
75
    /* This shipment's totalNetFreight + totalSurcharges (not including
76
     * totalTaxes). */
77
    private com.fedex.ship.stub.Money totalNetFedExCharge;
78
 
79
    /* Total of the transportation-based taxes. */
80
    private com.fedex.ship.stub.Money totalTaxes;
81
 
82
    private com.fedex.ship.stub.Money totalNetCharge;
83
 
84
    private com.fedex.ship.stub.Money totalRebates;
85
 
86
    /* Total of all values under this shipment's dutiesAndTaxes; only
87
     * provided if estimated duties and taxes were calculated for this shipment. */
88
    private com.fedex.ship.stub.Money totalDutiesAndTaxes;
89
 
90
    /* This shipment's totalNetCharge + totalDutiesAndTaxes; only
91
     * provided if estimated duties and taxes were calculated for this shipment
92
     * AND duties, taxes and transportation charges are all paid by the same
93
     * sender's account. */
94
    private com.fedex.ship.stub.Money totalNetChargeWithDutiesAndTaxes;
95
 
96
    /* Rate data specific to FedEx Freight and FedEx National Freight
97
     * services. */
98
    private com.fedex.ship.stub.FreightRateDetail freightRateDetail;
99
 
100
    /* All rate discounts that apply to this shipment. */
101
    private com.fedex.ship.stub.RateDiscount[] freightDiscounts;
102
 
103
    /* All rebates that apply to this shipment. */
104
    private com.fedex.ship.stub.Rebate[] rebates;
105
 
106
    /* All surcharges that apply to this shipment. */
107
    private com.fedex.ship.stub.Surcharge[] surcharges;
108
 
109
    /* All transportation-based taxes applicable to this shipment. */
110
    private com.fedex.ship.stub.Tax[] taxes;
111
 
112
    /* All commodity-based duties and taxes applicable to this shipment. */
113
    private com.fedex.ship.stub.EdtCommodityTax[] dutiesAndTaxes;
114
 
115
    /* The "order level" variable handling charges. */
116
    private com.fedex.ship.stub.VariableHandlingCharges variableHandlingCharges;
117
 
118
    /* The total of all variable handling charges at both shipment
119
     * (order) and package level. */
120
    private com.fedex.ship.stub.VariableHandlingCharges totalVariableHandlingCharges;
121
 
122
    public ShipmentLegRateDetail() {
123
    }
124
 
125
    public ShipmentLegRateDetail(
126
           java.lang.String legDescription,
127
           com.fedex.ship.stub.Address legOrigin,
128
           java.lang.String legOriginLocationId,
129
           com.fedex.ship.stub.Address legDestination,
130
           java.lang.String legDestinationLocationId,
131
           com.fedex.ship.stub.ReturnedRateType rateType,
132
           java.lang.String rateScale,
133
           java.lang.String rateZone,
134
           com.fedex.ship.stub.PricingCodeType pricingCode,
135
           com.fedex.ship.stub.RatedWeightMethod ratedWeightMethod,
136
           com.fedex.ship.stub.MinimumChargeType minimumChargeType,
137
           com.fedex.ship.stub.CurrencyExchangeRate currencyExchangeRate,
138
           com.fedex.ship.stub.SpecialRatingAppliedType[] specialRatingApplied,
139
           org.apache.axis.types.NonNegativeInteger dimDivisor,
140
           com.fedex.ship.stub.RateDimensionalDivisorType dimDivisorType,
141
           java.math.BigDecimal fuelSurchargePercent,
142
           com.fedex.ship.stub.Weight totalBillingWeight,
143
           com.fedex.ship.stub.Weight totalDimWeight,
144
           com.fedex.ship.stub.Money totalBaseCharge,
145
           com.fedex.ship.stub.Money totalFreightDiscounts,
146
           com.fedex.ship.stub.Money totalNetFreight,
147
           com.fedex.ship.stub.Money totalSurcharges,
148
           com.fedex.ship.stub.Money totalNetFedExCharge,
149
           com.fedex.ship.stub.Money totalTaxes,
150
           com.fedex.ship.stub.Money totalNetCharge,
151
           com.fedex.ship.stub.Money totalRebates,
152
           com.fedex.ship.stub.Money totalDutiesAndTaxes,
153
           com.fedex.ship.stub.Money totalNetChargeWithDutiesAndTaxes,
154
           com.fedex.ship.stub.FreightRateDetail freightRateDetail,
155
           com.fedex.ship.stub.RateDiscount[] freightDiscounts,
156
           com.fedex.ship.stub.Rebate[] rebates,
157
           com.fedex.ship.stub.Surcharge[] surcharges,
158
           com.fedex.ship.stub.Tax[] taxes,
159
           com.fedex.ship.stub.EdtCommodityTax[] dutiesAndTaxes,
160
           com.fedex.ship.stub.VariableHandlingCharges variableHandlingCharges,
161
           com.fedex.ship.stub.VariableHandlingCharges totalVariableHandlingCharges) {
162
           this.legDescription = legDescription;
163
           this.legOrigin = legOrigin;
164
           this.legOriginLocationId = legOriginLocationId;
165
           this.legDestination = legDestination;
166
           this.legDestinationLocationId = legDestinationLocationId;
167
           this.rateType = rateType;
168
           this.rateScale = rateScale;
169
           this.rateZone = rateZone;
170
           this.pricingCode = pricingCode;
171
           this.ratedWeightMethod = ratedWeightMethod;
172
           this.minimumChargeType = minimumChargeType;
173
           this.currencyExchangeRate = currencyExchangeRate;
174
           this.specialRatingApplied = specialRatingApplied;
175
           this.dimDivisor = dimDivisor;
176
           this.dimDivisorType = dimDivisorType;
177
           this.fuelSurchargePercent = fuelSurchargePercent;
178
           this.totalBillingWeight = totalBillingWeight;
179
           this.totalDimWeight = totalDimWeight;
180
           this.totalBaseCharge = totalBaseCharge;
181
           this.totalFreightDiscounts = totalFreightDiscounts;
182
           this.totalNetFreight = totalNetFreight;
183
           this.totalSurcharges = totalSurcharges;
184
           this.totalNetFedExCharge = totalNetFedExCharge;
185
           this.totalTaxes = totalTaxes;
186
           this.totalNetCharge = totalNetCharge;
187
           this.totalRebates = totalRebates;
188
           this.totalDutiesAndTaxes = totalDutiesAndTaxes;
189
           this.totalNetChargeWithDutiesAndTaxes = totalNetChargeWithDutiesAndTaxes;
190
           this.freightRateDetail = freightRateDetail;
191
           this.freightDiscounts = freightDiscounts;
192
           this.rebates = rebates;
193
           this.surcharges = surcharges;
194
           this.taxes = taxes;
195
           this.dutiesAndTaxes = dutiesAndTaxes;
196
           this.variableHandlingCharges = variableHandlingCharges;
197
           this.totalVariableHandlingCharges = totalVariableHandlingCharges;
198
    }
199
 
200
 
201
    /**
202
     * Gets the legDescription value for this ShipmentLegRateDetail.
203
     * 
204
     * @return legDescription   * Human-readable text describing the shipment leg.
205
     */
206
    public java.lang.String getLegDescription() {
207
        return legDescription;
208
    }
209
 
210
 
211
    /**
212
     * Sets the legDescription value for this ShipmentLegRateDetail.
213
     * 
214
     * @param legDescription   * Human-readable text describing the shipment leg.
215
     */
216
    public void setLegDescription(java.lang.String legDescription) {
217
        this.legDescription = legDescription;
218
    }
219
 
220
 
221
    /**
222
     * Gets the legOrigin value for this ShipmentLegRateDetail.
223
     * 
224
     * @return legOrigin   * Origin for this leg.
225
     */
226
    public com.fedex.ship.stub.Address getLegOrigin() {
227
        return legOrigin;
228
    }
229
 
230
 
231
    /**
232
     * Sets the legOrigin value for this ShipmentLegRateDetail.
233
     * 
234
     * @param legOrigin   * Origin for this leg.
235
     */
236
    public void setLegOrigin(com.fedex.ship.stub.Address legOrigin) {
237
        this.legOrigin = legOrigin;
238
    }
239
 
240
 
241
    /**
242
     * Gets the legOriginLocationId value for this ShipmentLegRateDetail.
243
     * 
244
     * @return legOriginLocationId   * Specifies the location id the origin of shipment leg.
245
     */
246
    public java.lang.String getLegOriginLocationId() {
247
        return legOriginLocationId;
248
    }
249
 
250
 
251
    /**
252
     * Sets the legOriginLocationId value for this ShipmentLegRateDetail.
253
     * 
254
     * @param legOriginLocationId   * Specifies the location id the origin of shipment leg.
255
     */
256
    public void setLegOriginLocationId(java.lang.String legOriginLocationId) {
257
        this.legOriginLocationId = legOriginLocationId;
258
    }
259
 
260
 
261
    /**
262
     * Gets the legDestination value for this ShipmentLegRateDetail.
263
     * 
264
     * @return legDestination   * Destination for this leg.
265
     */
266
    public com.fedex.ship.stub.Address getLegDestination() {
267
        return legDestination;
268
    }
269
 
270
 
271
    /**
272
     * Sets the legDestination value for this ShipmentLegRateDetail.
273
     * 
274
     * @param legDestination   * Destination for this leg.
275
     */
276
    public void setLegDestination(com.fedex.ship.stub.Address legDestination) {
277
        this.legDestination = legDestination;
278
    }
279
 
280
 
281
    /**
282
     * Gets the legDestinationLocationId value for this ShipmentLegRateDetail.
283
     * 
284
     * @return legDestinationLocationId   * Specifies the location id the destination of shipment leg.
285
     */
286
    public java.lang.String getLegDestinationLocationId() {
287
        return legDestinationLocationId;
288
    }
289
 
290
 
291
    /**
292
     * Sets the legDestinationLocationId value for this ShipmentLegRateDetail.
293
     * 
294
     * @param legDestinationLocationId   * Specifies the location id the destination of shipment leg.
295
     */
296
    public void setLegDestinationLocationId(java.lang.String legDestinationLocationId) {
297
        this.legDestinationLocationId = legDestinationLocationId;
298
    }
299
 
300
 
301
    /**
302
     * Gets the rateType value for this ShipmentLegRateDetail.
303
     * 
304
     * @return rateType   * Type used for this specific set of rate data.
305
     */
306
    public com.fedex.ship.stub.ReturnedRateType getRateType() {
307
        return rateType;
308
    }
309
 
310
 
311
    /**
312
     * Sets the rateType value for this ShipmentLegRateDetail.
313
     * 
314
     * @param rateType   * Type used for this specific set of rate data.
315
     */
316
    public void setRateType(com.fedex.ship.stub.ReturnedRateType rateType) {
317
        this.rateType = rateType;
318
    }
319
 
320
 
321
    /**
322
     * Gets the rateScale value for this ShipmentLegRateDetail.
323
     * 
324
     * @return rateScale   * Indicates the rate scale used.
325
     */
326
    public java.lang.String getRateScale() {
327
        return rateScale;
328
    }
329
 
330
 
331
    /**
332
     * Sets the rateScale value for this ShipmentLegRateDetail.
333
     * 
334
     * @param rateScale   * Indicates the rate scale used.
335
     */
336
    public void setRateScale(java.lang.String rateScale) {
337
        this.rateScale = rateScale;
338
    }
339
 
340
 
341
    /**
342
     * Gets the rateZone value for this ShipmentLegRateDetail.
343
     * 
344
     * @return rateZone   * Indicates the rate zone used (based on origin and destination).
345
     */
346
    public java.lang.String getRateZone() {
347
        return rateZone;
348
    }
349
 
350
 
351
    /**
352
     * Sets the rateZone value for this ShipmentLegRateDetail.
353
     * 
354
     * @param rateZone   * Indicates the rate zone used (based on origin and destination).
355
     */
356
    public void setRateZone(java.lang.String rateZone) {
357
        this.rateZone = rateZone;
358
    }
359
 
360
 
361
    /**
362
     * Gets the pricingCode value for this ShipmentLegRateDetail.
363
     * 
364
     * @return pricingCode
365
     */
366
    public com.fedex.ship.stub.PricingCodeType getPricingCode() {
367
        return pricingCode;
368
    }
369
 
370
 
371
    /**
372
     * Sets the pricingCode value for this ShipmentLegRateDetail.
373
     * 
374
     * @param pricingCode
375
     */
376
    public void setPricingCode(com.fedex.ship.stub.PricingCodeType pricingCode) {
377
        this.pricingCode = pricingCode;
378
    }
379
 
380
 
381
    /**
382
     * Gets the ratedWeightMethod value for this ShipmentLegRateDetail.
383
     * 
384
     * @return ratedWeightMethod   * Indicates which weight was used.
385
     */
386
    public com.fedex.ship.stub.RatedWeightMethod getRatedWeightMethod() {
387
        return ratedWeightMethod;
388
    }
389
 
390
 
391
    /**
392
     * Sets the ratedWeightMethod value for this ShipmentLegRateDetail.
393
     * 
394
     * @param ratedWeightMethod   * Indicates which weight was used.
395
     */
396
    public void setRatedWeightMethod(com.fedex.ship.stub.RatedWeightMethod ratedWeightMethod) {
397
        this.ratedWeightMethod = ratedWeightMethod;
398
    }
399
 
400
 
401
    /**
402
     * Gets the minimumChargeType value for this ShipmentLegRateDetail.
403
     * 
404
     * @return minimumChargeType   * INTERNAL FEDEX USE ONLY.
405
     */
406
    public com.fedex.ship.stub.MinimumChargeType getMinimumChargeType() {
407
        return minimumChargeType;
408
    }
409
 
410
 
411
    /**
412
     * Sets the minimumChargeType value for this ShipmentLegRateDetail.
413
     * 
414
     * @param minimumChargeType   * INTERNAL FEDEX USE ONLY.
415
     */
416
    public void setMinimumChargeType(com.fedex.ship.stub.MinimumChargeType minimumChargeType) {
417
        this.minimumChargeType = minimumChargeType;
418
    }
419
 
420
 
421
    /**
422
     * Gets the currencyExchangeRate value for this ShipmentLegRateDetail.
423
     * 
424
     * @return currencyExchangeRate   * Specifies the currency exchange performed on financial amounts
425
     * for this rate.
426
     */
427
    public com.fedex.ship.stub.CurrencyExchangeRate getCurrencyExchangeRate() {
428
        return currencyExchangeRate;
429
    }
430
 
431
 
432
    /**
433
     * Sets the currencyExchangeRate value for this ShipmentLegRateDetail.
434
     * 
435
     * @param currencyExchangeRate   * Specifies the currency exchange performed on financial amounts
436
     * for this rate.
437
     */
438
    public void setCurrencyExchangeRate(com.fedex.ship.stub.CurrencyExchangeRate currencyExchangeRate) {
439
        this.currencyExchangeRate = currencyExchangeRate;
440
    }
441
 
442
 
443
    /**
444
     * Gets the specialRatingApplied value for this ShipmentLegRateDetail.
445
     * 
446
     * @return specialRatingApplied   * Indicates which special rating cases applied to this shipment.
447
     */
448
    public com.fedex.ship.stub.SpecialRatingAppliedType[] getSpecialRatingApplied() {
449
        return specialRatingApplied;
450
    }
451
 
452
 
453
    /**
454
     * Sets the specialRatingApplied value for this ShipmentLegRateDetail.
455
     * 
456
     * @param specialRatingApplied   * Indicates which special rating cases applied to this shipment.
457
     */
458
    public void setSpecialRatingApplied(com.fedex.ship.stub.SpecialRatingAppliedType[] specialRatingApplied) {
459
        this.specialRatingApplied = specialRatingApplied;
460
    }
461
 
462
    public com.fedex.ship.stub.SpecialRatingAppliedType getSpecialRatingApplied(int i) {
463
        return this.specialRatingApplied[i];
464
    }
465
 
466
    public void setSpecialRatingApplied(int i, com.fedex.ship.stub.SpecialRatingAppliedType _value) {
467
        this.specialRatingApplied[i] = _value;
468
    }
469
 
470
 
471
    /**
472
     * Gets the dimDivisor value for this ShipmentLegRateDetail.
473
     * 
474
     * @return dimDivisor
475
     */
476
    public org.apache.axis.types.NonNegativeInteger getDimDivisor() {
477
        return dimDivisor;
478
    }
479
 
480
 
481
    /**
482
     * Sets the dimDivisor value for this ShipmentLegRateDetail.
483
     * 
484
     * @param dimDivisor
485
     */
486
    public void setDimDivisor(org.apache.axis.types.NonNegativeInteger dimDivisor) {
487
        this.dimDivisor = dimDivisor;
488
    }
489
 
490
 
491
    /**
492
     * Gets the dimDivisorType value for this ShipmentLegRateDetail.
493
     * 
494
     * @return dimDivisorType   * Identifies the type of dim divisor that was applied.
495
     */
496
    public com.fedex.ship.stub.RateDimensionalDivisorType getDimDivisorType() {
497
        return dimDivisorType;
498
    }
499
 
500
 
501
    /**
502
     * Sets the dimDivisorType value for this ShipmentLegRateDetail.
503
     * 
504
     * @param dimDivisorType   * Identifies the type of dim divisor that was applied.
505
     */
506
    public void setDimDivisorType(com.fedex.ship.stub.RateDimensionalDivisorType dimDivisorType) {
507
        this.dimDivisorType = dimDivisorType;
508
    }
509
 
510
 
511
    /**
512
     * Gets the fuelSurchargePercent value for this ShipmentLegRateDetail.
513
     * 
514
     * @return fuelSurchargePercent
515
     */
516
    public java.math.BigDecimal getFuelSurchargePercent() {
517
        return fuelSurchargePercent;
518
    }
519
 
520
 
521
    /**
522
     * Sets the fuelSurchargePercent value for this ShipmentLegRateDetail.
523
     * 
524
     * @param fuelSurchargePercent
525
     */
526
    public void setFuelSurchargePercent(java.math.BigDecimal fuelSurchargePercent) {
527
        this.fuelSurchargePercent = fuelSurchargePercent;
528
    }
529
 
530
 
531
    /**
532
     * Gets the totalBillingWeight value for this ShipmentLegRateDetail.
533
     * 
534
     * @return totalBillingWeight
535
     */
536
    public com.fedex.ship.stub.Weight getTotalBillingWeight() {
537
        return totalBillingWeight;
538
    }
539
 
540
 
541
    /**
542
     * Sets the totalBillingWeight value for this ShipmentLegRateDetail.
543
     * 
544
     * @param totalBillingWeight
545
     */
546
    public void setTotalBillingWeight(com.fedex.ship.stub.Weight totalBillingWeight) {
547
        this.totalBillingWeight = totalBillingWeight;
548
    }
549
 
550
 
551
    /**
552
     * Gets the totalDimWeight value for this ShipmentLegRateDetail.
553
     * 
554
     * @return totalDimWeight   * Sum of dimensional weights for all packages.
555
     */
556
    public com.fedex.ship.stub.Weight getTotalDimWeight() {
557
        return totalDimWeight;
558
    }
559
 
560
 
561
    /**
562
     * Sets the totalDimWeight value for this ShipmentLegRateDetail.
563
     * 
564
     * @param totalDimWeight   * Sum of dimensional weights for all packages.
565
     */
566
    public void setTotalDimWeight(com.fedex.ship.stub.Weight totalDimWeight) {
567
        this.totalDimWeight = totalDimWeight;
568
    }
569
 
570
 
571
    /**
572
     * Gets the totalBaseCharge value for this ShipmentLegRateDetail.
573
     * 
574
     * @return totalBaseCharge
575
     */
576
    public com.fedex.ship.stub.Money getTotalBaseCharge() {
577
        return totalBaseCharge;
578
    }
579
 
580
 
581
    /**
582
     * Sets the totalBaseCharge value for this ShipmentLegRateDetail.
583
     * 
584
     * @param totalBaseCharge
585
     */
586
    public void setTotalBaseCharge(com.fedex.ship.stub.Money totalBaseCharge) {
587
        this.totalBaseCharge = totalBaseCharge;
588
    }
589
 
590
 
591
    /**
592
     * Gets the totalFreightDiscounts value for this ShipmentLegRateDetail.
593
     * 
594
     * @return totalFreightDiscounts
595
     */
596
    public com.fedex.ship.stub.Money getTotalFreightDiscounts() {
597
        return totalFreightDiscounts;
598
    }
599
 
600
 
601
    /**
602
     * Sets the totalFreightDiscounts value for this ShipmentLegRateDetail.
603
     * 
604
     * @param totalFreightDiscounts
605
     */
606
    public void setTotalFreightDiscounts(com.fedex.ship.stub.Money totalFreightDiscounts) {
607
        this.totalFreightDiscounts = totalFreightDiscounts;
608
    }
609
 
610
 
611
    /**
612
     * Gets the totalNetFreight value for this ShipmentLegRateDetail.
613
     * 
614
     * @return totalNetFreight
615
     */
616
    public com.fedex.ship.stub.Money getTotalNetFreight() {
617
        return totalNetFreight;
618
    }
619
 
620
 
621
    /**
622
     * Sets the totalNetFreight value for this ShipmentLegRateDetail.
623
     * 
624
     * @param totalNetFreight
625
     */
626
    public void setTotalNetFreight(com.fedex.ship.stub.Money totalNetFreight) {
627
        this.totalNetFreight = totalNetFreight;
628
    }
629
 
630
 
631
    /**
632
     * Gets the totalSurcharges value for this ShipmentLegRateDetail.
633
     * 
634
     * @return totalSurcharges
635
     */
636
    public com.fedex.ship.stub.Money getTotalSurcharges() {
637
        return totalSurcharges;
638
    }
639
 
640
 
641
    /**
642
     * Sets the totalSurcharges value for this ShipmentLegRateDetail.
643
     * 
644
     * @param totalSurcharges
645
     */
646
    public void setTotalSurcharges(com.fedex.ship.stub.Money totalSurcharges) {
647
        this.totalSurcharges = totalSurcharges;
648
    }
649
 
650
 
651
    /**
652
     * Gets the totalNetFedExCharge value for this ShipmentLegRateDetail.
653
     * 
654
     * @return totalNetFedExCharge   * This shipment's totalNetFreight + totalSurcharges (not including
655
     * totalTaxes).
656
     */
657
    public com.fedex.ship.stub.Money getTotalNetFedExCharge() {
658
        return totalNetFedExCharge;
659
    }
660
 
661
 
662
    /**
663
     * Sets the totalNetFedExCharge value for this ShipmentLegRateDetail.
664
     * 
665
     * @param totalNetFedExCharge   * This shipment's totalNetFreight + totalSurcharges (not including
666
     * totalTaxes).
667
     */
668
    public void setTotalNetFedExCharge(com.fedex.ship.stub.Money totalNetFedExCharge) {
669
        this.totalNetFedExCharge = totalNetFedExCharge;
670
    }
671
 
672
 
673
    /**
674
     * Gets the totalTaxes value for this ShipmentLegRateDetail.
675
     * 
676
     * @return totalTaxes   * Total of the transportation-based taxes.
677
     */
678
    public com.fedex.ship.stub.Money getTotalTaxes() {
679
        return totalTaxes;
680
    }
681
 
682
 
683
    /**
684
     * Sets the totalTaxes value for this ShipmentLegRateDetail.
685
     * 
686
     * @param totalTaxes   * Total of the transportation-based taxes.
687
     */
688
    public void setTotalTaxes(com.fedex.ship.stub.Money totalTaxes) {
689
        this.totalTaxes = totalTaxes;
690
    }
691
 
692
 
693
    /**
694
     * Gets the totalNetCharge value for this ShipmentLegRateDetail.
695
     * 
696
     * @return totalNetCharge
697
     */
698
    public com.fedex.ship.stub.Money getTotalNetCharge() {
699
        return totalNetCharge;
700
    }
701
 
702
 
703
    /**
704
     * Sets the totalNetCharge value for this ShipmentLegRateDetail.
705
     * 
706
     * @param totalNetCharge
707
     */
708
    public void setTotalNetCharge(com.fedex.ship.stub.Money totalNetCharge) {
709
        this.totalNetCharge = totalNetCharge;
710
    }
711
 
712
 
713
    /**
714
     * Gets the totalRebates value for this ShipmentLegRateDetail.
715
     * 
716
     * @return totalRebates
717
     */
718
    public com.fedex.ship.stub.Money getTotalRebates() {
719
        return totalRebates;
720
    }
721
 
722
 
723
    /**
724
     * Sets the totalRebates value for this ShipmentLegRateDetail.
725
     * 
726
     * @param totalRebates
727
     */
728
    public void setTotalRebates(com.fedex.ship.stub.Money totalRebates) {
729
        this.totalRebates = totalRebates;
730
    }
731
 
732
 
733
    /**
734
     * Gets the totalDutiesAndTaxes value for this ShipmentLegRateDetail.
735
     * 
736
     * @return totalDutiesAndTaxes   * Total of all values under this shipment's dutiesAndTaxes; only
737
     * provided if estimated duties and taxes were calculated for this shipment.
738
     */
739
    public com.fedex.ship.stub.Money getTotalDutiesAndTaxes() {
740
        return totalDutiesAndTaxes;
741
    }
742
 
743
 
744
    /**
745
     * Sets the totalDutiesAndTaxes value for this ShipmentLegRateDetail.
746
     * 
747
     * @param totalDutiesAndTaxes   * Total of all values under this shipment's dutiesAndTaxes; only
748
     * provided if estimated duties and taxes were calculated for this shipment.
749
     */
750
    public void setTotalDutiesAndTaxes(com.fedex.ship.stub.Money totalDutiesAndTaxes) {
751
        this.totalDutiesAndTaxes = totalDutiesAndTaxes;
752
    }
753
 
754
 
755
    /**
756
     * Gets the totalNetChargeWithDutiesAndTaxes value for this ShipmentLegRateDetail.
757
     * 
758
     * @return totalNetChargeWithDutiesAndTaxes   * This shipment's totalNetCharge + totalDutiesAndTaxes; only
759
     * provided if estimated duties and taxes were calculated for this shipment
760
     * AND duties, taxes and transportation charges are all paid by the same
761
     * sender's account.
762
     */
763
    public com.fedex.ship.stub.Money getTotalNetChargeWithDutiesAndTaxes() {
764
        return totalNetChargeWithDutiesAndTaxes;
765
    }
766
 
767
 
768
    /**
769
     * Sets the totalNetChargeWithDutiesAndTaxes value for this ShipmentLegRateDetail.
770
     * 
771
     * @param totalNetChargeWithDutiesAndTaxes   * This shipment's totalNetCharge + totalDutiesAndTaxes; only
772
     * provided if estimated duties and taxes were calculated for this shipment
773
     * AND duties, taxes and transportation charges are all paid by the same
774
     * sender's account.
775
     */
776
    public void setTotalNetChargeWithDutiesAndTaxes(com.fedex.ship.stub.Money totalNetChargeWithDutiesAndTaxes) {
777
        this.totalNetChargeWithDutiesAndTaxes = totalNetChargeWithDutiesAndTaxes;
778
    }
779
 
780
 
781
    /**
782
     * Gets the freightRateDetail value for this ShipmentLegRateDetail.
783
     * 
784
     * @return freightRateDetail   * Rate data specific to FedEx Freight and FedEx National Freight
785
     * services.
786
     */
787
    public com.fedex.ship.stub.FreightRateDetail getFreightRateDetail() {
788
        return freightRateDetail;
789
    }
790
 
791
 
792
    /**
793
     * Sets the freightRateDetail value for this ShipmentLegRateDetail.
794
     * 
795
     * @param freightRateDetail   * Rate data specific to FedEx Freight and FedEx National Freight
796
     * services.
797
     */
798
    public void setFreightRateDetail(com.fedex.ship.stub.FreightRateDetail freightRateDetail) {
799
        this.freightRateDetail = freightRateDetail;
800
    }
801
 
802
 
803
    /**
804
     * Gets the freightDiscounts value for this ShipmentLegRateDetail.
805
     * 
806
     * @return freightDiscounts   * All rate discounts that apply to this shipment.
807
     */
808
    public com.fedex.ship.stub.RateDiscount[] getFreightDiscounts() {
809
        return freightDiscounts;
810
    }
811
 
812
 
813
    /**
814
     * Sets the freightDiscounts value for this ShipmentLegRateDetail.
815
     * 
816
     * @param freightDiscounts   * All rate discounts that apply to this shipment.
817
     */
818
    public void setFreightDiscounts(com.fedex.ship.stub.RateDiscount[] freightDiscounts) {
819
        this.freightDiscounts = freightDiscounts;
820
    }
821
 
822
    public com.fedex.ship.stub.RateDiscount getFreightDiscounts(int i) {
823
        return this.freightDiscounts[i];
824
    }
825
 
826
    public void setFreightDiscounts(int i, com.fedex.ship.stub.RateDiscount _value) {
827
        this.freightDiscounts[i] = _value;
828
    }
829
 
830
 
831
    /**
832
     * Gets the rebates value for this ShipmentLegRateDetail.
833
     * 
834
     * @return rebates   * All rebates that apply to this shipment.
835
     */
836
    public com.fedex.ship.stub.Rebate[] getRebates() {
837
        return rebates;
838
    }
839
 
840
 
841
    /**
842
     * Sets the rebates value for this ShipmentLegRateDetail.
843
     * 
844
     * @param rebates   * All rebates that apply to this shipment.
845
     */
846
    public void setRebates(com.fedex.ship.stub.Rebate[] rebates) {
847
        this.rebates = rebates;
848
    }
849
 
850
    public com.fedex.ship.stub.Rebate getRebates(int i) {
851
        return this.rebates[i];
852
    }
853
 
854
    public void setRebates(int i, com.fedex.ship.stub.Rebate _value) {
855
        this.rebates[i] = _value;
856
    }
857
 
858
 
859
    /**
860
     * Gets the surcharges value for this ShipmentLegRateDetail.
861
     * 
862
     * @return surcharges   * All surcharges that apply to this shipment.
863
     */
864
    public com.fedex.ship.stub.Surcharge[] getSurcharges() {
865
        return surcharges;
866
    }
867
 
868
 
869
    /**
870
     * Sets the surcharges value for this ShipmentLegRateDetail.
871
     * 
872
     * @param surcharges   * All surcharges that apply to this shipment.
873
     */
874
    public void setSurcharges(com.fedex.ship.stub.Surcharge[] surcharges) {
875
        this.surcharges = surcharges;
876
    }
877
 
878
    public com.fedex.ship.stub.Surcharge getSurcharges(int i) {
879
        return this.surcharges[i];
880
    }
881
 
882
    public void setSurcharges(int i, com.fedex.ship.stub.Surcharge _value) {
883
        this.surcharges[i] = _value;
884
    }
885
 
886
 
887
    /**
888
     * Gets the taxes value for this ShipmentLegRateDetail.
889
     * 
890
     * @return taxes   * All transportation-based taxes applicable to this shipment.
891
     */
892
    public com.fedex.ship.stub.Tax[] getTaxes() {
893
        return taxes;
894
    }
895
 
896
 
897
    /**
898
     * Sets the taxes value for this ShipmentLegRateDetail.
899
     * 
900
     * @param taxes   * All transportation-based taxes applicable to this shipment.
901
     */
902
    public void setTaxes(com.fedex.ship.stub.Tax[] taxes) {
903
        this.taxes = taxes;
904
    }
905
 
906
    public com.fedex.ship.stub.Tax getTaxes(int i) {
907
        return this.taxes[i];
908
    }
909
 
910
    public void setTaxes(int i, com.fedex.ship.stub.Tax _value) {
911
        this.taxes[i] = _value;
912
    }
913
 
914
 
915
    /**
916
     * Gets the dutiesAndTaxes value for this ShipmentLegRateDetail.
917
     * 
918
     * @return dutiesAndTaxes   * All commodity-based duties and taxes applicable to this shipment.
919
     */
920
    public com.fedex.ship.stub.EdtCommodityTax[] getDutiesAndTaxes() {
921
        return dutiesAndTaxes;
922
    }
923
 
924
 
925
    /**
926
     * Sets the dutiesAndTaxes value for this ShipmentLegRateDetail.
927
     * 
928
     * @param dutiesAndTaxes   * All commodity-based duties and taxes applicable to this shipment.
929
     */
930
    public void setDutiesAndTaxes(com.fedex.ship.stub.EdtCommodityTax[] dutiesAndTaxes) {
931
        this.dutiesAndTaxes = dutiesAndTaxes;
932
    }
933
 
934
    public com.fedex.ship.stub.EdtCommodityTax getDutiesAndTaxes(int i) {
935
        return this.dutiesAndTaxes[i];
936
    }
937
 
938
    public void setDutiesAndTaxes(int i, com.fedex.ship.stub.EdtCommodityTax _value) {
939
        this.dutiesAndTaxes[i] = _value;
940
    }
941
 
942
 
943
    /**
944
     * Gets the variableHandlingCharges value for this ShipmentLegRateDetail.
945
     * 
946
     * @return variableHandlingCharges   * The "order level" variable handling charges.
947
     */
948
    public com.fedex.ship.stub.VariableHandlingCharges getVariableHandlingCharges() {
949
        return variableHandlingCharges;
950
    }
951
 
952
 
953
    /**
954
     * Sets the variableHandlingCharges value for this ShipmentLegRateDetail.
955
     * 
956
     * @param variableHandlingCharges   * The "order level" variable handling charges.
957
     */
958
    public void setVariableHandlingCharges(com.fedex.ship.stub.VariableHandlingCharges variableHandlingCharges) {
959
        this.variableHandlingCharges = variableHandlingCharges;
960
    }
961
 
962
 
963
    /**
964
     * Gets the totalVariableHandlingCharges value for this ShipmentLegRateDetail.
965
     * 
966
     * @return totalVariableHandlingCharges   * The total of all variable handling charges at both shipment
967
     * (order) and package level.
968
     */
969
    public com.fedex.ship.stub.VariableHandlingCharges getTotalVariableHandlingCharges() {
970
        return totalVariableHandlingCharges;
971
    }
972
 
973
 
974
    /**
975
     * Sets the totalVariableHandlingCharges value for this ShipmentLegRateDetail.
976
     * 
977
     * @param totalVariableHandlingCharges   * The total of all variable handling charges at both shipment
978
     * (order) and package level.
979
     */
980
    public void setTotalVariableHandlingCharges(com.fedex.ship.stub.VariableHandlingCharges totalVariableHandlingCharges) {
981
        this.totalVariableHandlingCharges = totalVariableHandlingCharges;
982
    }
983
 
984
    private java.lang.Object __equalsCalc = null;
985
    public synchronized boolean equals(java.lang.Object obj) {
986
        if (!(obj instanceof ShipmentLegRateDetail)) return false;
987
        ShipmentLegRateDetail other = (ShipmentLegRateDetail) obj;
988
        if (obj == null) return false;
989
        if (this == obj) return true;
990
        if (__equalsCalc != null) {
991
            return (__equalsCalc == obj);
992
        }
993
        __equalsCalc = obj;
994
        boolean _equals;
995
        _equals = true && 
996
            ((this.legDescription==null && other.getLegDescription()==null) || 
997
             (this.legDescription!=null &&
998
              this.legDescription.equals(other.getLegDescription()))) &&
999
            ((this.legOrigin==null && other.getLegOrigin()==null) || 
1000
             (this.legOrigin!=null &&
1001
              this.legOrigin.equals(other.getLegOrigin()))) &&
1002
            ((this.legOriginLocationId==null && other.getLegOriginLocationId()==null) || 
1003
             (this.legOriginLocationId!=null &&
1004
              this.legOriginLocationId.equals(other.getLegOriginLocationId()))) &&
1005
            ((this.legDestination==null && other.getLegDestination()==null) || 
1006
             (this.legDestination!=null &&
1007
              this.legDestination.equals(other.getLegDestination()))) &&
1008
            ((this.legDestinationLocationId==null && other.getLegDestinationLocationId()==null) || 
1009
             (this.legDestinationLocationId!=null &&
1010
              this.legDestinationLocationId.equals(other.getLegDestinationLocationId()))) &&
1011
            ((this.rateType==null && other.getRateType()==null) || 
1012
             (this.rateType!=null &&
1013
              this.rateType.equals(other.getRateType()))) &&
1014
            ((this.rateScale==null && other.getRateScale()==null) || 
1015
             (this.rateScale!=null &&
1016
              this.rateScale.equals(other.getRateScale()))) &&
1017
            ((this.rateZone==null && other.getRateZone()==null) || 
1018
             (this.rateZone!=null &&
1019
              this.rateZone.equals(other.getRateZone()))) &&
1020
            ((this.pricingCode==null && other.getPricingCode()==null) || 
1021
             (this.pricingCode!=null &&
1022
              this.pricingCode.equals(other.getPricingCode()))) &&
1023
            ((this.ratedWeightMethod==null && other.getRatedWeightMethod()==null) || 
1024
             (this.ratedWeightMethod!=null &&
1025
              this.ratedWeightMethod.equals(other.getRatedWeightMethod()))) &&
1026
            ((this.minimumChargeType==null && other.getMinimumChargeType()==null) || 
1027
             (this.minimumChargeType!=null &&
1028
              this.minimumChargeType.equals(other.getMinimumChargeType()))) &&
1029
            ((this.currencyExchangeRate==null && other.getCurrencyExchangeRate()==null) || 
1030
             (this.currencyExchangeRate!=null &&
1031
              this.currencyExchangeRate.equals(other.getCurrencyExchangeRate()))) &&
1032
            ((this.specialRatingApplied==null && other.getSpecialRatingApplied()==null) || 
1033
             (this.specialRatingApplied!=null &&
1034
              java.util.Arrays.equals(this.specialRatingApplied, other.getSpecialRatingApplied()))) &&
1035
            ((this.dimDivisor==null && other.getDimDivisor()==null) || 
1036
             (this.dimDivisor!=null &&
1037
              this.dimDivisor.equals(other.getDimDivisor()))) &&
1038
            ((this.dimDivisorType==null && other.getDimDivisorType()==null) || 
1039
             (this.dimDivisorType!=null &&
1040
              this.dimDivisorType.equals(other.getDimDivisorType()))) &&
1041
            ((this.fuelSurchargePercent==null && other.getFuelSurchargePercent()==null) || 
1042
             (this.fuelSurchargePercent!=null &&
1043
              this.fuelSurchargePercent.equals(other.getFuelSurchargePercent()))) &&
1044
            ((this.totalBillingWeight==null && other.getTotalBillingWeight()==null) || 
1045
             (this.totalBillingWeight!=null &&
1046
              this.totalBillingWeight.equals(other.getTotalBillingWeight()))) &&
1047
            ((this.totalDimWeight==null && other.getTotalDimWeight()==null) || 
1048
             (this.totalDimWeight!=null &&
1049
              this.totalDimWeight.equals(other.getTotalDimWeight()))) &&
1050
            ((this.totalBaseCharge==null && other.getTotalBaseCharge()==null) || 
1051
             (this.totalBaseCharge!=null &&
1052
              this.totalBaseCharge.equals(other.getTotalBaseCharge()))) &&
1053
            ((this.totalFreightDiscounts==null && other.getTotalFreightDiscounts()==null) || 
1054
             (this.totalFreightDiscounts!=null &&
1055
              this.totalFreightDiscounts.equals(other.getTotalFreightDiscounts()))) &&
1056
            ((this.totalNetFreight==null && other.getTotalNetFreight()==null) || 
1057
             (this.totalNetFreight!=null &&
1058
              this.totalNetFreight.equals(other.getTotalNetFreight()))) &&
1059
            ((this.totalSurcharges==null && other.getTotalSurcharges()==null) || 
1060
             (this.totalSurcharges!=null &&
1061
              this.totalSurcharges.equals(other.getTotalSurcharges()))) &&
1062
            ((this.totalNetFedExCharge==null && other.getTotalNetFedExCharge()==null) || 
1063
             (this.totalNetFedExCharge!=null &&
1064
              this.totalNetFedExCharge.equals(other.getTotalNetFedExCharge()))) &&
1065
            ((this.totalTaxes==null && other.getTotalTaxes()==null) || 
1066
             (this.totalTaxes!=null &&
1067
              this.totalTaxes.equals(other.getTotalTaxes()))) &&
1068
            ((this.totalNetCharge==null && other.getTotalNetCharge()==null) || 
1069
             (this.totalNetCharge!=null &&
1070
              this.totalNetCharge.equals(other.getTotalNetCharge()))) &&
1071
            ((this.totalRebates==null && other.getTotalRebates()==null) || 
1072
             (this.totalRebates!=null &&
1073
              this.totalRebates.equals(other.getTotalRebates()))) &&
1074
            ((this.totalDutiesAndTaxes==null && other.getTotalDutiesAndTaxes()==null) || 
1075
             (this.totalDutiesAndTaxes!=null &&
1076
              this.totalDutiesAndTaxes.equals(other.getTotalDutiesAndTaxes()))) &&
1077
            ((this.totalNetChargeWithDutiesAndTaxes==null && other.getTotalNetChargeWithDutiesAndTaxes()==null) || 
1078
             (this.totalNetChargeWithDutiesAndTaxes!=null &&
1079
              this.totalNetChargeWithDutiesAndTaxes.equals(other.getTotalNetChargeWithDutiesAndTaxes()))) &&
1080
            ((this.freightRateDetail==null && other.getFreightRateDetail()==null) || 
1081
             (this.freightRateDetail!=null &&
1082
              this.freightRateDetail.equals(other.getFreightRateDetail()))) &&
1083
            ((this.freightDiscounts==null && other.getFreightDiscounts()==null) || 
1084
             (this.freightDiscounts!=null &&
1085
              java.util.Arrays.equals(this.freightDiscounts, other.getFreightDiscounts()))) &&
1086
            ((this.rebates==null && other.getRebates()==null) || 
1087
             (this.rebates!=null &&
1088
              java.util.Arrays.equals(this.rebates, other.getRebates()))) &&
1089
            ((this.surcharges==null && other.getSurcharges()==null) || 
1090
             (this.surcharges!=null &&
1091
              java.util.Arrays.equals(this.surcharges, other.getSurcharges()))) &&
1092
            ((this.taxes==null && other.getTaxes()==null) || 
1093
             (this.taxes!=null &&
1094
              java.util.Arrays.equals(this.taxes, other.getTaxes()))) &&
1095
            ((this.dutiesAndTaxes==null && other.getDutiesAndTaxes()==null) || 
1096
             (this.dutiesAndTaxes!=null &&
1097
              java.util.Arrays.equals(this.dutiesAndTaxes, other.getDutiesAndTaxes()))) &&
1098
            ((this.variableHandlingCharges==null && other.getVariableHandlingCharges()==null) || 
1099
             (this.variableHandlingCharges!=null &&
1100
              this.variableHandlingCharges.equals(other.getVariableHandlingCharges()))) &&
1101
            ((this.totalVariableHandlingCharges==null && other.getTotalVariableHandlingCharges()==null) || 
1102
             (this.totalVariableHandlingCharges!=null &&
1103
              this.totalVariableHandlingCharges.equals(other.getTotalVariableHandlingCharges())));
1104
        __equalsCalc = null;
1105
        return _equals;
1106
    }
1107
 
1108
    private boolean __hashCodeCalc = false;
1109
    public synchronized int hashCode() {
1110
        if (__hashCodeCalc) {
1111
            return 0;
1112
        }
1113
        __hashCodeCalc = true;
1114
        int _hashCode = 1;
1115
        if (getLegDescription() != null) {
1116
            _hashCode += getLegDescription().hashCode();
1117
        }
1118
        if (getLegOrigin() != null) {
1119
            _hashCode += getLegOrigin().hashCode();
1120
        }
1121
        if (getLegOriginLocationId() != null) {
1122
            _hashCode += getLegOriginLocationId().hashCode();
1123
        }
1124
        if (getLegDestination() != null) {
1125
            _hashCode += getLegDestination().hashCode();
1126
        }
1127
        if (getLegDestinationLocationId() != null) {
1128
            _hashCode += getLegDestinationLocationId().hashCode();
1129
        }
1130
        if (getRateType() != null) {
1131
            _hashCode += getRateType().hashCode();
1132
        }
1133
        if (getRateScale() != null) {
1134
            _hashCode += getRateScale().hashCode();
1135
        }
1136
        if (getRateZone() != null) {
1137
            _hashCode += getRateZone().hashCode();
1138
        }
1139
        if (getPricingCode() != null) {
1140
            _hashCode += getPricingCode().hashCode();
1141
        }
1142
        if (getRatedWeightMethod() != null) {
1143
            _hashCode += getRatedWeightMethod().hashCode();
1144
        }
1145
        if (getMinimumChargeType() != null) {
1146
            _hashCode += getMinimumChargeType().hashCode();
1147
        }
1148
        if (getCurrencyExchangeRate() != null) {
1149
            _hashCode += getCurrencyExchangeRate().hashCode();
1150
        }
1151
        if (getSpecialRatingApplied() != null) {
1152
            for (int i=0;
1153
                 i<java.lang.reflect.Array.getLength(getSpecialRatingApplied());
1154
                 i++) {
1155
                java.lang.Object obj = java.lang.reflect.Array.get(getSpecialRatingApplied(), i);
1156
                if (obj != null &&
1157
                    !obj.getClass().isArray()) {
1158
                    _hashCode += obj.hashCode();
1159
                }
1160
            }
1161
        }
1162
        if (getDimDivisor() != null) {
1163
            _hashCode += getDimDivisor().hashCode();
1164
        }
1165
        if (getDimDivisorType() != null) {
1166
            _hashCode += getDimDivisorType().hashCode();
1167
        }
1168
        if (getFuelSurchargePercent() != null) {
1169
            _hashCode += getFuelSurchargePercent().hashCode();
1170
        }
1171
        if (getTotalBillingWeight() != null) {
1172
            _hashCode += getTotalBillingWeight().hashCode();
1173
        }
1174
        if (getTotalDimWeight() != null) {
1175
            _hashCode += getTotalDimWeight().hashCode();
1176
        }
1177
        if (getTotalBaseCharge() != null) {
1178
            _hashCode += getTotalBaseCharge().hashCode();
1179
        }
1180
        if (getTotalFreightDiscounts() != null) {
1181
            _hashCode += getTotalFreightDiscounts().hashCode();
1182
        }
1183
        if (getTotalNetFreight() != null) {
1184
            _hashCode += getTotalNetFreight().hashCode();
1185
        }
1186
        if (getTotalSurcharges() != null) {
1187
            _hashCode += getTotalSurcharges().hashCode();
1188
        }
1189
        if (getTotalNetFedExCharge() != null) {
1190
            _hashCode += getTotalNetFedExCharge().hashCode();
1191
        }
1192
        if (getTotalTaxes() != null) {
1193
            _hashCode += getTotalTaxes().hashCode();
1194
        }
1195
        if (getTotalNetCharge() != null) {
1196
            _hashCode += getTotalNetCharge().hashCode();
1197
        }
1198
        if (getTotalRebates() != null) {
1199
            _hashCode += getTotalRebates().hashCode();
1200
        }
1201
        if (getTotalDutiesAndTaxes() != null) {
1202
            _hashCode += getTotalDutiesAndTaxes().hashCode();
1203
        }
1204
        if (getTotalNetChargeWithDutiesAndTaxes() != null) {
1205
            _hashCode += getTotalNetChargeWithDutiesAndTaxes().hashCode();
1206
        }
1207
        if (getFreightRateDetail() != null) {
1208
            _hashCode += getFreightRateDetail().hashCode();
1209
        }
1210
        if (getFreightDiscounts() != null) {
1211
            for (int i=0;
1212
                 i<java.lang.reflect.Array.getLength(getFreightDiscounts());
1213
                 i++) {
1214
                java.lang.Object obj = java.lang.reflect.Array.get(getFreightDiscounts(), i);
1215
                if (obj != null &&
1216
                    !obj.getClass().isArray()) {
1217
                    _hashCode += obj.hashCode();
1218
                }
1219
            }
1220
        }
1221
        if (getRebates() != null) {
1222
            for (int i=0;
1223
                 i<java.lang.reflect.Array.getLength(getRebates());
1224
                 i++) {
1225
                java.lang.Object obj = java.lang.reflect.Array.get(getRebates(), i);
1226
                if (obj != null &&
1227
                    !obj.getClass().isArray()) {
1228
                    _hashCode += obj.hashCode();
1229
                }
1230
            }
1231
        }
1232
        if (getSurcharges() != null) {
1233
            for (int i=0;
1234
                 i<java.lang.reflect.Array.getLength(getSurcharges());
1235
                 i++) {
1236
                java.lang.Object obj = java.lang.reflect.Array.get(getSurcharges(), i);
1237
                if (obj != null &&
1238
                    !obj.getClass().isArray()) {
1239
                    _hashCode += obj.hashCode();
1240
                }
1241
            }
1242
        }
1243
        if (getTaxes() != null) {
1244
            for (int i=0;
1245
                 i<java.lang.reflect.Array.getLength(getTaxes());
1246
                 i++) {
1247
                java.lang.Object obj = java.lang.reflect.Array.get(getTaxes(), i);
1248
                if (obj != null &&
1249
                    !obj.getClass().isArray()) {
1250
                    _hashCode += obj.hashCode();
1251
                }
1252
            }
1253
        }
1254
        if (getDutiesAndTaxes() != null) {
1255
            for (int i=0;
1256
                 i<java.lang.reflect.Array.getLength(getDutiesAndTaxes());
1257
                 i++) {
1258
                java.lang.Object obj = java.lang.reflect.Array.get(getDutiesAndTaxes(), i);
1259
                if (obj != null &&
1260
                    !obj.getClass().isArray()) {
1261
                    _hashCode += obj.hashCode();
1262
                }
1263
            }
1264
        }
1265
        if (getVariableHandlingCharges() != null) {
1266
            _hashCode += getVariableHandlingCharges().hashCode();
1267
        }
1268
        if (getTotalVariableHandlingCharges() != null) {
1269
            _hashCode += getTotalVariableHandlingCharges().hashCode();
1270
        }
1271
        __hashCodeCalc = false;
1272
        return _hashCode;
1273
    }
1274
 
1275
    // Type metadata
1276
    private static org.apache.axis.description.TypeDesc typeDesc =
1277
        new org.apache.axis.description.TypeDesc(ShipmentLegRateDetail.class, true);
1278
 
1279
    static {
1280
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShipmentLegRateDetail"));
1281
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
1282
        elemField.setFieldName("legDescription");
1283
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "LegDescription"));
1284
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
1285
        elemField.setMinOccurs(0);
1286
        elemField.setNillable(false);
1287
        typeDesc.addFieldDesc(elemField);
1288
        elemField = new org.apache.axis.description.ElementDesc();
1289
        elemField.setFieldName("legOrigin");
1290
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "LegOrigin"));
1291
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Address"));
1292
        elemField.setMinOccurs(0);
1293
        elemField.setNillable(false);
1294
        typeDesc.addFieldDesc(elemField);
1295
        elemField = new org.apache.axis.description.ElementDesc();
1296
        elemField.setFieldName("legOriginLocationId");
1297
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "LegOriginLocationId"));
1298
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
1299
        elemField.setMinOccurs(0);
1300
        elemField.setNillable(false);
1301
        typeDesc.addFieldDesc(elemField);
1302
        elemField = new org.apache.axis.description.ElementDesc();
1303
        elemField.setFieldName("legDestination");
1304
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "LegDestination"));
1305
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Address"));
1306
        elemField.setMinOccurs(0);
1307
        elemField.setNillable(false);
1308
        typeDesc.addFieldDesc(elemField);
1309
        elemField = new org.apache.axis.description.ElementDesc();
1310
        elemField.setFieldName("legDestinationLocationId");
1311
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "LegDestinationLocationId"));
1312
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
1313
        elemField.setMinOccurs(0);
1314
        elemField.setNillable(false);
1315
        typeDesc.addFieldDesc(elemField);
1316
        elemField = new org.apache.axis.description.ElementDesc();
1317
        elemField.setFieldName("rateType");
1318
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RateType"));
1319
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ReturnedRateType"));
1320
        elemField.setMinOccurs(0);
1321
        elemField.setNillable(false);
1322
        typeDesc.addFieldDesc(elemField);
1323
        elemField = new org.apache.axis.description.ElementDesc();
1324
        elemField.setFieldName("rateScale");
1325
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RateScale"));
1326
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
1327
        elemField.setMinOccurs(0);
1328
        elemField.setNillable(false);
1329
        typeDesc.addFieldDesc(elemField);
1330
        elemField = new org.apache.axis.description.ElementDesc();
1331
        elemField.setFieldName("rateZone");
1332
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RateZone"));
1333
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
1334
        elemField.setMinOccurs(0);
1335
        elemField.setNillable(false);
1336
        typeDesc.addFieldDesc(elemField);
1337
        elemField = new org.apache.axis.description.ElementDesc();
1338
        elemField.setFieldName("pricingCode");
1339
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PricingCode"));
1340
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PricingCodeType"));
1341
        elemField.setMinOccurs(0);
1342
        elemField.setNillable(false);
1343
        typeDesc.addFieldDesc(elemField);
1344
        elemField = new org.apache.axis.description.ElementDesc();
1345
        elemField.setFieldName("ratedWeightMethod");
1346
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RatedWeightMethod"));
1347
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RatedWeightMethod"));
1348
        elemField.setMinOccurs(0);
1349
        elemField.setNillable(false);
1350
        typeDesc.addFieldDesc(elemField);
1351
        elemField = new org.apache.axis.description.ElementDesc();
1352
        elemField.setFieldName("minimumChargeType");
1353
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "MinimumChargeType"));
1354
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "MinimumChargeType"));
1355
        elemField.setMinOccurs(0);
1356
        elemField.setNillable(false);
1357
        typeDesc.addFieldDesc(elemField);
1358
        elemField = new org.apache.axis.description.ElementDesc();
1359
        elemField.setFieldName("currencyExchangeRate");
1360
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CurrencyExchangeRate"));
1361
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CurrencyExchangeRate"));
1362
        elemField.setMinOccurs(0);
1363
        elemField.setNillable(false);
1364
        typeDesc.addFieldDesc(elemField);
1365
        elemField = new org.apache.axis.description.ElementDesc();
1366
        elemField.setFieldName("specialRatingApplied");
1367
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SpecialRatingApplied"));
1368
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SpecialRatingAppliedType"));
1369
        elemField.setMinOccurs(0);
1370
        elemField.setNillable(false);
1371
        elemField.setMaxOccursUnbounded(true);
1372
        typeDesc.addFieldDesc(elemField);
1373
        elemField = new org.apache.axis.description.ElementDesc();
1374
        elemField.setFieldName("dimDivisor");
1375
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DimDivisor"));
1376
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"));
1377
        elemField.setMinOccurs(0);
1378
        elemField.setNillable(false);
1379
        typeDesc.addFieldDesc(elemField);
1380
        elemField = new org.apache.axis.description.ElementDesc();
1381
        elemField.setFieldName("dimDivisorType");
1382
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DimDivisorType"));
1383
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RateDimensionalDivisorType"));
1384
        elemField.setMinOccurs(0);
1385
        elemField.setNillable(false);
1386
        typeDesc.addFieldDesc(elemField);
1387
        elemField = new org.apache.axis.description.ElementDesc();
1388
        elemField.setFieldName("fuelSurchargePercent");
1389
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FuelSurchargePercent"));
1390
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
1391
        elemField.setMinOccurs(0);
1392
        elemField.setNillable(false);
1393
        typeDesc.addFieldDesc(elemField);
1394
        elemField = new org.apache.axis.description.ElementDesc();
1395
        elemField.setFieldName("totalBillingWeight");
1396
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalBillingWeight"));
1397
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Weight"));
1398
        elemField.setMinOccurs(0);
1399
        elemField.setNillable(false);
1400
        typeDesc.addFieldDesc(elemField);
1401
        elemField = new org.apache.axis.description.ElementDesc();
1402
        elemField.setFieldName("totalDimWeight");
1403
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalDimWeight"));
1404
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Weight"));
1405
        elemField.setMinOccurs(0);
1406
        elemField.setNillable(false);
1407
        typeDesc.addFieldDesc(elemField);
1408
        elemField = new org.apache.axis.description.ElementDesc();
1409
        elemField.setFieldName("totalBaseCharge");
1410
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalBaseCharge"));
1411
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));
1412
        elemField.setMinOccurs(0);
1413
        elemField.setNillable(false);
1414
        typeDesc.addFieldDesc(elemField);
1415
        elemField = new org.apache.axis.description.ElementDesc();
1416
        elemField.setFieldName("totalFreightDiscounts");
1417
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalFreightDiscounts"));
1418
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));
1419
        elemField.setMinOccurs(0);
1420
        elemField.setNillable(false);
1421
        typeDesc.addFieldDesc(elemField);
1422
        elemField = new org.apache.axis.description.ElementDesc();
1423
        elemField.setFieldName("totalNetFreight");
1424
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalNetFreight"));
1425
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));
1426
        elemField.setMinOccurs(0);
1427
        elemField.setNillable(false);
1428
        typeDesc.addFieldDesc(elemField);
1429
        elemField = new org.apache.axis.description.ElementDesc();
1430
        elemField.setFieldName("totalSurcharges");
1431
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalSurcharges"));
1432
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));
1433
        elemField.setMinOccurs(0);
1434
        elemField.setNillable(false);
1435
        typeDesc.addFieldDesc(elemField);
1436
        elemField = new org.apache.axis.description.ElementDesc();
1437
        elemField.setFieldName("totalNetFedExCharge");
1438
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalNetFedExCharge"));
1439
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));
1440
        elemField.setMinOccurs(0);
1441
        elemField.setNillable(false);
1442
        typeDesc.addFieldDesc(elemField);
1443
        elemField = new org.apache.axis.description.ElementDesc();
1444
        elemField.setFieldName("totalTaxes");
1445
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalTaxes"));
1446
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));
1447
        elemField.setMinOccurs(0);
1448
        elemField.setNillable(false);
1449
        typeDesc.addFieldDesc(elemField);
1450
        elemField = new org.apache.axis.description.ElementDesc();
1451
        elemField.setFieldName("totalNetCharge");
1452
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalNetCharge"));
1453
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));
1454
        elemField.setMinOccurs(0);
1455
        elemField.setNillable(false);
1456
        typeDesc.addFieldDesc(elemField);
1457
        elemField = new org.apache.axis.description.ElementDesc();
1458
        elemField.setFieldName("totalRebates");
1459
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalRebates"));
1460
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));
1461
        elemField.setMinOccurs(0);
1462
        elemField.setNillable(false);
1463
        typeDesc.addFieldDesc(elemField);
1464
        elemField = new org.apache.axis.description.ElementDesc();
1465
        elemField.setFieldName("totalDutiesAndTaxes");
1466
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalDutiesAndTaxes"));
1467
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));
1468
        elemField.setMinOccurs(0);
1469
        elemField.setNillable(false);
1470
        typeDesc.addFieldDesc(elemField);
1471
        elemField = new org.apache.axis.description.ElementDesc();
1472
        elemField.setFieldName("totalNetChargeWithDutiesAndTaxes");
1473
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalNetChargeWithDutiesAndTaxes"));
1474
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));
1475
        elemField.setMinOccurs(0);
1476
        elemField.setNillable(false);
1477
        typeDesc.addFieldDesc(elemField);
1478
        elemField = new org.apache.axis.description.ElementDesc();
1479
        elemField.setFieldName("freightRateDetail");
1480
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightRateDetail"));
1481
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightRateDetail"));
1482
        elemField.setMinOccurs(0);
1483
        elemField.setNillable(false);
1484
        typeDesc.addFieldDesc(elemField);
1485
        elemField = new org.apache.axis.description.ElementDesc();
1486
        elemField.setFieldName("freightDiscounts");
1487
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightDiscounts"));
1488
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RateDiscount"));
1489
        elemField.setMinOccurs(0);
1490
        elemField.setNillable(false);
1491
        elemField.setMaxOccursUnbounded(true);
1492
        typeDesc.addFieldDesc(elemField);
1493
        elemField = new org.apache.axis.description.ElementDesc();
1494
        elemField.setFieldName("rebates");
1495
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Rebates"));
1496
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Rebate"));
1497
        elemField.setMinOccurs(0);
1498
        elemField.setNillable(false);
1499
        elemField.setMaxOccursUnbounded(true);
1500
        typeDesc.addFieldDesc(elemField);
1501
        elemField = new org.apache.axis.description.ElementDesc();
1502
        elemField.setFieldName("surcharges");
1503
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Surcharges"));
1504
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Surcharge"));
1505
        elemField.setMinOccurs(0);
1506
        elemField.setNillable(false);
1507
        elemField.setMaxOccursUnbounded(true);
1508
        typeDesc.addFieldDesc(elemField);
1509
        elemField = new org.apache.axis.description.ElementDesc();
1510
        elemField.setFieldName("taxes");
1511
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Taxes"));
1512
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Tax"));
1513
        elemField.setMinOccurs(0);
1514
        elemField.setNillable(false);
1515
        elemField.setMaxOccursUnbounded(true);
1516
        typeDesc.addFieldDesc(elemField);
1517
        elemField = new org.apache.axis.description.ElementDesc();
1518
        elemField.setFieldName("dutiesAndTaxes");
1519
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DutiesAndTaxes"));
1520
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "EdtCommodityTax"));
1521
        elemField.setMinOccurs(0);
1522
        elemField.setNillable(false);
1523
        elemField.setMaxOccursUnbounded(true);
1524
        typeDesc.addFieldDesc(elemField);
1525
        elemField = new org.apache.axis.description.ElementDesc();
1526
        elemField.setFieldName("variableHandlingCharges");
1527
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "VariableHandlingCharges"));
1528
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "VariableHandlingCharges"));
1529
        elemField.setMinOccurs(0);
1530
        elemField.setNillable(false);
1531
        typeDesc.addFieldDesc(elemField);
1532
        elemField = new org.apache.axis.description.ElementDesc();
1533
        elemField.setFieldName("totalVariableHandlingCharges");
1534
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalVariableHandlingCharges"));
1535
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "VariableHandlingCharges"));
1536
        elemField.setMinOccurs(0);
1537
        elemField.setNillable(false);
1538
        typeDesc.addFieldDesc(elemField);
1539
    }
1540
 
1541
    /**
1542
     * Return type metadata object
1543
     */
1544
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
1545
        return typeDesc;
1546
    }
1547
 
1548
    /**
1549
     * Get Custom Serializer
1550
     */
1551
    public static org.apache.axis.encoding.Serializer getSerializer(
1552
           java.lang.String mechType, 
1553
           java.lang.Class _javaType,  
1554
           javax.xml.namespace.QName _xmlType) {
1555
        return 
1556
          new  org.apache.axis.encoding.ser.BeanSerializer(
1557
            _javaType, _xmlType, typeDesc);
1558
    }
1559
 
1560
    /**
1561
     * Get Custom Deserializer
1562
     */
1563
    public static org.apache.axis.encoding.Deserializer getDeserializer(
1564
           java.lang.String mechType, 
1565
           java.lang.Class _javaType,  
1566
           javax.xml.namespace.QName _xmlType) {
1567
        return 
1568
          new  org.apache.axis.encoding.ser.BeanDeserializer(
1569
            _javaType, _xmlType, typeDesc);
1570
    }
1571
 
1572
}