Subversion Repositories SmartDukaan

Rev

Rev 22577 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
20640 amit.gupta 1
/**
2
 * ShipmentDetails.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.aramex.stub;
9
 
10
public class ShipmentDetails  implements java.io.Serializable {
22598 amit.gupta 11
    private com.aramex.stub.Dimensions dimensions;
20640 amit.gupta 12
 
13
    private com.aramex.stub.Weight actualWeight;
14
 
15
    private com.aramex.stub.Weight chargeableWeight;
16
 
17
    private java.lang.String descriptionOfGoods;
18
 
19
    private java.lang.String goodsOriginCountry;
20
 
21
    private int numberOfPieces;
22
 
23
    private java.lang.String productGroup;
24
 
25
    private java.lang.String productType;
26
 
27
    private java.lang.String paymentType;
28
 
29
    private java.lang.String paymentOptions;
30
 
31
    private com.aramex.stub.Money customsValueAmount;
32
 
33
    private com.aramex.stub.Money cashOnDeliveryAmount;
34
 
35
    private com.aramex.stub.Money insuranceAmount;
36
 
37
    private com.aramex.stub.Money cashAdditionalAmount;
38
 
39
    private java.lang.String cashAdditionalAmountDescription;
40
 
41
    private com.aramex.stub.Money collectAmount;
42
 
43
    private java.lang.String services;
44
 
22598 amit.gupta 45
    private com.aramex.stub.ShipmentItem[] items;
20640 amit.gupta 46
 
47
    private com.aramex.stub.DeliveryInstructions deliveryInstructions;
48
 
49
    public ShipmentDetails() {
50
    }
51
 
52
    public ShipmentDetails(
53
           com.aramex.stub.Dimensions dimensions,
54
           com.aramex.stub.Weight actualWeight,
55
           com.aramex.stub.Weight chargeableWeight,
56
           java.lang.String descriptionOfGoods,
57
           java.lang.String goodsOriginCountry,
58
           int numberOfPieces,
59
           java.lang.String productGroup,
60
           java.lang.String productType,
61
           java.lang.String paymentType,
62
           java.lang.String paymentOptions,
63
           com.aramex.stub.Money customsValueAmount,
64
           com.aramex.stub.Money cashOnDeliveryAmount,
65
           com.aramex.stub.Money insuranceAmount,
66
           com.aramex.stub.Money cashAdditionalAmount,
67
           java.lang.String cashAdditionalAmountDescription,
68
           com.aramex.stub.Money collectAmount,
69
           java.lang.String services,
22598 amit.gupta 70
           com.aramex.stub.ShipmentItem[] items,
20640 amit.gupta 71
           com.aramex.stub.DeliveryInstructions deliveryInstructions) {
72
           this.dimensions = dimensions;
73
           this.actualWeight = actualWeight;
74
           this.chargeableWeight = chargeableWeight;
75
           this.descriptionOfGoods = descriptionOfGoods;
76
           this.goodsOriginCountry = goodsOriginCountry;
77
           this.numberOfPieces = numberOfPieces;
78
           this.productGroup = productGroup;
79
           this.productType = productType;
80
           this.paymentType = paymentType;
81
           this.paymentOptions = paymentOptions;
82
           this.customsValueAmount = customsValueAmount;
83
           this.cashOnDeliveryAmount = cashOnDeliveryAmount;
84
           this.insuranceAmount = insuranceAmount;
85
           this.cashAdditionalAmount = cashAdditionalAmount;
86
           this.cashAdditionalAmountDescription = cashAdditionalAmountDescription;
87
           this.collectAmount = collectAmount;
88
           this.services = services;
89
           this.items = items;
90
           this.deliveryInstructions = deliveryInstructions;
91
    }
92
 
93
 
94
    /**
95
     * Gets the dimensions value for this ShipmentDetails.
96
     * 
97
     * @return dimensions
98
     */
99
    public com.aramex.stub.Dimensions getDimensions() {
100
        return dimensions;
101
    }
102
 
103
 
104
    /**
105
     * Sets the dimensions value for this ShipmentDetails.
106
     * 
107
     * @param dimensions
108
     */
