Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7905 manish.sha 1
/**
2
 * RequestedShipment.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.fedex.ship.stub;
9
 
10
 
11
/**
12
 * The descriptive data for the shipment being tendered to FedEx.
13
 */
14
public class RequestedShipment  implements java.io.Serializable {
15
    /* Identifies the date and time the package is tendered to FedEx.
16
     * Both the date and time portions of the string are expected to be used.
17
     * The date should not be a past date or a date more than 10 days in
18
     * the future. The time is the local time of the shipment based on the
19
     * shipper's time zone. The date component must be in the format: YYYY-MM-DD
20
     * (e.g. 2006-06-26). The time component must be in the format: HH:MM:SS
21
     * using a 24 hour clock (e.g. 11:00 a.m. is 11:00:00, whereas 5:00 p.m.
22
     * is 17:00:00). The date and time parts are separated by the letter
23
     * T (e.g. 2006-06-26T17:00:00). There is also a UTC offset component
24
     * indicating the number of hours/mainutes from UTC (e.g 2006-06-26T17:00:00-0400
25
     * is defined form June 26, 2006 5:00 pm Eastern Time). */
26
    private java.util.Calendar shipTimestamp;
27
 
28
    /* Identifies the method by which the package is to be tendered
29
     * to FedEx. This element does not dispatch a courier for package pickup.
30
     * See DropoffType for list of valid enumerated values. */
31
    private com.fedex.ship.stub.DropoffType dropoffType;
32
 
33
    /* Identifies the FedEx service to use in shipping the package.
34
     * See ServiceType for list of valid enumerated values. */
35
    private com.fedex.ship.stub.ServiceType serviceType;
36
 
37
    /* Identifies the packaging used by the requestor for the package.
38
     * See PackagingType for list of valid enumerated values. */
39
    private com.fedex.ship.stub.PackagingType packagingType;
40
 
41
    /* Identifies the total weight of the shipment being conveyed
42
     * to FedEx.This is only applicable to International shipments and should
43
     * only be used on the first package of a mutiple piece shipment.This
44
     * value contains 1 explicit decimal position */
45
    private com.fedex.ship.stub.Weight totalWeight;
46
 
47
    /* Total insured amount. */
48
    private com.fedex.ship.stub.Money totalInsuredValue;
49
 
50
    /* This attribute indicates the currency the caller requests to
51
     * have used in all returned monetary values (when a choice is possible). */
52
    private java.lang.String preferredCurrency;
53
 
54
    /* Descriptive data identifying the party responsible for shipping
55
     * the package. Shipper and Origin should have the same address. */
56
    private com.fedex.ship.stub.Party shipper;
57
 
58
    /* Descriptive data identifying the party receiving the package. */
59
    private com.fedex.ship.stub.Party recipient;
60
 
61
    /* A unique identifier for a recipient location */
62
    private java.lang.String recipientLocationNumber;
63
 
64
    /* Physical starting address for the shipment, if different from
65
     * shipper's address. */
66
    private com.fedex.ship.stub.ContactAndAddress origin;
67
 
68
    /* Descriptive data indicating the method and means of payment
69
     * to FedEx for providing shipping services. */
70
    private com.fedex.ship.stub.Payment shippingChargesPayment;
71
 
72
    /* Descriptive data regarding special services requested by the
73
     * shipper for this shipment. If the shipper is requesting a special
74
     * service which requires additional data (e.g. COD), the special service
75
     * type must be present in the specialServiceTypes collection, and the
76
     * supporting detail must be provided in the appropriate sub-object.
77
     * For example, to request COD, "COD" must be included in the SpecialServiceTypes
78
     * collection and the CodDetail object must contain the required data. */
79
    private com.fedex.ship.stub.ShipmentSpecialServicesRequested specialServicesRequested;
80
 
81
    /* Details specific to an Express freight shipment. */
82
    private com.fedex.ship.stub.ExpressFreightDetail expressFreightDetail;
83
 
84
    /* Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and
85
     * FEDEX_FREIGHT_PRIORITY services. */
86
    private com.fedex.ship.stub.FreightShipmentDetail freightShipmentDetail;
87
 
88
    /* Used with Ground Home Delivery and Freight. */
89
    private java.lang.String deliveryInstructions;
90
 
91
    /* Details about how to calculate variable handling charges at
92
     * the shipment level. */
93
    private com.fedex.ship.stub.VariableHandlingChargeDetail variableHandlingChargeDetail;
94
 
95
    /* Customs clearance data, used for both international and intra-country
96
     * shipping. */
97
    private com.fedex.ship.stub.CustomsClearanceDetail customsClearanceDetail;
98
 
99
    /* For use in "process tag" transaction. */
100
    private com.fedex.ship.stub.PickupDetail pickupDetail;
101
 
102
    /* Specifies the characteristics of a shipment pertaining to SmartPost
103
     * services. */
104
    private com.fedex.ship.stub.SmartPostShipmentDetail smartPostDetail;
105
 
106
    /* If true, only the shipper/payor will have visibility of this
107
     * shipment. */
108
    private java.lang.Boolean blockInsightVisibility;
109
 
110
    /* Details about the image format and printer type the label is
111
     * to returned in. */
112
    private com.fedex.ship.stub.LabelSpecification labelSpecification;
113
 
114
    /* Contains data used to create additional (non-label) shipping
115
     * documents. */
116
    private com.fedex.ship.stub.ShippingDocumentSpecification shippingDocumentSpecification;
117
 
118
    /* Specifies whether and what kind of rates the customer wishes
119
     * to have quoted on this shipment. The reply will also be constrained
120
     * by other data on the shipment and customer. */
121
    private com.fedex.ship.stub.RateRequestType[] rateRequestTypes;
122
 
123
    /* Specifies whether the customer wishes to have Estimated Duties
124
     * and Taxes provided with the rate quotation on this shipment. Only
125
     * applies with shipments moving under international services. */
126
    private com.fedex.ship.stub.EdtRequestType edtRequestType;
127
 
128
    /* Only used with multiple-transaction shipments, to identify
129
     * the master package in a multi-piece shipment. */
130
    private com.fedex.ship.stub.TrackingId masterTrackingId;
131
 
132
    /* The total number of packages in the entire shipment (even when
133
     * the shipment spans multiple transactions.) */
134
    private org.apache.axis.types.NonNegativeInteger packageCount;
135
 
136
    /* Specifies data structures that may be re-used multiple times
137
     * with s single shipment. */
138
    private com.fedex.ship.stub.ShipmentConfigurationData configurationData;
139
 
140
    /* One or more package-attribute descriptions, each of which describes
141
     * an individual package, a group of identical packages, or (for the
142
     * total-piece-total-weight case) common characteristics all packages
143
     * in the shipment. */
144
    private com.fedex.ship.stub.RequestedPackageLineItem[] requestedPackageLineItems;
145
 
146
    public RequestedShipment() {
147
    }
148
 
149
    public RequestedShipment(
150
           java.util.Calendar shipTimestamp,
151
           com.fedex.ship.stub.DropoffType dropoffType,
152
           com.fedex.ship.stub.ServiceType serviceType,
153
           com.fedex.ship.stub.PackagingType packagingType,
154
           com.fedex.ship.stub.Weight totalWeight,
155
           com.fedex.ship.stub.Money totalInsuredValue,
156
           java.lang.String preferredCurrency,
157
           com.fedex.ship.stub.Party shipper,
158
           com.fedex.ship.stub.Party recipient,
159
           java.lang.String recipientLocationNumber,
160
           com.fedex.ship.stub.ContactAndAddress origin,
161
           com.fedex.ship.stub.Payment shippingChargesPayment,
162
           com.fedex.ship.stub.ShipmentSpecialServicesRequested specialServicesRequested,
163
           com.fedex.ship.stub.ExpressFreightDetail expressFreightDetail,
164
           com.fedex.ship.stub.FreightShipmentDetail freightShipmentDetail,
165
           java.lang.String deliveryInstructions,
166
           com.fedex.ship.stub.VariableHandlingChargeDetail variableHandlingChargeDetail,
167
           com.fedex.ship.stub.CustomsClearanceDetail customsClearanceDetail,
168
           com.fedex.ship.stub.PickupDetail pickupDetail,
169
           com.fedex.ship.stub.SmartPostShipmentDetail smartPostDetail,
170
           java.lang.Boolean blockInsightVisibility,
171
           com.fedex.ship.stub.LabelSpecification labelSpecification,
172
           com.fedex.ship.stub.ShippingDocumentSpecification shippingDocumentSpecification,
173
           com.fedex.ship.stub.RateRequestType[] rateRequestTypes,
174
           com.fedex.ship.stub.EdtRequestType edtRequestType,
175
           com.fedex.ship.stub.TrackingId masterTrackingId,
176
           org.apache.axis.types.NonNegativeInteger packageCount,
177
           com.fedex.ship.stub.ShipmentConfigurationData configurationData,
178
           com.fedex.ship.stub.RequestedPackageLineItem[] requestedPackageLineItems) {
179
           this.shipTimestamp = shipTimestamp;
180
           this.dropoffType = dropoffType;
181
           this.serviceType = serviceType;
182
           this.packagingType = packagingType;
183
           this.totalWeight = totalWeight;
184
           this.totalInsuredValue = totalInsuredValue;
185
           this.preferredCurrency = preferredCurrency;
186
           this.shipper = shipper;
187
           this.recipient = recipient;
188
           this.recipientLocationNumber = recipientLocationNumber;
189
           this.origin = origin;
190
           this.shippingChargesPayment = shippingChargesPayment;
191
           this.specialServicesRequested = specialServicesRequested;
192
           this.expressFreightDetail = expressFreightDetail;
193
           this.freightShipmentDetail = freightShipmentDetail;
194
           this.deliveryInstructions = deliveryInstructions;
195
           this.variableHandlingChargeDetail = variableHandlingChargeDetail;
196
           this.customsClearanceDetail = customsClearanceDetail;
197
           this.pickupDetail = pickupDetail;
198
           this.smartPostDetail = smartPostDetail;
199
           this.blockInsightVisibility = blockInsightVisibility;
200
           this.labelSpecification = labelSpecification;
201
           this.shippingDocumentSpecification = shippingDocumentSpecification;
202
           this.rateRequestTypes = rateRequestTypes;
203
           this.edtRequestType = edtRequestType;
204
           this.masterTrackingId = masterTrackingId;
205
           this.packageCount = packageCount;
206
           this.configurationData = configurationData;
207
           this.requestedPackageLineItems = requestedPackageLineItems;
208
    }
209
 
210
 
211
    /**
212
     * Gets the shipTimestamp value for this RequestedShipment.
213
     * 
214
     * @return shipTimestamp   * Identifies the date and time the package is tendered to FedEx.
215
     * Both the date and time portions of the string are expected to be used.
216
     * The date should not be a past date or a date more than 10 days in
217
     * the future. The time is the local time of the shipment based on the
218
     * shipper's time zone. The date component must be in the format: YYYY-MM-DD
219
     * (e.g. 2006-06-26). The time component must be in the format: HH:MM:SS
220
     * using a 24 hour clock (e.g. 11:00 a.m. is 11:00:00, whereas 5:00 p.m.
221
     * is 17:00:00). The date and time parts are separated by the letter
222
     * T (e.g. 2006-06-26T17:00:00). There is also a UTC offset component
223
     * indicating the number of hours/mainutes from UTC (e.g 2006-06-26T17:00:00-0400
224
     * is defined form June 26, 2006 5:00 pm Eastern Time).
225
     */
226
    public java.util.Calendar getShipTimestamp() {
227
        return shipTimestamp;
228
    }
229
 
230
 
231
    /**
232
     * Sets the shipTimestamp value for this RequestedShipment.
233
     * 
234
     * @param shipTimestamp   * Identifies the date and time the package is tendered to FedEx.
235
     * Both the date and time portions of the string are expected to be used.
236
     * The date should not be a past date or a date more than 10 days in
237
     * the future. The time is the local time of the shipment based on the
238
     * shipper's time zone. The date component must be in the format: YYYY-MM-DD
239
     * (e.g. 2006-06-26). The time component must be in the format: HH:MM:SS
240
     * using a 24 hour clock (e.g. 11:00 a.m. is 11:00:00, whereas 5:00 p.m.
241
     * is 17:00:00). The date and time parts are separated by the letter
242
     * T (e.g. 2006-06-26T17:00:00). There is also a UTC offset component
243
     * indicating the number of hours/mainutes from UTC (e.g 2006-06-26T17:00:00-0400
244
     * is defined form June 26, 2006 5:00 pm Eastern Time).
245
     */
246
    public void setShipTimestamp(java.util.Calendar shipTimestamp) {
247
        this.shipTimestamp = shipTimestamp;
248
    }
249
 
250
 
251
    /**
252
     * Gets the dropoffType value for this RequestedShipment.
253
     * 
254
     * @return dropoffType   * Identifies the method by which the package is to be tendered
255
     * to FedEx. This element does not dispatch a courier for package pickup.
256
     * See DropoffType for list of valid enumerated values.
257
     */
258
    public com.fedex.ship.stub.DropoffType getDropoffType() {
259
        return dropoffType;
260
    }
261
 
262
 
263
    /**
264
     * Sets the dropoffType value for this RequestedShipment.
265
     * 
266
     * @param dropoffType   * Identifies the method by which the package is to be tendered
267
     * to FedEx. This element does not dispatch a courier for package pickup.
268
     * See DropoffType for list of valid enumerated values.
269
     */
270
    public void setDropoffType(com.fedex.ship.stub.DropoffType dropoffType) {
271
        this.dropoffType = dropoffType;
272
    }
273
 
274
 
275
    /**
276
     * Gets the serviceType value for this RequestedShipment.
277
     * 
278
     * @return serviceType   * Identifies the FedEx service to use in shipping the package.
279
     * See ServiceType for list of valid enumerated values.
280
     */
281
    public com.fedex.ship.stub.ServiceType getServiceType() {
282
        return serviceType;
283
    }
284
 
285
 
286
    /**
287
     * Sets the serviceType value for this RequestedShipment.
288
     * 
289
     * @param serviceType   * Identifies the FedEx service to use in shipping the package.
290
     * See ServiceType for list of valid enumerated values.
291
     */
292
    public void setServiceType(com.fedex.ship.stub.ServiceType serviceType) {
293
        this.serviceType = serviceType;
294
    }
295
 
296
 
297
    /**
298
     * Gets the packagingType value for this RequestedShipment.
299
     * 
300
     * @return packagingType   * Identifies the packaging used by the requestor for the package.
301
     * See PackagingType for list of valid enumerated values.
302
     */
303
    public com.fedex.ship.stub.PackagingType getPackagingType() {
304
        return packagingType;
305
    }
306
 
307
 
308
    /**
309
     * Sets the packagingType value for this RequestedShipment.
310
     * 
311
     * @param packagingType   * Identifies the packaging used by the requestor for the package.
312
     * See PackagingType for list of valid enumerated values.
313
     */
314
    public void setPackagingType(com.fedex.ship.stub.PackagingType packagingType) {
315
        this.packagingType = packagingType;
316
    }
317
 
318
 
319
    /**
320
     * Gets the totalWeight value for this RequestedShipment.
321
     * 
322
     * @return totalWeight   * Identifies the total weight of the shipment being conveyed
323
     * to FedEx.This is only applicable to International shipments and should
324
     * only be used on the first package of a mutiple piece shipment.This
325
     * value contains 1 explicit decimal position
326
     */
327
    public com.fedex.ship.stub.Weight getTotalWeight() {
328
        return totalWeight;
329
    }
330
 
331
 
332
    /**
333
     * Sets the totalWeight value for this RequestedShipment.
334
     * 
335
     * @param totalWeight   * Identifies the total weight of the shipment being conveyed
336
     * to FedEx.This is only applicable to International shipments and should
337
     * only be used on the first package of a mutiple piece shipment.This
338
     * value contains 1 explicit decimal position
339
     */
340
    public void setTotalWeight(com.fedex.ship.stub.Weight totalWeight) {
341
        this.totalWeight = totalWeight;
342
    }
343
 
344
 
345
    /**
346
     * Gets the totalInsuredValue value for this RequestedShipment.
347
     * 
348
     * @return totalInsuredValue   * Total insured amount.
349
     */
350
    public com.fedex.ship.stub.Money getTotalInsuredValue() {
351
        return totalInsuredValue;
352
    }
353
 
354
 
355
    /**
356
     * Sets the totalInsuredValue value for this RequestedShipment.
357
     * 
358
     * @param totalInsuredValue   * Total insured amount.
359
     */
360
    public void setTotalInsuredValue(com.fedex.ship.stub.Money totalInsuredValue) {
361
        this.totalInsuredValue = totalInsuredValue;
362
    }
363
 
364
 
365
    /**
366
     * Gets the preferredCurrency value for this RequestedShipment.
367
     * 
368
     * @return preferredCurrency   * This attribute indicates the currency the caller requests to
369
     * have used in all returned monetary values (when a choice is possible).
370
     */
371
    public java.lang.String getPreferredCurrency() {
372
        return preferredCurrency;
373
    }
374
 
375
 
376
    /**
377
     * Sets the preferredCurrency value for this RequestedShipment.
378
     * 
379
     * @param preferredCurrency   * This attribute indicates the currency the caller requests to
380
     * have used in all returned monetary values (when a choice is possible).
381
     */
382
    public void setPreferredCurrency(java.lang.String preferredCurrency) {
383
        this.preferredCurrency = preferredCurrency;
384
    }
385
 
386
 
387
    /**
388
     * Gets the shipper value for this RequestedShipment.
389
     * 
390
     * @return shipper   * Descriptive data identifying the party responsible for shipping
391
     * the package. Shipper and Origin should have the same address.
392
     */
393
    public com.fedex.ship.stub.Party getShipper() {
394
        return shipper;
395
    }
396
 
397
 
398
    /**
399
     * Sets the shipper value for this RequestedShipment.
400
     * 
401
     * @param shipper   * Descriptive data identifying the party responsible for shipping
402
     * the package. Shipper and Origin should have the same address.
403
     */
404
    public void setShipper(com.fedex.ship.stub.Party shipper) {
405
        this.shipper = shipper;
406
    }
407
 
408
 
409
    /**
410
     * Gets the recipient value for this RequestedShipment.
411
     * 
412
     * @return recipient   * Descriptive data identifying the party receiving the package.
413
     */
414
    public com.fedex.ship.stub.Party getRecipient() {
415
        return recipient;
416
    }
417
 
418
 
419
    /**
420
     * Sets the recipient value for this RequestedShipment.
421
     * 
422
     * @param recipient   * Descriptive data identifying the party receiving the package.
423
     */
424
    public void setRecipient(com.fedex.ship.stub.Party recipient) {
425
        this.recipient = recipient;
426
    }
427
 
428
 
429
    /**
430
     * Gets the recipientLocationNumber value for this RequestedShipment.
431
     * 
432
     * @return recipientLocationNumber   * A unique identifier for a recipient location
433
     */
434
    public java.lang.String getRecipientLocationNumber() {
435
        return recipientLocationNumber;
436
    }
437
 
438
 
439
    /**
440
     * Sets the recipientLocationNumber value for this RequestedShipment.
441
     * 
442
     * @param recipientLocationNumber   * A unique identifier for a recipient location
443
     */
444
    public void setRecipientLocationNumber(java.lang.String recipientLocationNumber) {
445
        this.recipientLocationNumber = recipientLocationNumber;
446
    }
447
 
448
 
449
    /**
450
     * Gets the origin value for this RequestedShipment.
451
     * 
452
     * @return origin   * Physical starting address for the shipment, if different from
453
     * shipper's address.
454
     */
455
    public com.fedex.ship.stub.ContactAndAddress getOrigin() {
456
        return origin;
457
    }
458
 
459
 
460
    /**
461
     * Sets the origin value for this RequestedShipment.
462
     * 
463
     * @param origin   * Physical starting address for the shipment, if different from
464
     * shipper's address.
465
     */
466
    public void setOrigin(com.fedex.ship.stub.ContactAndAddress origin) {
467
        this.origin = origin;
468
    }
469
 
470
 
471
    /**
472
     * Gets the shippingChargesPayment value for this RequestedShipment.
473
     * 
474
     * @return shippingChargesPayment   * Descriptive data indicating the method and means of payment
475
     * to FedEx for providing shipping services.
476
     */
477
    public com.fedex.ship.stub.Payment getShippingChargesPayment() {
478
        return shippingChargesPayment;
479
    }
480
 
481
 
482
    /**
483
     * Sets the shippingChargesPayment value for this RequestedShipment.
484
     * 
485
     * @param shippingChargesPayment   * Descriptive data indicating the method and means of payment
486
     * to FedEx for providing shipping services.
487
     */
488
    public void setShippingChargesPayment(com.fedex.ship.stub.Payment shippingChargesPayment) {
489
        this.shippingChargesPayment = shippingChargesPayment;
490
    }
491
 
492
 
493
    /**
494
     * Gets the specialServicesRequested value for this RequestedShipment.
495
     * 
496
     * @return specialServicesRequested   * Descriptive data regarding special services requested by the
497
     * shipper for this shipment. If the shipper is requesting a special
498
     * service which requires additional data (e.g. COD), the special service
499
     * type must be present in the specialServiceTypes collection, and the
500
     * supporting detail must be provided in the appropriate sub-object.
501
     * For example, to request COD, "COD" must be included in the SpecialServiceTypes
502
     * collection and the CodDetail object must contain the required data.
503
     */
504
    public com.fedex.ship.stub.ShipmentSpecialServicesRequested getSpecialServicesRequested() {
505
        return specialServicesRequested;
506
    }
507
 
508
 
509
    /**
510
     * Sets the specialServicesRequested value for this RequestedShipment.
511
     * 
512
     * @param specialServicesRequested   * Descriptive data regarding special services requested by the
513
     * shipper for this shipment. If the shipper is requesting a special
514
     * service which requires additional data (e.g. COD), the special service
515
     * type must be present in the specialServiceTypes collection, and the
516
     * supporting detail must be provided in the appropriate sub-object.
517
     * For example, to request COD, "COD" must be included in the SpecialServiceTypes
518
     * collection and the CodDetail object must contain the required data.
519
     */
520
    public void setSpecialServicesRequested(com.fedex.ship.stub.ShipmentSpecialServicesRequested specialServicesRequested) {
521
        this.specialServicesRequested = specialServicesRequested;
522
    }
523
 
524
 
525
    /**
526
     * Gets the expressFreightDetail value for this RequestedShipment.
527
     * 
528
     * @return expressFreightDetail   * Details specific to an Express freight shipment.
529
     */
530
    public com.fedex.ship.stub.ExpressFreightDetail getExpressFreightDetail() {
531
        return expressFreightDetail;
532
    }
533
 
534
 
535
    /**
536
     * Sets the expressFreightDetail value for this RequestedShipment.
537
     * 
538
     * @param expressFreightDetail   * Details specific to an Express freight shipment.
539
     */
540
    public void setExpressFreightDetail(com.fedex.ship.stub.ExpressFreightDetail expressFreightDetail) {
541
        this.expressFreightDetail = expressFreightDetail;
542
    }
543
 
544
 
545
    /**
546
     * Gets the freightShipmentDetail value for this RequestedShipment.
547
     * 
548
     * @return freightShipmentDetail   * Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and
549
     * FEDEX_FREIGHT_PRIORITY services.
550
     */
551
    public com.fedex.ship.stub.FreightShipmentDetail getFreightShipmentDetail() {
552
        return freightShipmentDetail;
553
    }
554
 
555
 
556
    /**
557
     * Sets the freightShipmentDetail value for this RequestedShipment.
558
     * 
559
     * @param freightShipmentDetail   * Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and
560
     * FEDEX_FREIGHT_PRIORITY services.
561
     */
562
    public void setFreightShipmentDetail(com.fedex.ship.stub.FreightShipmentDetail freightShipmentDetail) {
563
        this.freightShipmentDetail = freightShipmentDetail;
564
    }
565
 
566
 
567
    /**
568
     * Gets the deliveryInstructions value for this RequestedShipment.
569
     * 
570
     * @return deliveryInstructions   * Used with Ground Home Delivery and Freight.
571
     */
572
    public java.lang.String getDeliveryInstructions() {
573
        return deliveryInstructions;
574
    }
575
 
576
 
577
    /**
578
     * Sets the deliveryInstructions value for this RequestedShipment.
579
     * 
580
     * @param deliveryInstructions   * Used with Ground Home Delivery and Freight.
581
     */
582
    public void setDeliveryInstructions(java.lang.String deliveryInstructions) {
583
        this.deliveryInstructions = deliveryInstructions;
584
    }
585
 
586
 
587
    /**
588
     * Gets the variableHandlingChargeDetail value for this RequestedShipment.
589
     * 
590
     * @return variableHandlingChargeDetail   * Details about how to calculate variable handling charges at
591
     * the shipment level.
592
     */
593
    public com.fedex.ship.stub.VariableHandlingChargeDetail getVariableHandlingChargeDetail() {
594
        return variableHandlingChargeDetail;
595
    }
596
 
597
 
598
    /**
599
     * Sets the variableHandlingChargeDetail value for this RequestedShipment.
600
     * 
601
     * @param variableHandlingChargeDetail   * Details about how to calculate variable handling charges at
602
     * the shipment level.
603
     */
604
    public void setVariableHandlingChargeDetail(com.fedex.ship.stub.VariableHandlingChargeDetail variableHandlingChargeDetail) {
605
        this.variableHandlingChargeDetail = variableHandlingChargeDetail;
606
    }
607
 
608
 
609
    /**
610
     * Gets the customsClearanceDetail value for this RequestedShipment.
611
     * 
612
     * @return customsClearanceDetail   * Customs clearance data, used for both international and intra-country
613
     * shipping.
614
     */
615
    public com.fedex.ship.stub.CustomsClearanceDetail getCustomsClearanceDetail() {
616
        return customsClearanceDetail;
617
    }
618
 
619
 
620
    /**
621
     * Sets the customsClearanceDetail value for this RequestedShipment.
622
     * 
623
     * @param customsClearanceDetail   * Customs clearance data, used for both international and intra-country
624
     * shipping.
625
     */
626
    public void setCustomsClearanceDetail(com.fedex.ship.stub.CustomsClearanceDetail customsClearanceDetail) {
627
        this.customsClearanceDetail = customsClearanceDetail;
628
    }
629
 
630
 
631
    /**
632
     * Gets the pickupDetail value for this RequestedShipment.
633
     * 
634
     * @return pickupDetail   * For use in "process tag" transaction.
635
     */
636
    public com.fedex.ship.stub.PickupDetail getPickupDetail() {
637
        return pickupDetail;
638
    }
639
 
640
 
641
    /**
642
     * Sets the pickupDetail value for this RequestedShipment.
643
     * 
644
     * @param pickupDetail   * For use in "process tag" transaction.
645
     */
646
    public void setPickupDetail(com.fedex.ship.stub.PickupDetail pickupDetail) {
647
        this.pickupDetail = pickupDetail;
648
    }
649
 
650
 
651
    /**
652
     * Gets the smartPostDetail value for this RequestedShipment.
653
     * 
654
     * @return smartPostDetail   * Specifies the characteristics of a shipment pertaining to SmartPost
655
     * services.
656
     */
657
    public com.fedex.ship.stub.SmartPostShipmentDetail getSmartPostDetail() {
658
        return smartPostDetail;
659
    }
660
 
661
 
662
    /**
663
     * Sets the smartPostDetail value for this RequestedShipment.
664
     * 
665
     * @param smartPostDetail   * Specifies the characteristics of a shipment pertaining to SmartPost
666
     * services.
667
     */
668
    public void setSmartPostDetail(com.fedex.ship.stub.SmartPostShipmentDetail smartPostDetail) {
669
        this.smartPostDetail = smartPostDetail;
670
    }
671
 
672
 
673
    /**
674
     * Gets the blockInsightVisibility value for this RequestedShipment.
675
     * 
676
     * @return blockInsightVisibility   * If true, only the shipper/payor will have visibility of this
677
     * shipment.
678
     */
679
    public java.lang.Boolean getBlockInsightVisibility() {
680
        return blockInsightVisibility;
681
    }
682
 
683
 
684
    /**
685
     * Sets the blockInsightVisibility value for this RequestedShipment.
686
     * 
687
     * @param blockInsightVisibility   * If true, only the shipper/payor will have visibility of this
688
     * shipment.
689
     */
690
    public void setBlockInsightVisibility(java.lang.Boolean blockInsightVisibility) {
691
        this.blockInsightVisibility = blockInsightVisibility;
692
    }
693
 
694
 
695
    /**
696
     * Gets the labelSpecification value for this RequestedShipment.
697
     * 
698
     * @return labelSpecification   * Details about the image format and printer type the label is
699
     * to returned in.
700
     */
701
    public com.fedex.ship.stub.LabelSpecification getLabelSpecification() {
702
        return labelSpecification;
703
    }
704
 
705
 
706
    /**
707
     * Sets the labelSpecification value for this RequestedShipment.
708
     * 
709
     * @param labelSpecification   * Details about the image format and printer type the label is
710
     * to returned in.
711
     */
712
    public void setLabelSpecification(com.fedex.ship.stub.LabelSpecification labelSpecification) {
713
        this.labelSpecification = labelSpecification;
714
    }
715
 
716
 
717
    /**
718
     * Gets the shippingDocumentSpecification value for this RequestedShipment.
719
     * 
720
     * @return shippingDocumentSpecification   * Contains data used to create additional (non-label) shipping
721
     * documents.
722
     */
723
    public com.fedex.ship.stub.ShippingDocumentSpecification getShippingDocumentSpecification() {
724
        return shippingDocumentSpecification;
725
    }
726
 
727
 
728
    /**
729
     * Sets the shippingDocumentSpecification value for this RequestedShipment.
730
     * 
731
     * @param shippingDocumentSpecification   * Contains data used to create additional (non-label) shipping
732
     * documents.
733
     */
734
    public void setShippingDocumentSpecification(com.fedex.ship.stub.ShippingDocumentSpecification shippingDocumentSpecification) {
735
        this.shippingDocumentSpecification = shippingDocumentSpecification;
736
    }
737
 
738
 
739
    /**
740
     * Gets the rateRequestTypes value for this RequestedShipment.
741
     * 
742
     * @return rateRequestTypes   * Specifies whether and what kind of rates the customer wishes
743
     * to have quoted on this shipment. The reply will also be constrained
744
     * by other data on the shipment and customer.
745
     */
746
    public com.fedex.ship.stub.RateRequestType[] getRateRequestTypes() {
747
        return rateRequestTypes;
748
    }
749
 
750
 
751
    /**
752
     * Sets the rateRequestTypes value for this RequestedShipment.
753
     * 
754
     * @param rateRequestTypes   * Specifies whether and what kind of rates the customer wishes
755
     * to have quoted on this shipment. The reply will also be constrained
756
     * by other data on the shipment and customer.
757
     */
758
    public void setRateRequestTypes(com.fedex.ship.stub.RateRequestType[] rateRequestTypes) {
759
        this.rateRequestTypes = rateRequestTypes;
760
    }
761
 
762
    public com.fedex.ship.stub.RateRequestType getRateRequestTypes(int i) {
763
        return this.rateRequestTypes[i];
764
    }
765
 
766
    public void setRateRequestTypes(int i, com.fedex.ship.stub.RateRequestType _value) {
767
        this.rateRequestTypes[i] = _value;
768
    }
769
 
770
 
771
    /**
772
     * Gets the edtRequestType value for this RequestedShipment.
773
     * 
774
     * @return edtRequestType   * Specifies whether the customer wishes to have Estimated Duties
775
     * and Taxes provided with the rate quotation on this shipment. Only
776
     * applies with shipments moving under international services.
777
     */
778
    public com.fedex.ship.stub.EdtRequestType getEdtRequestType() {
779
        return edtRequestType;
780
    }
781
 
782
 
783
    /**
784
     * Sets the edtRequestType value for this RequestedShipment.
785
     * 
786
     * @param edtRequestType   * Specifies whether the customer wishes to have Estimated Duties
787
     * and Taxes provided with the rate quotation on this shipment. Only
788
     * applies with shipments moving under international services.
789
     */
790
    public void setEdtRequestType(com.fedex.ship.stub.EdtRequestType edtRequestType) {
791
        this.edtRequestType = edtRequestType;
792
    }
793
 
794
 
795
    /**
796
     * Gets the masterTrackingId value for this RequestedShipment.
797
     * 
798
     * @return masterTrackingId   * Only used with multiple-transaction shipments, to identify
799
     * the master package in a multi-piece shipment.
800
     */
801
    public com.fedex.ship.stub.TrackingId getMasterTrackingId() {
802
        return masterTrackingId;
803
    }
804
 
805
 
806
    /**
807
     * Sets the masterTrackingId value for this RequestedShipment.
808
     * 
809
     * @param masterTrackingId   * Only used with multiple-transaction shipments, to identify
810
     * the master package in a multi-piece shipment.
811
     */
812
    public void setMasterTrackingId(com.fedex.ship.stub.TrackingId masterTrackingId) {
813
        this.masterTrackingId = masterTrackingId;
814
    }
815
 
816
 
817
    /**
818
     * Gets the packageCount value for this RequestedShipment.
819
     * 
820
     * @return packageCount   * The total number of packages in the entire shipment (even when
821
     * the shipment spans multiple transactions.)
822
     */
823
    public org.apache.axis.types.NonNegativeInteger getPackageCount() {
824
        return packageCount;
825
    }
826
 
827
 
828
    /**
829
     * Sets the packageCount value for this RequestedShipment.
830
     * 
831
     * @param packageCount   * The total number of packages in the entire shipment (even when
832
     * the shipment spans multiple transactions.)
833
     */
834
    public void setPackageCount(org.apache.axis.types.NonNegativeInteger packageCount) {
835
        this.packageCount = packageCount;
836
    }
837
 
838
 
839
    /**
840
     * Gets the configurationData value for this RequestedShipment.
841
     * 
842
     * @return configurationData   * Specifies data structures that may be re-used multiple times
843
     * with s single shipment.
844
     */
845
    public com.fedex.ship.stub.ShipmentConfigurationData getConfigurationData() {
846
        return configurationData;
847
    }
848
 
849
 
850
    /**
851
     * Sets the configurationData value for this RequestedShipment.
852
     * 
853
     * @param configurationData   * Specifies data structures that may be re-used multiple times
854
     * with s single shipment.
855
     */
856
    public void setConfigurationData(com.fedex.ship.stub.ShipmentConfigurationData configurationData) {
857
        this.configurationData = configurationData;
858
    }
859
 
860
 
861
    /**
862
     * Gets the requestedPackageLineItems value for this RequestedShipment.
863
     * 
864
     * @return requestedPackageLineItems   * One or more package-attribute descriptions, each of which describes
865
     * an individual package, a group of identical packages, or (for the
866
     * total-piece-total-weight case) common characteristics all packages
867
     * in the shipment.
868
     */
869
    public com.fedex.ship.stub.RequestedPackageLineItem[] getRequestedPackageLineItems() {
870
        return requestedPackageLineItems;
871
    }
872
 
873
 
874
    /**
875
     * Sets the requestedPackageLineItems value for this RequestedShipment.
876
     * 
877
     * @param requestedPackageLineItems   * One or more package-attribute descriptions, each of which describes
878
     * an individual package, a group of identical packages, or (for the
879
     * total-piece-total-weight case) common characteristics all packages
880
     * in the shipment.
881
     */
882
    public void setRequestedPackageLineItems(com.fedex.ship.stub.RequestedPackageLineItem[] requestedPackageLineItems) {
883
        this.requestedPackageLineItems = requestedPackageLineItems;
884
    }
885
 
886
    public com.fedex.ship.stub.RequestedPackageLineItem getRequestedPackageLineItems(int i) {
887
        return this.requestedPackageLineItems[i];
888
    }
889
 
890
    public void setRequestedPackageLineItems(int i, com.fedex.ship.stub.RequestedPackageLineItem _value) {
891
        this.requestedPackageLineItems[i] = _value;
892
    }
893
 
894
    private java.lang.Object __equalsCalc = null;
895
    public synchronized boolean equals(java.lang.Object obj) {
896
        if (!(obj instanceof RequestedShipment)) return false;
897
        RequestedShipment other = (RequestedShipment) obj;
898
        if (obj == null) return false;
899
        if (this == obj) return true;
900
        if (__equalsCalc != null) {
901
            return (__equalsCalc == obj);
902
        }
903
        __equalsCalc = obj;
904
        boolean _equals;
905
        _equals = true && 
906
            ((this.shipTimestamp==null && other.getShipTimestamp()==null) || 
907
             (this.shipTimestamp!=null &&
908
              this.shipTimestamp.equals(other.getShipTimestamp()))) &&
909
            ((this.dropoffType==null && other.getDropoffType()==null) || 
910
             (this.dropoffType!=null &&
911
              this.dropoffType.equals(other.getDropoffType()))) &&
912
            ((this.serviceType==null && other.getServiceType()==null) || 
913
             (this.serviceType!=null &&
914
              this.serviceType.equals(other.getServiceType()))) &&
915
            ((this.packagingType==null && other.getPackagingType()==null) || 
916
             (this.packagingType!=null &&
917
              this.packagingType.equals(other.getPackagingType()))) &&
918
            ((this.totalWeight==null && other.getTotalWeight()==null) || 
919
             (this.totalWeight!=null &&
920
              this.totalWeight.equals(other.getTotalWeight()))) &&
921
            ((this.totalInsuredValue==null && other.getTotalInsuredValue()==null) || 
922
             (this.totalInsuredValue!=null &&
923
              this.totalInsuredValue.equals(other.getTotalInsuredValue()))) &&
924
            ((this.preferredCurrency==null && other.getPreferredCurrency()==null) || 
925
             (this.preferredCurrency!=null &&
926
              this.preferredCurrency.equals(other.getPreferredCurrency()))) &&
927
            ((this.shipper==null && other.getShipper()==null) || 
928
             (this.shipper!=null &&
929
              this.shipper.equals(other.getShipper()))) &&
930
            ((this.recipient==null && other.getRecipient()==null) || 
931
             (this.recipient!=null &&
932
              this.recipient.equals(other.getRecipient()))) &&
933
            ((this.recipientLocationNumber==null && other.getRecipientLocationNumber()==null) || 
934
             (this.recipientLocationNumber!=null &&
935
              this.recipientLocationNumber.equals(other.getRecipientLocationNumber()))) &&
936
            ((this.origin==null && other.getOrigin()==null) || 
937
             (this.origin!=null &&
938
              this.origin.equals(other.getOrigin()))) &&
939
            ((this.shippingChargesPayment==null && other.getShippingChargesPayment()==null) || 
940
             (this.shippingChargesPayment!=null &&
941
              this.shippingChargesPayment.equals(other.getShippingChargesPayment()))) &&
942
            ((this.specialServicesRequested==null && other.getSpecialServicesRequested()==null) || 
943
             (this.specialServicesRequested!=null &&
944
              this.specialServicesRequested.equals(other.getSpecialServicesRequested()))) &&
945
            ((this.expressFreightDetail==null && other.getExpressFreightDetail()==null) || 
946
             (this.expressFreightDetail!=null &&
947
              this.expressFreightDetail.equals(other.getExpressFreightDetail()))) &&
948
            ((this.freightShipmentDetail==null && other.getFreightShipmentDetail()==null) || 
949
             (this.freightShipmentDetail!=null &&
950
              this.freightShipmentDetail.equals(other.getFreightShipmentDetail()))) &&
951
            ((this.deliveryInstructions==null && other.getDeliveryInstructions()==null) || 
952
             (this.deliveryInstructions!=null &&
953
              this.deliveryInstructions.equals(other.getDeliveryInstructions()))) &&
954
            ((this.variableHandlingChargeDetail==null && other.getVariableHandlingChargeDetail()==null) || 
955
             (this.variableHandlingChargeDetail!=null &&
956
              this.variableHandlingChargeDetail.equals(other.getVariableHandlingChargeDetail()))) &&
957
            ((this.customsClearanceDetail==null && other.getCustomsClearanceDetail()==null) || 
958
             (this.customsClearanceDetail!=null &&
959
              this.customsClearanceDetail.equals(other.getCustomsClearanceDetail()))) &&
960
            ((this.pickupDetail==null && other.getPickupDetail()==null) || 
961
             (this.pickupDetail!=null &&
962
              this.pickupDetail.equals(other.getPickupDetail()))) &&
963
            ((this.smartPostDetail==null && other.getSmartPostDetail()==null) || 
964
             (this.smartPostDetail!=null &&
965
              this.smartPostDetail.equals(other.getSmartPostDetail()))) &&
966
            ((this.blockInsightVisibility==null && other.getBlockInsightVisibility()==null) || 
967
             (this.blockInsightVisibility!=null &&
968
              this.blockInsightVisibility.equals(other.getBlockInsightVisibility()))) &&
969
            ((this.labelSpecification==null && other.getLabelSpecification()==null) || 
970
             (this.labelSpecification!=null &&
971
              this.labelSpecification.equals(other.getLabelSpecification()))) &&
972
            ((this.shippingDocumentSpecification==null && other.getShippingDocumentSpecification()==null) || 
973
             (this.shippingDocumentSpecification!=null &&
974
              this.shippingDocumentSpecification.equals(other.getShippingDocumentSpecification()))) &&
975
            ((this.rateRequestTypes==null && other.getRateRequestTypes()==null) || 
976
             (this.rateRequestTypes!=null &&
977
              java.util.Arrays.equals(this.rateRequestTypes, other.getRateRequestTypes()))) &&
978
            ((this.edtRequestType==null && other.getEdtRequestType()==null) || 
979
             (this.edtRequestType!=null &&
980
              this.edtRequestType.equals(other.getEdtRequestType()))) &&
981
            ((this.masterTrackingId==null && other.getMasterTrackingId()==null) || 
982
             (this.masterTrackingId!=null &&
983
              this.masterTrackingId.equals(other.getMasterTrackingId()))) &&
984
            ((this.packageCount==null && other.getPackageCount()==null) || 
985
             (this.packageCount!=null &&
986
              this.packageCount.equals(other.getPackageCount()))) &&
987
            ((this.configurationData==null && other.getConfigurationData()==null) || 
988
             (this.configurationData!=null &&
989
              this.configurationData.equals(other.getConfigurationData()))) &&
990
            ((this.requestedPackageLineItems==null && other.getRequestedPackageLineItems()==null) || 
991
             (this.requestedPackageLineItems!=null &&
992
              java.util.Arrays.equals(this.requestedPackageLineItems, other.getRequestedPackageLineItems())));
993
        __equalsCalc = null;
994
        return _equals;
995
    }
996
 
997
    private boolean __hashCodeCalc = false;
998
    public synchronized int hashCode() {
999
        if (__hashCodeCalc) {
1000
            return 0;
1001
        }
1002
        __hashCodeCalc = true;
1003
        int _hashCode = 1;
1004
        if (getShipTimestamp() != null) {
1005
            _hashCode += getShipTimestamp().hashCode();
1006
        }
1007
        if (getDropoffType() != null) {
1008
            _hashCode += getDropoffType().hashCode();
1009
        }
1010
        if (getServiceType() != null) {
1011
            _hashCode += getServiceType().hashCode();
1012
        }
1013
        if (getPackagingType() != null) {
1014
            _hashCode += getPackagingType().hashCode();
1015
        }
1016
        if (getTotalWeight() != null) {
1017
            _hashCode += getTotalWeight().hashCode();
1018
        }
1019
        if (getTotalInsuredValue() != null) {
1020
            _hashCode += getTotalInsuredValue().hashCode();
1021
        }
1022
        if (getPreferredCurrency() != null) {
1023
            _hashCode += getPreferredCurrency().hashCode();
1024
        }
1025
        if (getShipper() != null) {
1026
            _hashCode += getShipper().hashCode();
1027
        }
1028
        if (getRecipient() != null) {
1029
            _hashCode += getRecipient().hashCode();
1030
        }
1031
        if (getRecipientLocationNumber() != null) {
1032
            _hashCode += getRecipientLocationNumber().hashCode();
1033
        }
1034
        if (getOrigin() != null) {
1035
            _hashCode += getOrigin().hashCode();
1036
        }
1037
        if (getShippingChargesPayment() != null) {
1038
            _hashCode += getShippingChargesPayment().hashCode();
1039
        }
1040
        if (getSpecialServicesRequested() != null) {
1041
            _hashCode += getSpecialServicesRequested().hashCode();
1042
        }
1043
        if (getExpressFreightDetail() != null) {
1044
            _hashCode += getExpressFreightDetail().hashCode();
1045
        }
1046
        if (getFreightShipmentDetail() != null) {
1047
            _hashCode += getFreightShipmentDetail().hashCode();
1048
        }
1049
        if (getDeliveryInstructions() != null) {
1050
            _hashCode += getDeliveryInstructions().hashCode();
1051
        }
1052
        if (getVariableHandlingChargeDetail() != null) {
1053
            _hashCode += getVariableHandlingChargeDetail().hashCode();
1054
        }
1055
        if (getCustomsClearanceDetail() != null) {
1056
            _hashCode += getCustomsClearanceDetail().hashCode();
1057
        }
1058
        if (getPickupDetail() != null) {
1059
            _hashCode += getPickupDetail().hashCode();
1060
        }
1061
        if (getSmartPostDetail() != null) {
1062
            _hashCode += getSmartPostDetail().hashCode();
1063
        }
1064
        if (getBlockInsightVisibility() != null) {
1065
            _hashCode += getBlockInsightVisibility().hashCode();
1066
        }
1067
        if (getLabelSpecification() != null) {
1068
            _hashCode += getLabelSpecification().hashCode();
1069
        }
1070
        if (getShippingDocumentSpecification() != null) {
1071
            _hashCode += getShippingDocumentSpecification().hashCode();
1072
        }
1073
        if (getRateRequestTypes() != null) {
1074
            for (int i=0;
1075
                 i<java.lang.reflect.Array.getLength(getRateRequestTypes());
1076
                 i++) {
1077
                java.lang.Object obj = java.lang.reflect.Array.get(getRateRequestTypes(), i);
1078
                if (obj != null &&
1079
                    !obj.getClass().isArray()) {
1080
                    _hashCode += obj.hashCode();
1081
                }
1082
            }
1083
        }
1084
        if (getEdtRequestType() != null) {
1085
            _hashCode += getEdtRequestType().hashCode();
1086
        }
1087
        if (getMasterTrackingId() != null) {
1088
            _hashCode += getMasterTrackingId().hashCode();
1089
        }
1090
        if (getPackageCount() != null) {
1091
            _hashCode += getPackageCount().hashCode();
1092
        }
1093
        if (getConfigurationData() != null) {
1094
            _hashCode += getConfigurationData().hashCode();
1095
        }
1096
        if (getRequestedPackageLineItems() != null) {
1097
            for (int i=0;
1098
                 i<java.lang.reflect.Array.getLength(getRequestedPackageLineItems());
1099
                 i++) {
1100
                java.lang.Object obj = java.lang.reflect.Array.get(getRequestedPackageLineItems(), i);
1101
                if (obj != null &&
1102
                    !obj.getClass().isArray()) {
1103
                    _hashCode += obj.hashCode();
1104
                }
1105
            }
1106
        }
1107
        __hashCodeCalc = false;
1108
        return _hashCode;
1109
    }
1110
 
1111
    // Type metadata
1112
    private static org.apache.axis.description.TypeDesc typeDesc =
1113
        new org.apache.axis.description.TypeDesc(RequestedShipment.class, true);
1114
 
1115
    static {
1116
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RequestedShipment"));
1117
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
1118
        elemField.setFieldName("shipTimestamp");
1119
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShipTimestamp"));
1120
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
1121
        elemField.setNillable(false);
1122
        typeDesc.addFieldDesc(elemField);
1123
        elemField = new org.apache.axis.description.ElementDesc();
1124
        elemField.setFieldName("dropoffType");
1125
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DropoffType"));
1126
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DropoffType"));
1127
        elemField.setNillable(false);
1128
        typeDesc.addFieldDesc(elemField);
1129
        elemField = new org.apache.axis.description.ElementDesc();
1130
        elemField.setFieldName("serviceType");
1131
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ServiceType"));
1132
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ServiceType"));
1133
        elemField.setNillable(false);
1134
        typeDesc.addFieldDesc(elemField);
1135
        elemField = new org.apache.axis.description.ElementDesc();
1136
        elemField.setFieldName("packagingType");
1137
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PackagingType"));
1138
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PackagingType"));
1139
        elemField.setNillable(false);
1140
        typeDesc.addFieldDesc(elemField);
1141
        elemField = new org.apache.axis.description.ElementDesc();
1142
        elemField.setFieldName("totalWeight");
1143
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalWeight"));
1144
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Weight"));
1145
        elemField.setMinOccurs(0);
1146
        elemField.setNillable(false);
1147
        typeDesc.addFieldDesc(elemField);
1148
        elemField = new org.apache.axis.description.ElementDesc();
1149
        elemField.setFieldName("totalInsuredValue");
1150
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalInsuredValue"));
1151
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));
1152
        elemField.setMinOccurs(0);
