Subversion Repositories SmartDukaan

Rev

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