109
    public void setDimensions(com.aramex.stub.Dimensions dimensions) {
110
        this.dimensions = dimensions;
111
    }
112
 
113
 
114
    /**
115
     * Gets the actualWeight value for this ShipmentDetails.
116
     * 
117
     * @return actualWeight
118
     */
119
    public com.aramex.stub.Weight getActualWeight() {
120
        return actualWeight;
121
    }
122
 
123
 
124
    /**
125
     * Sets the actualWeight value for this ShipmentDetails.
126
     * 
127
     * @param actualWeight
128
     */
129
    public void setActualWeight(com.aramex.stub.Weight actualWeight) {
130
        this.actualWeight = actualWeight;
131
    }
132
 
133
 
134
    /**
135
     * Gets the chargeableWeight value for this ShipmentDetails.
136
     * 
137
     * @return chargeableWeight
138
     */
139
    public com.aramex.stub.Weight getChargeableWeight() {
140
        return chargeableWeight;
141
    }
142
 
143
 
144
    /**
145
     * Sets the chargeableWeight value for this ShipmentDetails.
146
     * 
147
     * @param chargeableWeight
148
     */
149
    public void setChargeableWeight(com.aramex.stub.Weight chargeableWeight) {
150
        this.chargeableWeight = chargeableWeight;
151
    }
152
 
153
 
154
    /**
155
     * Gets the descriptionOfGoods value for this ShipmentDetails.
156
     * 
157
     * @return descriptionOfGoods
158
     */
159
    public java.lang.String getDescriptionOfGoods() {
160
        return descriptionOfGoods;
161
    }
162
 
163
 
164
    /**
165
     * Sets the descriptionOfGoods value for this ShipmentDetails.
166
     * 
167
     * @param descriptionOfGoods
168
     */
169
    public void setDescriptionOfGoods(java.lang.String descriptionOfGoods) {
170
        this.descriptionOfGoods = descriptionOfGoods;
171
    }
172
 
173
 
174
    /**
175
     * Gets the goodsOriginCountry value for this ShipmentDetails.
176
     * 
177
     * @return goodsOriginCountry
178
     */
179
    public java.lang.String getGoodsOriginCountry() {
180
        return goodsOriginCountry;
181
    }
182
 
183
 
184
    /**
185
     * Sets the goodsOriginCountry value for this ShipmentDetails.
186
     * 
187
     * @param goodsOriginCountry
188
     */
189
    public void setGoodsOriginCountry(java.lang.String goodsOriginCountry) {
190
        this.goodsOriginCountry = goodsOriginCountry;
191
    }
192
 
193
 
194
    /**
195
     * Gets the numberOfPieces value for this ShipmentDetails.
196
     * 
197
     * @return numberOfPieces
198
     */
199
    public int getNumberOfPieces() {
200
        return numberOfPieces;
201
    }
202
 
203
 
204
    /**
205
     * Sets the numberOfPieces value for this ShipmentDetails.
206
     * 
207
     * @param numberOfPieces
208
     */
209
    public void setNumberOfPieces(int numberOfPieces) {
210
        this.numberOfPieces = numberOfPieces;
211
    }
212
 
213
 
214
    /**
215
     * Gets the productGroup value for this ShipmentDetails.
216
     * 
217
     * @return productGroup
218
     */
219
    public java.lang.String getProductGroup() {
220
        return productGroup;
221
    }
222
 
223
 
224
    /**
225
     * Sets the productGroup value for this ShipmentDetails.
226
     * 
227
     * @param productGroup
228
     */
229
    public void setProductGroup(java.lang.String productGroup) {
230
        this.productGroup = productGroup;
231
    }
232
 
233
 
234
    /**
235
     * Gets the productType value for this ShipmentDetails.
236
     * 
237
     * @return productType
238
     */
239
    public java.lang.String getProductType() {
240
        return productType;
241
    }
242
 
243
 
244
    /**
245
     * Sets the productType value for this ShipmentDetails.
246
     * 
247
     * @param productType
248
     */
249
    public void setProductType(java.lang.String productType) {
250
        this.productType = productType;
251
    }
252
 
253
 
254
    /**
255
     * Gets the paymentType value for this ShipmentDetails.
256
     * 
257
     * @return paymentType
258
     */
