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