Subversion Repositories SmartDukaan

Rev

Rev 22577 | Go to most recent revision | Details | 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 {
11
    private com.aramex.stub.Dimensions dimensions;
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
 
45
    private com.aramex.stub.ArrayOfShipmentItem items;
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,
70
           com.aramex.stub.ArrayOfShipmentItem items,
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
     */
439
    public com.aramex.stub.ArrayOfShipmentItem getItems() {
440
        return items;
441
    }
442
 
443
 
444
    /**
445
     * Sets the items value for this ShipmentDetails.
446
     * 
447
     * @param items
448
     */
449
    public void setItems(com.aramex.stub.ArrayOfShipmentItem items) {
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 &&
536
              this.items.equals(other.getItems()))) &&
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) {
601
            _hashCode += getItems().hashCode();
602
        }
603
        if (getDeliveryInstructions() != null) {
604
            _hashCode += getDeliveryInstructions().hashCode();
605
        }
606
        __hashCodeCalc = false;
607
        return _hashCode;
608
    }
609
 
610
    // Type metadata
611
    private static org.apache.axis.description.TypeDesc typeDesc =
612
        new org.apache.axis.description.TypeDesc(ShipmentDetails.class, true);
613
 
614
    static {
615
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentDetails"));
616
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
617
        elemField.setFieldName("dimensions");
618
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Dimensions"));
619
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Dimensions"));
620
        elemField.setNillable(true);
621
        typeDesc.addFieldDesc(elemField);
622
        elemField = new org.apache.axis.description.ElementDesc();
623
        elemField.setFieldName("actualWeight");
624
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ActualWeight"));
625
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Weight"));
626
        elemField.setNillable(true);
627
        typeDesc.addFieldDesc(elemField);
628
        elemField = new org.apache.axis.description.ElementDesc();
629
        elemField.setFieldName("chargeableWeight");
630
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ChargeableWeight"));
631
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Weight"));
632
        elemField.setNillable(true);
633
        typeDesc.addFieldDesc(elemField);
634
        elemField = new org.apache.axis.description.ElementDesc();
635
        elemField.setFieldName("descriptionOfGoods");
636
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "DescriptionOfGoods"));
637
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
638
        elemField.setNillable(true);
639
        typeDesc.addFieldDesc(elemField);
640
        elemField = new org.apache.axis.description.ElementDesc();
641
        elemField.setFieldName("goodsOriginCountry");
642
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "GoodsOriginCountry"));
643
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
644
        elemField.setNillable(true);
645
        typeDesc.addFieldDesc(elemField);
646
        elemField = new org.apache.axis.description.ElementDesc();
647
        elemField.setFieldName("numberOfPieces");
648
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "NumberOfPieces"));
649
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
650
        elemField.setNillable(false);
651
        typeDesc.addFieldDesc(elemField);
652
        elemField = new org.apache.axis.description.ElementDesc();
653
        elemField.setFieldName("productGroup");
654
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProductGroup"));
655
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
656
        elemField.setNillable(true);
657
        typeDesc.addFieldDesc(elemField);
658
        elemField = new org.apache.axis.description.ElementDesc();
659
        elemField.setFieldName("productType");
660
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProductType"));
661
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
662
        elemField.setNillable(true);
663
        typeDesc.addFieldDesc(elemField);
664
        elemField = new org.apache.axis.description.ElementDesc();
665
        elemField.setFieldName("paymentType");
666
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PaymentType"));
667
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
668
        elemField.setNillable(true);
669
        typeDesc.addFieldDesc(elemField);
670
        elemField = new org.apache.axis.description.ElementDesc();
671
        elemField.setFieldName("paymentOptions");
672
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PaymentOptions"));
673
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
674
        elemField.setNillable(true);
675
        typeDesc.addFieldDesc(elemField);
676
        elemField = new org.apache.axis.description.ElementDesc();
677
        elemField.setFieldName("customsValueAmount");
678
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "CustomsValueAmount"));
679
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Money"));
680
        elemField.setMinOccurs(0);
681
        elemField.setNillable(true);
682
        typeDesc.addFieldDesc(elemField);
683
        elemField = new org.apache.axis.description.ElementDesc();
684
        elemField.setFieldName("cashOnDeliveryAmount");
685
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "CashOnDeliveryAmount"));
686
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Money"));
687
        elemField.setMinOccurs(0);
688
        elemField.setNillable(true);
689
        typeDesc.addFieldDesc(elemField);
690
        elemField = new org.apache.axis.description.ElementDesc();
691
        elemField.setFieldName("insuranceAmount");
692
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "InsuranceAmount"));
693
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Money"));
694
        elemField.setMinOccurs(0);
695
        elemField.setNillable(true);
696
        typeDesc.addFieldDesc(elemField);
697
        elemField = new org.apache.axis.description.ElementDesc();
698
        elemField.setFieldName("cashAdditionalAmount");
699
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "CashAdditionalAmount"));
700
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Money"));
701
        elemField.setMinOccurs(0);
702
        elemField.setNillable(true);
703
        typeDesc.addFieldDesc(elemField);
704
        elemField = new org.apache.axis.description.ElementDesc();
705
        elemField.setFieldName("cashAdditionalAmountDescription");
706
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "CashAdditionalAmountDescription"));
707
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
708
        elemField.setMinOccurs(0);
709
        elemField.setNillable(true);
710
        typeDesc.addFieldDesc(elemField);
711
        elemField = new org.apache.axis.description.ElementDesc();
712
        elemField.setFieldName("collectAmount");
713
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "CollectAmount"));
714
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Money"));
715
        elemField.setMinOccurs(0);
716
        elemField.setNillable(true);
717
        typeDesc.addFieldDesc(elemField);
718
        elemField = new org.apache.axis.description.ElementDesc();
719
        elemField.setFieldName("services");
720
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Services"));
721
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
722
        elemField.setMinOccurs(0);
723
        elemField.setNillable(true);
724
        typeDesc.addFieldDesc(elemField);
725
        elemField = new org.apache.axis.description.ElementDesc();
726
        elemField.setFieldName("items");
727
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Items"));
728
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfShipmentItem"));
729
        elemField.setMinOccurs(0);
730
        elemField.setNillable(true);
731
        typeDesc.addFieldDesc(elemField);
732
        elemField = new org.apache.axis.description.ElementDesc();
733
        elemField.setFieldName("deliveryInstructions");
734
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "DeliveryInstructions"));
735
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "DeliveryInstructions"));
736
        elemField.setMinOccurs(0);
737
        elemField.setNillable(true);
738
        typeDesc.addFieldDesc(elemField);
739
    }
740
 
741
    /**
742
     * Return type metadata object
743
     */
744
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
745
        return typeDesc;
746
    }
747
 
748
    /**
749
     * Get Custom Serializer
750
     */
751
    public static org.apache.axis.encoding.Serializer getSerializer(
752
           java.lang.String mechType, 
753
           java.lang.Class _javaType,  
754
           javax.xml.namespace.QName _xmlType) {
755
        return 
756
          new  org.apache.axis.encoding.ser.BeanSerializer(
757
            _javaType, _xmlType, typeDesc);
758
    }
759
 
760
    /**
761
     * Get Custom Deserializer
762
     */
763
    public static org.apache.axis.encoding.Deserializer getDeserializer(
764
           java.lang.String mechType, 
765
           java.lang.Class _javaType,  
766
           javax.xml.namespace.QName _xmlType) {
767
        return 
768
          new  org.apache.axis.encoding.ser.BeanDeserializer(
769
            _javaType, _xmlType, typeDesc);
770
    }
771
 
772
}