259
    public java.lang.String getPaymentType() {
260
        return paymentType;
261
    }
262
 
263
 
264
    /**
265
     * Sets the paymentType value for this ShipmentDetails.
266
     * 
267
     * @param paymentType
268
     */
269
    public void setPaymentType(java.lang.String paymentType) {
270
        this.paymentType = paymentType;
271
    }
272
 
273
 
274
    /**
275
     * Gets the paymentOptions value for this ShipmentDetails.
276
     * 
277
     * @return paymentOptions
278
     */
279
    public java.lang.String getPaymentOptions() {
280
        return paymentOptions;
281
    }
282
 
283
 
284
    /**
285
     * Sets the paymentOptions value for this ShipmentDetails.
286
     * 
287
     * @param paymentOptions
288
     */
289
    public void setPaymentOptions(java.lang.String paymentOptions) {
290
        this.paymentOptions = paymentOptions;
291
    }
292
 
293
 
294
    /**
295
     * Gets the customsValueAmount value for this ShipmentDetails.
296
     * 
297
     * @return customsValueAmount
298
     */
299
    public com.aramex.stub.Money getCustomsValueAmount() {
300
        return customsValueAmount;
301
    }
302
 
303
 
304
    /**
305
     * Sets the customsValueAmount value for this ShipmentDetails.
306
     * 
307
     * @param customsValueAmount
308
     */
309
    public void setCustomsValueAmount(com.aramex.stub.Money customsValueAmount) {
310
        this.customsValueAmount = customsValueAmount;
311
    }
312
 
313
 
314
    /**
315
     * Gets the cashOnDeliveryAmount value for this ShipmentDetails.
316
     * 
317
     * @return cashOnDeliveryAmount
318
     */
319
    public com.aramex.stub.Money getCashOnDeliveryAmount() {
320
        return cashOnDeliveryAmount;
321
    }
322
 
323
 
324
    /**
325
     * Sets the cashOnDeliveryAmount value for this ShipmentDetails.
326
     * 
327
     * @param cashOnDeliveryAmount
328
     */
329
    public void setCashOnDeliveryAmount(com.aramex.stub.Money cashOnDeliveryAmount) {
330
        this.cashOnDeliveryAmount = cashOnDeliveryAmount;
331
    }
332
 
333
 
334
    /**
335
     * Gets the insuranceAmount value for this ShipmentDetails.
336
     * 
337
     * @return insuranceAmount
338
     */
339
    public com.aramex.stub.Money getInsuranceAmount() {
340
        return insuranceAmount;
341
    }
342
 
343
 
344
    /**
345
     * Sets the insuranceAmount value for this ShipmentDetails.
346
     * 
347
     * @param insuranceAmount
348
     */
349
    public void setInsuranceAmount(com.aramex.stub.Money insuranceAmount) {
350
        this.insuranceAmount = insuranceAmount;
351
    }
352
 
353
 
354
    /**
355
     * Gets the cashAdditionalAmount value for this ShipmentDetails.
356
     * 
357
     * @return cashAdditionalAmount
358
     */
359
    public com.aramex.stub.Money getCashAdditionalAmount() {
360
        return cashAdditionalAmount;
361
    }
362
 
363
 
364
    /**
365
     * Sets the cashAdditionalAmount value for this ShipmentDetails.
366
     * 
367
     * @param cashAdditionalAmount
368
     */
369
    public void setCashAdditionalAmount(com.aramex.stub.Money cashAdditionalAmount) {
370
        this.cashAdditionalAmount = cashAdditionalAmount;
371
    }
372
 
373
 
374
    /**
375
     * Gets the cashAdditionalAmountDescription value for this ShipmentDetails.
376
     * 
377
     * @return cashAdditionalAmountDescription
378
     */
379
    public java.lang.String getCashAdditionalAmountDescription() {
380
        return cashAdditionalAmountDescription;
381
    }
382
 
383
 
384
    /**
385
     * Sets the cashAdditionalAmountDescription value for this ShipmentDetails.
386
     * 
387
     * @param cashAdditionalAmountDescription
388
     */