1153
        elemField.setNillable(false);
1154
        typeDesc.addFieldDesc(elemField);
1155
        elemField = new org.apache.axis.description.ElementDesc();
1156
        elemField.setFieldName("preferredCurrency");
1157
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PreferredCurrency"));
1158
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
1159
        elemField.setMinOccurs(0);
1160
        elemField.setNillable(false);
1161
        typeDesc.addFieldDesc(elemField);
1162
        elemField = new org.apache.axis.description.ElementDesc();
1163
        elemField.setFieldName("shipper");
1164
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Shipper"));
1165
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Party"));
1166
        elemField.setNillable(false);
1167
        typeDesc.addFieldDesc(elemField);
1168
        elemField = new org.apache.axis.description.ElementDesc();
1169
        elemField.setFieldName("recipient");
1170
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Recipient"));
1171
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Party"));
1172
        elemField.setNillable(false);
1173
        typeDesc.addFieldDesc(elemField);
1174
        elemField = new org.apache.axis.description.ElementDesc();
1175
        elemField.setFieldName("recipientLocationNumber");
1176
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RecipientLocationNumber"));
1177
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
1178
        elemField.setMinOccurs(0);
1179
        elemField.setNillable(false);
1180
        typeDesc.addFieldDesc(elemField);
1181
        elemField = new org.apache.axis.description.ElementDesc();
