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