389
    public void setCashAdditionalAmountDescription(java.lang.String cashAdditionalAmountDescription) {
390
        this.cashAdditionalAmountDescription = cashAdditionalAmountDescription;
391
    }
392
 
393
 
394
    /**
395
     * Gets the collectAmount value for this ShipmentDetails.
396
     * 
397
     * @return collectAmount
398
     */
399
    public com.aramex.stub.Money getCollectAmount() {
400
        return collectAmount;
401
    }
402
 
403
 
404
    /**
405
     * Sets the collectAmount value for this ShipmentDetails.
406
     * 
407
     * @param collectAmount
408
     */
409
    public void setCollectAmount(com.aramex.stub.Money collectAmount) {
410
        this.collectAmount = collectAmount;
411
    }
412
 
413
 
414
    /**
415
     * Gets the services value for this ShipmentDetails.
416
     * 
417
     * @return services
418
     */
419
    public java.lang.String getServices() {
420
        return services;
421
    }
422
 
423
 
424
    /**
425
     * Sets the services value for this ShipmentDetails.
426
     * 
427
     * @param services
428
     */
429
    public void setServices(java.lang.String services) {
430
        this.services = services;
431
    }
432
 
433
 
434
    /**
435
     * Gets the items value for this ShipmentDetails.
436
     * 
437
     * @return items
438
     */
22598 amit.gupta 439
    public com.aramex.stub.ShipmentItem[] getItems() {
20640 amit.gupta 440
        return items;
441
    }
442
 
443
 
444
    /**
445
     * Sets the items value for this ShipmentDetails.
446
     * 
447
     * @param items
448
     */
22598 amit.gupta 449
    public void setItems(com.aramex.stub.ShipmentItem[] items) {
20640 amit.gupta 450
        this.items = items;
451
    }
452
 
453
 
454
    /**
455
     * Gets the deliveryInstructions value for this ShipmentDetails.
456
     * 
457
     * @return deliveryInstructions
458
     */
459
    public com.aramex.stub.DeliveryInstructions getDeliveryInstructions() {
460
        return deliveryInstructions;
461
    }
462
 
463
 
464
    /**
465
     * Sets the deliveryInstructions value for this ShipmentDetails.
466
     * 
467
     * @param deliveryInstructions
468
     */
469
    public void setDeliveryInstructions(com.aramex.stub.DeliveryInstructions deliveryInstructions) {
470
        this.deliveryInstructions = deliveryInstructions;
471
    }
472
 
473
    private java.lang.Object __equalsCalc = null;