1182
        elemField.setFieldName("origin");
1183
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Origin"));
1184
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ContactAndAddress"));
1185
        elemField.setMinOccurs(0);
1186
        elemField.setNillable(false);
1187
        typeDesc.addFieldDesc(elemField);
1188
        elemField = new org.apache.axis.description.ElementDesc();
1189
        elemField.setFieldName("shippingChargesPayment");
1190
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShippingChargesPayment"));
1191
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Payment"));
1192
        elemField.setMinOccurs(0);
1193
        elemField.setNillable(false);
1194
        typeDesc.addFieldDesc(elemField);
1195
        elemField = new org.apache.axis.description.ElementDesc();
1196
        elemField.setFieldName("specialServicesRequested");
1197
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SpecialServicesRequested"));
1198
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShipmentSpecialServicesRequested"));
1199
        elemField.setMinOccurs(0);
1200
        elemField.setNillable(false);
1201
        typeDesc.addFieldDesc(elemField);
1202
        elemField = new org.apache.axis.description.ElementDesc();
1203
        elemField.setFieldName("expressFreightDetail");
1204
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ExpressFreightDetail"));
1205
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ExpressFreightDetail"));
1206
        elemField.setMinOccurs(0);
1207
        elemField.setNillable(false);
1208
        typeDesc.addFieldDesc(elemField);