474
    public synchronized boolean equals(java.lang.Object obj) {
475
        if (!(obj instanceof ShipmentDetails)) return false;
476
        ShipmentDetails other = (ShipmentDetails) obj;
477
        if (obj == null) return false;
478
        if (this == obj) return true;
479
        if (__equalsCalc != null) {
480
            return (__equalsCalc == obj);
481
        }
482
        __equalsCalc = obj;
483
        boolean _equals;
484
        _equals = true && 
485
            ((this.dimensions==null && other.getDimensions()==null) || 
486
             (this.dimensions!=null &&
487
              this.dimensions.equals(other.getDimensions()))) &&
488
            ((this.actualWeight==null && other.getActualWeight()==null) || 
489
             (this.actualWeight!=null &&
490
              this.actualWeight.equals(other.getActualWeight()))) &&
491
            ((this.chargeableWeight==null && other.getChargeableWeight()==null) || 
492
             (this.chargeableWeight!=null &&
493
              this.chargeableWeight.equals(other.getChargeableWeight()))) &&
494
            ((this.descriptionOfGoods==null && other.getDescriptionOfGoods()==null) || 
495
             (this.descriptionOfGoods!=null &&
496
              this.descriptionOfGoods.equals(other.getDescriptionOfGoods()))) &&
497
            ((this.goodsOriginCountry==null && other.getGoodsOriginCountry()==null) || 
498
             (this.goodsOriginCountry!=null &&
499
              this.goodsOriginCountry.equals(other.getGoodsOriginCountry()))) &&
500
            this.numberOfPieces == other.getNumberOfPieces() &&
501
            ((this.productGroup==null && other.getProductGroup()==null) || 
502
             (this.productGroup!=null &&
503
              this.productGroup.equals(other.getProductGroup()))) &&
504
            ((this.productType==null && other.getProductType()==null) || 
505
             (this.productType!=null &&
506
              this.productType.equals(other.getProductType()))) &&
507
            ((this.paymentType==null && other.getPaymentType()==null) || 
508
             (this.paymentType!=null &&
509
              this.paymentType.equals(other.getPaymentType()))) &&
510
            ((this.paymentOptions==null && other.getPaymentOptions()==null) || 
511
             (this.paymentOptions!=null &&
512
              this.paymentOptions.equals(other.getPaymentOptions()))) &&
513
            ((this.customsValueAmount==null && other.getCustomsValueAmount()==null) || 
514
             (this.customsValueAmount!=null &&
515
              this.customsValueAmount.equals(other.getCustomsValueAmount()))) &&
516
            ((this.cashOnDeliveryAmount==null && other.getCashOnDeliveryAmount()==null) || 
517
             (this.cashOnDeliveryAmount!=null &&
518
              this.cashOnDeliveryAmount.equals(other.getCashOnDeliveryAmount()))) &&
519
            ((this.insuranceAmount==null && other.getInsuranceAmount()==null) || 
520
             (this.insuranceAmount!=null &&
521
              this.insuranceAmount.equals(other.getInsuranceAmount()))) &&
522
            ((this.cashAdditionalAmount==null && other.getCashAdditionalAmount()==null) || 
523
             (this.cashAdditionalAmount!=null &&
524
              this.cashAdditionalAmount.equals(other.getCashAdditionalAmount()))) &&
525
            ((this.cashAdditionalAmountDescription==null && other.getCashAdditionalAmountDescription()==null) || 
526
             (this.cashAdditionalAmountDescription!=null &&
527
              this.cashAdditionalAmountDescription.equals(other.getCashAdditionalAmountDescription()))) &&
528
            ((this.collectAmount==null && other.getCollectAmount()==null) || 
529
             (this.collectAmount!=null &&
530
              this.collectAmount.equals(other.getCollectAmount()))) &&
531
            ((this.services==null && other.getServices()==null) || 
532
             (this.services!=null &&
533
              this.services.equals(other.getServices()))) &&
534
            ((this.items==null && other.getItems()==null) || 
535
             (this.items!=null &&
22598 amit.gupta 536
              java.util.Arrays.equals(this.items, other.getItems()))) &&
20640 amit.gupta 537
            ((this.deliveryInstructions==null && other.getDeliveryInstructions()==null) || 
538
             (this.deliveryInstructions!=null &&
539
              this.deliveryInstructions.equals(other.getDeliveryInstructions())));
540
        __equalsCalc = null;
541
        return _equals;
542
    }
543
 
544
    private boolean __hashCodeCalc = false;