1209
        elemField = new org.apache.axis.description.ElementDesc();
1210
        elemField.setFieldName("freightShipmentDetail");
1211
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightShipmentDetail"));
1212
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightShipmentDetail"));
1213
        elemField.setMinOccurs(0);
1214
        elemField.setNillable(false);
1215
        typeDesc.addFieldDesc(elemField);
1216
        elemField = new org.apache.axis.description.ElementDesc();
1217
        elemField.setFieldName("deliveryInstructions");
1218
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DeliveryInstructions"));
1219
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
1220
        elemField.setMinOccurs(0);
1221
        elemField.setNillable(false);
1222
        typeDesc.addFieldDesc(elemField);
1223
        elemField = new org.apache.axis.description.ElementDesc();
1224
        elemField.setFieldName("variableHandlingChargeDetail");
1225
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "VariableHandlingChargeDetail"));
1226
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "VariableHandlingChargeDetail"));
1227
        elemField.setMinOccurs(0);
1228
        elemField.setNillable(false);
1229
        typeDesc.addFieldDesc(elemField);
1230
        elemField = new org.apache.axis.description.ElementDesc();
1231
        elemField.setFieldName("customsClearanceDetail");
1232
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomsClearanceDetail"));
1233
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomsClearanceDetail"));
1234
        elemField.setMinOccurs(0);
1235
        elemField.setNillable(false);
1236
        typeDesc.addFieldDesc(elemField);
1237
        elemField = new org.apache.axis.description.ElementDesc();
1238
        elemField.setFieldName("pickupDetail");
1239
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PickupDetail"));
1240
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PickupDetail"));
1241
        elemField.setMinOccurs(0);
1242
        elemField.setNillable(false);
1243
        typeDesc.addFieldDesc(elemField);
1244
        elemField = new org.apache.axis.description.ElementDesc();
1245
        elemField.setFieldName("smartPostDetail");
1246
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SmartPostDetail"));
1247
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SmartPostShipmentDetail"));
1248
        elemField.setMinOccurs(0);
1249
        elemField.setNillable(false);
1250
        typeDesc.addFieldDesc(elemField);
1251
        elemField = new org.apache.axis.description.ElementDesc();
1252
        elemField.setFieldName("blockInsightVisibility");
1253
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "BlockInsightVisibility"));
1254
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
1255
        elemField.setMinOccurs(0);
1256
        elemField.setNillable(false);
1257
        typeDesc.addFieldDesc(elemField);
1258
        elemField = new org.apache.axis.description.ElementDesc();
1259
        elemField.setFieldName("labelSpecification");
1260
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "LabelSpecification"));
1261
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "LabelSpecification"));
1262
        elemField.setNillable(false);