545
    public synchronized int hashCode() {
546
        if (__hashCodeCalc) {
547
            return 0;
548
        }
549
        __hashCodeCalc = true;
550
        int _hashCode = 1;
551
        if (getDimensions() != null) {
552
            _hashCode += getDimensions().hashCode();
553
        }
554
        if (getActualWeight() != null) {
555
            _hashCode += getActualWeight().hashCode();
556
        }
557
        if (getChargeableWeight() != null) {
558
            _hashCode += getChargeableWeight().hashCode();
559
        }
560
        if (getDescriptionOfGoods() != null) {
561
            _hashCode += getDescriptionOfGoods().hashCode();
562
        }
563
        if (getGoodsOriginCountry() != null) {
564
            _hashCode += getGoodsOriginCountry().hashCode();
565
        }
566
        _hashCode += getNumberOfPieces();
567
        if (getProductGroup() != null) {
568
            _hashCode += getProductGroup().hashCode();
569
        }
570
        if (getProductType() != null) {
571
            _hashCode += getProductType().hashCode();
572
        }
573
        if (getPaymentType() != null) {
574
            _hashCode += getPaymentType().hashCode();
575
        }
576
        if (getPaymentOptions() != null) {
577
            _hashCode += getPaymentOptions().hashCode();
578
        }
579
        if (getCustomsValueAmount() != null) {
580
            _hashCode += getCustomsValueAmount().hashCode();
581
        }
582
        if (getCashOnDeliveryAmount() != null) {
583
            _hashCode += getCashOnDeliveryAmount().hashCode();
584
        }
585
        if (getInsuranceAmount() != null) {
586
            _hashCode += getInsuranceAmount().hashCode();
587
        }
588
        if (getCashAdditionalAmount() != null) {
589
            _hashCode += getCashAdditionalAmount().hashCode();
590
        }
591
        if (getCashAdditionalAmountDescription() != null) {
592
            _hashCode += getCashAdditionalAmountDescription().hashCode();
593
        }
594
        if (getCollectAmount() != null) {
595
            _hashCode += getCollectAmount().hashCode();
596
        }
597
        if (getServices() != null) {
598
            _hashCode += getServices().hashCode();
599
        }
600
        if (getItems() != null) {
22598 amit.gupta 601
            for (int i=0;
602
                 i<java.lang.reflect.Array.getLength(getItems());
603
                 i++) {
604
                java.lang.Object obj = java.lang.reflect.Array.get(getItems(), i);
605
                if (obj != null &&
606
                    !obj.getClass().isArray()) {
607
                    _hashCode += obj.hashCode();
608
                }
609
            }
20640 amit.gupta 610
        }
611
        if (getDeliveryInstructions() != null) {
612
            _hashCode += getDeliveryInstructions().hashCode();
613
        }
614
        __hashCodeCalc = false;
615
        return _hashCode;
616
    }
617
 
618
    // Type metadata
619
    private static org.apache.axis.description.TypeDesc typeDesc =
620
        new org.apache.axis.description.TypeDesc(ShipmentDetails.class, true);
621
 
622
    static {
623
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentDetails"));
624
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
625
        elemField.setFieldName("dimensions");
626
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Dimensions"));
627
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Dimensions"));
628
        elemField.setNillable(true);
629
        typeDesc.addFieldDesc(elemField);
630
        elemField = new org.apache.axis.description.ElementDesc();
631
        elemField.setFieldName("actualWeight");
632
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ActualWeight"));
633
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Weight"));
634
        elemField.setNillable(true);
635
        typeDesc.addFieldDesc(elemField);
636
        elemField = new org.apache.axis.description.ElementDesc();
637
        elemField.setFieldName("chargeableWeight");
638
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ChargeableWeight"));
639
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Weight"));
640
        elemField.setNillable(true);
641
        typeDesc.addFieldDesc(elemField);
642
        elemField = new org.apache.axis.description.ElementDesc();
643
        elemField.setFieldName("descriptionOfGoods");
644
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "DescriptionOfGoods"));
645
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
646
        elemField.setNillable(true);
647
        typeDesc.addFieldDesc(elemField);
648
        elemField = new org.apache.axis.description.ElementDesc();
649
        elemField.setFieldName("goodsOriginCountry");
650
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "GoodsOriginCountry"));
651
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
652
        elemField.setNillable(true);
653
        typeDesc.addFieldDesc(elemField);
654
        elemField = new org.apache.axis.description.ElementDesc();
655
        elemField.setFieldName("numberOfPieces");
656
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "NumberOfPieces"));
657
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
658
        elemField.setNillable(false);
659
        typeDesc.addFieldDesc(elemField);
660
        elemField = new org.apache.axis.description.ElementDesc();
661
        elemField.setFieldName("productGroup");
662
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProductGroup"));
663
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
664
        elemField.setNillable(true);
665
        typeDesc.addFieldDesc(elemField);
666
        elemField = new org.apache.axis.description.ElementDesc();
667
        elemField.setFieldName("productType");
668
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProductType"));
669
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
670
        elemField.setNillable(true);
671
        typeDesc.addFieldDesc(elemField);
672
        elemField = new org.apache.axis.description.ElementDesc();
673
        elemField.setFieldName("paymentType");
674
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PaymentType"));
675
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
676
        elemField.setNillable(true);
677
        typeDesc.addFieldDesc(elemField);
678
        elemField = new org.apache.axis.description.ElementDesc();
679
        elemField.setFieldName("paymentOptions");
680
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PaymentOptions"));
681
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
682
        elemField.setNillable(true);
683
        typeDesc.addFieldDesc(elemField);
684
        elemField = new org.apache.axis.description.ElementDesc();
685
        elemField.setFieldName("customsValueAmount");
686
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "CustomsValueAmount"));
687
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Money"));
688
        elemField.setMinOccurs(0);
689
        elemField.setNillable(true);
690
        typeDesc.addFieldDesc(elemField);
691
        elemField = new org.apache.axis.description.ElementDesc();
692
        elemField.setFieldName("cashOnDeliveryAmount");
693
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "CashOnDeliveryAmount"));
694
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Money"));
695
        elemField.setMinOccurs(0);
696
        elemField.setNillable(true);
697
        typeDesc.addFieldDesc(elemField);
698
        elemField = new org.apache.axis.description.ElementDesc();
699
        elemField.setFieldName("insuranceAmount");
700
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "InsuranceAmount"));
701
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Money"));
702
        elemField.setMinOccurs(0);
703
        elemField.setNillable(true);
704
        typeDesc.addFieldDesc(elemField);
705
        elemField = new org.apache.axis.description.ElementDesc();
706
        elemField.setFieldName("cashAdditionalAmount");
707
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "CashAdditionalAmount"));
708
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Money"));
709
        elemField.setMinOccurs(0);
710
        elemField.setNillable(true);
711
        typeDesc.addFieldDesc(elemField);
712
        elemField = new org.apache.axis.description.ElementDesc();
713
        elemField.setFieldName("cashAdditionalAmountDescription");
714
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "CashAdditionalAmountDescription"));
715
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
716
        elemField.setMinOccurs(0);
717
        elemField.setNillable(true);
718
        typeDesc.addFieldDesc(elemField);
719
        elemField = new org.apache.axis.description.ElementDesc();
720
        elemField.setFieldName("collectAmount");
721
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "CollectAmount"));
722
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Money"));
723
        elemField.setMinOccurs(0);
724
        elemField.setNillable(true);
725
        typeDesc.addFieldDesc(elemField);
726
        elemField = new org.apache.axis.description.ElementDesc();
727
        elemField.setFieldName("services");
728
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Services"));
729
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
730
        elemField.setMinOccurs(0);
731
        elemField.setNillable(true);
732
        typeDesc.addFieldDesc(elemField);
733
        elemField = new org.apache.axis.description.ElementDesc();
734
        elemField.setFieldName("items");
735
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Items"));
22598 amit.gupta 736
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentItem"));
20640 amit.gupta 737
        elemField.setMinOccurs(0);
738
        elemField.setNillable(true);
22598 amit.gupta 739
        elemField.setItemQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentItem"));
20640 amit.gupta 740
        typeDesc.addFieldDesc(elemField);
741
        elemField = new org.apache.axis.description.ElementDesc();
742
        elemField.setFieldName("deliveryInstructions");
743
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "DeliveryInstructions"));
744
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "DeliveryInstructions"));
745
        elemField.setMinOccurs(0);
746
        elemField.setNillable(true);
747
        typeDesc.addFieldDesc(elemField);
748
    }
749
 
750
    /**
751
     * Return type metadata object
752
     */
753
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
754
        return typeDesc;
755
    }
756
 
757
    /**
758
     * Get Custom Serializer
759
     */
760
    public static org.apache.axis.encoding.Serializer getSerializer(
761
           java.lang.String mechType, 
762
           java.lang.Class _javaType,  
763
           javax.xml.namespace.QName _xmlType) {
764
        return 
765
          new  org.apache.axis.encoding.ser.BeanSerializer(
766
            _javaType, _xmlType, typeDesc);
767
    }
768
 
769
    /**
770
     * Get Custom Deserializer
771
     */
772
    public static org.apache.axis.encoding.Deserializer getDeserializer(
773
           java.lang.String mechType, 
774
           java.lang.Class _javaType,  
775
           javax.xml.namespace.QName _xmlType) {
776
        return 
777
          new  org.apache.axis.encoding.ser.BeanDeserializer(
778
            _javaType, _xmlType, typeDesc);
779
    }
780
 
781
}