1263
        typeDesc.addFieldDesc(elemField);
1264
        elemField = new org.apache.axis.description.ElementDesc();
1265
        elemField.setFieldName("shippingDocumentSpecification");
1266
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShippingDocumentSpecification"));
1267
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShippingDocumentSpecification"));
1268
        elemField.setMinOccurs(0);
1269
        elemField.setNillable(false);
1270
        typeDesc.addFieldDesc(elemField);
1271
        elemField = new org.apache.axis.description.ElementDesc();
1272
        elemField.setFieldName("rateRequestTypes");
1273
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RateRequestTypes"));
1274
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RateRequestType"));
1275
        elemField.setNillable(false);
1276
        elemField.setMaxOccursUnbounded(true);
1277
        typeDesc.addFieldDesc(elemField);
1278
        elemField = new org.apache.axis.description.ElementDesc();
1279
        elemField.setFieldName("edtRequestType");
1280
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "EdtRequestType"));
1281
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "EdtRequestType"));
1282
        elemField.setMinOccurs(0);
1283
        elemField.setNillable(false);
1284
        typeDesc.addFieldDesc(elemField);
1285
        elemField = new org.apache.axis.description.ElementDesc();
1286
        elemField.setFieldName("masterTrackingId");
1287
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "MasterTrackingId"));
1288
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TrackingId"));
1289
        elemField.setMinOccurs(0);
1290
        elemField.setNillable(false);
1291
        typeDesc.addFieldDesc(elemField);
1292
        elemField = new org.apache.axis.description.ElementDesc();
1293
        elemField.setFieldName("packageCount");
1294
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PackageCount"));
1295
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"));
1296
        elemField.setNillable(false);
1297
        typeDesc.addFieldDesc(elemField);
1298
        elemField = new org.apache.axis.description.ElementDesc();
1299
        elemField.setFieldName("configurationData");
1300
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ConfigurationData"));
1301
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShipmentConfigurationData"));
1302
        elemField.setMinOccurs(0);
1303
        elemField.setNillable(false);
1304
        typeDesc.addFieldDesc(elemField);
1305
        elemField = new org.apache.axis.description.ElementDesc();
1306
        elemField.setFieldName("requestedPackageLineItems");
1307
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RequestedPackageLineItems"));
1308
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RequestedPackageLineItem"));
1309
        elemField.setMinOccurs(0);
1310
        elemField.setNillable(false);
1311
        typeDesc.addFieldDesc(elemField);
1312
    }
1313
 
1314
    /**
1315
     * Return type metadata object
1316
     */
1317
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
1318
        return typeDesc;
1319
    }
1320
 
1321
    /**
1322
     * Get Custom Serializer
1323
     */
1324
    public static org.apache.axis.encoding.Serializer getSerializer(
1325
           java.lang.String mechType, 
1326
           java.lang.Class _javaType,  
1327
           javax.xml.namespace.QName _xmlType) {
1328
        return 
1329
          new  org.apache.axis.encoding.ser.BeanSerializer(
1330
            _javaType, _xmlType, typeDesc);
1331
    }
1332
 
1333
    /**
1334
     * Get Custom Deserializer
1335
     */
1336
    public static org.apache.axis.encoding.Deserializer getDeserializer(
1337
           java.lang.String mechType, 
1338
           java.lang.Class _javaType,  
1339
           javax.xml.namespace.QName _xmlType) {
1340
        return 
1341
          new  org.apache.axis.encoding.ser.BeanDeserializer(
1342
            _javaType, _xmlType, typeDesc);
1343
    }
1344
 
1345
}