fedex-web-services 1.1.51 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +4 -0
  3. data/Gemfile +4 -0
  4. data/README.md +113 -0
  5. data/Rakefile +3 -0
  6. data/examples/create_shipments.rb +81 -0
  7. data/fedex-web-services.gemspec +26 -0
  8. data/lib/fedex_web_services.rb +13 -0
  9. data/lib/fedex_web_services/api.rb +66 -0
  10. data/lib/fedex_web_services/close_smart_post_request.rb +23 -0
  11. data/lib/fedex_web_services/delete_shipment_request.rb +31 -0
  12. data/lib/fedex_web_services/process_shipment_request.rb +96 -0
  13. data/lib/fedex_web_services/process_shipment_response.rb +28 -0
  14. data/lib/fedex_web_services/railtie.rb +7 -0
  15. data/lib/fedex_web_services/request.rb +57 -0
  16. data/lib/fedex_web_services/response.rb +16 -0
  17. data/lib/fedex_web_services/soap.rb +6 -0
  18. data/lib/fedex_web_services/soap/CloseServiceDefinitions.rb +910 -0
  19. data/lib/fedex_web_services/soap/CloseServiceDefinitionsDriver.rb +93 -0
  20. data/lib/fedex_web_services/soap/CloseServiceDefinitionsMappingRegistry.rb +1201 -0
  21. data/lib/fedex_web_services/soap/RateServiceDefinitions.rb +4318 -0
  22. data/lib/fedex_web_services/soap/RateServiceDefinitionsDriver.rb +53 -0
  23. data/lib/fedex_web_services/soap/RateServiceDefinitionsMappingRegistry.rb +4655 -0
  24. data/lib/fedex_web_services/soap/ShipServiceDefinitions.rb +4911 -0
  25. data/lib/fedex_web_services/soap/ShipServiceDefinitionsDriver.rb +101 -0
  26. data/lib/fedex_web_services/soap/ShipServiceDefinitionsMappingRegistry.rb +5405 -0
  27. data/lib/fedex_web_services/version.rb +3 -0
  28. data/license.txt +7 -0
  29. data/tasks/generate_definitions.rake +23 -0
  30. data/tasks/test.rake +5 -0
  31. data/test/integration_test.rb +109 -0
  32. metadata +76 -34
  33. data/lib/fedex.rb +0 -2
  34. data/lib/fedex/version.rb +0 -3
  35. data/lib/fedex/web_services.rb +0 -10
  36. data/lib/fedex/web_services/definitions.rb +0 -46
  37. data/lib/fedex/web_services/request/base.rb +0 -69
  38. data/lib/fedex/web_services/request/delete_shipment.rb +0 -27
  39. data/lib/fedex/web_services/request/get_rates.rb +0 -61
  40. data/lib/fedex/web_services/request/process_shipment.rb +0 -76
  41. data/lib/fedex/web_services/service/base.rb +0 -72
  42. data/lib/fedex/web_services/service/rate.rb +0 -40
  43. data/lib/fedex/web_services/service/ship.rb +0 -85
  44. data/lib/generators/fedex/generate_definitions_generator.rb +0 -38
@@ -0,0 +1,4318 @@
1
+ # encoding: UTF-8
2
+ # Generated by wsdl2ruby (SOAP4R-NG/2.0.3)
3
+ require 'xsd/qname'
4
+
5
+ module FedexWebServices; module Soap; module Rate
6
+
7
+
8
+ # {http://fedex.com/ws/rate/v13}AdditionalLabelsDetail
9
+ # type - FedexWebServices::Soap::Rate::AdditionalLabelsType
10
+ # count - SOAP::SOAPNonNegativeInteger
11
+ class AdditionalLabelsDetail
12
+ attr_accessor :type
13
+ attr_accessor :count
14
+
15
+ def initialize(type = nil, count = nil)
16
+ @type = type
17
+ @count = count
18
+ end
19
+ end
20
+
21
+ # {http://fedex.com/ws/rate/v13}Address
22
+ # streetLines - SOAP::SOAPString
23
+ # city - SOAP::SOAPString
24
+ # stateOrProvinceCode - SOAP::SOAPString
25
+ # postalCode - SOAP::SOAPString
26
+ # urbanizationCode - SOAP::SOAPString
27
+ # countryCode - SOAP::SOAPString
28
+ # countryName - SOAP::SOAPString
29
+ # residential - SOAP::SOAPBoolean
30
+ class Address
31
+ attr_accessor :streetLines
32
+ attr_accessor :city
33
+ attr_accessor :stateOrProvinceCode
34
+ attr_accessor :postalCode
35
+ attr_accessor :urbanizationCode
36
+ attr_accessor :countryCode
37
+ attr_accessor :countryName
38
+ attr_accessor :residential
39
+
40
+ def initialize(streetLines = [], city = nil, stateOrProvinceCode = nil, postalCode = nil, urbanizationCode = nil, countryCode = nil, countryName = nil, residential = nil)
41
+ @streetLines = streetLines
42
+ @city = city
43
+ @stateOrProvinceCode = stateOrProvinceCode
44
+ @postalCode = postalCode
45
+ @urbanizationCode = urbanizationCode
46
+ @countryCode = countryCode
47
+ @countryName = countryName
48
+ @residential = residential
49
+ end
50
+ end
51
+
52
+ # {http://fedex.com/ws/rate/v13}BrokerDetail
53
+ # type - FedexWebServices::Soap::Rate::BrokerType
54
+ # broker - FedexWebServices::Soap::Rate::Party
55
+ class BrokerDetail
56
+ attr_accessor :type
57
+ attr_accessor :broker
58
+
59
+ def initialize(type = nil, broker = nil)
60
+ @type = type
61
+ @broker = broker
62
+ end
63
+ end
64
+
65
+ # {http://fedex.com/ws/rate/v13}CertificateOfOriginDetail
66
+ # documentFormat - FedexWebServices::Soap::Rate::ShippingDocumentFormat
67
+ # customerImageUsages - FedexWebServices::Soap::Rate::CustomerImageUsage
68
+ class CertificateOfOriginDetail
69
+ attr_accessor :documentFormat
70
+ attr_accessor :customerImageUsages
71
+
72
+ def initialize(documentFormat = nil, customerImageUsages = [])
73
+ @documentFormat = documentFormat
74
+ @customerImageUsages = customerImageUsages
75
+ end
76
+ end
77
+
78
+ # {http://fedex.com/ws/rate/v13}ClientDetail
79
+ # accountNumber - SOAP::SOAPString
80
+ # meterNumber - SOAP::SOAPString
81
+ # integratorId - SOAP::SOAPString
82
+ # region - FedexWebServices::Soap::Rate::ExpressRegionCode
83
+ # localization - FedexWebServices::Soap::Rate::Localization
84
+ class ClientDetail
85
+ attr_accessor :accountNumber
86
+ attr_accessor :meterNumber
87
+ attr_accessor :integratorId
88
+ attr_accessor :region
89
+ attr_accessor :localization
90
+
91
+ def initialize(accountNumber = nil, meterNumber = nil, integratorId = nil, region = nil, localization = nil)
92
+ @accountNumber = accountNumber
93
+ @meterNumber = meterNumber
94
+ @integratorId = integratorId
95
+ @region = region
96
+ @localization = localization
97
+ end
98
+ end
99
+
100
+ # {http://fedex.com/ws/rate/v13}CodAddTransportationChargesDetail
101
+ # rateTypeBasis - FedexWebServices::Soap::Rate::RateTypeBasisType
102
+ # chargeBasis - FedexWebServices::Soap::Rate::CodAddTransportationChargeBasisType
103
+ # chargeBasisLevel - FedexWebServices::Soap::Rate::ChargeBasisLevelType
104
+ class CodAddTransportationChargesDetail
105
+ attr_accessor :rateTypeBasis
106
+ attr_accessor :chargeBasis
107
+ attr_accessor :chargeBasisLevel
108
+
109
+ def initialize(rateTypeBasis = nil, chargeBasis = nil, chargeBasisLevel = nil)
110
+ @rateTypeBasis = rateTypeBasis
111
+ @chargeBasis = chargeBasis
112
+ @chargeBasisLevel = chargeBasisLevel
113
+ end
114
+ end
115
+
116
+ # {http://fedex.com/ws/rate/v13}CodDetail
117
+ # codCollectionAmount - FedexWebServices::Soap::Rate::Money
118
+ # addTransportationChargesDetail - FedexWebServices::Soap::Rate::CodAddTransportationChargesDetail
119
+ # collectionType - FedexWebServices::Soap::Rate::CodCollectionType
120
+ # codRecipient - FedexWebServices::Soap::Rate::Party
121
+ # financialInstitutionContactAndAddress - FedexWebServices::Soap::Rate::ContactAndAddress
122
+ # remitToName - SOAP::SOAPString
123
+ # referenceIndicator - FedexWebServices::Soap::Rate::CodReturnReferenceIndicatorType
124
+ # returnTrackingId - FedexWebServices::Soap::Rate::TrackingId
125
+ class CodDetail
126
+ attr_accessor :codCollectionAmount
127
+ attr_accessor :addTransportationChargesDetail
128
+ attr_accessor :collectionType
129
+ attr_accessor :codRecipient
130
+ attr_accessor :financialInstitutionContactAndAddress
131
+ attr_accessor :remitToName
132
+ attr_accessor :referenceIndicator
133
+ attr_accessor :returnTrackingId
134
+
135
+ def initialize(codCollectionAmount = nil, addTransportationChargesDetail = nil, collectionType = nil, codRecipient = nil, financialInstitutionContactAndAddress = nil, remitToName = nil, referenceIndicator = nil, returnTrackingId = nil)
136
+ @codCollectionAmount = codCollectionAmount
137
+ @addTransportationChargesDetail = addTransportationChargesDetail
138
+ @collectionType = collectionType
139
+ @codRecipient = codRecipient
140
+ @financialInstitutionContactAndAddress = financialInstitutionContactAndAddress
141
+ @remitToName = remitToName
142
+ @referenceIndicator = referenceIndicator
143
+ @returnTrackingId = returnTrackingId
144
+ end
145
+ end
146
+
147
+ # {http://fedex.com/ws/rate/v13}CommercialInvoice
148
+ # comments - SOAP::SOAPString
149
+ # freightCharge - FedexWebServices::Soap::Rate::Money
150
+ # taxesOrMiscellaneousCharge - FedexWebServices::Soap::Rate::Money
151
+ # taxesOrMiscellaneousChargeType - FedexWebServices::Soap::Rate::TaxesOrMiscellaneousChargeType
152
+ # packingCosts - FedexWebServices::Soap::Rate::Money
153
+ # handlingCosts - FedexWebServices::Soap::Rate::Money
154
+ # specialInstructions - SOAP::SOAPString
155
+ # declarationStatement - SOAP::SOAPString
156
+ # paymentTerms - SOAP::SOAPString
157
+ # purpose - FedexWebServices::Soap::Rate::PurposeOfShipmentType
158
+ # originatorName - SOAP::SOAPString
159
+ # termsOfSale - FedexWebServices::Soap::Rate::TermsOfSaleType
160
+ class CommercialInvoice
161
+ attr_accessor :comments
162
+ attr_accessor :freightCharge
163
+ attr_accessor :taxesOrMiscellaneousCharge
164
+ attr_accessor :taxesOrMiscellaneousChargeType
165
+ attr_accessor :packingCosts
166
+ attr_accessor :handlingCosts
167
+ attr_accessor :specialInstructions
168
+ attr_accessor :declarationStatement
169
+ attr_accessor :paymentTerms
170
+ attr_accessor :purpose
171
+ attr_accessor :originatorName
172
+ attr_accessor :termsOfSale
173
+
174
+ def initialize(comments = [], freightCharge = nil, taxesOrMiscellaneousCharge = nil, taxesOrMiscellaneousChargeType = nil, packingCosts = nil, handlingCosts = nil, specialInstructions = nil, declarationStatement = nil, paymentTerms = nil, purpose = nil, originatorName = nil, termsOfSale = nil)
175
+ @comments = comments
176
+ @freightCharge = freightCharge
177
+ @taxesOrMiscellaneousCharge = taxesOrMiscellaneousCharge
178
+ @taxesOrMiscellaneousChargeType = taxesOrMiscellaneousChargeType
179
+ @packingCosts = packingCosts
180
+ @handlingCosts = handlingCosts
181
+ @specialInstructions = specialInstructions
182
+ @declarationStatement = declarationStatement
183
+ @paymentTerms = paymentTerms
184
+ @purpose = purpose
185
+ @originatorName = originatorName
186
+ @termsOfSale = termsOfSale
187
+ end
188
+ end
189
+
190
+ # {http://fedex.com/ws/rate/v13}CommercialInvoiceDetail
191
+ # format - FedexWebServices::Soap::Rate::ShippingDocumentFormat
192
+ # customerImageUsages - FedexWebServices::Soap::Rate::CustomerImageUsage
193
+ class CommercialInvoiceDetail
194
+ attr_accessor :format
195
+ attr_accessor :customerImageUsages
196
+
197
+ def initialize(format = nil, customerImageUsages = [])
198
+ @format = format
199
+ @customerImageUsages = customerImageUsages
200
+ end
201
+ end
202
+
203
+ # {http://fedex.com/ws/rate/v13}CommitDetail
204
+ # commodityName - SOAP::SOAPString
205
+ # serviceType - FedexWebServices::Soap::Rate::ServiceType
206
+ # appliedOptions - FedexWebServices::Soap::Rate::ServiceOptionType
207
+ # appliedSubOptions - FedexWebServices::Soap::Rate::ServiceSubOptionDetail
208
+ # commitTimestamp - SOAP::SOAPDateTime
209
+ # dayOfWeek - FedexWebServices::Soap::Rate::DayOfWeekType
210
+ # transitTime - FedexWebServices::Soap::Rate::TransitTimeType
211
+ # maximumTransitTime - FedexWebServices::Soap::Rate::TransitTimeType
212
+ # destinationServiceArea - SOAP::SOAPString
213
+ # brokerAddress - FedexWebServices::Soap::Rate::Address
214
+ # brokerLocationId - SOAP::SOAPString
215
+ # brokerCommitTimestamp - SOAP::SOAPDateTime
216
+ # brokerCommitDayOfWeek - FedexWebServices::Soap::Rate::DayOfWeekType
217
+ # brokerToDestinationDays - SOAP::SOAPNonNegativeInteger
218
+ # proofOfDeliveryDate - SOAP::SOAPDate
219
+ # proofOfDeliveryDayOfWeek - FedexWebServices::Soap::Rate::DayOfWeekType
220
+ # commitMessages - FedexWebServices::Soap::Rate::Notification
221
+ # deliveryMessages - SOAP::SOAPString
222
+ # delayDetails - FedexWebServices::Soap::Rate::DelayDetail
223
+ # documentContent - FedexWebServices::Soap::Rate::InternationalDocumentContentType
224
+ # requiredDocuments - FedexWebServices::Soap::Rate::RequiredShippingDocumentType
225
+ # freightCommitDetail - FedexWebServices::Soap::Rate::FreightCommitDetail
226
+ class CommitDetail
227
+ attr_accessor :commodityName
228
+ attr_accessor :serviceType
229
+ attr_accessor :appliedOptions
230
+ attr_accessor :appliedSubOptions
231
+ attr_accessor :commitTimestamp
232
+ attr_accessor :dayOfWeek
233
+ attr_accessor :transitTime
234
+ attr_accessor :maximumTransitTime
235
+ attr_accessor :destinationServiceArea
236
+ attr_accessor :brokerAddress
237
+ attr_accessor :brokerLocationId
238
+ attr_accessor :brokerCommitTimestamp
239
+ attr_accessor :brokerCommitDayOfWeek
240
+ attr_accessor :brokerToDestinationDays
241
+ attr_accessor :proofOfDeliveryDate
242
+ attr_accessor :proofOfDeliveryDayOfWeek
243
+ attr_accessor :commitMessages
244
+ attr_accessor :deliveryMessages
245
+ attr_accessor :delayDetails
246
+ attr_accessor :documentContent
247
+ attr_accessor :requiredDocuments
248
+ attr_accessor :freightCommitDetail
249
+
250
+ def initialize(commodityName = nil, serviceType = nil, appliedOptions = [], appliedSubOptions = nil, commitTimestamp = nil, dayOfWeek = nil, transitTime = nil, maximumTransitTime = nil, destinationServiceArea = nil, brokerAddress = nil, brokerLocationId = nil, brokerCommitTimestamp = nil, brokerCommitDayOfWeek = nil, brokerToDestinationDays = nil, proofOfDeliveryDate = nil, proofOfDeliveryDayOfWeek = nil, commitMessages = [], deliveryMessages = [], delayDetails = [], documentContent = nil, requiredDocuments = [], freightCommitDetail = nil)
251
+ @commodityName = commodityName
252
+ @serviceType = serviceType
253
+ @appliedOptions = appliedOptions
254
+ @appliedSubOptions = appliedSubOptions
255
+ @commitTimestamp = commitTimestamp
256
+ @dayOfWeek = dayOfWeek
257
+ @transitTime = transitTime
258
+ @maximumTransitTime = maximumTransitTime
259
+ @destinationServiceArea = destinationServiceArea
260
+ @brokerAddress = brokerAddress
261
+ @brokerLocationId = brokerLocationId
262
+ @brokerCommitTimestamp = brokerCommitTimestamp
263
+ @brokerCommitDayOfWeek = brokerCommitDayOfWeek
264
+ @brokerToDestinationDays = brokerToDestinationDays
265
+ @proofOfDeliveryDate = proofOfDeliveryDate
266
+ @proofOfDeliveryDayOfWeek = proofOfDeliveryDayOfWeek
267
+ @commitMessages = commitMessages
268
+ @deliveryMessages = deliveryMessages
269
+ @delayDetails = delayDetails
270
+ @documentContent = documentContent
271
+ @requiredDocuments = requiredDocuments
272
+ @freightCommitDetail = freightCommitDetail
273
+ end
274
+ end
275
+
276
+ # {http://fedex.com/ws/rate/v13}Commodity
277
+ # name - SOAP::SOAPString
278
+ # numberOfPieces - SOAP::SOAPNonNegativeInteger
279
+ # description - SOAP::SOAPString
280
+ # countryOfManufacture - SOAP::SOAPString
281
+ # harmonizedCode - SOAP::SOAPString
282
+ # weight - FedexWebServices::Soap::Rate::Weight
283
+ # quantity - SOAP::SOAPNonNegativeInteger
284
+ # quantityUnits - SOAP::SOAPString
285
+ # additionalMeasures - FedexWebServices::Soap::Rate::Measure
286
+ # unitPrice - FedexWebServices::Soap::Rate::Money
287
+ # customsValue - FedexWebServices::Soap::Rate::Money
288
+ # exciseConditions - FedexWebServices::Soap::Rate::EdtExciseCondition
289
+ # exportLicenseNumber - SOAP::SOAPString
290
+ # exportLicenseExpirationDate - SOAP::SOAPDate
291
+ # cIMarksAndNumbers - SOAP::SOAPString
292
+ # partNumber - SOAP::SOAPString
293
+ # naftaDetail - FedexWebServices::Soap::Rate::NaftaCommodityDetail
294
+ class Commodity
295
+ attr_accessor :name
296
+ attr_accessor :numberOfPieces
297
+ attr_accessor :description
298
+ attr_accessor :countryOfManufacture
299
+ attr_accessor :harmonizedCode
300
+ attr_accessor :weight
301
+ attr_accessor :quantity
302
+ attr_accessor :quantityUnits
303
+ attr_accessor :additionalMeasures
304
+ attr_accessor :unitPrice
305
+ attr_accessor :customsValue
306
+ attr_accessor :exciseConditions
307
+ attr_accessor :exportLicenseNumber
308
+ attr_accessor :exportLicenseExpirationDate
309
+ attr_accessor :cIMarksAndNumbers
310
+ attr_accessor :partNumber
311
+ attr_accessor :naftaDetail
312
+
313
+ def initialize(name = nil, numberOfPieces = nil, description = nil, countryOfManufacture = nil, harmonizedCode = nil, weight = nil, quantity = nil, quantityUnits = nil, additionalMeasures = [], unitPrice = nil, customsValue = nil, exciseConditions = [], exportLicenseNumber = nil, exportLicenseExpirationDate = nil, cIMarksAndNumbers = nil, partNumber = nil, naftaDetail = nil)
314
+ @name = name
315
+ @numberOfPieces = numberOfPieces
316
+ @description = description
317
+ @countryOfManufacture = countryOfManufacture
318
+ @harmonizedCode = harmonizedCode
319
+ @weight = weight
320
+ @quantity = quantity
321
+ @quantityUnits = quantityUnits
322
+ @additionalMeasures = additionalMeasures
323
+ @unitPrice = unitPrice
324
+ @customsValue = customsValue
325
+ @exciseConditions = exciseConditions
326
+ @exportLicenseNumber = exportLicenseNumber
327
+ @exportLicenseExpirationDate = exportLicenseExpirationDate
328
+ @cIMarksAndNumbers = cIMarksAndNumbers
329
+ @partNumber = partNumber
330
+ @naftaDetail = naftaDetail
331
+ end
332
+ end
333
+
334
+ # {http://fedex.com/ws/rate/v13}ConfigurableLabelReferenceEntry
335
+ # zoneNumber - SOAP::SOAPPositiveInteger
336
+ # header - SOAP::SOAPString
337
+ # dataField - SOAP::SOAPString
338
+ # literalValue - SOAP::SOAPString
339
+ class ConfigurableLabelReferenceEntry
340
+ attr_accessor :zoneNumber
341
+ attr_accessor :header
342
+ attr_accessor :dataField
343
+ attr_accessor :literalValue
344
+
345
+ def initialize(zoneNumber = nil, header = nil, dataField = nil, literalValue = nil)
346
+ @zoneNumber = zoneNumber
347
+ @header = header
348
+ @dataField = dataField
349
+ @literalValue = literalValue
350
+ end
351
+ end
352
+
353
+ # {http://fedex.com/ws/rate/v13}Contact
354
+ # contactId - SOAP::SOAPString
355
+ # personName - SOAP::SOAPString
356
+ # title - SOAP::SOAPString
357
+ # companyName - SOAP::SOAPString
358
+ # phoneNumber - SOAP::SOAPString
359
+ # phoneExtension - SOAP::SOAPString
360
+ # tollFreePhoneNumber - SOAP::SOAPString
361
+ # pagerNumber - SOAP::SOAPString
362
+ # faxNumber - SOAP::SOAPString
363
+ # eMailAddress - SOAP::SOAPString
364
+ class Contact
365
+ attr_accessor :contactId
366
+ attr_accessor :personName
367
+ attr_accessor :title
368
+ attr_accessor :companyName
369
+ attr_accessor :phoneNumber
370
+ attr_accessor :phoneExtension
371
+ attr_accessor :tollFreePhoneNumber
372
+ attr_accessor :pagerNumber
373
+ attr_accessor :faxNumber
374
+ attr_accessor :eMailAddress
375
+
376
+ def initialize(contactId = nil, personName = nil, title = nil, companyName = nil, phoneNumber = nil, phoneExtension = nil, tollFreePhoneNumber = nil, pagerNumber = nil, faxNumber = nil, eMailAddress = nil)
377
+ @contactId = contactId
378
+ @personName = personName
379
+ @title = title
380
+ @companyName = companyName
381
+ @phoneNumber = phoneNumber
382
+ @phoneExtension = phoneExtension
383
+ @tollFreePhoneNumber = tollFreePhoneNumber
384
+ @pagerNumber = pagerNumber
385
+ @faxNumber = faxNumber
386
+ @eMailAddress = eMailAddress
387
+ end
388
+ end
389
+
390
+ # {http://fedex.com/ws/rate/v13}ContactAndAddress
391
+ # contact - FedexWebServices::Soap::Rate::Contact
392
+ # address - FedexWebServices::Soap::Rate::Address
393
+ class ContactAndAddress
394
+ attr_accessor :contact
395
+ attr_accessor :address
396
+
397
+ def initialize(contact = nil, address = nil)
398
+ @contact = contact
399
+ @address = address
400
+ end
401
+ end
402
+
403
+ # {http://fedex.com/ws/rate/v13}ContentRecord
404
+ # partNumber - SOAP::SOAPString
405
+ # itemNumber - SOAP::SOAPString
406
+ # receivedQuantity - SOAP::SOAPNonNegativeInteger
407
+ # description - SOAP::SOAPString
408
+ class ContentRecord
409
+ attr_accessor :partNumber
410
+ attr_accessor :itemNumber
411
+ attr_accessor :receivedQuantity
412
+ attr_accessor :description
413
+
414
+ def initialize(partNumber = nil, itemNumber = nil, receivedQuantity = nil, description = nil)
415
+ @partNumber = partNumber
416
+ @itemNumber = itemNumber
417
+ @receivedQuantity = receivedQuantity
418
+ @description = description
419
+ end
420
+ end
421
+
422
+ # {http://fedex.com/ws/rate/v13}CurrencyExchangeRate
423
+ # fromCurrency - SOAP::SOAPString
424
+ # intoCurrency - SOAP::SOAPString
425
+ # rate - SOAP::SOAPDecimal
426
+ class CurrencyExchangeRate
427
+ attr_accessor :fromCurrency
428
+ attr_accessor :intoCurrency
429
+ attr_accessor :rate
430
+
431
+ def initialize(fromCurrency = nil, intoCurrency = nil, rate = nil)
432
+ @fromCurrency = fromCurrency
433
+ @intoCurrency = intoCurrency
434
+ @rate = rate
435
+ end
436
+ end
437
+
438
+ # {http://fedex.com/ws/rate/v13}CustomDeliveryWindowDetail
439
+ # type - FedexWebServices::Soap::Rate::CustomDeliveryWindowType
440
+ # requestTime - SOAP::SOAPTime
441
+ # requestRange - FedexWebServices::Soap::Rate::DateRange
442
+ # requestDate - SOAP::SOAPDate
443
+ class CustomDeliveryWindowDetail
444
+ attr_accessor :type
445
+ attr_accessor :requestTime
446
+ attr_accessor :requestRange
447
+ attr_accessor :requestDate
448
+
449
+ def initialize(type = nil, requestTime = nil, requestRange = nil, requestDate = nil)
450
+ @type = type
451
+ @requestTime = requestTime
452
+ @requestRange = requestRange
453
+ @requestDate = requestDate
454
+ end
455
+ end
456
+
457
+ # {http://fedex.com/ws/rate/v13}CustomDocumentDetail
458
+ # format - FedexWebServices::Soap::Rate::ShippingDocumentFormat
459
+ # labelPrintingOrientation - FedexWebServices::Soap::Rate::LabelPrintingOrientationType
460
+ # labelRotation - FedexWebServices::Soap::Rate::LabelRotationType
461
+ # specificationId - SOAP::SOAPString
462
+ class CustomDocumentDetail
463
+ attr_accessor :format
464
+ attr_accessor :labelPrintingOrientation
465
+ attr_accessor :labelRotation
466
+ attr_accessor :specificationId
467
+
468
+ def initialize(format = nil, labelPrintingOrientation = nil, labelRotation = nil, specificationId = nil)
469
+ @format = format
470
+ @labelPrintingOrientation = labelPrintingOrientation
471
+ @labelRotation = labelRotation
472
+ @specificationId = specificationId
473
+ end
474
+ end
475
+
476
+ # {http://fedex.com/ws/rate/v13}CustomLabelBarcodeEntry
477
+ # position - FedexWebServices::Soap::Rate::CustomLabelPosition
478
+ # format - SOAP::SOAPString
479
+ # dataFields - SOAP::SOAPString
480
+ # barHeight - SOAP::SOAPInt
481
+ # thinBarWidth - SOAP::SOAPInt
482
+ # barcodeSymbology - FedexWebServices::Soap::Rate::BarcodeSymbologyType
483
+ class CustomLabelBarcodeEntry
484
+ attr_accessor :position
485
+ attr_accessor :format
486
+ attr_accessor :dataFields
487
+ attr_accessor :barHeight
488
+ attr_accessor :thinBarWidth
489
+ attr_accessor :barcodeSymbology
490
+
491
+ def initialize(position = nil, format = nil, dataFields = [], barHeight = nil, thinBarWidth = nil, barcodeSymbology = nil)
492
+ @position = position
493
+ @format = format
494
+ @dataFields = dataFields
495
+ @barHeight = barHeight
496
+ @thinBarWidth = thinBarWidth
497
+ @barcodeSymbology = barcodeSymbology
498
+ end
499
+ end
500
+
501
+ # {http://fedex.com/ws/rate/v13}CustomLabelBoxEntry
502
+ # topLeftCorner - FedexWebServices::Soap::Rate::CustomLabelPosition
503
+ # bottomRightCorner - FedexWebServices::Soap::Rate::CustomLabelPosition
504
+ class CustomLabelBoxEntry
505
+ attr_accessor :topLeftCorner
506
+ attr_accessor :bottomRightCorner
507
+
508
+ def initialize(topLeftCorner = nil, bottomRightCorner = nil)
509
+ @topLeftCorner = topLeftCorner
510
+ @bottomRightCorner = bottomRightCorner
511
+ end
512
+ end
513
+
514
+ # {http://fedex.com/ws/rate/v13}CustomLabelDetail
515
+ # coordinateUnits - FedexWebServices::Soap::Rate::CustomLabelCoordinateUnits
516
+ # textEntries - FedexWebServices::Soap::Rate::CustomLabelTextEntry
517
+ # graphicEntries - FedexWebServices::Soap::Rate::CustomLabelGraphicEntry
518
+ # boxEntries - FedexWebServices::Soap::Rate::CustomLabelBoxEntry
519
+ # barcodeEntries - FedexWebServices::Soap::Rate::CustomLabelBarcodeEntry
520
+ class CustomLabelDetail
521
+ attr_accessor :coordinateUnits
522
+ attr_accessor :textEntries
523
+ attr_accessor :graphicEntries
524
+ attr_accessor :boxEntries
525
+ attr_accessor :barcodeEntries
526
+
527
+ def initialize(coordinateUnits = nil, textEntries = [], graphicEntries = [], boxEntries = [], barcodeEntries = [])
528
+ @coordinateUnits = coordinateUnits
529
+ @textEntries = textEntries
530
+ @graphicEntries = graphicEntries
531
+ @boxEntries = boxEntries
532
+ @barcodeEntries = barcodeEntries
533
+ end
534
+ end
535
+
536
+ # {http://fedex.com/ws/rate/v13}CustomLabelGraphicEntry
537
+ # position - FedexWebServices::Soap::Rate::CustomLabelPosition
538
+ # printerGraphicId - SOAP::SOAPString
539
+ # fileGraphicFullName - SOAP::SOAPString
540
+ class CustomLabelGraphicEntry
541
+ attr_accessor :position
542
+ attr_accessor :printerGraphicId
543
+ attr_accessor :fileGraphicFullName
544
+
545
+ def initialize(position = nil, printerGraphicId = nil, fileGraphicFullName = nil)
546
+ @position = position
547
+ @printerGraphicId = printerGraphicId
548
+ @fileGraphicFullName = fileGraphicFullName
549
+ end
550
+ end
551
+
552
+ # {http://fedex.com/ws/rate/v13}CustomLabelPosition
553
+ # x - SOAP::SOAPNonNegativeInteger
554
+ # y - SOAP::SOAPNonNegativeInteger
555
+ class CustomLabelPosition
556
+ attr_accessor :x
557
+ attr_accessor :y
558
+
559
+ def initialize(x = nil, y = nil)
560
+ @x = x
561
+ @y = y
562
+ end
563
+ end
564
+
565
+ # {http://fedex.com/ws/rate/v13}CustomLabelTextEntry
566
+ # position - FedexWebServices::Soap::Rate::CustomLabelPosition
567
+ # format - SOAP::SOAPString
568
+ # dataFields - SOAP::SOAPString
569
+ # thermalFontId - SOAP::SOAPString
570
+ # fontName - SOAP::SOAPString
571
+ # fontSize - SOAP::SOAPPositiveInteger
572
+ class CustomLabelTextEntry
573
+ attr_accessor :position
574
+ attr_accessor :format
575
+ attr_accessor :dataFields
576
+ attr_accessor :thermalFontId
577
+ attr_accessor :fontName
578
+ attr_accessor :fontSize
579
+
580
+ def initialize(position = nil, format = nil, dataFields = [], thermalFontId = nil, fontName = nil, fontSize = nil)
581
+ @position = position
582
+ @format = format
583
+ @dataFields = dataFields
584
+ @thermalFontId = thermalFontId
585
+ @fontName = fontName
586
+ @fontSize = fontSize
587
+ end
588
+ end
589
+
590
+ # {http://fedex.com/ws/rate/v13}CustomerImageUsage
591
+ # type - FedexWebServices::Soap::Rate::CustomerImageUsageType
592
+ # id - FedexWebServices::Soap::Rate::ImageId
593
+ class CustomerImageUsage
594
+ attr_accessor :type
595
+ attr_accessor :id
596
+
597
+ def initialize(type = nil, id = nil)
598
+ @type = type
599
+ @id = id
600
+ end
601
+ end
602
+
603
+ # {http://fedex.com/ws/rate/v13}CustomerReference
604
+ # customerReferenceType - FedexWebServices::Soap::Rate::CustomerReferenceType
605
+ # value - SOAP::SOAPString
606
+ class CustomerReference
607
+ attr_accessor :customerReferenceType
608
+ attr_accessor :value
609
+
610
+ def initialize(customerReferenceType = nil, value = nil)
611
+ @customerReferenceType = customerReferenceType
612
+ @value = value
613
+ end
614
+ end
615
+
616
+ # {http://fedex.com/ws/rate/v13}CustomerSpecifiedLabelDetail
617
+ # docTabContent - FedexWebServices::Soap::Rate::DocTabContent
618
+ # customContent - FedexWebServices::Soap::Rate::CustomLabelDetail
619
+ # configurableReferenceEntries - FedexWebServices::Soap::Rate::ConfigurableLabelReferenceEntry
620
+ # maskedData - FedexWebServices::Soap::Rate::LabelMaskableDataType
621
+ # secondaryBarcode - FedexWebServices::Soap::Rate::SecondaryBarcodeType
622
+ # termsAndConditionsLocalization - FedexWebServices::Soap::Rate::Localization
623
+ # additionalLabels - FedexWebServices::Soap::Rate::AdditionalLabelsDetail
624
+ # airWaybillSuppressionCount - SOAP::SOAPNonNegativeInteger
625
+ class CustomerSpecifiedLabelDetail
626
+ attr_accessor :docTabContent
627
+ attr_accessor :customContent
628
+ attr_accessor :configurableReferenceEntries
629
+ attr_accessor :maskedData
630
+ attr_accessor :secondaryBarcode
631
+ attr_accessor :termsAndConditionsLocalization
632
+ attr_accessor :additionalLabels
633
+ attr_accessor :airWaybillSuppressionCount
634
+
635
+ def initialize(docTabContent = nil, customContent = nil, configurableReferenceEntries = [], maskedData = [], secondaryBarcode = nil, termsAndConditionsLocalization = nil, additionalLabels = [], airWaybillSuppressionCount = nil)
636
+ @docTabContent = docTabContent
637
+ @customContent = customContent
638
+ @configurableReferenceEntries = configurableReferenceEntries
639
+ @maskedData = maskedData
640
+ @secondaryBarcode = secondaryBarcode
641
+ @termsAndConditionsLocalization = termsAndConditionsLocalization
642
+ @additionalLabels = additionalLabels
643
+ @airWaybillSuppressionCount = airWaybillSuppressionCount
644
+ end
645
+ end
646
+
647
+ # {http://fedex.com/ws/rate/v13}CustomsClearanceDetail
648
+ # brokers - FedexWebServices::Soap::Rate::BrokerDetail
649
+ # clearanceBrokerage - FedexWebServices::Soap::Rate::ClearanceBrokerageType
650
+ # customsOptions - FedexWebServices::Soap::Rate::CustomsOptionDetail
651
+ # importerOfRecord - FedexWebServices::Soap::Rate::Party
652
+ # recipientCustomsId - FedexWebServices::Soap::Rate::RecipientCustomsId
653
+ # dutiesPayment - FedexWebServices::Soap::Rate::Payment
654
+ # documentContent - FedexWebServices::Soap::Rate::InternationalDocumentContentType
655
+ # customsValue - FedexWebServices::Soap::Rate::Money
656
+ # freightOnValue - FedexWebServices::Soap::Rate::FreightOnValueType
657
+ # insuranceCharges - FedexWebServices::Soap::Rate::Money
658
+ # partiesToTransactionAreRelated - SOAP::SOAPBoolean
659
+ # commercialInvoice - FedexWebServices::Soap::Rate::CommercialInvoice
660
+ # commodities - FedexWebServices::Soap::Rate::Commodity
661
+ # exportDetail - FedexWebServices::Soap::Rate::ExportDetail
662
+ # regulatoryControls - FedexWebServices::Soap::Rate::RegulatoryControlType
663
+ class CustomsClearanceDetail
664
+ attr_accessor :brokers
665
+ attr_accessor :clearanceBrokerage
666
+ attr_accessor :customsOptions
667
+ attr_accessor :importerOfRecord
668
+ attr_accessor :recipientCustomsId
669
+ attr_accessor :dutiesPayment
670
+ attr_accessor :documentContent
671
+ attr_accessor :customsValue
672
+ attr_accessor :freightOnValue
673
+ attr_accessor :insuranceCharges
674
+ attr_accessor :partiesToTransactionAreRelated
675
+ attr_accessor :commercialInvoice
676
+ attr_accessor :commodities
677
+ attr_accessor :exportDetail
678
+ attr_accessor :regulatoryControls
679
+
680
+ def initialize(brokers = [], clearanceBrokerage = nil, customsOptions = nil, importerOfRecord = nil, recipientCustomsId = nil, dutiesPayment = nil, documentContent = nil, customsValue = nil, freightOnValue = nil, insuranceCharges = nil, partiesToTransactionAreRelated = nil, commercialInvoice = nil, commodities = [], exportDetail = nil, regulatoryControls = [])
681
+ @brokers = brokers
682
+ @clearanceBrokerage = clearanceBrokerage
683
+ @customsOptions = customsOptions
684
+ @importerOfRecord = importerOfRecord
685
+ @recipientCustomsId = recipientCustomsId
686
+ @dutiesPayment = dutiesPayment
687
+ @documentContent = documentContent
688
+ @customsValue = customsValue
689
+ @freightOnValue = freightOnValue
690
+ @insuranceCharges = insuranceCharges
691
+ @partiesToTransactionAreRelated = partiesToTransactionAreRelated
692
+ @commercialInvoice = commercialInvoice
693
+ @commodities = commodities
694
+ @exportDetail = exportDetail
695
+ @regulatoryControls = regulatoryControls
696
+ end
697
+ end
698
+
699
+ # {http://fedex.com/ws/rate/v13}CustomsOptionDetail
700
+ # type - FedexWebServices::Soap::Rate::CustomsOptionType
701
+ # description - SOAP::SOAPString
702
+ class CustomsOptionDetail
703
+ attr_accessor :type
704
+ attr_accessor :description
705
+
706
+ def initialize(type = nil, description = nil)
707
+ @type = type
708
+ @description = description
709
+ end
710
+ end
711
+
712
+ # {http://fedex.com/ws/rate/v13}DangerousGoodsContainer
713
+ # packingType - FedexWebServices::Soap::Rate::HazardousContainerPackingType
714
+ # containerType - SOAP::SOAPString
715
+ # radioactiveContainerClass - FedexWebServices::Soap::Rate::RadioactiveContainerClassType
716
+ # numberOfContainers - SOAP::SOAPNonNegativeInteger
717
+ # hazardousCommodities - FedexWebServices::Soap::Rate::HazardousCommodityContent
718
+ class DangerousGoodsContainer
719
+ attr_accessor :packingType
720
+ attr_accessor :containerType
721
+ attr_accessor :radioactiveContainerClass
722
+ attr_accessor :numberOfContainers
723
+ attr_accessor :hazardousCommodities
724
+
725
+ def initialize(packingType = nil, containerType = nil, radioactiveContainerClass = nil, numberOfContainers = nil, hazardousCommodities = [])
726
+ @packingType = packingType
727
+ @containerType = containerType
728
+ @radioactiveContainerClass = radioactiveContainerClass
729
+ @numberOfContainers = numberOfContainers
730
+ @hazardousCommodities = hazardousCommodities
731
+ end
732
+ end
733
+
734
+ # {http://fedex.com/ws/rate/v13}DangerousGoodsDetail
735
+ # accessibility - FedexWebServices::Soap::Rate::DangerousGoodsAccessibilityType
736
+ # cargoAircraftOnly - SOAP::SOAPBoolean
737
+ # options - FedexWebServices::Soap::Rate::HazardousCommodityOptionType
738
+ # packingOption - FedexWebServices::Soap::Rate::DangerousGoodsPackingOptionType
739
+ # referenceId - SOAP::SOAPString
740
+ # containers - FedexWebServices::Soap::Rate::DangerousGoodsContainer
741
+ # packaging - FedexWebServices::Soap::Rate::HazardousCommodityPackagingDetail
742
+ # signatory - FedexWebServices::Soap::Rate::DangerousGoodsSignatory
743
+ # emergencyContactNumber - SOAP::SOAPString
744
+ # offeror - SOAP::SOAPString
745
+ # infectiousSubstanceResponsibleContact - FedexWebServices::Soap::Rate::Contact
746
+ # additionalHandling - SOAP::SOAPString
747
+ # radioactivityDetail - FedexWebServices::Soap::Rate::RadioactivityDetail
748
+ class DangerousGoodsDetail
749
+ attr_accessor :accessibility
750
+ attr_accessor :cargoAircraftOnly
751
+ attr_accessor :options
752
+ attr_accessor :packingOption
753
+ attr_accessor :referenceId
754
+ attr_accessor :containers
755
+ attr_accessor :packaging
756
+ attr_accessor :signatory
757
+ attr_accessor :emergencyContactNumber
758
+ attr_accessor :offeror
759
+ attr_accessor :infectiousSubstanceResponsibleContact
760
+ attr_accessor :additionalHandling
761
+ attr_accessor :radioactivityDetail
762
+
763
+ def initialize(accessibility = nil, cargoAircraftOnly = nil, options = [], packingOption = nil, referenceId = nil, containers = [], packaging = nil, signatory = nil, emergencyContactNumber = nil, offeror = nil, infectiousSubstanceResponsibleContact = nil, additionalHandling = nil, radioactivityDetail = nil)
764
+ @accessibility = accessibility
765
+ @cargoAircraftOnly = cargoAircraftOnly
766
+ @options = options
767
+ @packingOption = packingOption
768
+ @referenceId = referenceId
769
+ @containers = containers
770
+ @packaging = packaging
771
+ @signatory = signatory
772
+ @emergencyContactNumber = emergencyContactNumber
773
+ @offeror = offeror
774
+ @infectiousSubstanceResponsibleContact = infectiousSubstanceResponsibleContact
775
+ @additionalHandling = additionalHandling
776
+ @radioactivityDetail = radioactivityDetail
777
+ end
778
+ end
779
+
780
+ # {http://fedex.com/ws/rate/v13}DangerousGoodsShippersDeclarationDetail
781
+ # format - FedexWebServices::Soap::Rate::ShippingDocumentFormat
782
+ # customerImageUsages - FedexWebServices::Soap::Rate::CustomerImageUsage
783
+ class DangerousGoodsShippersDeclarationDetail
784
+ attr_accessor :format
785
+ attr_accessor :customerImageUsages
786
+
787
+ def initialize(format = nil, customerImageUsages = [])
788
+ @format = format
789
+ @customerImageUsages = customerImageUsages
790
+ end
791
+ end
792
+
793
+ # {http://fedex.com/ws/rate/v13}DangerousGoodsSignatory
794
+ # contactName - SOAP::SOAPString
795
+ # title - SOAP::SOAPString
796
+ # place - SOAP::SOAPString
797
+ class DangerousGoodsSignatory
798
+ attr_accessor :contactName
799
+ attr_accessor :title
800
+ attr_accessor :place
801
+
802
+ def initialize(contactName = nil, title = nil, place = nil)
803
+ @contactName = contactName
804
+ @title = title
805
+ @place = place
806
+ end
807
+ end
808
+
809
+ # {http://fedex.com/ws/rate/v13}DateRange
810
+ # begins - SOAP::SOAPDate
811
+ # ends - SOAP::SOAPDate
812
+ class DateRange
813
+ attr_accessor :begins
814
+ attr_accessor :ends
815
+
816
+ def initialize(begins = nil, ends = nil)
817
+ @begins = begins
818
+ @ends = ends
819
+ end
820
+ end
821
+
822
+ # {http://fedex.com/ws/rate/v13}DelayDetail
823
+ # date - SOAP::SOAPDate
824
+ # dayOfWeek - FedexWebServices::Soap::Rate::DayOfWeekType
825
+ # level - FedexWebServices::Soap::Rate::DelayLevelType
826
+ # point - FedexWebServices::Soap::Rate::DelayPointType
827
+ # type - FedexWebServices::Soap::Rate::CommitmentDelayType
828
+ # description - SOAP::SOAPString
829
+ class DelayDetail
830
+ attr_accessor :date
831
+ attr_accessor :dayOfWeek
832
+ attr_accessor :level
833
+ attr_accessor :point
834
+ attr_accessor :type
835
+ attr_accessor :description
836
+
837
+ def initialize(date = nil, dayOfWeek = nil, level = nil, point = nil, type = nil, description = nil)
838
+ @date = date
839
+ @dayOfWeek = dayOfWeek
840
+ @level = level
841
+ @point = point
842
+ @type = type
843
+ @description = description
844
+ end
845
+ end
846
+
847
+ # {http://fedex.com/ws/rate/v13}DeliveryOnInvoiceAcceptanceDetail
848
+ # recipient - FedexWebServices::Soap::Rate::Party
849
+ # trackingId - FedexWebServices::Soap::Rate::TrackingId
850
+ class DeliveryOnInvoiceAcceptanceDetail
851
+ attr_accessor :recipient
852
+ attr_accessor :trackingId
853
+
854
+ def initialize(recipient = nil, trackingId = nil)
855
+ @recipient = recipient
856
+ @trackingId = trackingId
857
+ end
858
+ end
859
+
860
+ # {http://fedex.com/ws/rate/v13}DestinationControlDetail
861
+ # statementTypes - FedexWebServices::Soap::Rate::DestinationControlStatementType
862
+ # destinationCountries - SOAP::SOAPString
863
+ # endUser - SOAP::SOAPString
864
+ class DestinationControlDetail
865
+ attr_accessor :statementTypes
866
+ attr_accessor :destinationCountries
867
+ attr_accessor :endUser
868
+
869
+ def initialize(statementTypes = [], destinationCountries = nil, endUser = nil)
870
+ @statementTypes = statementTypes
871
+ @destinationCountries = destinationCountries
872
+ @endUser = endUser
873
+ end
874
+ end
875
+
876
+ # {http://fedex.com/ws/rate/v13}Dimensions
877
+ # length - SOAP::SOAPNonNegativeInteger
878
+ # width - SOAP::SOAPNonNegativeInteger
879
+ # height - SOAP::SOAPNonNegativeInteger
880
+ # units - FedexWebServices::Soap::Rate::LinearUnits
881
+ class Dimensions
882
+ attr_accessor :length
883
+ attr_accessor :width
884
+ attr_accessor :height
885
+ attr_accessor :units
886
+
887
+ def initialize(length = nil, width = nil, height = nil, units = nil)
888
+ @length = length
889
+ @width = width
890
+ @height = height
891
+ @units = units
892
+ end
893
+ end
894
+
895
+ # {http://fedex.com/ws/rate/v13}Distance
896
+ # value - SOAP::SOAPDecimal
897
+ # units - FedexWebServices::Soap::Rate::DistanceUnits
898
+ class Distance
899
+ attr_accessor :value
900
+ attr_accessor :units
901
+
902
+ def initialize(value = nil, units = nil)
903
+ @value = value
904
+ @units = units
905
+ end
906
+ end
907
+
908
+ # {http://fedex.com/ws/rate/v13}DocTabContent
909
+ # docTabContentType - FedexWebServices::Soap::Rate::DocTabContentType
910
+ # zone001 - FedexWebServices::Soap::Rate::DocTabContentZone001
911
+ # barcoded - FedexWebServices::Soap::Rate::DocTabContentBarcoded
912
+ class DocTabContent
913
+ attr_accessor :docTabContentType
914
+ attr_accessor :zone001
915
+ attr_accessor :barcoded
916
+
917
+ def initialize(docTabContentType = nil, zone001 = nil, barcoded = nil)
918
+ @docTabContentType = docTabContentType
919
+ @zone001 = zone001
920
+ @barcoded = barcoded
921
+ end
922
+ end
923
+
924
+ # {http://fedex.com/ws/rate/v13}DocTabContentBarcoded
925
+ # symbology - FedexWebServices::Soap::Rate::BarcodeSymbologyType
926
+ # specification - FedexWebServices::Soap::Rate::DocTabZoneSpecification
927
+ class DocTabContentBarcoded
928
+ attr_accessor :symbology
929
+ attr_accessor :specification
930
+
931
+ def initialize(symbology = nil, specification = nil)
932
+ @symbology = symbology
933
+ @specification = specification
934
+ end
935
+ end
936
+
937
+ # {http://fedex.com/ws/rate/v13}DocTabContentZone001
938
+ class DocTabContentZone001 < ::Array
939
+ end
940
+
941
+ # {http://fedex.com/ws/rate/v13}DocTabZoneSpecification
942
+ # zoneNumber - SOAP::SOAPPositiveInteger
943
+ # header - SOAP::SOAPString
944
+ # dataField - SOAP::SOAPString
945
+ # literalValue - SOAP::SOAPString
946
+ # justification - FedexWebServices::Soap::Rate::DocTabZoneJustificationType
947
+ class DocTabZoneSpecification
948
+ attr_accessor :zoneNumber
949
+ attr_accessor :header
950
+ attr_accessor :dataField
951
+ attr_accessor :literalValue
952
+ attr_accessor :justification
953
+
954
+ def initialize(zoneNumber = nil, header = nil, dataField = nil, literalValue = nil, justification = nil)
955
+ @zoneNumber = zoneNumber
956
+ @header = header
957
+ @dataField = dataField
958
+ @literalValue = literalValue
959
+ @justification = justification
960
+ end
961
+ end
962
+
963
+ # {http://fedex.com/ws/rate/v13}EMailLabelDetail
964
+ # notificationEMailAddress - SOAP::SOAPString
965
+ # notificationMessage - SOAP::SOAPString
966
+ class EMailLabelDetail
967
+ attr_accessor :notificationEMailAddress
968
+ attr_accessor :notificationMessage
969
+
970
+ def initialize(notificationEMailAddress = nil, notificationMessage = nil)
971
+ @notificationEMailAddress = notificationEMailAddress
972
+ @notificationMessage = notificationMessage
973
+ end
974
+ end
975
+
976
+ # {http://fedex.com/ws/rate/v13}EMailNotificationDetail
977
+ # personalMessage - SOAP::SOAPString
978
+ # recipients - FedexWebServices::Soap::Rate::EMailNotificationRecipient
979
+ class EMailNotificationDetail
980
+ attr_accessor :personalMessage
981
+ attr_accessor :recipients
982
+
983
+ def initialize(personalMessage = nil, recipients = [])
984
+ @personalMessage = personalMessage
985
+ @recipients = recipients
986
+ end
987
+ end
988
+
989
+ # {http://fedex.com/ws/rate/v13}EMailNotificationRecipient
990
+ # eMailNotificationRecipientType - FedexWebServices::Soap::Rate::EMailNotificationRecipientType
991
+ # eMailAddress - SOAP::SOAPString
992
+ # notificationEventsRequested - FedexWebServices::Soap::Rate::EMailNotificationEventType
993
+ # format - FedexWebServices::Soap::Rate::EMailNotificationFormatType
994
+ # localization - FedexWebServices::Soap::Rate::Localization
995
+ class EMailNotificationRecipient
996
+ attr_accessor :eMailNotificationRecipientType
997
+ attr_accessor :eMailAddress
998
+ attr_accessor :notificationEventsRequested
999
+ attr_accessor :format
1000
+ attr_accessor :localization
1001
+
1002
+ def initialize(eMailNotificationRecipientType = nil, eMailAddress = nil, notificationEventsRequested = [], format = nil, localization = nil)
1003
+ @eMailNotificationRecipientType = eMailNotificationRecipientType
1004
+ @eMailAddress = eMailAddress
1005
+ @notificationEventsRequested = notificationEventsRequested
1006
+ @format = format
1007
+ @localization = localization
1008
+ end
1009
+ end
1010
+
1011
+ # {http://fedex.com/ws/rate/v13}EdtCommodityTax
1012
+ # harmonizedCode - SOAP::SOAPString
1013
+ # taxes - FedexWebServices::Soap::Rate::EdtTaxDetail
1014
+ class EdtCommodityTax
1015
+ attr_accessor :harmonizedCode
1016
+ attr_accessor :taxes
1017
+
1018
+ def initialize(harmonizedCode = nil, taxes = [])
1019
+ @harmonizedCode = harmonizedCode
1020
+ @taxes = taxes
1021
+ end
1022
+ end
1023
+
1024
+ # {http://fedex.com/ws/rate/v13}EdtExciseCondition
1025
+ # category - SOAP::SOAPString
1026
+ # value - SOAP::SOAPString
1027
+ class EdtExciseCondition
1028
+ attr_accessor :category
1029
+ attr_accessor :value
1030
+
1031
+ def initialize(category = nil, value = nil)
1032
+ @category = category
1033
+ @value = value
1034
+ end
1035
+ end
1036
+
1037
+ # {http://fedex.com/ws/rate/v13}EdtTaxDetail
1038
+ # taxType - FedexWebServices::Soap::Rate::EdtTaxType
1039
+ # effectiveDate - SOAP::SOAPDate
1040
+ # name - SOAP::SOAPString
1041
+ # taxableValue - FedexWebServices::Soap::Rate::Money
1042
+ # description - SOAP::SOAPString
1043
+ # formula - SOAP::SOAPString
1044
+ # amount - FedexWebServices::Soap::Rate::Money
1045
+ class EdtTaxDetail
1046
+ attr_accessor :taxType
1047
+ attr_accessor :effectiveDate
1048
+ attr_accessor :name
1049
+ attr_accessor :taxableValue
1050
+ attr_accessor :description
1051
+ attr_accessor :formula
1052
+ attr_accessor :amount
1053
+
1054
+ def initialize(taxType = nil, effectiveDate = nil, name = nil, taxableValue = nil, description = nil, formula = nil, amount = nil)
1055
+ @taxType = taxType
1056
+ @effectiveDate = effectiveDate
1057
+ @name = name
1058
+ @taxableValue = taxableValue
1059
+ @description = description
1060
+ @formula = formula
1061
+ @amount = amount
1062
+ end
1063
+ end
1064
+
1065
+ # {http://fedex.com/ws/rate/v13}EtdDetail
1066
+ # requestedDocumentCopies - FedexWebServices::Soap::Rate::RequestedShippingDocumentType
1067
+ # documents - FedexWebServices::Soap::Rate::UploadDocumentDetail
1068
+ # documentReferences - FedexWebServices::Soap::Rate::UploadDocumentReferenceDetail
1069
+ class EtdDetail
1070
+ attr_accessor :requestedDocumentCopies
1071
+ attr_accessor :documents
1072
+ attr_accessor :documentReferences
1073
+
1074
+ def initialize(requestedDocumentCopies = [], documents = [], documentReferences = [])
1075
+ @requestedDocumentCopies = requestedDocumentCopies
1076
+ @documents = documents
1077
+ @documentReferences = documentReferences
1078
+ end
1079
+ end
1080
+
1081
+ # {http://fedex.com/ws/rate/v13}ExportDetail
1082
+ # b13AFilingOption - FedexWebServices::Soap::Rate::B13AFilingOptionType
1083
+ # exportComplianceStatement - SOAP::SOAPString
1084
+ # permitNumber - SOAP::SOAPString
1085
+ # destinationControlDetail - FedexWebServices::Soap::Rate::DestinationControlDetail
1086
+ class ExportDetail
1087
+ attr_accessor :b13AFilingOption
1088
+ attr_accessor :exportComplianceStatement
1089
+ attr_accessor :permitNumber
1090
+ attr_accessor :destinationControlDetail
1091
+
1092
+ def initialize(b13AFilingOption = nil, exportComplianceStatement = nil, permitNumber = nil, destinationControlDetail = nil)
1093
+ @b13AFilingOption = b13AFilingOption
1094
+ @exportComplianceStatement = exportComplianceStatement
1095
+ @permitNumber = permitNumber
1096
+ @destinationControlDetail = destinationControlDetail
1097
+ end
1098
+ end
1099
+
1100
+ # {http://fedex.com/ws/rate/v13}ExpressFreightDetail
1101
+ # packingListEnclosed - SOAP::SOAPBoolean
1102
+ # shippersLoadAndCount - SOAP::SOAPPositiveInteger
1103
+ # bookingConfirmationNumber - SOAP::SOAPString
1104
+ # referenceLabelRequested - SOAP::SOAPBoolean
1105
+ # beforeDeliveryContact - FedexWebServices::Soap::Rate::ExpressFreightDetailContact
1106
+ # undeliverableContact - FedexWebServices::Soap::Rate::ExpressFreightDetailContact
1107
+ class ExpressFreightDetail
1108
+ attr_accessor :packingListEnclosed
1109
+ attr_accessor :shippersLoadAndCount
1110
+ attr_accessor :bookingConfirmationNumber
1111
+ attr_accessor :referenceLabelRequested
1112
+ attr_accessor :beforeDeliveryContact
1113
+ attr_accessor :undeliverableContact
1114
+
1115
+ def initialize(packingListEnclosed = nil, shippersLoadAndCount = nil, bookingConfirmationNumber = nil, referenceLabelRequested = nil, beforeDeliveryContact = nil, undeliverableContact = nil)
1116
+ @packingListEnclosed = packingListEnclosed
1117
+ @shippersLoadAndCount = shippersLoadAndCount
1118
+ @bookingConfirmationNumber = bookingConfirmationNumber
1119
+ @referenceLabelRequested = referenceLabelRequested
1120
+ @beforeDeliveryContact = beforeDeliveryContact
1121
+ @undeliverableContact = undeliverableContact
1122
+ end
1123
+ end
1124
+
1125
+ # {http://fedex.com/ws/rate/v13}ExpressFreightDetailContact
1126
+ # name - SOAP::SOAPString
1127
+ # phone - SOAP::SOAPString
1128
+ class ExpressFreightDetailContact
1129
+ attr_accessor :name
1130
+ attr_accessor :phone
1131
+
1132
+ def initialize(name = nil, phone = nil)
1133
+ @name = name
1134
+ @phone = phone
1135
+ end
1136
+ end
1137
+
1138
+ # {http://fedex.com/ws/rate/v13}FlatbedTrailerDetail
1139
+ class FlatbedTrailerDetail < ::Array
1140
+ end
1141
+
1142
+ # {http://fedex.com/ws/rate/v13}FreightBaseCharge
1143
+ # freightClass - FedexWebServices::Soap::Rate::FreightClassType
1144
+ # ratedAsClass - FedexWebServices::Soap::Rate::FreightClassType
1145
+ # nmfcCode - SOAP::SOAPString
1146
+ # description - SOAP::SOAPString
1147
+ # weight - FedexWebServices::Soap::Rate::Weight
1148
+ # chargeRate - FedexWebServices::Soap::Rate::Money
1149
+ # chargeBasis - FedexWebServices::Soap::Rate::FreightChargeBasisType
1150
+ # extendedAmount - FedexWebServices::Soap::Rate::Money
1151
+ class FreightBaseCharge
1152
+ attr_accessor :freightClass
1153
+ attr_accessor :ratedAsClass
1154
+ attr_accessor :nmfcCode
1155
+ attr_accessor :description
1156
+ attr_accessor :weight
1157
+ attr_accessor :chargeRate
1158
+ attr_accessor :chargeBasis
1159
+ attr_accessor :extendedAmount
1160
+
1161
+ def initialize(freightClass = nil, ratedAsClass = nil, nmfcCode = nil, description = nil, weight = nil, chargeRate = nil, chargeBasis = nil, extendedAmount = nil)
1162
+ @freightClass = freightClass
1163
+ @ratedAsClass = ratedAsClass
1164
+ @nmfcCode = nmfcCode
1165
+ @description = description
1166
+ @weight = weight
1167
+ @chargeRate = chargeRate
1168
+ @chargeBasis = chargeBasis
1169
+ @extendedAmount = extendedAmount
1170
+ end
1171
+ end
1172
+
1173
+ # {http://fedex.com/ws/rate/v13}FreightCommitDetail
1174
+ # originDetail - FedexWebServices::Soap::Rate::FreightServiceCenterDetail
1175
+ # destinationDetail - FedexWebServices::Soap::Rate::FreightServiceCenterDetail
1176
+ # totalDistance - FedexWebServices::Soap::Rate::Distance
1177
+ class FreightCommitDetail
1178
+ attr_accessor :originDetail
1179
+ attr_accessor :destinationDetail
1180
+ attr_accessor :totalDistance
1181
+
1182
+ def initialize(originDetail = nil, destinationDetail = nil, totalDistance = nil)
1183
+ @originDetail = originDetail
1184
+ @destinationDetail = destinationDetail
1185
+ @totalDistance = totalDistance
1186
+ end
1187
+ end
1188
+
1189
+ # {http://fedex.com/ws/rate/v13}FreightGuaranteeDetail
1190
+ # type - FedexWebServices::Soap::Rate::FreightGuaranteeType
1191
+ # date - SOAP::SOAPDate
1192
+ class FreightGuaranteeDetail
1193
+ attr_accessor :type
1194
+ attr_accessor :date
1195
+
1196
+ def initialize(type = nil, date = nil)
1197
+ @type = type
1198
+ @date = date
1199
+ end
1200
+ end
1201
+
1202
+ # {http://fedex.com/ws/rate/v13}FreightRateDetail
1203
+ # quoteNumber - SOAP::SOAPString
1204
+ # quoteType - FedexWebServices::Soap::Rate::FreightRateQuoteType
1205
+ # baseChargeCalculation - FedexWebServices::Soap::Rate::FreightBaseChargeCalculationType
1206
+ # baseCharges - FedexWebServices::Soap::Rate::FreightBaseCharge
1207
+ # notations - FedexWebServices::Soap::Rate::FreightRateNotation
1208
+ class FreightRateDetail
1209
+ attr_accessor :quoteNumber
1210
+ attr_accessor :quoteType
1211
+ attr_accessor :baseChargeCalculation
1212
+ attr_accessor :baseCharges
1213
+ attr_accessor :notations
1214
+
1215
+ def initialize(quoteNumber = nil, quoteType = nil, baseChargeCalculation = nil, baseCharges = [], notations = [])
1216
+ @quoteNumber = quoteNumber
1217
+ @quoteType = quoteType
1218
+ @baseChargeCalculation = baseChargeCalculation
1219
+ @baseCharges = baseCharges
1220
+ @notations = notations
1221
+ end
1222
+ end
1223
+
1224
+ # {http://fedex.com/ws/rate/v13}FreightRateNotation
1225
+ # code - SOAP::SOAPString
1226
+ # description - SOAP::SOAPString
1227
+ class FreightRateNotation
1228
+ attr_accessor :code
1229
+ attr_accessor :description
1230
+
1231
+ def initialize(code = nil, description = nil)
1232
+ @code = code
1233
+ @description = description
1234
+ end
1235
+ end
1236
+
1237
+ # {http://fedex.com/ws/rate/v13}FreightServiceCenterDetail
1238
+ # interlineCarrierCode - SOAP::SOAPString
1239
+ # interlineCarrierName - SOAP::SOAPString
1240
+ # additionalDays - SOAP::SOAPInt
1241
+ # localService - FedexWebServices::Soap::Rate::ServiceType
1242
+ # localDistance - FedexWebServices::Soap::Rate::Distance
1243
+ # localDuration - SOAP::SOAPDuration
1244
+ # localServiceScheduling - FedexWebServices::Soap::Rate::FreightServiceSchedulingType
1245
+ # limitedServiceDays - FedexWebServices::Soap::Rate::DayOfWeekType
1246
+ # gatewayLocationId - SOAP::SOAPString
1247
+ # location - SOAP::SOAPString
1248
+ # contactAndAddress - FedexWebServices::Soap::Rate::ContactAndAddress
1249
+ class FreightServiceCenterDetail
1250
+ attr_accessor :interlineCarrierCode
1251
+ attr_accessor :interlineCarrierName
1252
+ attr_accessor :additionalDays
1253
+ attr_accessor :localService
1254
+ attr_accessor :localDistance
1255
+ attr_accessor :localDuration
1256
+ attr_accessor :localServiceScheduling
1257
+ attr_accessor :limitedServiceDays
1258
+ attr_accessor :gatewayLocationId
1259
+ attr_accessor :location
1260
+ attr_accessor :contactAndAddress
1261
+
1262
+ def initialize(interlineCarrierCode = nil, interlineCarrierName = nil, additionalDays = nil, localService = nil, localDistance = nil, localDuration = nil, localServiceScheduling = nil, limitedServiceDays = [], gatewayLocationId = nil, location = nil, contactAndAddress = nil)
1263
+ @interlineCarrierCode = interlineCarrierCode
1264
+ @interlineCarrierName = interlineCarrierName
1265
+ @additionalDays = additionalDays
1266
+ @localService = localService
1267
+ @localDistance = localDistance
1268
+ @localDuration = localDuration
1269
+ @localServiceScheduling = localServiceScheduling
1270
+ @limitedServiceDays = limitedServiceDays
1271
+ @gatewayLocationId = gatewayLocationId
1272
+ @location = location
1273
+ @contactAndAddress = contactAndAddress
1274
+ end
1275
+ end
1276
+
1277
+ # {http://fedex.com/ws/rate/v13}FreightShipmentDetail
1278
+ # fedExFreightAccountNumber - SOAP::SOAPString
1279
+ # fedExFreightBillingContactAndAddress - FedexWebServices::Soap::Rate::ContactAndAddress
1280
+ # alternateBilling - FedexWebServices::Soap::Rate::Party
1281
+ # role - FedexWebServices::Soap::Rate::FreightShipmentRoleType
1282
+ # collectTermsType - FedexWebServices::Soap::Rate::FreightCollectTermsType
1283
+ # declaredValuePerUnit - FedexWebServices::Soap::Rate::Money
1284
+ # declaredValueUnits - SOAP::SOAPString
1285
+ # liabilityCoverageDetail - FedexWebServices::Soap::Rate::LiabilityCoverageDetail
1286
+ # coupons - SOAP::SOAPString
1287
+ # totalHandlingUnits - SOAP::SOAPNonNegativeInteger
1288
+ # clientDiscountPercent - SOAP::SOAPDecimal
1289
+ # palletWeight - FedexWebServices::Soap::Rate::Weight
1290
+ # shipmentDimensions - FedexWebServices::Soap::Rate::Dimensions
1291
+ # comment - SOAP::SOAPString
1292
+ # specialServicePayments - FedexWebServices::Soap::Rate::FreightSpecialServicePayment
1293
+ # hazardousMaterialsOfferor - SOAP::SOAPString
1294
+ # lineItems - FedexWebServices::Soap::Rate::FreightShipmentLineItem
1295
+ class FreightShipmentDetail
1296
+ attr_accessor :fedExFreightAccountNumber
1297
+ attr_accessor :fedExFreightBillingContactAndAddress
1298
+ attr_accessor :alternateBilling
1299
+ attr_accessor :role
1300
+ attr_accessor :collectTermsType
1301
+ attr_accessor :declaredValuePerUnit
1302
+ attr_accessor :declaredValueUnits
1303
+ attr_accessor :liabilityCoverageDetail
1304
+ attr_accessor :coupons
1305
+ attr_accessor :totalHandlingUnits
1306
+ attr_accessor :clientDiscountPercent
1307
+ attr_accessor :palletWeight
1308
+ attr_accessor :shipmentDimensions
1309
+ attr_accessor :comment
1310
+ attr_accessor :specialServicePayments
1311
+ attr_accessor :hazardousMaterialsOfferor
1312
+ attr_accessor :lineItems
1313
+
1314
+ def initialize(fedExFreightAccountNumber = nil, fedExFreightBillingContactAndAddress = nil, alternateBilling = nil, role = nil, collectTermsType = nil, declaredValuePerUnit = nil, declaredValueUnits = nil, liabilityCoverageDetail = nil, coupons = [], totalHandlingUnits = nil, clientDiscountPercent = nil, palletWeight = nil, shipmentDimensions = nil, comment = nil, specialServicePayments = [], hazardousMaterialsOfferor = nil, lineItems = [])
1315
+ @fedExFreightAccountNumber = fedExFreightAccountNumber
1316
+ @fedExFreightBillingContactAndAddress = fedExFreightBillingContactAndAddress
1317
+ @alternateBilling = alternateBilling
1318
+ @role = role
1319
+ @collectTermsType = collectTermsType
1320
+ @declaredValuePerUnit = declaredValuePerUnit
1321
+ @declaredValueUnits = declaredValueUnits
1322
+ @liabilityCoverageDetail = liabilityCoverageDetail
1323
+ @coupons = coupons
1324
+ @totalHandlingUnits = totalHandlingUnits
1325
+ @clientDiscountPercent = clientDiscountPercent
1326
+ @palletWeight = palletWeight
1327
+ @shipmentDimensions = shipmentDimensions
1328
+ @comment = comment
1329
+ @specialServicePayments = specialServicePayments
1330
+ @hazardousMaterialsOfferor = hazardousMaterialsOfferor
1331
+ @lineItems = lineItems
1332
+ end
1333
+ end
1334
+
1335
+ # {http://fedex.com/ws/rate/v13}FreightShipmentLineItem
1336
+ # freightClass - FedexWebServices::Soap::Rate::FreightClassType
1337
+ # packaging - FedexWebServices::Soap::Rate::PhysicalPackagingType
1338
+ # description - SOAP::SOAPString
1339
+ # weight - FedexWebServices::Soap::Rate::Weight
1340
+ # dimensions - FedexWebServices::Soap::Rate::Dimensions
1341
+ # volume - FedexWebServices::Soap::Rate::Volume
1342
+ class FreightShipmentLineItem
1343
+ attr_accessor :freightClass
1344
+ attr_accessor :packaging
1345
+ attr_accessor :description
1346
+ attr_accessor :weight
1347
+ attr_accessor :dimensions
1348
+ attr_accessor :volume
1349
+
1350
+ def initialize(freightClass = nil, packaging = nil, description = nil, weight = nil, dimensions = nil, volume = nil)
1351
+ @freightClass = freightClass
1352
+ @packaging = packaging
1353
+ @description = description
1354
+ @weight = weight
1355
+ @dimensions = dimensions
1356
+ @volume = volume
1357
+ end
1358
+ end
1359
+
1360
+ # {http://fedex.com/ws/rate/v13}FreightSpecialServicePayment
1361
+ # specialService - FedexWebServices::Soap::Rate::ShipmentSpecialServiceType
1362
+ # paymentType - FedexWebServices::Soap::Rate::FreightShipmentRoleType
1363
+ class FreightSpecialServicePayment
1364
+ attr_accessor :specialService
1365
+ attr_accessor :paymentType
1366
+
1367
+ def initialize(specialService = nil, paymentType = nil)
1368
+ @specialService = specialService
1369
+ @paymentType = paymentType
1370
+ end
1371
+ end
1372
+
1373
+ # {http://fedex.com/ws/rate/v13}GeneralAgencyAgreementDetail
1374
+ # format - FedexWebServices::Soap::Rate::ShippingDocumentFormat
1375
+ class GeneralAgencyAgreementDetail
1376
+ attr_accessor :format
1377
+
1378
+ def initialize(format = nil)
1379
+ @format = format
1380
+ end
1381
+ end
1382
+
1383
+ # {http://fedex.com/ws/rate/v13}HazardousCommodityContent
1384
+ # description - FedexWebServices::Soap::Rate::HazardousCommodityDescription
1385
+ # quantity - FedexWebServices::Soap::Rate::HazardousCommodityQuantityDetail
1386
+ # options - FedexWebServices::Soap::Rate::HazardousCommodityOptionDetail
1387
+ # radionuclideDetail - FedexWebServices::Soap::Rate::RadionuclideDetail
1388
+ class HazardousCommodityContent
1389
+ attr_accessor :description
1390
+ attr_accessor :quantity
1391
+ attr_accessor :options
1392
+ attr_accessor :radionuclideDetail
1393
+
1394
+ def initialize(description = nil, quantity = nil, options = nil, radionuclideDetail = nil)
1395
+ @description = description
1396
+ @quantity = quantity
1397
+ @options = options
1398
+ @radionuclideDetail = radionuclideDetail
1399
+ end
1400
+ end
1401
+
1402
+ # {http://fedex.com/ws/rate/v13}HazardousCommodityDescription
1403
+ # id - SOAP::SOAPString
1404
+ # sequenceNumber - SOAP::SOAPNonNegativeInteger
1405
+ # packingGroup - FedexWebServices::Soap::Rate::HazardousCommodityPackingGroupType
1406
+ # packingDetails - FedexWebServices::Soap::Rate::HazardousCommodityPackingDetail
1407
+ # reportableQuantity - SOAP::SOAPBoolean
1408
+ # properShippingName - SOAP::SOAPString
1409
+ # technicalName - SOAP::SOAPString
1410
+ # percentage - SOAP::SOAPDecimal
1411
+ # hazardClass - SOAP::SOAPString
1412
+ # subsidiaryClasses - SOAP::SOAPString
1413
+ # labelText - SOAP::SOAPString
1414
+ # processingOptions - FedexWebServices::Soap::Rate::HazardousCommodityDescriptionProcessingOptionType
1415
+ # authorization - SOAP::SOAPString
1416
+ class HazardousCommodityDescription
1417
+ attr_accessor :id
1418
+ attr_accessor :sequenceNumber
1419
+ attr_accessor :packingGroup
1420
+ attr_accessor :packingDetails
1421
+ attr_accessor :reportableQuantity
1422
+ attr_accessor :properShippingName
1423
+ attr_accessor :technicalName
1424
+ attr_accessor :percentage
1425
+ attr_accessor :hazardClass
1426
+ attr_accessor :subsidiaryClasses
1427
+ attr_accessor :labelText
1428
+ attr_accessor :processingOptions
1429
+ attr_accessor :authorization
1430
+
1431
+ def initialize(id = nil, sequenceNumber = nil, packingGroup = nil, packingDetails = nil, reportableQuantity = nil, properShippingName = nil, technicalName = nil, percentage = nil, hazardClass = nil, subsidiaryClasses = [], labelText = nil, processingOptions = [], authorization = nil)
1432
+ @id = id
1433
+ @sequenceNumber = sequenceNumber
1434
+ @packingGroup = packingGroup
1435
+ @packingDetails = packingDetails
1436
+ @reportableQuantity = reportableQuantity
1437
+ @properShippingName = properShippingName
1438
+ @technicalName = technicalName
1439
+ @percentage = percentage
1440
+ @hazardClass = hazardClass
1441
+ @subsidiaryClasses = subsidiaryClasses
1442
+ @labelText = labelText
1443
+ @processingOptions = processingOptions
1444
+ @authorization = authorization
1445
+ end
1446
+ end
1447
+
1448
+ # {http://fedex.com/ws/rate/v13}HazardousCommodityOptionDetail
1449
+ # labelTextOption - FedexWebServices::Soap::Rate::HazardousCommodityLabelTextOptionType
1450
+ # customerSuppliedLabelText - SOAP::SOAPString
1451
+ class HazardousCommodityOptionDetail
1452
+ attr_accessor :labelTextOption
1453
+ attr_accessor :customerSuppliedLabelText
1454
+
1455
+ def initialize(labelTextOption = nil, customerSuppliedLabelText = nil)
1456
+ @labelTextOption = labelTextOption
1457
+ @customerSuppliedLabelText = customerSuppliedLabelText
1458
+ end
1459
+ end
1460
+
1461
+ # {http://fedex.com/ws/rate/v13}HazardousCommodityPackagingDetail
1462
+ # count - SOAP::SOAPNonNegativeInteger
1463
+ # units - SOAP::SOAPString
1464
+ class HazardousCommodityPackagingDetail
1465
+ attr_accessor :count
1466
+ attr_accessor :units
1467
+
1468
+ def initialize(count = nil, units = nil)
1469
+ @count = count
1470
+ @units = units
1471
+ end
1472
+ end
1473
+
1474
+ # {http://fedex.com/ws/rate/v13}HazardousCommodityPackingDetail
1475
+ # cargoAircraftOnly - SOAP::SOAPBoolean
1476
+ # packingInstructions - SOAP::SOAPString
1477
+ class HazardousCommodityPackingDetail
1478
+ attr_accessor :cargoAircraftOnly
1479
+ attr_accessor :packingInstructions
1480
+
1481
+ def initialize(cargoAircraftOnly = nil, packingInstructions = nil)
1482
+ @cargoAircraftOnly = cargoAircraftOnly
1483
+ @packingInstructions = packingInstructions
1484
+ end
1485
+ end
1486
+
1487
+ # {http://fedex.com/ws/rate/v13}HazardousCommodityQuantityDetail
1488
+ # amount - SOAP::SOAPDecimal
1489
+ # units - SOAP::SOAPString
1490
+ # quantityType - FedexWebServices::Soap::Rate::HazardousCommodityQuantityType
1491
+ class HazardousCommodityQuantityDetail
1492
+ attr_accessor :amount
1493
+ attr_accessor :units
1494
+ attr_accessor :quantityType
1495
+
1496
+ def initialize(amount = nil, units = nil, quantityType = nil)
1497
+ @amount = amount
1498
+ @units = units
1499
+ @quantityType = quantityType
1500
+ end
1501
+ end
1502
+
1503
+ # {http://fedex.com/ws/rate/v13}HoldAtLocationDetail
1504
+ # phoneNumber - SOAP::SOAPString
1505
+ # locationContactAndAddress - FedexWebServices::Soap::Rate::ContactAndAddress
1506
+ # locationType - FedexWebServices::Soap::Rate::FedExLocationType
1507
+ # locationId - SOAP::SOAPString
1508
+ # locationNumber - SOAP::SOAPInt
1509
+ class HoldAtLocationDetail
1510
+ attr_accessor :phoneNumber
1511
+ attr_accessor :locationContactAndAddress
1512
+ attr_accessor :locationType
1513
+ attr_accessor :locationId
1514
+ attr_accessor :locationNumber
1515
+
1516
+ def initialize(phoneNumber = nil, locationContactAndAddress = nil, locationType = nil, locationId = nil, locationNumber = nil)
1517
+ @phoneNumber = phoneNumber
1518
+ @locationContactAndAddress = locationContactAndAddress
1519
+ @locationType = locationType
1520
+ @locationId = locationId
1521
+ @locationNumber = locationNumber
1522
+ end
1523
+ end
1524
+
1525
+ # {http://fedex.com/ws/rate/v13}HomeDeliveryPremiumDetail
1526
+ # homeDeliveryPremiumType - FedexWebServices::Soap::Rate::HomeDeliveryPremiumType
1527
+ # date - SOAP::SOAPDate
1528
+ # phoneNumber - SOAP::SOAPString
1529
+ class HomeDeliveryPremiumDetail
1530
+ attr_accessor :homeDeliveryPremiumType
1531
+ attr_accessor :date
1532
+ attr_accessor :phoneNumber
1533
+
1534
+ def initialize(homeDeliveryPremiumType = nil, date = nil, phoneNumber = nil)
1535
+ @homeDeliveryPremiumType = homeDeliveryPremiumType
1536
+ @date = date
1537
+ @phoneNumber = phoneNumber
1538
+ end
1539
+ end
1540
+
1541
+ # {http://fedex.com/ws/rate/v13}InternationalControlledExportDetail
1542
+ # type - FedexWebServices::Soap::Rate::InternationalControlledExportType
1543
+ # foreignTradeZoneCode - SOAP::SOAPString
1544
+ # entryNumber - SOAP::SOAPString
1545
+ # licenseOrPermitNumber - SOAP::SOAPString
1546
+ # licenseOrPermitExpirationDate - SOAP::SOAPDate
1547
+ class InternationalControlledExportDetail
1548
+ attr_accessor :type
1549
+ attr_accessor :foreignTradeZoneCode
1550
+ attr_accessor :entryNumber
1551
+ attr_accessor :licenseOrPermitNumber
1552
+ attr_accessor :licenseOrPermitExpirationDate
1553
+
1554
+ def initialize(type = nil, foreignTradeZoneCode = nil, entryNumber = nil, licenseOrPermitNumber = nil, licenseOrPermitExpirationDate = nil)
1555
+ @type = type
1556
+ @foreignTradeZoneCode = foreignTradeZoneCode
1557
+ @entryNumber = entryNumber
1558
+ @licenseOrPermitNumber = licenseOrPermitNumber
1559
+ @licenseOrPermitExpirationDate = licenseOrPermitExpirationDate
1560
+ end
1561
+ end
1562
+
1563
+ # {http://fedex.com/ws/rate/v13}InternationalTrafficInArmsRegulationsDetail
1564
+ # licenseOrExemptionNumber - SOAP::SOAPString
1565
+ class InternationalTrafficInArmsRegulationsDetail
1566
+ attr_accessor :licenseOrExemptionNumber
1567
+
1568
+ def initialize(licenseOrExemptionNumber = nil)
1569
+ @licenseOrExemptionNumber = licenseOrExemptionNumber
1570
+ end
1571
+ end
1572
+
1573
+ # {http://fedex.com/ws/rate/v13}LabelSpecification
1574
+ # labelFormatType - FedexWebServices::Soap::Rate::LabelFormatType
1575
+ # imageType - FedexWebServices::Soap::Rate::ShippingDocumentImageType
1576
+ # labelStockType - FedexWebServices::Soap::Rate::LabelStockType
1577
+ # labelPrintingOrientation - FedexWebServices::Soap::Rate::LabelPrintingOrientationType
1578
+ # labelRotation - FedexWebServices::Soap::Rate::LabelRotationType
1579
+ # printedLabelOrigin - FedexWebServices::Soap::Rate::ContactAndAddress
1580
+ # customerSpecifiedDetail - FedexWebServices::Soap::Rate::CustomerSpecifiedLabelDetail
1581
+ class LabelSpecification
1582
+ attr_accessor :labelFormatType
1583
+ attr_accessor :imageType
1584
+ attr_accessor :labelStockType
1585
+ attr_accessor :labelPrintingOrientation
1586
+ attr_accessor :labelRotation
1587
+ attr_accessor :printedLabelOrigin
1588
+ attr_accessor :customerSpecifiedDetail
1589
+
1590
+ def initialize(labelFormatType = nil, imageType = nil, labelStockType = nil, labelPrintingOrientation = nil, labelRotation = nil, printedLabelOrigin = nil, customerSpecifiedDetail = nil)
1591
+ @labelFormatType = labelFormatType
1592
+ @imageType = imageType
1593
+ @labelStockType = labelStockType
1594
+ @labelPrintingOrientation = labelPrintingOrientation
1595
+ @labelRotation = labelRotation
1596
+ @printedLabelOrigin = printedLabelOrigin
1597
+ @customerSpecifiedDetail = customerSpecifiedDetail
1598
+ end
1599
+ end
1600
+
1601
+ # {http://fedex.com/ws/rate/v13}LiabilityCoverageDetail
1602
+ # coverageType - FedexWebServices::Soap::Rate::LiabilityCoverageType
1603
+ # coverageAmount - FedexWebServices::Soap::Rate::Money
1604
+ class LiabilityCoverageDetail
1605
+ attr_accessor :coverageType
1606
+ attr_accessor :coverageAmount
1607
+
1608
+ def initialize(coverageType = nil, coverageAmount = nil)
1609
+ @coverageType = coverageType
1610
+ @coverageAmount = coverageAmount
1611
+ end
1612
+ end
1613
+
1614
+ # {http://fedex.com/ws/rate/v13}LinearMeasure
1615
+ # value - SOAP::SOAPDecimal
1616
+ # units - FedexWebServices::Soap::Rate::LinearUnits
1617
+ class LinearMeasure
1618
+ attr_accessor :value
1619
+ attr_accessor :units
1620
+
1621
+ def initialize(value = nil, units = nil)
1622
+ @value = value
1623
+ @units = units
1624
+ end
1625
+ end
1626
+
1627
+ # {http://fedex.com/ws/rate/v13}Localization
1628
+ # languageCode - SOAP::SOAPString
1629
+ # localeCode - SOAP::SOAPString
1630
+ class Localization
1631
+ attr_accessor :languageCode
1632
+ attr_accessor :localeCode
1633
+
1634
+ def initialize(languageCode = nil, localeCode = nil)
1635
+ @languageCode = languageCode
1636
+ @localeCode = localeCode
1637
+ end
1638
+ end
1639
+
1640
+ # {http://fedex.com/ws/rate/v13}Measure
1641
+ # quantity - SOAP::SOAPDecimal
1642
+ # units - SOAP::SOAPString
1643
+ class Measure
1644
+ attr_accessor :quantity
1645
+ attr_accessor :units
1646
+
1647
+ def initialize(quantity = nil, units = nil)
1648
+ @quantity = quantity
1649
+ @units = units
1650
+ end
1651
+ end
1652
+
1653
+ # {http://fedex.com/ws/rate/v13}Money
1654
+ # currency - SOAP::SOAPString
1655
+ # amount - SOAP::SOAPDecimal
1656
+ class Money
1657
+ attr_accessor :currency
1658
+ attr_accessor :amount
1659
+
1660
+ def initialize(currency = nil, amount = nil)
1661
+ @currency = currency
1662
+ @amount = amount
1663
+ end
1664
+ end
1665
+
1666
+ # {http://fedex.com/ws/rate/v13}NaftaCertificateOfOriginDetail
1667
+ # format - FedexWebServices::Soap::Rate::ShippingDocumentFormat
1668
+ # blanketPeriod - FedexWebServices::Soap::Rate::DateRange
1669
+ # importerSpecification - FedexWebServices::Soap::Rate::NaftaImporterSpecificationType
1670
+ # signatureContact - FedexWebServices::Soap::Rate::Contact
1671
+ # producerSpecification - FedexWebServices::Soap::Rate::NaftaProducerSpecificationType
1672
+ # producers - FedexWebServices::Soap::Rate::NaftaProducer
1673
+ # customerImageUsages - FedexWebServices::Soap::Rate::CustomerImageUsage
1674
+ class NaftaCertificateOfOriginDetail
1675
+ attr_accessor :format
1676
+ attr_accessor :blanketPeriod
1677
+ attr_accessor :importerSpecification
1678
+ attr_accessor :signatureContact
1679
+ attr_accessor :producerSpecification
1680
+ attr_accessor :producers
1681
+ attr_accessor :customerImageUsages
1682
+
1683
+ def initialize(format = nil, blanketPeriod = nil, importerSpecification = nil, signatureContact = nil, producerSpecification = nil, producers = [], customerImageUsages = [])
1684
+ @format = format
1685
+ @blanketPeriod = blanketPeriod
1686
+ @importerSpecification = importerSpecification
1687
+ @signatureContact = signatureContact
1688
+ @producerSpecification = producerSpecification
1689
+ @producers = producers
1690
+ @customerImageUsages = customerImageUsages
1691
+ end
1692
+ end
1693
+
1694
+ # {http://fedex.com/ws/rate/v13}NaftaCommodityDetail
1695
+ # preferenceCriterion - FedexWebServices::Soap::Rate::NaftaPreferenceCriterionCode
1696
+ # producerDetermination - FedexWebServices::Soap::Rate::NaftaProducerDeterminationCode
1697
+ # producerId - SOAP::SOAPString
1698
+ # netCostMethod - FedexWebServices::Soap::Rate::NaftaNetCostMethodCode
1699
+ # netCostDateRange - FedexWebServices::Soap::Rate::DateRange
1700
+ class NaftaCommodityDetail
1701
+ attr_accessor :preferenceCriterion
1702
+ attr_accessor :producerDetermination
1703
+ attr_accessor :producerId
1704
+ attr_accessor :netCostMethod
1705
+ attr_accessor :netCostDateRange
1706
+
1707
+ def initialize(preferenceCriterion = nil, producerDetermination = nil, producerId = nil, netCostMethod = nil, netCostDateRange = nil)
1708
+ @preferenceCriterion = preferenceCriterion
1709
+ @producerDetermination = producerDetermination
1710
+ @producerId = producerId
1711
+ @netCostMethod = netCostMethod
1712
+ @netCostDateRange = netCostDateRange
1713
+ end
1714
+ end
1715
+
1716
+ # {http://fedex.com/ws/rate/v13}NaftaProducer
1717
+ # id - SOAP::SOAPString
1718
+ # producer - FedexWebServices::Soap::Rate::Party
1719
+ class NaftaProducer
1720
+ attr_accessor :id
1721
+ attr_accessor :producer
1722
+
1723
+ def initialize(id = nil, producer = nil)
1724
+ @id = id
1725
+ @producer = producer
1726
+ end
1727
+ end
1728
+
1729
+ # {http://fedex.com/ws/rate/v13}Notification
1730
+ # severity - FedexWebServices::Soap::Rate::NotificationSeverityType
1731
+ # source - SOAP::SOAPString
1732
+ # code - SOAP::SOAPString
1733
+ # message - SOAP::SOAPString
1734
+ # localizedMessage - SOAP::SOAPString
1735
+ # messageParameters - FedexWebServices::Soap::Rate::NotificationParameter
1736
+ class Notification
1737
+ attr_accessor :severity
1738
+ attr_accessor :source
1739
+ attr_accessor :code
1740
+ attr_accessor :message
1741
+ attr_accessor :localizedMessage
1742
+ attr_accessor :messageParameters
1743
+
1744
+ def initialize(severity = nil, source = nil, code = nil, message = nil, localizedMessage = nil, messageParameters = [])
1745
+ @severity = severity
1746
+ @source = source
1747
+ @code = code
1748
+ @message = message
1749
+ @localizedMessage = localizedMessage
1750
+ @messageParameters = messageParameters
1751
+ end
1752
+ end
1753
+
1754
+ # {http://fedex.com/ws/rate/v13}NotificationParameter
1755
+ # id - SOAP::SOAPString
1756
+ # value - SOAP::SOAPString
1757
+ class NotificationParameter
1758
+ attr_accessor :id
1759
+ attr_accessor :value
1760
+
1761
+ def initialize(id = nil, value = nil)
1762
+ @id = id
1763
+ @value = value
1764
+ end
1765
+ end
1766
+
1767
+ # {http://fedex.com/ws/rate/v13}Op900Detail
1768
+ # format - FedexWebServices::Soap::Rate::ShippingDocumentFormat
1769
+ # reference - FedexWebServices::Soap::Rate::CustomerReferenceType
1770
+ # customerImageUsages - FedexWebServices::Soap::Rate::CustomerImageUsage
1771
+ # signatureName - SOAP::SOAPString
1772
+ class Op900Detail
1773
+ attr_accessor :format
1774
+ attr_accessor :reference
1775
+ attr_accessor :customerImageUsages
1776
+ attr_accessor :signatureName
1777
+
1778
+ def initialize(format = nil, reference = nil, customerImageUsages = [], signatureName = nil)
1779
+ @format = format
1780
+ @reference = reference
1781
+ @customerImageUsages = customerImageUsages
1782
+ @signatureName = signatureName
1783
+ end
1784
+ end
1785
+
1786
+ # {http://fedex.com/ws/rate/v13}PackageRateDetail
1787
+ # rateType - FedexWebServices::Soap::Rate::ReturnedRateType
1788
+ # ratedWeightMethod - FedexWebServices::Soap::Rate::RatedWeightMethod
1789
+ # minimumChargeType - FedexWebServices::Soap::Rate::MinimumChargeType
1790
+ # billingWeight - FedexWebServices::Soap::Rate::Weight
1791
+ # dimWeight - FedexWebServices::Soap::Rate::Weight
1792
+ # oversizeWeight - FedexWebServices::Soap::Rate::Weight
1793
+ # baseCharge - FedexWebServices::Soap::Rate::Money
1794
+ # totalFreightDiscounts - FedexWebServices::Soap::Rate::Money
1795
+ # netFreight - FedexWebServices::Soap::Rate::Money
1796
+ # totalSurcharges - FedexWebServices::Soap::Rate::Money
1797
+ # netFedExCharge - FedexWebServices::Soap::Rate::Money
1798
+ # totalTaxes - FedexWebServices::Soap::Rate::Money
1799
+ # netCharge - FedexWebServices::Soap::Rate::Money
1800
+ # totalRebates - FedexWebServices::Soap::Rate::Money
1801
+ # freightDiscounts - FedexWebServices::Soap::Rate::RateDiscount
1802
+ # rebates - FedexWebServices::Soap::Rate::Rebate
1803
+ # surcharges - FedexWebServices::Soap::Rate::Surcharge
1804
+ # taxes - FedexWebServices::Soap::Rate::Tax
1805
+ # variableHandlingCharges - FedexWebServices::Soap::Rate::VariableHandlingCharges
1806
+ class PackageRateDetail
1807
+ attr_accessor :rateType
1808
+ attr_accessor :ratedWeightMethod
1809
+ attr_accessor :minimumChargeType
1810
+ attr_accessor :billingWeight
1811
+ attr_accessor :dimWeight
1812
+ attr_accessor :oversizeWeight
1813
+ attr_accessor :baseCharge
1814
+ attr_accessor :totalFreightDiscounts
1815
+ attr_accessor :netFreight
1816
+ attr_accessor :totalSurcharges
1817
+ attr_accessor :netFedExCharge
1818
+ attr_accessor :totalTaxes
1819
+ attr_accessor :netCharge
1820
+ attr_accessor :totalRebates
1821
+ attr_accessor :freightDiscounts
1822
+ attr_accessor :rebates
1823
+ attr_accessor :surcharges
1824
+ attr_accessor :taxes
1825
+ attr_accessor :variableHandlingCharges
1826
+
1827
+ def initialize(rateType = nil, ratedWeightMethod = nil, minimumChargeType = nil, billingWeight = nil, dimWeight = nil, oversizeWeight = nil, baseCharge = nil, totalFreightDiscounts = nil, netFreight = nil, totalSurcharges = nil, netFedExCharge = nil, totalTaxes = nil, netCharge = nil, totalRebates = nil, freightDiscounts = [], rebates = [], surcharges = [], taxes = [], variableHandlingCharges = nil)
1828
+ @rateType = rateType
1829
+ @ratedWeightMethod = ratedWeightMethod
1830
+ @minimumChargeType = minimumChargeType
1831
+ @billingWeight = billingWeight
1832
+ @dimWeight = dimWeight
1833
+ @oversizeWeight = oversizeWeight
1834
+ @baseCharge = baseCharge
1835
+ @totalFreightDiscounts = totalFreightDiscounts
1836
+ @netFreight = netFreight
1837
+ @totalSurcharges = totalSurcharges
1838
+ @netFedExCharge = netFedExCharge
1839
+ @totalTaxes = totalTaxes
1840
+ @netCharge = netCharge
1841
+ @totalRebates = totalRebates
1842
+ @freightDiscounts = freightDiscounts
1843
+ @rebates = rebates
1844
+ @surcharges = surcharges
1845
+ @taxes = taxes
1846
+ @variableHandlingCharges = variableHandlingCharges
1847
+ end
1848
+ end
1849
+
1850
+ # {http://fedex.com/ws/rate/v13}PackageSpecialServicesRequested
1851
+ # specialServiceTypes - FedexWebServices::Soap::Rate::PackageSpecialServiceType
1852
+ # codDetail - FedexWebServices::Soap::Rate::CodDetail
1853
+ # dangerousGoodsDetail - FedexWebServices::Soap::Rate::DangerousGoodsDetail
1854
+ # dryIceWeight - FedexWebServices::Soap::Rate::Weight
1855
+ # signatureOptionDetail - FedexWebServices::Soap::Rate::SignatureOptionDetail
1856
+ # priorityAlertDetail - FedexWebServices::Soap::Rate::PriorityAlertDetail
1857
+ class PackageSpecialServicesRequested
1858
+ attr_accessor :specialServiceTypes
1859
+ attr_accessor :codDetail
1860
+ attr_accessor :dangerousGoodsDetail
1861
+ attr_accessor :dryIceWeight
1862
+ attr_accessor :signatureOptionDetail
1863
+ attr_accessor :priorityAlertDetail
1864
+
1865
+ def initialize(specialServiceTypes = [], codDetail = nil, dangerousGoodsDetail = nil, dryIceWeight = nil, signatureOptionDetail = nil, priorityAlertDetail = nil)
1866
+ @specialServiceTypes = specialServiceTypes
1867
+ @codDetail = codDetail
1868
+ @dangerousGoodsDetail = dangerousGoodsDetail
1869
+ @dryIceWeight = dryIceWeight
1870
+ @signatureOptionDetail = signatureOptionDetail
1871
+ @priorityAlertDetail = priorityAlertDetail
1872
+ end
1873
+ end
1874
+
1875
+ # {http://fedex.com/ws/rate/v13}Party
1876
+ # accountNumber - SOAP::SOAPString
1877
+ # tins - FedexWebServices::Soap::Rate::TaxpayerIdentification
1878
+ # contact - FedexWebServices::Soap::Rate::Contact
1879
+ # address - FedexWebServices::Soap::Rate::Address
1880
+ class Party
1881
+ attr_accessor :accountNumber
1882
+ attr_accessor :tins
1883
+ attr_accessor :contact
1884
+ attr_accessor :address
1885
+
1886
+ def initialize(accountNumber = nil, tins = [], contact = nil, address = nil)
1887
+ @accountNumber = accountNumber
1888
+ @tins = tins
1889
+ @contact = contact
1890
+ @address = address
1891
+ end
1892
+ end
1893
+
1894
+ # {http://fedex.com/ws/rate/v13}Payment
1895
+ # paymentType - FedexWebServices::Soap::Rate::PaymentType
1896
+ # payor - FedexWebServices::Soap::Rate::Payor
1897
+ class Payment
1898
+ attr_accessor :paymentType
1899
+ attr_accessor :payor
1900
+
1901
+ def initialize(paymentType = nil, payor = nil)
1902
+ @paymentType = paymentType
1903
+ @payor = payor
1904
+ end
1905
+ end
1906
+
1907
+ # {http://fedex.com/ws/rate/v13}Payor
1908
+ # responsibleParty - FedexWebServices::Soap::Rate::Party
1909
+ class Payor
1910
+ attr_accessor :responsibleParty
1911
+
1912
+ def initialize(responsibleParty = nil)
1913
+ @responsibleParty = responsibleParty
1914
+ end
1915
+ end
1916
+
1917
+ # {http://fedex.com/ws/rate/v13}PendingShipmentDetail
1918
+ # type - FedexWebServices::Soap::Rate::PendingShipmentType
1919
+ # expirationDate - SOAP::SOAPDate
1920
+ # emailLabelDetail - FedexWebServices::Soap::Rate::EMailLabelDetail
1921
+ class PendingShipmentDetail
1922
+ attr_accessor :type
1923
+ attr_accessor :expirationDate
1924
+ attr_accessor :emailLabelDetail
1925
+
1926
+ def initialize(type = nil, expirationDate = nil, emailLabelDetail = nil)
1927
+ @type = type
1928
+ @expirationDate = expirationDate
1929
+ @emailLabelDetail = emailLabelDetail
1930
+ end
1931
+ end
1932
+
1933
+ # {http://fedex.com/ws/rate/v13}PickupDetail
1934
+ # readyDateTime - SOAP::SOAPDateTime
1935
+ # latestPickupDateTime - SOAP::SOAPDateTime
1936
+ # courierInstructions - SOAP::SOAPString
1937
+ # requestType - FedexWebServices::Soap::Rate::PickupRequestType
1938
+ # requestSource - FedexWebServices::Soap::Rate::PickupRequestSourceType
1939
+ class PickupDetail
1940
+ attr_accessor :readyDateTime
1941
+ attr_accessor :latestPickupDateTime
1942
+ attr_accessor :courierInstructions
1943
+ attr_accessor :requestType
1944
+ attr_accessor :requestSource
1945
+
1946
+ def initialize(readyDateTime = nil, latestPickupDateTime = nil, courierInstructions = nil, requestType = nil, requestSource = nil)
1947
+ @readyDateTime = readyDateTime
1948
+ @latestPickupDateTime = latestPickupDateTime
1949
+ @courierInstructions = courierInstructions
1950
+ @requestType = requestType
1951
+ @requestSource = requestSource
1952
+ end
1953
+ end
1954
+
1955
+ # {http://fedex.com/ws/rate/v13}PriorityAlertDetail
1956
+ # enhancementTypes - FedexWebServices::Soap::Rate::PriorityAlertEnhancementType
1957
+ # content - SOAP::SOAPString
1958
+ class PriorityAlertDetail
1959
+ attr_accessor :enhancementTypes
1960
+ attr_accessor :content
1961
+
1962
+ def initialize(enhancementTypes = [], content = [])
1963
+ @enhancementTypes = enhancementTypes
1964
+ @content = content
1965
+ end
1966
+ end
1967
+
1968
+ # {http://fedex.com/ws/rate/v13}RadioactivityDetail
1969
+ # transportIndex - SOAP::SOAPDecimal
1970
+ # surfaceReading - SOAP::SOAPDecimal
1971
+ # criticalitySafetyIndex - SOAP::SOAPDecimal
1972
+ # dimensions - FedexWebServices::Soap::Rate::Dimensions
1973
+ class RadioactivityDetail
1974
+ attr_accessor :transportIndex
1975
+ attr_accessor :surfaceReading
1976
+ attr_accessor :criticalitySafetyIndex
1977
+ attr_accessor :dimensions
1978
+
1979
+ def initialize(transportIndex = nil, surfaceReading = nil, criticalitySafetyIndex = nil, dimensions = nil)
1980
+ @transportIndex = transportIndex
1981
+ @surfaceReading = surfaceReading
1982
+ @criticalitySafetyIndex = criticalitySafetyIndex
1983
+ @dimensions = dimensions
1984
+ end
1985
+ end
1986
+
1987
+ # {http://fedex.com/ws/rate/v13}RadionuclideActivity
1988
+ # value - SOAP::SOAPDecimal
1989
+ # unitOfMeasure - FedexWebServices::Soap::Rate::RadioactivityUnitOfMeasure
1990
+ class RadionuclideActivity
1991
+ attr_accessor :value
1992
+ attr_accessor :unitOfMeasure
1993
+
1994
+ def initialize(value = nil, unitOfMeasure = nil)
1995
+ @value = value
1996
+ @unitOfMeasure = unitOfMeasure
1997
+ end
1998
+ end
1999
+
2000
+ # {http://fedex.com/ws/rate/v13}RadionuclideDetail
2001
+ # radionuclide - SOAP::SOAPString
2002
+ # activity - FedexWebServices::Soap::Rate::RadionuclideActivity
2003
+ # exceptedPackagingIsReportableQuantity - SOAP::SOAPBoolean
2004
+ # physicalForm - FedexWebServices::Soap::Rate::PhysicalFormType
2005
+ # chemicalForm - SOAP::SOAPString
2006
+ class RadionuclideDetail
2007
+ attr_accessor :radionuclide
2008
+ attr_accessor :activity
2009
+ attr_accessor :exceptedPackagingIsReportableQuantity
2010
+ attr_accessor :physicalForm
2011
+ attr_accessor :chemicalForm
2012
+
2013
+ def initialize(radionuclide = nil, activity = nil, exceptedPackagingIsReportableQuantity = nil, physicalForm = nil, chemicalForm = nil)
2014
+ @radionuclide = radionuclide
2015
+ @activity = activity
2016
+ @exceptedPackagingIsReportableQuantity = exceptedPackagingIsReportableQuantity
2017
+ @physicalForm = physicalForm
2018
+ @chemicalForm = chemicalForm
2019
+ end
2020
+ end
2021
+
2022
+ # {http://fedex.com/ws/rate/v13}RateDiscount
2023
+ # rateDiscountType - FedexWebServices::Soap::Rate::RateDiscountType
2024
+ # description - SOAP::SOAPString
2025
+ # amount - FedexWebServices::Soap::Rate::Money
2026
+ # percent - SOAP::SOAPDecimal
2027
+ class RateDiscount
2028
+ attr_accessor :rateDiscountType
2029
+ attr_accessor :description
2030
+ attr_accessor :amount
2031
+ attr_accessor :percent
2032
+
2033
+ def initialize(rateDiscountType = nil, description = nil, amount = nil, percent = nil)
2034
+ @rateDiscountType = rateDiscountType
2035
+ @description = description
2036
+ @amount = amount
2037
+ @percent = percent
2038
+ end
2039
+ end
2040
+
2041
+ # {http://fedex.com/ws/rate/v13}RateReply
2042
+ # highestSeverity - FedexWebServices::Soap::Rate::NotificationSeverityType
2043
+ # notifications - FedexWebServices::Soap::Rate::Notification
2044
+ # transactionDetail - FedexWebServices::Soap::Rate::TransactionDetail
2045
+ # version - FedexWebServices::Soap::Rate::VersionId
2046
+ # rateReplyDetails - FedexWebServices::Soap::Rate::RateReplyDetail
2047
+ class RateReply
2048
+ attr_accessor :highestSeverity
2049
+ attr_accessor :notifications
2050
+ attr_accessor :transactionDetail
2051
+ attr_accessor :version
2052
+ attr_accessor :rateReplyDetails
2053
+
2054
+ def initialize(highestSeverity = nil, notifications = [], transactionDetail = nil, version = nil, rateReplyDetails = [])
2055
+ @highestSeverity = highestSeverity
2056
+ @notifications = notifications
2057
+ @transactionDetail = transactionDetail
2058
+ @version = version
2059
+ @rateReplyDetails = rateReplyDetails
2060
+ end
2061
+ end
2062
+
2063
+ # {http://fedex.com/ws/rate/v13}RateReplyDetail
2064
+ # serviceType - FedexWebServices::Soap::Rate::ServiceType
2065
+ # packagingType - FedexWebServices::Soap::Rate::PackagingType
2066
+ # appliedOptions - FedexWebServices::Soap::Rate::ServiceOptionType
2067
+ # appliedSubOptions - FedexWebServices::Soap::Rate::ServiceSubOptionDetail
2068
+ # deliveryStation - SOAP::SOAPString
2069
+ # deliveryDayOfWeek - FedexWebServices::Soap::Rate::DayOfWeekType
2070
+ # deliveryTimestamp - SOAP::SOAPDateTime
2071
+ # commitDetails - FedexWebServices::Soap::Rate::CommitDetail
2072
+ # destinationAirportId - SOAP::SOAPString
2073
+ # ineligibleForMoneyBackGuarantee - SOAP::SOAPBoolean
2074
+ # originServiceArea - SOAP::SOAPString
2075
+ # destinationServiceArea - SOAP::SOAPString
2076
+ # transitTime - FedexWebServices::Soap::Rate::TransitTimeType
2077
+ # maximumTransitTime - FedexWebServices::Soap::Rate::TransitTimeType
2078
+ # signatureOption - FedexWebServices::Soap::Rate::SignatureOptionType
2079
+ # actualRateType - FedexWebServices::Soap::Rate::ReturnedRateType
2080
+ # ratedShipmentDetails - FedexWebServices::Soap::Rate::RatedShipmentDetail
2081
+ class RateReplyDetail
2082
+ attr_accessor :serviceType
2083
+ attr_accessor :packagingType
2084
+ attr_accessor :appliedOptions
2085
+ attr_accessor :appliedSubOptions
2086
+ attr_accessor :deliveryStation
2087
+ attr_accessor :deliveryDayOfWeek
2088
+ attr_accessor :deliveryTimestamp
2089
+ attr_accessor :commitDetails
2090
+ attr_accessor :destinationAirportId
2091
+ attr_accessor :ineligibleForMoneyBackGuarantee
2092
+ attr_accessor :originServiceArea
2093
+ attr_accessor :destinationServiceArea
2094
+ attr_accessor :transitTime
2095
+ attr_accessor :maximumTransitTime
2096
+ attr_accessor :signatureOption
2097
+ attr_accessor :actualRateType
2098
+ attr_accessor :ratedShipmentDetails
2099
+
2100
+ def initialize(serviceType = nil, packagingType = nil, appliedOptions = [], appliedSubOptions = nil, deliveryStation = nil, deliveryDayOfWeek = nil, deliveryTimestamp = nil, commitDetails = [], destinationAirportId = nil, ineligibleForMoneyBackGuarantee = nil, originServiceArea = nil, destinationServiceArea = nil, transitTime = nil, maximumTransitTime = nil, signatureOption = nil, actualRateType = nil, ratedShipmentDetails = [])
2101
+ @serviceType = serviceType
2102
+ @packagingType = packagingType
2103
+ @appliedOptions = appliedOptions
2104
+ @appliedSubOptions = appliedSubOptions
2105
+ @deliveryStation = deliveryStation
2106
+ @deliveryDayOfWeek = deliveryDayOfWeek
2107
+ @deliveryTimestamp = deliveryTimestamp
2108
+ @commitDetails = commitDetails
2109
+ @destinationAirportId = destinationAirportId
2110
+ @ineligibleForMoneyBackGuarantee = ineligibleForMoneyBackGuarantee
2111
+ @originServiceArea = originServiceArea
2112
+ @destinationServiceArea = destinationServiceArea
2113
+ @transitTime = transitTime
2114
+ @maximumTransitTime = maximumTransitTime
2115
+ @signatureOption = signatureOption
2116
+ @actualRateType = actualRateType
2117
+ @ratedShipmentDetails = ratedShipmentDetails
2118
+ end
2119
+ end
2120
+
2121
+ # {http://fedex.com/ws/rate/v13}RateRequest
2122
+ # webAuthenticationDetail - FedexWebServices::Soap::Rate::WebAuthenticationDetail
2123
+ # clientDetail - FedexWebServices::Soap::Rate::ClientDetail
2124
+ # transactionDetail - FedexWebServices::Soap::Rate::TransactionDetail
2125
+ # version - FedexWebServices::Soap::Rate::VersionId
2126
+ # returnTransitAndCommit - SOAP::SOAPBoolean
2127
+ # carrierCodes - FedexWebServices::Soap::Rate::CarrierCodeType
2128
+ # variableOptions - FedexWebServices::Soap::Rate::ServiceOptionType
2129
+ # requestedShipment - FedexWebServices::Soap::Rate::RequestedShipment
2130
+ class RateRequest
2131
+ attr_accessor :webAuthenticationDetail
2132
+ attr_accessor :clientDetail
2133
+ attr_accessor :transactionDetail
2134
+ attr_accessor :version
2135
+ attr_accessor :returnTransitAndCommit
2136
+ attr_accessor :carrierCodes
2137
+ attr_accessor :variableOptions
2138
+ attr_accessor :requestedShipment
2139
+
2140
+ def initialize(webAuthenticationDetail = nil, clientDetail = nil, transactionDetail = nil, version = nil, returnTransitAndCommit = nil, carrierCodes = [], variableOptions = [], requestedShipment = nil)
2141
+ @webAuthenticationDetail = webAuthenticationDetail
2142
+ @clientDetail = clientDetail
2143
+ @transactionDetail = transactionDetail
2144
+ @version = version
2145
+ @returnTransitAndCommit = returnTransitAndCommit
2146
+ @carrierCodes = carrierCodes
2147
+ @variableOptions = variableOptions
2148
+ @requestedShipment = requestedShipment
2149
+ end
2150
+ end
2151
+
2152
+ # {http://fedex.com/ws/rate/v13}RatedPackageDetail
2153
+ # trackingIds - FedexWebServices::Soap::Rate::TrackingId
2154
+ # groupNumber - SOAP::SOAPNonNegativeInteger
2155
+ # effectiveNetDiscount - FedexWebServices::Soap::Rate::Money
2156
+ # adjustedCodCollectionAmount - FedexWebServices::Soap::Rate::Money
2157
+ # oversizeClass - FedexWebServices::Soap::Rate::OversizeClassType
2158
+ # packageRateDetail - FedexWebServices::Soap::Rate::PackageRateDetail
2159
+ class RatedPackageDetail
2160
+ attr_accessor :trackingIds
2161
+ attr_accessor :groupNumber
2162
+ attr_accessor :effectiveNetDiscount
2163
+ attr_accessor :adjustedCodCollectionAmount
2164
+ attr_accessor :oversizeClass
2165
+ attr_accessor :packageRateDetail
2166
+
2167
+ def initialize(trackingIds = [], groupNumber = nil, effectiveNetDiscount = nil, adjustedCodCollectionAmount = nil, oversizeClass = nil, packageRateDetail = nil)
2168
+ @trackingIds = trackingIds
2169
+ @groupNumber = groupNumber
2170
+ @effectiveNetDiscount = effectiveNetDiscount
2171
+ @adjustedCodCollectionAmount = adjustedCodCollectionAmount
2172
+ @oversizeClass = oversizeClass
2173
+ @packageRateDetail = packageRateDetail
2174
+ end
2175
+ end
2176
+
2177
+ # {http://fedex.com/ws/rate/v13}RatedShipmentDetail
2178
+ # effectiveNetDiscount - FedexWebServices::Soap::Rate::Money
2179
+ # adjustedCodCollectionAmount - FedexWebServices::Soap::Rate::Money
2180
+ # shipmentRateDetail - FedexWebServices::Soap::Rate::ShipmentRateDetail
2181
+ # ratedPackages - FedexWebServices::Soap::Rate::RatedPackageDetail
2182
+ class RatedShipmentDetail
2183
+ attr_accessor :effectiveNetDiscount
2184
+ attr_accessor :adjustedCodCollectionAmount
2185
+ attr_accessor :shipmentRateDetail
2186
+ attr_accessor :ratedPackages
2187
+
2188
+ def initialize(effectiveNetDiscount = nil, adjustedCodCollectionAmount = nil, shipmentRateDetail = nil, ratedPackages = [])
2189
+ @effectiveNetDiscount = effectiveNetDiscount
2190
+ @adjustedCodCollectionAmount = adjustedCodCollectionAmount
2191
+ @shipmentRateDetail = shipmentRateDetail
2192
+ @ratedPackages = ratedPackages
2193
+ end
2194
+ end
2195
+
2196
+ # {http://fedex.com/ws/rate/v13}Rebate
2197
+ # rebateType - FedexWebServices::Soap::Rate::RebateType
2198
+ # description - SOAP::SOAPString
2199
+ # amount - FedexWebServices::Soap::Rate::Money
2200
+ # percent - SOAP::SOAPDecimal
2201
+ class Rebate
2202
+ attr_accessor :rebateType
2203
+ attr_accessor :description
2204
+ attr_accessor :amount
2205
+ attr_accessor :percent
2206
+
2207
+ def initialize(rebateType = nil, description = nil, amount = nil, percent = nil)
2208
+ @rebateType = rebateType
2209
+ @description = description
2210
+ @amount = amount
2211
+ @percent = percent
2212
+ end
2213
+ end
2214
+
2215
+ # {http://fedex.com/ws/rate/v13}RecipientCustomsId
2216
+ # type - FedexWebServices::Soap::Rate::RecipientCustomsIdType
2217
+ # value - SOAP::SOAPString
2218
+ class RecipientCustomsId
2219
+ attr_accessor :type
2220
+ attr_accessor :value
2221
+
2222
+ def initialize(type = nil, value = nil)
2223
+ @type = type
2224
+ @value = value
2225
+ end
2226
+ end
2227
+
2228
+ # {http://fedex.com/ws/rate/v13}RequestedPackageLineItem
2229
+ # sequenceNumber - SOAP::SOAPPositiveInteger
2230
+ # groupNumber - SOAP::SOAPNonNegativeInteger
2231
+ # groupPackageCount - SOAP::SOAPNonNegativeInteger
2232
+ # variableHandlingChargeDetail - FedexWebServices::Soap::Rate::VariableHandlingChargeDetail
2233
+ # insuredValue - FedexWebServices::Soap::Rate::Money
2234
+ # weight - FedexWebServices::Soap::Rate::Weight
2235
+ # dimensions - FedexWebServices::Soap::Rate::Dimensions
2236
+ # physicalPackaging - FedexWebServices::Soap::Rate::PhysicalPackagingType
2237
+ # itemDescription - SOAP::SOAPString
2238
+ # customerReferences - FedexWebServices::Soap::Rate::CustomerReference
2239
+ # specialServicesRequested - FedexWebServices::Soap::Rate::PackageSpecialServicesRequested
2240
+ # contentRecords - FedexWebServices::Soap::Rate::ContentRecord
2241
+ class RequestedPackageLineItem
2242
+ attr_accessor :sequenceNumber
2243
+ attr_accessor :groupNumber
2244
+ attr_accessor :groupPackageCount
2245
+ attr_accessor :variableHandlingChargeDetail
2246
+ attr_accessor :insuredValue
2247
+ attr_accessor :weight
2248
+ attr_accessor :dimensions
2249
+ attr_accessor :physicalPackaging
2250
+ attr_accessor :itemDescription
2251
+ attr_accessor :customerReferences
2252
+ attr_accessor :specialServicesRequested
2253
+ attr_accessor :contentRecords
2254
+
2255
+ def initialize(sequenceNumber = nil, groupNumber = nil, groupPackageCount = nil, variableHandlingChargeDetail = nil, insuredValue = nil, weight = nil, dimensions = nil, physicalPackaging = nil, itemDescription = nil, customerReferences = [], specialServicesRequested = nil, contentRecords = [])
2256
+ @sequenceNumber = sequenceNumber
2257
+ @groupNumber = groupNumber
2258
+ @groupPackageCount = groupPackageCount
2259
+ @variableHandlingChargeDetail = variableHandlingChargeDetail
2260
+ @insuredValue = insuredValue
2261
+ @weight = weight
2262
+ @dimensions = dimensions
2263
+ @physicalPackaging = physicalPackaging
2264
+ @itemDescription = itemDescription
2265
+ @customerReferences = customerReferences
2266
+ @specialServicesRequested = specialServicesRequested
2267
+ @contentRecords = contentRecords
2268
+ end
2269
+ end
2270
+
2271
+ # {http://fedex.com/ws/rate/v13}RequestedShipment
2272
+ # shipTimestamp - SOAP::SOAPDateTime
2273
+ # dropoffType - FedexWebServices::Soap::Rate::DropoffType
2274
+ # serviceType - FedexWebServices::Soap::Rate::ServiceType
2275
+ # packagingType - FedexWebServices::Soap::Rate::PackagingType
2276
+ # totalWeight - FedexWebServices::Soap::Rate::Weight
2277
+ # totalInsuredValue - FedexWebServices::Soap::Rate::Money
2278
+ # preferredCurrency - SOAP::SOAPString
2279
+ # shipper - FedexWebServices::Soap::Rate::Party
2280
+ # recipient - FedexWebServices::Soap::Rate::Party
2281
+ # recipientLocationNumber - SOAP::SOAPString
2282
+ # origin - FedexWebServices::Soap::Rate::ContactAndAddress
2283
+ # shippingChargesPayment - FedexWebServices::Soap::Rate::Payment
2284
+ # specialServicesRequested - FedexWebServices::Soap::Rate::ShipmentSpecialServicesRequested
2285
+ # expressFreightDetail - FedexWebServices::Soap::Rate::ExpressFreightDetail
2286
+ # freightShipmentDetail - FedexWebServices::Soap::Rate::FreightShipmentDetail
2287
+ # deliveryInstructions - SOAP::SOAPString
2288
+ # variableHandlingChargeDetail - FedexWebServices::Soap::Rate::VariableHandlingChargeDetail
2289
+ # customsClearanceDetail - FedexWebServices::Soap::Rate::CustomsClearanceDetail
2290
+ # pickupDetail - FedexWebServices::Soap::Rate::PickupDetail
2291
+ # smartPostDetail - FedexWebServices::Soap::Rate::SmartPostShipmentDetail
2292
+ # blockInsightVisibility - SOAP::SOAPBoolean
2293
+ # labelSpecification - FedexWebServices::Soap::Rate::LabelSpecification
2294
+ # shippingDocumentSpecification - FedexWebServices::Soap::Rate::ShippingDocumentSpecification
2295
+ # rateRequestTypes - FedexWebServices::Soap::Rate::RateRequestType
2296
+ # edtRequestType - FedexWebServices::Soap::Rate::EdtRequestType
2297
+ # packageCount - SOAP::SOAPNonNegativeInteger
2298
+ # shipmentOnlyFields - FedexWebServices::Soap::Rate::ShipmentOnlyFieldsType
2299
+ # configurationData - FedexWebServices::Soap::Rate::ShipmentConfigurationData
2300
+ # requestedPackageLineItems - FedexWebServices::Soap::Rate::RequestedPackageLineItem
2301
+ class RequestedShipment
2302
+ attr_accessor :shipTimestamp
2303
+ attr_accessor :dropoffType
2304
+ attr_accessor :serviceType
2305
+ attr_accessor :packagingType
2306
+ attr_accessor :totalWeight
2307
+ attr_accessor :totalInsuredValue
2308
+ attr_accessor :preferredCurrency
2309
+ attr_accessor :shipper
2310
+ attr_accessor :recipient
2311
+ attr_accessor :recipientLocationNumber
2312
+ attr_accessor :origin
2313
+ attr_accessor :shippingChargesPayment
2314
+ attr_accessor :specialServicesRequested
2315
+ attr_accessor :expressFreightDetail
2316
+ attr_accessor :freightShipmentDetail
2317
+ attr_accessor :deliveryInstructions
2318
+ attr_accessor :variableHandlingChargeDetail
2319
+ attr_accessor :customsClearanceDetail
2320
+ attr_accessor :pickupDetail
2321
+ attr_accessor :smartPostDetail
2322
+ attr_accessor :blockInsightVisibility
2323
+ attr_accessor :labelSpecification
2324
+ attr_accessor :shippingDocumentSpecification
2325
+ attr_accessor :rateRequestTypes
2326
+ attr_accessor :edtRequestType
2327
+ attr_accessor :packageCount
2328
+ attr_accessor :shipmentOnlyFields
2329
+ attr_accessor :configurationData
2330
+ attr_accessor :requestedPackageLineItems
2331
+
2332
+ def initialize(shipTimestamp = nil, dropoffType = nil, serviceType = nil, packagingType = nil, totalWeight = nil, totalInsuredValue = nil, preferredCurrency = nil, shipper = nil, recipient = nil, recipientLocationNumber = nil, origin = nil, shippingChargesPayment = nil, specialServicesRequested = nil, expressFreightDetail = nil, freightShipmentDetail = nil, deliveryInstructions = nil, variableHandlingChargeDetail = nil, customsClearanceDetail = nil, pickupDetail = nil, smartPostDetail = nil, blockInsightVisibility = nil, labelSpecification = nil, shippingDocumentSpecification = nil, rateRequestTypes = [], edtRequestType = nil, packageCount = nil, shipmentOnlyFields = [], configurationData = nil, requestedPackageLineItems = [])
2333
+ @shipTimestamp = shipTimestamp
2334
+ @dropoffType = dropoffType
2335
+ @serviceType = serviceType
2336
+ @packagingType = packagingType
2337
+ @totalWeight = totalWeight
2338
+ @totalInsuredValue = totalInsuredValue
2339
+ @preferredCurrency = preferredCurrency
2340
+ @shipper = shipper
2341
+ @recipient = recipient
2342
+ @recipientLocationNumber = recipientLocationNumber
2343
+ @origin = origin
2344
+ @shippingChargesPayment = shippingChargesPayment
2345
+ @specialServicesRequested = specialServicesRequested
2346
+ @expressFreightDetail = expressFreightDetail
2347
+ @freightShipmentDetail = freightShipmentDetail
2348
+ @deliveryInstructions = deliveryInstructions
2349
+ @variableHandlingChargeDetail = variableHandlingChargeDetail
2350
+ @customsClearanceDetail = customsClearanceDetail
2351
+ @pickupDetail = pickupDetail
2352
+ @smartPostDetail = smartPostDetail
2353
+ @blockInsightVisibility = blockInsightVisibility
2354
+ @labelSpecification = labelSpecification
2355
+ @shippingDocumentSpecification = shippingDocumentSpecification
2356
+ @rateRequestTypes = rateRequestTypes
2357
+ @edtRequestType = edtRequestType
2358
+ @packageCount = packageCount
2359
+ @shipmentOnlyFields = shipmentOnlyFields
2360
+ @configurationData = configurationData
2361
+ @requestedPackageLineItems = requestedPackageLineItems
2362
+ end
2363
+ end
2364
+
2365
+ # {http://fedex.com/ws/rate/v13}ReturnAssociationDetail
2366
+ # trackingNumber - SOAP::SOAPString
2367
+ # shipDate - SOAP::SOAPDate
2368
+ class ReturnAssociationDetail
2369
+ attr_accessor :trackingNumber
2370
+ attr_accessor :shipDate
2371
+
2372
+ def initialize(trackingNumber = nil, shipDate = nil)
2373
+ @trackingNumber = trackingNumber
2374
+ @shipDate = shipDate
2375
+ end
2376
+ end
2377
+
2378
+ # {http://fedex.com/ws/rate/v13}ReturnEMailDetail
2379
+ # merchantPhoneNumber - SOAP::SOAPString
2380
+ # allowedSpecialServices - FedexWebServices::Soap::Rate::ReturnEMailAllowedSpecialServiceType
2381
+ class ReturnEMailDetail
2382
+ attr_accessor :merchantPhoneNumber
2383
+ attr_accessor :allowedSpecialServices
2384
+
2385
+ def initialize(merchantPhoneNumber = nil, allowedSpecialServices = [])
2386
+ @merchantPhoneNumber = merchantPhoneNumber
2387
+ @allowedSpecialServices = allowedSpecialServices
2388
+ end
2389
+ end
2390
+
2391
+ # {http://fedex.com/ws/rate/v13}ReturnInstructionsDetail
2392
+ # format - FedexWebServices::Soap::Rate::ShippingDocumentFormat
2393
+ # customText - SOAP::SOAPString
2394
+ class ReturnInstructionsDetail
2395
+ attr_accessor :format
2396
+ attr_accessor :customText
2397
+
2398
+ def initialize(format = nil, customText = nil)
2399
+ @format = format
2400
+ @customText = customText
2401
+ end
2402
+ end
2403
+
2404
+ # {http://fedex.com/ws/rate/v13}ReturnShipmentDetail
2405
+ # returnType - FedexWebServices::Soap::Rate::ReturnType
2406
+ # rma - FedexWebServices::Soap::Rate::Rma
2407
+ # returnEMailDetail - FedexWebServices::Soap::Rate::ReturnEMailDetail
2408
+ # returnAssociation - FedexWebServices::Soap::Rate::ReturnAssociationDetail
2409
+ class ReturnShipmentDetail
2410
+ attr_accessor :returnType
2411
+ attr_accessor :rma
2412
+ attr_accessor :returnEMailDetail
2413
+ attr_accessor :returnAssociation
2414
+
2415
+ def initialize(returnType = nil, rma = nil, returnEMailDetail = nil, returnAssociation = nil)
2416
+ @returnType = returnType
2417
+ @rma = rma
2418
+ @returnEMailDetail = returnEMailDetail
2419
+ @returnAssociation = returnAssociation
2420
+ end
2421
+ end
2422
+
2423
+ # {http://fedex.com/ws/rate/v13}Rma
2424
+ # reason - SOAP::SOAPString
2425
+ class Rma
2426
+ attr_accessor :reason
2427
+
2428
+ def initialize(reason = nil)
2429
+ @reason = reason
2430
+ end
2431
+ end
2432
+
2433
+ # {http://fedex.com/ws/rate/v13}ServiceSubOptionDetail
2434
+ # freightGuarantee - FedexWebServices::Soap::Rate::FreightGuaranteeType
2435
+ # smartPostHubId - SOAP::SOAPString
2436
+ # smartPostIndicia - FedexWebServices::Soap::Rate::SmartPostIndiciaType
2437
+ class ServiceSubOptionDetail
2438
+ attr_accessor :freightGuarantee
2439
+ attr_accessor :smartPostHubId
2440
+ attr_accessor :smartPostIndicia
2441
+
2442
+ def initialize(freightGuarantee = nil, smartPostHubId = nil, smartPostIndicia = nil)
2443
+ @freightGuarantee = freightGuarantee
2444
+ @smartPostHubId = smartPostHubId
2445
+ @smartPostIndicia = smartPostIndicia
2446
+ end
2447
+ end
2448
+
2449
+ # {http://fedex.com/ws/rate/v13}ShipmentConfigurationData
2450
+ class ShipmentConfigurationData < ::Array
2451
+ end
2452
+
2453
+ # {http://fedex.com/ws/rate/v13}ShipmentDryIceDetail
2454
+ # packageCount - SOAP::SOAPNonNegativeInteger
2455
+ # totalWeight - FedexWebServices::Soap::Rate::Weight
2456
+ class ShipmentDryIceDetail
2457
+ attr_accessor :packageCount
2458
+ attr_accessor :totalWeight
2459
+
2460
+ def initialize(packageCount = nil, totalWeight = nil)
2461
+ @packageCount = packageCount
2462
+ @totalWeight = totalWeight
2463
+ end
2464
+ end
2465
+
2466
+ # {http://fedex.com/ws/rate/v13}ShipmentLegRateDetail
2467
+ # legDescription - SOAP::SOAPString
2468
+ # legOrigin - FedexWebServices::Soap::Rate::Address
2469
+ # legOriginLocationId - SOAP::SOAPString
2470
+ # legDestination - FedexWebServices::Soap::Rate::Address
2471
+ # legDestinationLocationId - SOAP::SOAPString
2472
+ # rateType - FedexWebServices::Soap::Rate::ReturnedRateType
2473
+ # rateScale - SOAP::SOAPString
2474
+ # rateZone - SOAP::SOAPString
2475
+ # pricingCode - FedexWebServices::Soap::Rate::PricingCodeType
2476
+ # ratedWeightMethod - FedexWebServices::Soap::Rate::RatedWeightMethod
2477
+ # minimumChargeType - FedexWebServices::Soap::Rate::MinimumChargeType
2478
+ # currencyExchangeRate - FedexWebServices::Soap::Rate::CurrencyExchangeRate
2479
+ # specialRatingApplied - FedexWebServices::Soap::Rate::SpecialRatingAppliedType
2480
+ # dimDivisor - SOAP::SOAPNonNegativeInteger
2481
+ # dimDivisorType - FedexWebServices::Soap::Rate::RateDimensionalDivisorType
2482
+ # fuelSurchargePercent - SOAP::SOAPDecimal
2483
+ # totalBillingWeight - FedexWebServices::Soap::Rate::Weight
2484
+ # totalDimWeight - FedexWebServices::Soap::Rate::Weight
2485
+ # totalBaseCharge - FedexWebServices::Soap::Rate::Money
2486
+ # totalFreightDiscounts - FedexWebServices::Soap::Rate::Money
2487
+ # totalNetFreight - FedexWebServices::Soap::Rate::Money
2488
+ # totalSurcharges - FedexWebServices::Soap::Rate::Money
2489
+ # totalNetFedExCharge - FedexWebServices::Soap::Rate::Money
2490
+ # totalTaxes - FedexWebServices::Soap::Rate::Money
2491
+ # totalNetCharge - FedexWebServices::Soap::Rate::Money
2492
+ # totalRebates - FedexWebServices::Soap::Rate::Money
2493
+ # totalDutiesAndTaxes - FedexWebServices::Soap::Rate::Money
2494
+ # totalNetChargeWithDutiesAndTaxes - FedexWebServices::Soap::Rate::Money
2495
+ # freightRateDetail - FedexWebServices::Soap::Rate::FreightRateDetail
2496
+ # freightDiscounts - FedexWebServices::Soap::Rate::RateDiscount
2497
+ # rebates - FedexWebServices::Soap::Rate::Rebate
2498
+ # surcharges - FedexWebServices::Soap::Rate::Surcharge
2499
+ # taxes - FedexWebServices::Soap::Rate::Tax
2500
+ # dutiesAndTaxes - FedexWebServices::Soap::Rate::EdtCommodityTax
2501
+ # variableHandlingCharges - FedexWebServices::Soap::Rate::VariableHandlingCharges
2502
+ # totalVariableHandlingCharges - FedexWebServices::Soap::Rate::VariableHandlingCharges
2503
+ class ShipmentLegRateDetail
2504
+ attr_accessor :legDescription
2505
+ attr_accessor :legOrigin
2506
+ attr_accessor :legOriginLocationId
2507
+ attr_accessor :legDestination
2508
+ attr_accessor :legDestinationLocationId
2509
+ attr_accessor :rateType
2510
+ attr_accessor :rateScale
2511
+ attr_accessor :rateZone
2512
+ attr_accessor :pricingCode
2513
+ attr_accessor :ratedWeightMethod
2514
+ attr_accessor :minimumChargeType
2515
+ attr_accessor :currencyExchangeRate
2516
+ attr_accessor :specialRatingApplied
2517
+ attr_accessor :dimDivisor
2518
+ attr_accessor :dimDivisorType
2519
+ attr_accessor :fuelSurchargePercent
2520
+ attr_accessor :totalBillingWeight
2521
+ attr_accessor :totalDimWeight
2522
+ attr_accessor :totalBaseCharge
2523
+ attr_accessor :totalFreightDiscounts
2524
+ attr_accessor :totalNetFreight
2525
+ attr_accessor :totalSurcharges
2526
+ attr_accessor :totalNetFedExCharge
2527
+ attr_accessor :totalTaxes
2528
+ attr_accessor :totalNetCharge
2529
+ attr_accessor :totalRebates
2530
+ attr_accessor :totalDutiesAndTaxes
2531
+ attr_accessor :totalNetChargeWithDutiesAndTaxes
2532
+ attr_accessor :freightRateDetail
2533
+ attr_accessor :freightDiscounts
2534
+ attr_accessor :rebates
2535
+ attr_accessor :surcharges
2536
+ attr_accessor :taxes
2537
+ attr_accessor :dutiesAndTaxes
2538
+ attr_accessor :variableHandlingCharges
2539
+ attr_accessor :totalVariableHandlingCharges
2540
+
2541
+ def initialize(legDescription = nil, legOrigin = nil, legOriginLocationId = nil, legDestination = nil, legDestinationLocationId = nil, rateType = nil, rateScale = nil, rateZone = nil, pricingCode = nil, ratedWeightMethod = nil, minimumChargeType = nil, currencyExchangeRate = nil, specialRatingApplied = [], dimDivisor = nil, dimDivisorType = nil, fuelSurchargePercent = nil, totalBillingWeight = nil, totalDimWeight = nil, totalBaseCharge = nil, totalFreightDiscounts = nil, totalNetFreight = nil, totalSurcharges = nil, totalNetFedExCharge = nil, totalTaxes = nil, totalNetCharge = nil, totalRebates = nil, totalDutiesAndTaxes = nil, totalNetChargeWithDutiesAndTaxes = nil, freightRateDetail = nil, freightDiscounts = [], rebates = [], surcharges = [], taxes = [], dutiesAndTaxes = [], variableHandlingCharges = nil, totalVariableHandlingCharges = nil)
2542
+ @legDescription = legDescription
2543
+ @legOrigin = legOrigin
2544
+ @legOriginLocationId = legOriginLocationId
2545
+ @legDestination = legDestination
2546
+ @legDestinationLocationId = legDestinationLocationId
2547
+ @rateType = rateType
2548
+ @rateScale = rateScale
2549
+ @rateZone = rateZone
2550
+ @pricingCode = pricingCode
2551
+ @ratedWeightMethod = ratedWeightMethod
2552
+ @minimumChargeType = minimumChargeType
2553
+ @currencyExchangeRate = currencyExchangeRate
2554
+ @specialRatingApplied = specialRatingApplied
2555
+ @dimDivisor = dimDivisor
2556
+ @dimDivisorType = dimDivisorType
2557
+ @fuelSurchargePercent = fuelSurchargePercent
2558
+ @totalBillingWeight = totalBillingWeight
2559
+ @totalDimWeight = totalDimWeight
2560
+ @totalBaseCharge = totalBaseCharge
2561
+ @totalFreightDiscounts = totalFreightDiscounts
2562
+ @totalNetFreight = totalNetFreight
2563
+ @totalSurcharges = totalSurcharges
2564
+ @totalNetFedExCharge = totalNetFedExCharge
2565
+ @totalTaxes = totalTaxes
2566
+ @totalNetCharge = totalNetCharge
2567
+ @totalRebates = totalRebates
2568
+ @totalDutiesAndTaxes = totalDutiesAndTaxes
2569
+ @totalNetChargeWithDutiesAndTaxes = totalNetChargeWithDutiesAndTaxes
2570
+ @freightRateDetail = freightRateDetail
2571
+ @freightDiscounts = freightDiscounts
2572
+ @rebates = rebates
2573
+ @surcharges = surcharges
2574
+ @taxes = taxes
2575
+ @dutiesAndTaxes = dutiesAndTaxes
2576
+ @variableHandlingCharges = variableHandlingCharges
2577
+ @totalVariableHandlingCharges = totalVariableHandlingCharges
2578
+ end
2579
+ end
2580
+
2581
+ # {http://fedex.com/ws/rate/v13}ShipmentRateDetail
2582
+ # rateType - FedexWebServices::Soap::Rate::ReturnedRateType
2583
+ # rateScale - SOAP::SOAPString
2584
+ # rateZone - SOAP::SOAPString
2585
+ # pricingCode - FedexWebServices::Soap::Rate::PricingCodeType
2586
+ # ratedWeightMethod - FedexWebServices::Soap::Rate::RatedWeightMethod
2587
+ # minimumChargeType - FedexWebServices::Soap::Rate::MinimumChargeType
2588
+ # currencyExchangeRate - FedexWebServices::Soap::Rate::CurrencyExchangeRate
2589
+ # specialRatingApplied - FedexWebServices::Soap::Rate::SpecialRatingAppliedType
2590
+ # dimDivisor - SOAP::SOAPNonNegativeInteger
2591
+ # dimDivisorType - FedexWebServices::Soap::Rate::RateDimensionalDivisorType
2592
+ # fuelSurchargePercent - SOAP::SOAPDecimal
2593
+ # totalBillingWeight - FedexWebServices::Soap::Rate::Weight
2594
+ # totalDimWeight - FedexWebServices::Soap::Rate::Weight
2595
+ # totalBaseCharge - FedexWebServices::Soap::Rate::Money
2596
+ # totalFreightDiscounts - FedexWebServices::Soap::Rate::Money
2597
+ # totalNetFreight - FedexWebServices::Soap::Rate::Money
2598
+ # totalSurcharges - FedexWebServices::Soap::Rate::Money
2599
+ # totalNetFedExCharge - FedexWebServices::Soap::Rate::Money
2600
+ # totalTaxes - FedexWebServices::Soap::Rate::Money
2601
+ # totalNetCharge - FedexWebServices::Soap::Rate::Money
2602
+ # totalRebates - FedexWebServices::Soap::Rate::Money
2603
+ # totalDutiesAndTaxes - FedexWebServices::Soap::Rate::Money
2604
+ # totalNetChargeWithDutiesAndTaxes - FedexWebServices::Soap::Rate::Money
2605
+ # shipmentLegRateDetails - FedexWebServices::Soap::Rate::ShipmentLegRateDetail
2606
+ # freightRateDetail - FedexWebServices::Soap::Rate::FreightRateDetail
2607
+ # freightDiscounts - FedexWebServices::Soap::Rate::RateDiscount
2608
+ # rebates - FedexWebServices::Soap::Rate::Rebate
2609
+ # surcharges - FedexWebServices::Soap::Rate::Surcharge
2610
+ # taxes - FedexWebServices::Soap::Rate::Tax
2611
+ # dutiesAndTaxes - FedexWebServices::Soap::Rate::EdtCommodityTax
2612
+ # variableHandlingCharges - FedexWebServices::Soap::Rate::VariableHandlingCharges
2613
+ # totalVariableHandlingCharges - FedexWebServices::Soap::Rate::VariableHandlingCharges
2614
+ class ShipmentRateDetail
2615
+ attr_accessor :rateType
2616
+ attr_accessor :rateScale
2617
+ attr_accessor :rateZone
2618
+ attr_accessor :pricingCode
2619
+ attr_accessor :ratedWeightMethod
2620
+ attr_accessor :minimumChargeType
2621
+ attr_accessor :currencyExchangeRate
2622
+ attr_accessor :specialRatingApplied
2623
+ attr_accessor :dimDivisor
2624
+ attr_accessor :dimDivisorType
2625
+ attr_accessor :fuelSurchargePercent
2626
+ attr_accessor :totalBillingWeight
2627
+ attr_accessor :totalDimWeight
2628
+ attr_accessor :totalBaseCharge
2629
+ attr_accessor :totalFreightDiscounts
2630
+ attr_accessor :totalNetFreight
2631
+ attr_accessor :totalSurcharges
2632
+ attr_accessor :totalNetFedExCharge
2633
+ attr_accessor :totalTaxes
2634
+ attr_accessor :totalNetCharge
2635
+ attr_accessor :totalRebates
2636
+ attr_accessor :totalDutiesAndTaxes
2637
+ attr_accessor :totalNetChargeWithDutiesAndTaxes
2638
+ attr_accessor :shipmentLegRateDetails
2639
+ attr_accessor :freightRateDetail
2640
+ attr_accessor :freightDiscounts
2641
+ attr_accessor :rebates
2642
+ attr_accessor :surcharges
2643
+ attr_accessor :taxes
2644
+ attr_accessor :dutiesAndTaxes
2645
+ attr_accessor :variableHandlingCharges
2646
+ attr_accessor :totalVariableHandlingCharges
2647
+
2648
+ def initialize(rateType = nil, rateScale = nil, rateZone = nil, pricingCode = nil, ratedWeightMethod = nil, minimumChargeType = nil, currencyExchangeRate = nil, specialRatingApplied = [], dimDivisor = nil, dimDivisorType = nil, fuelSurchargePercent = nil, totalBillingWeight = nil, totalDimWeight = nil, totalBaseCharge = nil, totalFreightDiscounts = nil, totalNetFreight = nil, totalSurcharges = nil, totalNetFedExCharge = nil, totalTaxes = nil, totalNetCharge = nil, totalRebates = nil, totalDutiesAndTaxes = nil, totalNetChargeWithDutiesAndTaxes = nil, shipmentLegRateDetails = [], freightRateDetail = nil, freightDiscounts = [], rebates = [], surcharges = [], taxes = [], dutiesAndTaxes = [], variableHandlingCharges = nil, totalVariableHandlingCharges = nil)
2649
+ @rateType = rateType
2650
+ @rateScale = rateScale
2651
+ @rateZone = rateZone
2652
+ @pricingCode = pricingCode
2653
+ @ratedWeightMethod = ratedWeightMethod
2654
+ @minimumChargeType = minimumChargeType
2655
+ @currencyExchangeRate = currencyExchangeRate
2656
+ @specialRatingApplied = specialRatingApplied
2657
+ @dimDivisor = dimDivisor
2658
+ @dimDivisorType = dimDivisorType
2659
+ @fuelSurchargePercent = fuelSurchargePercent
2660
+ @totalBillingWeight = totalBillingWeight
2661
+ @totalDimWeight = totalDimWeight
2662
+ @totalBaseCharge = totalBaseCharge
2663
+ @totalFreightDiscounts = totalFreightDiscounts
2664
+ @totalNetFreight = totalNetFreight
2665
+ @totalSurcharges = totalSurcharges
2666
+ @totalNetFedExCharge = totalNetFedExCharge
2667
+ @totalTaxes = totalTaxes
2668
+ @totalNetCharge = totalNetCharge
2669
+ @totalRebates = totalRebates
2670
+ @totalDutiesAndTaxes = totalDutiesAndTaxes
2671
+ @totalNetChargeWithDutiesAndTaxes = totalNetChargeWithDutiesAndTaxes
2672
+ @shipmentLegRateDetails = shipmentLegRateDetails
2673
+ @freightRateDetail = freightRateDetail
2674
+ @freightDiscounts = freightDiscounts
2675
+ @rebates = rebates
2676
+ @surcharges = surcharges
2677
+ @taxes = taxes
2678
+ @dutiesAndTaxes = dutiesAndTaxes
2679
+ @variableHandlingCharges = variableHandlingCharges
2680
+ @totalVariableHandlingCharges = totalVariableHandlingCharges
2681
+ end
2682
+ end
2683
+
2684
+ # {http://fedex.com/ws/rate/v13}ShipmentSpecialServicesRequested
2685
+ # specialServiceTypes - FedexWebServices::Soap::Rate::ShipmentSpecialServiceType
2686
+ # codDetail - FedexWebServices::Soap::Rate::CodDetail
2687
+ # deliveryOnInvoiceAcceptanceDetail - FedexWebServices::Soap::Rate::DeliveryOnInvoiceAcceptanceDetail
2688
+ # holdAtLocationDetail - FedexWebServices::Soap::Rate::HoldAtLocationDetail
2689
+ # eMailNotificationDetail - FedexWebServices::Soap::Rate::EMailNotificationDetail
2690
+ # returnShipmentDetail - FedexWebServices::Soap::Rate::ReturnShipmentDetail
2691
+ # pendingShipmentDetail - FedexWebServices::Soap::Rate::PendingShipmentDetail
2692
+ # internationalControlledExportDetail - FedexWebServices::Soap::Rate::InternationalControlledExportDetail
2693
+ # internationalTrafficInArmsRegulationsDetail - FedexWebServices::Soap::Rate::InternationalTrafficInArmsRegulationsDetail
2694
+ # shipmentDryIceDetail - FedexWebServices::Soap::Rate::ShipmentDryIceDetail
2695
+ # homeDeliveryPremiumDetail - FedexWebServices::Soap::Rate::HomeDeliveryPremiumDetail
2696
+ # flatbedTrailerDetail - FedexWebServices::Soap::Rate::FlatbedTrailerDetail
2697
+ # freightGuaranteeDetail - FedexWebServices::Soap::Rate::FreightGuaranteeDetail
2698
+ # etdDetail - FedexWebServices::Soap::Rate::EtdDetail
2699
+ # customDeliveryWindowDetail - FedexWebServices::Soap::Rate::CustomDeliveryWindowDetail
2700
+ class ShipmentSpecialServicesRequested
2701
+ attr_accessor :specialServiceTypes
2702
+ attr_accessor :codDetail
2703
+ attr_accessor :deliveryOnInvoiceAcceptanceDetail
2704
+ attr_accessor :holdAtLocationDetail
2705
+ attr_accessor :eMailNotificationDetail
2706
+ attr_accessor :returnShipmentDetail
2707
+ attr_accessor :pendingShipmentDetail
2708
+ attr_accessor :internationalControlledExportDetail
2709
+ attr_accessor :internationalTrafficInArmsRegulationsDetail
2710
+ attr_accessor :shipmentDryIceDetail
2711
+ attr_accessor :homeDeliveryPremiumDetail
2712
+ attr_accessor :flatbedTrailerDetail
2713
+ attr_accessor :freightGuaranteeDetail
2714
+ attr_accessor :etdDetail
2715
+ attr_accessor :customDeliveryWindowDetail
2716
+
2717
+ def initialize(specialServiceTypes = [], codDetail = nil, deliveryOnInvoiceAcceptanceDetail = nil, holdAtLocationDetail = nil, eMailNotificationDetail = nil, returnShipmentDetail = nil, pendingShipmentDetail = nil, internationalControlledExportDetail = nil, internationalTrafficInArmsRegulationsDetail = nil, shipmentDryIceDetail = nil, homeDeliveryPremiumDetail = nil, flatbedTrailerDetail = nil, freightGuaranteeDetail = nil, etdDetail = nil, customDeliveryWindowDetail = nil)
2718
+ @specialServiceTypes = specialServiceTypes
2719
+ @codDetail = codDetail
2720
+ @deliveryOnInvoiceAcceptanceDetail = deliveryOnInvoiceAcceptanceDetail
2721
+ @holdAtLocationDetail = holdAtLocationDetail
2722
+ @eMailNotificationDetail = eMailNotificationDetail
2723
+ @returnShipmentDetail = returnShipmentDetail
2724
+ @pendingShipmentDetail = pendingShipmentDetail
2725
+ @internationalControlledExportDetail = internationalControlledExportDetail
2726
+ @internationalTrafficInArmsRegulationsDetail = internationalTrafficInArmsRegulationsDetail
2727
+ @shipmentDryIceDetail = shipmentDryIceDetail
2728
+ @homeDeliveryPremiumDetail = homeDeliveryPremiumDetail
2729
+ @flatbedTrailerDetail = flatbedTrailerDetail
2730
+ @freightGuaranteeDetail = freightGuaranteeDetail
2731
+ @etdDetail = etdDetail
2732
+ @customDeliveryWindowDetail = customDeliveryWindowDetail
2733
+ end
2734
+ end
2735
+
2736
+ # {http://fedex.com/ws/rate/v13}ShippingDocumentDispositionDetail
2737
+ # dispositionType - FedexWebServices::Soap::Rate::ShippingDocumentDispositionType
2738
+ # grouping - FedexWebServices::Soap::Rate::ShippingDocumentGroupingType
2739
+ # eMailDetail - FedexWebServices::Soap::Rate::ShippingDocumentEMailDetail
2740
+ # printDetail - FedexWebServices::Soap::Rate::ShippingDocumentPrintDetail
2741
+ class ShippingDocumentDispositionDetail
2742
+ attr_accessor :dispositionType
2743
+ attr_accessor :grouping
2744
+ attr_accessor :eMailDetail
2745
+ attr_accessor :printDetail
2746
+
2747
+ def initialize(dispositionType = nil, grouping = nil, eMailDetail = nil, printDetail = nil)
2748
+ @dispositionType = dispositionType
2749
+ @grouping = grouping
2750
+ @eMailDetail = eMailDetail
2751
+ @printDetail = printDetail
2752
+ end
2753
+ end
2754
+
2755
+ # {http://fedex.com/ws/rate/v13}ShippingDocumentEMailDetail
2756
+ # eMailRecipients - FedexWebServices::Soap::Rate::ShippingDocumentEMailRecipient
2757
+ # grouping - FedexWebServices::Soap::Rate::ShippingDocumentEMailGroupingType
2758
+ class ShippingDocumentEMailDetail
2759
+ attr_accessor :eMailRecipients
2760
+ attr_accessor :grouping
2761
+
2762
+ def initialize(eMailRecipients = [], grouping = nil)
2763
+ @eMailRecipients = eMailRecipients
2764
+ @grouping = grouping
2765
+ end
2766
+ end
2767
+
2768
+ # {http://fedex.com/ws/rate/v13}ShippingDocumentEMailRecipient
2769
+ # recipientType - FedexWebServices::Soap::Rate::EMailNotificationRecipientType
2770
+ # address - SOAP::SOAPString
2771
+ class ShippingDocumentEMailRecipient
2772
+ attr_accessor :recipientType
2773
+ attr_accessor :address
2774
+
2775
+ def initialize(recipientType = nil, address = nil)
2776
+ @recipientType = recipientType
2777
+ @address = address
2778
+ end
2779
+ end
2780
+
2781
+ # {http://fedex.com/ws/rate/v13}ShippingDocumentFormat
2782
+ # dispositions - FedexWebServices::Soap::Rate::ShippingDocumentDispositionDetail
2783
+ # topOfPageOffset - FedexWebServices::Soap::Rate::LinearMeasure
2784
+ # imageType - FedexWebServices::Soap::Rate::ShippingDocumentImageType
2785
+ # stockType - FedexWebServices::Soap::Rate::ShippingDocumentStockType
2786
+ # provideInstructions - SOAP::SOAPBoolean
2787
+ # localization - FedexWebServices::Soap::Rate::Localization
2788
+ class ShippingDocumentFormat
2789
+ attr_accessor :dispositions
2790
+ attr_accessor :topOfPageOffset
2791
+ attr_accessor :imageType
2792
+ attr_accessor :stockType
2793
+ attr_accessor :provideInstructions
2794
+ attr_accessor :localization
2795
+
2796
+ def initialize(dispositions = [], topOfPageOffset = nil, imageType = nil, stockType = nil, provideInstructions = nil, localization = nil)
2797
+ @dispositions = dispositions
2798
+ @topOfPageOffset = topOfPageOffset
2799
+ @imageType = imageType
2800
+ @stockType = stockType
2801
+ @provideInstructions = provideInstructions
2802
+ @localization = localization
2803
+ end
2804
+ end
2805
+
2806
+ # {http://fedex.com/ws/rate/v13}ShippingDocumentPrintDetail
2807
+ # printerId - SOAP::SOAPString
2808
+ class ShippingDocumentPrintDetail
2809
+ attr_accessor :printerId
2810
+
2811
+ def initialize(printerId = nil)
2812
+ @printerId = printerId
2813
+ end
2814
+ end
2815
+
2816
+ # {http://fedex.com/ws/rate/v13}ShippingDocumentSpecification
2817
+ # shippingDocumentTypes - FedexWebServices::Soap::Rate::RequestedShippingDocumentType
2818
+ # certificateOfOrigin - FedexWebServices::Soap::Rate::CertificateOfOriginDetail
2819
+ # commercialInvoiceDetail - FedexWebServices::Soap::Rate::CommercialInvoiceDetail
2820
+ # customPackageDocumentDetail - FedexWebServices::Soap::Rate::CustomDocumentDetail
2821
+ # customShipmentDocumentDetail - FedexWebServices::Soap::Rate::CustomDocumentDetail
2822
+ # generalAgencyAgreementDetail - FedexWebServices::Soap::Rate::GeneralAgencyAgreementDetail
2823
+ # naftaCertificateOfOriginDetail - FedexWebServices::Soap::Rate::NaftaCertificateOfOriginDetail
2824
+ # op900Detail - FedexWebServices::Soap::Rate::Op900Detail
2825
+ # dangerousGoodsShippersDeclarationDetail - FedexWebServices::Soap::Rate::DangerousGoodsShippersDeclarationDetail
2826
+ # returnInstructionsDetail - FedexWebServices::Soap::Rate::ReturnInstructionsDetail
2827
+ class ShippingDocumentSpecification
2828
+ attr_accessor :shippingDocumentTypes
2829
+ attr_accessor :certificateOfOrigin
2830
+ attr_accessor :commercialInvoiceDetail
2831
+ attr_accessor :customPackageDocumentDetail
2832
+ attr_accessor :customShipmentDocumentDetail
2833
+ attr_accessor :generalAgencyAgreementDetail
2834
+ attr_accessor :naftaCertificateOfOriginDetail
2835
+ attr_accessor :op900Detail
2836
+ attr_accessor :dangerousGoodsShippersDeclarationDetail
2837
+ attr_accessor :returnInstructionsDetail
2838
+
2839
+ def initialize(shippingDocumentTypes = [], certificateOfOrigin = nil, commercialInvoiceDetail = nil, customPackageDocumentDetail = [], customShipmentDocumentDetail = [], generalAgencyAgreementDetail = nil, naftaCertificateOfOriginDetail = nil, op900Detail = nil, dangerousGoodsShippersDeclarationDetail = nil, returnInstructionsDetail = nil)
2840
+ @shippingDocumentTypes = shippingDocumentTypes
2841
+ @certificateOfOrigin = certificateOfOrigin
2842
+ @commercialInvoiceDetail = commercialInvoiceDetail
2843
+ @customPackageDocumentDetail = customPackageDocumentDetail
2844
+ @customShipmentDocumentDetail = customShipmentDocumentDetail
2845
+ @generalAgencyAgreementDetail = generalAgencyAgreementDetail
2846
+ @naftaCertificateOfOriginDetail = naftaCertificateOfOriginDetail
2847
+ @op900Detail = op900Detail
2848
+ @dangerousGoodsShippersDeclarationDetail = dangerousGoodsShippersDeclarationDetail
2849
+ @returnInstructionsDetail = returnInstructionsDetail
2850
+ end
2851
+ end
2852
+
2853
+ # {http://fedex.com/ws/rate/v13}SignatureOptionDetail
2854
+ # optionType - FedexWebServices::Soap::Rate::SignatureOptionType
2855
+ # signatureReleaseNumber - SOAP::SOAPString
2856
+ class SignatureOptionDetail
2857
+ attr_accessor :optionType
2858
+ attr_accessor :signatureReleaseNumber
2859
+
2860
+ def initialize(optionType = nil, signatureReleaseNumber = nil)
2861
+ @optionType = optionType
2862
+ @signatureReleaseNumber = signatureReleaseNumber
2863
+ end
2864
+ end
2865
+
2866
+ # {http://fedex.com/ws/rate/v13}SmartPostShipmentDetail
2867
+ # indicia - FedexWebServices::Soap::Rate::SmartPostIndiciaType
2868
+ # ancillaryEndorsement - FedexWebServices::Soap::Rate::SmartPostAncillaryEndorsementType
2869
+ # hubId - SOAP::SOAPString
2870
+ # customerManifestId - SOAP::SOAPString
2871
+ class SmartPostShipmentDetail
2872
+ attr_accessor :indicia
2873
+ attr_accessor :ancillaryEndorsement
2874
+ attr_accessor :hubId
2875
+ attr_accessor :customerManifestId
2876
+
2877
+ def initialize(indicia = nil, ancillaryEndorsement = nil, hubId = nil, customerManifestId = nil)
2878
+ @indicia = indicia
2879
+ @ancillaryEndorsement = ancillaryEndorsement
2880
+ @hubId = hubId
2881
+ @customerManifestId = customerManifestId
2882
+ end
2883
+ end
2884
+
2885
+ # {http://fedex.com/ws/rate/v13}Surcharge
2886
+ # surchargeType - FedexWebServices::Soap::Rate::SurchargeType
2887
+ # level - FedexWebServices::Soap::Rate::SurchargeLevelType
2888
+ # description - SOAP::SOAPString
2889
+ # amount - FedexWebServices::Soap::Rate::Money
2890
+ class Surcharge
2891
+ attr_accessor :surchargeType
2892
+ attr_accessor :level
2893
+ attr_accessor :description
2894
+ attr_accessor :amount
2895
+
2896
+ def initialize(surchargeType = nil, level = nil, description = nil, amount = nil)
2897
+ @surchargeType = surchargeType
2898
+ @level = level
2899
+ @description = description
2900
+ @amount = amount
2901
+ end
2902
+ end
2903
+
2904
+ # {http://fedex.com/ws/rate/v13}Tax
2905
+ # taxType - FedexWebServices::Soap::Rate::TaxType
2906
+ # description - SOAP::SOAPString
2907
+ # amount - FedexWebServices::Soap::Rate::Money
2908
+ class Tax
2909
+ attr_accessor :taxType
2910
+ attr_accessor :description
2911
+ attr_accessor :amount
2912
+
2913
+ def initialize(taxType = nil, description = nil, amount = nil)
2914
+ @taxType = taxType
2915
+ @description = description
2916
+ @amount = amount
2917
+ end
2918
+ end
2919
+
2920
+ # {http://fedex.com/ws/rate/v13}TaxpayerIdentification
2921
+ # tinType - FedexWebServices::Soap::Rate::TinType
2922
+ # number - SOAP::SOAPString
2923
+ # usage - SOAP::SOAPString
2924
+ class TaxpayerIdentification
2925
+ attr_accessor :tinType
2926
+ attr_accessor :number
2927
+ attr_accessor :usage
2928
+
2929
+ def initialize(tinType = nil, number = nil, usage = nil)
2930
+ @tinType = tinType
2931
+ @number = number
2932
+ @usage = usage
2933
+ end
2934
+ end
2935
+
2936
+ # {http://fedex.com/ws/rate/v13}TrackingId
2937
+ # trackingIdType - FedexWebServices::Soap::Rate::TrackingIdType
2938
+ # formId - SOAP::SOAPString
2939
+ # trackingNumber - SOAP::SOAPString
2940
+ class TrackingId
2941
+ attr_accessor :trackingIdType
2942
+ attr_accessor :formId
2943
+ attr_accessor :trackingNumber
2944
+
2945
+ def initialize(trackingIdType = nil, formId = nil, trackingNumber = nil)
2946
+ @trackingIdType = trackingIdType
2947
+ @formId = formId
2948
+ @trackingNumber = trackingNumber
2949
+ end
2950
+ end
2951
+
2952
+ # {http://fedex.com/ws/rate/v13}TransactionDetail
2953
+ # customerTransactionId - SOAP::SOAPString
2954
+ # localization - FedexWebServices::Soap::Rate::Localization
2955
+ class TransactionDetail
2956
+ attr_accessor :customerTransactionId
2957
+ attr_accessor :localization
2958
+
2959
+ def initialize(customerTransactionId = nil, localization = nil)
2960
+ @customerTransactionId = customerTransactionId
2961
+ @localization = localization
2962
+ end
2963
+ end
2964
+
2965
+ # {http://fedex.com/ws/rate/v13}UploadDocumentDetail
2966
+ # lineNumber - SOAP::SOAPNonNegativeInteger
2967
+ # customerReference - SOAP::SOAPString
2968
+ # documentProducer - FedexWebServices::Soap::Rate::UploadDocumentProducerType
2969
+ # documentType - FedexWebServices::Soap::Rate::UploadDocumentType
2970
+ # fileName - SOAP::SOAPString
2971
+ # documentContent - SOAP::SOAPBase64
2972
+ class UploadDocumentDetail
2973
+ attr_accessor :lineNumber
2974
+ attr_accessor :customerReference
2975
+ attr_accessor :documentProducer
2976
+ attr_accessor :documentType
2977
+ attr_accessor :fileName
2978
+ attr_accessor :documentContent
2979
+
2980
+ def initialize(lineNumber = nil, customerReference = nil, documentProducer = nil, documentType = nil, fileName = nil, documentContent = nil)
2981
+ @lineNumber = lineNumber
2982
+ @customerReference = customerReference
2983
+ @documentProducer = documentProducer
2984
+ @documentType = documentType
2985
+ @fileName = fileName
2986
+ @documentContent = documentContent
2987
+ end
2988
+ end
2989
+
2990
+ # {http://fedex.com/ws/rate/v13}UploadDocumentReferenceDetail
2991
+ # lineNumber - SOAP::SOAPNonNegativeInteger
2992
+ # customerReference - SOAP::SOAPString
2993
+ # documentProducer - FedexWebServices::Soap::Rate::UploadDocumentProducerType
2994
+ # documentType - FedexWebServices::Soap::Rate::UploadDocumentType
2995
+ # documentId - SOAP::SOAPString
2996
+ # documentIdProducer - FedexWebServices::Soap::Rate::UploadDocumentIdProducer
2997
+ class UploadDocumentReferenceDetail
2998
+ attr_accessor :lineNumber
2999
+ attr_accessor :customerReference
3000
+ attr_accessor :documentProducer
3001
+ attr_accessor :documentType
3002
+ attr_accessor :documentId
3003
+ attr_accessor :documentIdProducer
3004
+
3005
+ def initialize(lineNumber = nil, customerReference = nil, documentProducer = nil, documentType = nil, documentId = nil, documentIdProducer = nil)
3006
+ @lineNumber = lineNumber
3007
+ @customerReference = customerReference
3008
+ @documentProducer = documentProducer
3009
+ @documentType = documentType
3010
+ @documentId = documentId
3011
+ @documentIdProducer = documentIdProducer
3012
+ end
3013
+ end
3014
+
3015
+ # {http://fedex.com/ws/rate/v13}VariableHandlingChargeDetail
3016
+ # fixedValue - FedexWebServices::Soap::Rate::Money
3017
+ # percentValue - SOAP::SOAPDecimal
3018
+ # rateElementBasis - FedexWebServices::Soap::Rate::RateElementBasisType
3019
+ # rateTypeBasis - FedexWebServices::Soap::Rate::RateTypeBasisType
3020
+ class VariableHandlingChargeDetail
3021
+ attr_accessor :fixedValue
3022
+ attr_accessor :percentValue
3023
+ attr_accessor :rateElementBasis
3024
+ attr_accessor :rateTypeBasis
3025
+
3026
+ def initialize(fixedValue = nil, percentValue = nil, rateElementBasis = nil, rateTypeBasis = nil)
3027
+ @fixedValue = fixedValue
3028
+ @percentValue = percentValue
3029
+ @rateElementBasis = rateElementBasis
3030
+ @rateTypeBasis = rateTypeBasis
3031
+ end
3032
+ end
3033
+
3034
+ # {http://fedex.com/ws/rate/v13}VariableHandlingCharges
3035
+ # variableHandlingCharge - FedexWebServices::Soap::Rate::Money
3036
+ # fixedVariableHandlingCharge - FedexWebServices::Soap::Rate::Money
3037
+ # percentVariableHandlingCharge - FedexWebServices::Soap::Rate::Money
3038
+ # totalCustomerCharge - FedexWebServices::Soap::Rate::Money
3039
+ class VariableHandlingCharges
3040
+ attr_accessor :variableHandlingCharge
3041
+ attr_accessor :fixedVariableHandlingCharge
3042
+ attr_accessor :percentVariableHandlingCharge
3043
+ attr_accessor :totalCustomerCharge
3044
+
3045
+ def initialize(variableHandlingCharge = nil, fixedVariableHandlingCharge = nil, percentVariableHandlingCharge = nil, totalCustomerCharge = nil)
3046
+ @variableHandlingCharge = variableHandlingCharge
3047
+ @fixedVariableHandlingCharge = fixedVariableHandlingCharge
3048
+ @percentVariableHandlingCharge = percentVariableHandlingCharge
3049
+ @totalCustomerCharge = totalCustomerCharge
3050
+ end
3051
+ end
3052
+
3053
+ # {http://fedex.com/ws/rate/v13}Volume
3054
+ # units - FedexWebServices::Soap::Rate::VolumeUnits
3055
+ # value - SOAP::SOAPDecimal
3056
+ class Volume
3057
+ attr_accessor :units
3058
+ attr_accessor :value
3059
+
3060
+ def initialize(units = nil, value = nil)
3061
+ @units = units
3062
+ @value = value
3063
+ end
3064
+ end
3065
+
3066
+ # {http://fedex.com/ws/rate/v13}Weight
3067
+ # units - FedexWebServices::Soap::Rate::WeightUnits
3068
+ # value - SOAP::SOAPDecimal
3069
+ class Weight
3070
+ attr_accessor :units
3071
+ attr_accessor :value
3072
+
3073
+ def initialize(units = nil, value = nil)
3074
+ @units = units
3075
+ @value = value
3076
+ end
3077
+ end
3078
+
3079
+ # {http://fedex.com/ws/rate/v13}WebAuthenticationDetail
3080
+ # userCredential - FedexWebServices::Soap::Rate::WebAuthenticationCredential
3081
+ class WebAuthenticationDetail
3082
+ attr_accessor :userCredential
3083
+
3084
+ def initialize(userCredential = nil)
3085
+ @userCredential = userCredential
3086
+ end
3087
+ end
3088
+
3089
+ # {http://fedex.com/ws/rate/v13}WebAuthenticationCredential
3090
+ # key - SOAP::SOAPString
3091
+ # password - SOAP::SOAPString
3092
+ class WebAuthenticationCredential
3093
+ attr_accessor :key
3094
+ attr_accessor :password
3095
+
3096
+ def initialize(key = nil, password = nil)
3097
+ @key = key
3098
+ @password = password
3099
+ end
3100
+ end
3101
+
3102
+ # {http://fedex.com/ws/rate/v13}VersionId
3103
+ # serviceId - SOAP::SOAPString
3104
+ # major - SOAP::SOAPInt
3105
+ # intermediate - SOAP::SOAPInt
3106
+ # minor - SOAP::SOAPInt
3107
+ class VersionId
3108
+ attr_accessor :serviceId
3109
+ attr_accessor :major
3110
+ attr_accessor :intermediate
3111
+ attr_accessor :minor
3112
+
3113
+ def initialize(serviceId = nil, major = nil, intermediate = nil, minor = nil)
3114
+ @serviceId = serviceId
3115
+ @major = major
3116
+ @intermediate = intermediate
3117
+ @minor = minor
3118
+ end
3119
+ end
3120
+
3121
+ # {http://fedex.com/ws/rate/v13}AdditionalLabelsType
3122
+ class AdditionalLabelsType < ::String
3123
+ BROKER = new("BROKER")
3124
+ CONSIGNEE = new("CONSIGNEE")
3125
+ CUSTOMS = new("CUSTOMS")
3126
+ DESTINATION = new("DESTINATION")
3127
+ MANIFEST = new("MANIFEST")
3128
+ ORIGIN = new("ORIGIN")
3129
+ RECIPIENT = new("RECIPIENT")
3130
+ SHIPPER = new("SHIPPER")
3131
+ end
3132
+
3133
+ # {http://fedex.com/ws/rate/v13}B13AFilingOptionType
3134
+ class B13AFilingOptionType < ::String
3135
+ FEDEX_TO_STAMP = new("FEDEX_TO_STAMP")
3136
+ FILED_ELECTRONICALLY = new("FILED_ELECTRONICALLY")
3137
+ MANUALLY_ATTACHED = new("MANUALLY_ATTACHED")
3138
+ NOT_REQUIRED = new("NOT_REQUIRED")
3139
+ SUMMARY_REPORTING = new("SUMMARY_REPORTING")
3140
+ end
3141
+
3142
+ # {http://fedex.com/ws/rate/v13}BarcodeSymbologyType
3143
+ class BarcodeSymbologyType < ::String
3144
+ CODABAR = new("CODABAR")
3145
+ CODE128 = new("CODE128")
3146
+ CODE128B = new("CODE128B")
3147
+ CODE128C = new("CODE128C")
3148
+ CODE39 = new("CODE39")
3149
+ CODE93 = new("CODE93")
3150
+ I2OF5 = new("I2OF5")
3151
+ MANUAL = new("MANUAL")
3152
+ PDF417 = new("PDF417")
3153
+ POSTNET = new("POSTNET")
3154
+ UCC128 = new("UCC128")
3155
+ end
3156
+
3157
+ # {http://fedex.com/ws/rate/v13}BrokerType
3158
+ class BrokerType < ::String
3159
+ EXPORT = new("EXPORT")
3160
+ IMPORT = new("IMPORT")
3161
+ end
3162
+
3163
+ # {http://fedex.com/ws/rate/v13}CarrierCodeType
3164
+ class CarrierCodeType < ::String
3165
+ FDXC = new("FDXC")
3166
+ FDXE = new("FDXE")
3167
+ FDXG = new("FDXG")
3168
+ FXCC = new("FXCC")
3169
+ FXFR = new("FXFR")
3170
+ FXSP = new("FXSP")
3171
+ end
3172
+
3173
+ # {http://fedex.com/ws/rate/v13}ChargeBasisLevelType
3174
+ class ChargeBasisLevelType < ::String
3175
+ CURRENT_PACKAGE = new("CURRENT_PACKAGE")
3176
+ SUM_OF_PACKAGES = new("SUM_OF_PACKAGES")
3177
+ end
3178
+
3179
+ # {http://fedex.com/ws/rate/v13}ClearanceBrokerageType
3180
+ class ClearanceBrokerageType < ::String
3181
+ BROKER_INCLUSIVE = new("BROKER_INCLUSIVE")
3182
+ BROKER_INCLUSIVE_NON_RESIDENT_IMPORTER = new("BROKER_INCLUSIVE_NON_RESIDENT_IMPORTER")
3183
+ BROKER_SELECT = new("BROKER_SELECT")
3184
+ BROKER_SELECT_NON_RESIDENT_IMPORTER = new("BROKER_SELECT_NON_RESIDENT_IMPORTER")
3185
+ BROKER_UNASSIGNED = new("BROKER_UNASSIGNED")
3186
+ end
3187
+
3188
+ # {http://fedex.com/ws/rate/v13}CodAddTransportationChargeBasisType
3189
+ class CodAddTransportationChargeBasisType < ::String
3190
+ COD_SURCHARGE = new("COD_SURCHARGE")
3191
+ NET_CHARGE = new("NET_CHARGE")
3192
+ NET_FREIGHT = new("NET_FREIGHT")
3193
+ TOTAL_CUSTOMER_CHARGE = new("TOTAL_CUSTOMER_CHARGE")
3194
+ end
3195
+
3196
+ # {http://fedex.com/ws/rate/v13}CodCollectionType
3197
+ class CodCollectionType < ::String
3198
+ ANY = new("ANY")
3199
+ CASH = new("CASH")
3200
+ GUARANTEED_FUNDS = new("GUARANTEED_FUNDS")
3201
+ end
3202
+
3203
+ # {http://fedex.com/ws/rate/v13}CodReturnReferenceIndicatorType
3204
+ class CodReturnReferenceIndicatorType < ::String
3205
+ INVOICE = new("INVOICE")
3206
+ PO = new("PO")
3207
+ REFERENCE = new("REFERENCE")
3208
+ TRACKING = new("TRACKING")
3209
+ end
3210
+
3211
+ # {http://fedex.com/ws/rate/v13}CommitmentDelayType
3212
+ class CommitmentDelayType < ::String
3213
+ HOLIDAY = new("HOLIDAY")
3214
+ NON_WORKDAY = new("NON_WORKDAY")
3215
+ NO_CITY_DELIVERY = new("NO_CITY_DELIVERY")
3216
+ NO_HOLD_AT_LOCATION = new("NO_HOLD_AT_LOCATION")
3217
+ NO_LOCATION_DELIVERY = new("NO_LOCATION_DELIVERY")
3218
+ NO_SERVICE_AREA_DELIVERY = new("NO_SERVICE_AREA_DELIVERY")
3219
+ NO_SERVICE_AREA_SPECIAL_SERVICE_DELIVERY = new("NO_SERVICE_AREA_SPECIAL_SERVICE_DELIVERY")
3220
+ NO_SPECIAL_SERVICE_DELIVERY = new("NO_SPECIAL_SERVICE_DELIVERY")
3221
+ NO_ZIP_DELIVERY = new("NO_ZIP_DELIVERY")
3222
+ WEEKEND = new("WEEKEND")
3223
+ WEEKEND_SPECIAL = new("WEEKEND_SPECIAL")
3224
+ end
3225
+
3226
+ # {http://fedex.com/ws/rate/v13}CustomDeliveryWindowType
3227
+ class CustomDeliveryWindowType < ::String
3228
+ AFTER = new("AFTER")
3229
+ BEFORE = new("BEFORE")
3230
+ BETWEEN = new("BETWEEN")
3231
+ ON = new("ON")
3232
+ end
3233
+
3234
+ # {http://fedex.com/ws/rate/v13}CustomLabelCoordinateUnits
3235
+ class CustomLabelCoordinateUnits < ::String
3236
+ MILS = new("MILS")
3237
+ PIXELS = new("PIXELS")
3238
+ end
3239
+
3240
+ # {http://fedex.com/ws/rate/v13}CustomerImageUsageType
3241
+ class CustomerImageUsageType < ::String
3242
+ LETTER_HEAD = new("LETTER_HEAD")
3243
+ SIGNATURE = new("SIGNATURE")
3244
+ end
3245
+
3246
+ # {http://fedex.com/ws/rate/v13}CustomerReferenceType
3247
+ class CustomerReferenceType < ::String
3248
+ BILL_OF_LADING = new("BILL_OF_LADING")
3249
+ CUSTOMER_REFERENCE = new("CUSTOMER_REFERENCE")
3250
+ DEPARTMENT_NUMBER = new("DEPARTMENT_NUMBER")
3251
+ ELECTRONIC_PRODUCT_CODE = new("ELECTRONIC_PRODUCT_CODE")
3252
+ INTRACOUNTRY_REGULATORY_REFERENCE = new("INTRACOUNTRY_REGULATORY_REFERENCE")
3253
+ INVOICE_NUMBER = new("INVOICE_NUMBER")
3254
+ PACKING_SLIP_NUMBER = new("PACKING_SLIP_NUMBER")
3255
+ P_O_NUMBER = new("P_O_NUMBER")
3256
+ RMA_ASSOCIATION = new("RMA_ASSOCIATION")
3257
+ SHIPMENT_INTEGRITY = new("SHIPMENT_INTEGRITY")
3258
+ STORE_NUMBER = new("STORE_NUMBER")
3259
+ end
3260
+
3261
+ # {http://fedex.com/ws/rate/v13}CustomsOptionType
3262
+ class CustomsOptionType < ::String
3263
+ COURTESY_RETURN_LABEL = new("COURTESY_RETURN_LABEL")
3264
+ EXHIBITION_TRADE_SHOW = new("EXHIBITION_TRADE_SHOW")
3265
+ FAULTY_ITEM = new("FAULTY_ITEM")
3266
+ FOLLOWING_REPAIR = new("FOLLOWING_REPAIR")
3267
+ FOR_REPAIR = new("FOR_REPAIR")
3268
+ ITEM_FOR_LOAN = new("ITEM_FOR_LOAN")
3269
+ OTHER = new("OTHER")
3270
+ REJECTED = new("REJECTED")
3271
+ REPLACEMENT = new("REPLACEMENT")
3272
+ TRIAL = new("TRIAL")
3273
+ end
3274
+
3275
+ # {http://fedex.com/ws/rate/v13}DangerousGoodsAccessibilityType
3276
+ class DangerousGoodsAccessibilityType < ::String
3277
+ ACCESSIBLE = new("ACCESSIBLE")
3278
+ INACCESSIBLE = new("INACCESSIBLE")
3279
+ end
3280
+
3281
+ # {http://fedex.com/ws/rate/v13}DangerousGoodsPackingOptionType
3282
+ class DangerousGoodsPackingOptionType < ::String
3283
+ OVERPACK = new("OVERPACK")
3284
+ end
3285
+
3286
+ # {http://fedex.com/ws/rate/v13}DayOfWeekType
3287
+ class DayOfWeekType < ::String
3288
+ FRI = new("FRI")
3289
+ MON = new("MON")
3290
+ SAT = new("SAT")
3291
+ SUN = new("SUN")
3292
+ THU = new("THU")
3293
+ TUE = new("TUE")
3294
+ WED = new("WED")
3295
+ end
3296
+
3297
+ # {http://fedex.com/ws/rate/v13}DelayLevelType
3298
+ class DelayLevelType < ::String
3299
+ CITY = new("CITY")
3300
+ COUNTRY = new("COUNTRY")
3301
+ LOCATION = new("LOCATION")
3302
+ POSTAL_CODE = new("POSTAL_CODE")
3303
+ SERVICE_AREA = new("SERVICE_AREA")
3304
+ SERVICE_AREA_SPECIAL_SERVICE = new("SERVICE_AREA_SPECIAL_SERVICE")
3305
+ SPECIAL_SERVICE = new("SPECIAL_SERVICE")
3306
+ end
3307
+
3308
+ # {http://fedex.com/ws/rate/v13}DelayPointType
3309
+ class DelayPointType < ::String
3310
+ BROKER = new("BROKER")
3311
+ DESTINATION = new("DESTINATION")
3312
+ ORIGIN = new("ORIGIN")
3313
+ ORIGIN_DESTINATION_PAIR = new("ORIGIN_DESTINATION_PAIR")
3314
+ PROOF_OF_DELIVERY_POINT = new("PROOF_OF_DELIVERY_POINT")
3315
+ end
3316
+
3317
+ # {http://fedex.com/ws/rate/v13}DestinationControlStatementType
3318
+ class DestinationControlStatementType < ::String
3319
+ DEPARTMENT_OF_COMMERCE = new("DEPARTMENT_OF_COMMERCE")
3320
+ DEPARTMENT_OF_STATE = new("DEPARTMENT_OF_STATE")
3321
+ end
3322
+
3323
+ # {http://fedex.com/ws/rate/v13}DistanceUnits
3324
+ class DistanceUnits < ::String
3325
+ KM = new("KM")
3326
+ MI = new("MI")
3327
+ end
3328
+
3329
+ # {http://fedex.com/ws/rate/v13}DocTabContentType
3330
+ class DocTabContentType < ::String
3331
+ BARCODED = new("BARCODED")
3332
+ MINIMUM = new("MINIMUM")
3333
+ STANDARD = new("STANDARD")
3334
+ ZONE001 = new("ZONE001")
3335
+ end
3336
+
3337
+ # {http://fedex.com/ws/rate/v13}DocTabZoneJustificationType
3338
+ class DocTabZoneJustificationType < ::String
3339
+ LEFT = new("LEFT")
3340
+ RIGHT = new("RIGHT")
3341
+ end
3342
+
3343
+ # {http://fedex.com/ws/rate/v13}DropoffType
3344
+ class DropoffType < ::String
3345
+ BUSINESS_SERVICE_CENTER = new("BUSINESS_SERVICE_CENTER")
3346
+ DROP_BOX = new("DROP_BOX")
3347
+ REGULAR_PICKUP = new("REGULAR_PICKUP")
3348
+ REQUEST_COURIER = new("REQUEST_COURIER")
3349
+ STATION = new("STATION")
3350
+ end
3351
+
3352
+ # {http://fedex.com/ws/rate/v13}EMailNotificationEventType
3353
+ class EMailNotificationEventType < ::String
3354
+ ON_DELIVERY = new("ON_DELIVERY")
3355
+ ON_EXCEPTION = new("ON_EXCEPTION")
3356
+ ON_SHIPMENT = new("ON_SHIPMENT")
3357
+ ON_TENDER = new("ON_TENDER")
3358
+ end
3359
+
3360
+ # {http://fedex.com/ws/rate/v13}EMailNotificationFormatType
3361
+ class EMailNotificationFormatType < ::String
3362
+ HTML = new("HTML")
3363
+ TEXT = new("TEXT")
3364
+ WIRELESS = new("WIRELESS")
3365
+ end
3366
+
3367
+ # {http://fedex.com/ws/rate/v13}EMailNotificationRecipientType
3368
+ class EMailNotificationRecipientType < ::String
3369
+ BROKER = new("BROKER")
3370
+ OTHER = new("OTHER")
3371
+ RECIPIENT = new("RECIPIENT")
3372
+ SHIPPER = new("SHIPPER")
3373
+ end
3374
+
3375
+ # {http://fedex.com/ws/rate/v13}EdtRequestType
3376
+ class EdtRequestType < ::String
3377
+ ALL = new("ALL")
3378
+ NONE = new("NONE")
3379
+ end
3380
+
3381
+ # {http://fedex.com/ws/rate/v13}EdtTaxType
3382
+ class EdtTaxType < ::String
3383
+ ADDITIONAL_TAXES = new("ADDITIONAL_TAXES")
3384
+ CONSULAR_INVOICE_FEE = new("CONSULAR_INVOICE_FEE")
3385
+ CUSTOMS_SURCHARGES = new("CUSTOMS_SURCHARGES")
3386
+ DUTY = new("DUTY")
3387
+ EXCISE_TAX = new("EXCISE_TAX")
3388
+ FOREIGN_EXCHANGE_TAX = new("FOREIGN_EXCHANGE_TAX")
3389
+ GENERAL_SALES_TAX = new("GENERAL_SALES_TAX")
3390
+ IMPORT_LICENSE_FEE = new("IMPORT_LICENSE_FEE")
3391
+ INTERNAL_ADDITIONAL_TAXES = new("INTERNAL_ADDITIONAL_TAXES")
3392
+ INTERNAL_SENSITIVE_PRODUCTS_TAX = new("INTERNAL_SENSITIVE_PRODUCTS_TAX")
3393
+ OTHER = new("OTHER")
3394
+ SENSITIVE_PRODUCTS_TAX = new("SENSITIVE_PRODUCTS_TAX")
3395
+ STAMP_TAX = new("STAMP_TAX")
3396
+ STATISTICAL_TAX = new("STATISTICAL_TAX")
3397
+ TRANSPORT_FACILITIES_TAX = new("TRANSPORT_FACILITIES_TAX")
3398
+ end
3399
+
3400
+ # {http://fedex.com/ws/rate/v13}ExpressRegionCode
3401
+ class ExpressRegionCode < ::String
3402
+ APAC = new("APAC")
3403
+ CA = new("CA")
3404
+ EMEA = new("EMEA")
3405
+ LAC = new("LAC")
3406
+ US = new("US")
3407
+ end
3408
+
3409
+ # {http://fedex.com/ws/rate/v13}FedExLocationType
3410
+ class FedExLocationType < ::String
3411
+ FEDEX_EXPRESS_STATION = new("FEDEX_EXPRESS_STATION")
3412
+ FEDEX_FREIGHT_SERVICE_CENTER = new("FEDEX_FREIGHT_SERVICE_CENTER")
3413
+ FEDEX_GROUND_TERMINAL = new("FEDEX_GROUND_TERMINAL")
3414
+ FEDEX_HOME_DELIVERY_STATION = new("FEDEX_HOME_DELIVERY_STATION")
3415
+ FEDEX_OFFICE = new("FEDEX_OFFICE")
3416
+ FEDEX_SMART_POST_HUB = new("FEDEX_SMART_POST_HUB")
3417
+ end
3418
+
3419
+ # {http://fedex.com/ws/rate/v13}FlatbedTrailerOption
3420
+ class FlatbedTrailerOption < ::String
3421
+ OVER_DIMENSION = new("OVER_DIMENSION")
3422
+ TARP = new("TARP")
3423
+ end
3424
+
3425
+ # {http://fedex.com/ws/rate/v13}FreightBaseChargeCalculationType
3426
+ class FreightBaseChargeCalculationType < ::String
3427
+ LINE_ITEMS = new("LINE_ITEMS")
3428
+ UNIT_PRICING = new("UNIT_PRICING")
3429
+ end
3430
+
3431
+ # {http://fedex.com/ws/rate/v13}FreightChargeBasisType
3432
+ class FreightChargeBasisType < ::String
3433
+ CWT = new("CWT")
3434
+ FLAT = new("FLAT")
3435
+ MINIMUM = new("MINIMUM")
3436
+ end
3437
+
3438
+ # {http://fedex.com/ws/rate/v13}FreightClassType
3439
+ class FreightClassType < ::String
3440
+ CLASS_050 = new("CLASS_050")
3441
+ CLASS_055 = new("CLASS_055")
3442
+ CLASS_060 = new("CLASS_060")
3443
+ CLASS_065 = new("CLASS_065")
3444
+ CLASS_070 = new("CLASS_070")
3445
+ CLASS_077_5 = new("CLASS_077_5")
3446
+ CLASS_085 = new("CLASS_085")
3447
+ CLASS_092_5 = new("CLASS_092_5")
3448
+ CLASS_100 = new("CLASS_100")
3449
+ CLASS_110 = new("CLASS_110")
3450
+ CLASS_125 = new("CLASS_125")
3451
+ CLASS_150 = new("CLASS_150")
3452
+ CLASS_175 = new("CLASS_175")
3453
+ CLASS_200 = new("CLASS_200")
3454
+ CLASS_250 = new("CLASS_250")
3455
+ CLASS_300 = new("CLASS_300")
3456
+ CLASS_400 = new("CLASS_400")
3457
+ CLASS_500 = new("CLASS_500")
3458
+ end
3459
+
3460
+ # {http://fedex.com/ws/rate/v13}FreightCollectTermsType
3461
+ class FreightCollectTermsType < ::String
3462
+ NON_RECOURSE_SHIPPER_SIGNED = new("NON_RECOURSE_SHIPPER_SIGNED")
3463
+ STANDARD = new("STANDARD")
3464
+ end
3465
+
3466
+ # {http://fedex.com/ws/rate/v13}FreightGuaranteeType
3467
+ class FreightGuaranteeType < ::String
3468
+ GUARANTEED_DATE = new("GUARANTEED_DATE")
3469
+ GUARANTEED_MORNING = new("GUARANTEED_MORNING")
3470
+ end
3471
+
3472
+ # {http://fedex.com/ws/rate/v13}FreightOnValueType
3473
+ class FreightOnValueType < ::String
3474
+ CARRIER_RISK = new("CARRIER_RISK")
3475
+ OWN_RISK = new("OWN_RISK")
3476
+ end
3477
+
3478
+ # {http://fedex.com/ws/rate/v13}FreightRateQuoteType
3479
+ class FreightRateQuoteType < ::String
3480
+ AUTOMATED = new("AUTOMATED")
3481
+ MANUAL = new("MANUAL")
3482
+ end
3483
+
3484
+ # {http://fedex.com/ws/rate/v13}FreightServiceSchedulingType
3485
+ class FreightServiceSchedulingType < ::String
3486
+ LIMITED = new("LIMITED")
3487
+ STANDARD = new("STANDARD")
3488
+ WILL_CALL = new("WILL_CALL")
3489
+ end
3490
+
3491
+ # {http://fedex.com/ws/rate/v13}FreightShipmentRoleType
3492
+ class FreightShipmentRoleType < ::String
3493
+ CONSIGNEE = new("CONSIGNEE")
3494
+ SHIPPER = new("SHIPPER")
3495
+ end
3496
+
3497
+ # {http://fedex.com/ws/rate/v13}HazardousCommodityDescriptionProcessingOptionType
3498
+ class HazardousCommodityDescriptionProcessingOptionType < ::String
3499
+ INCLUDE_SPECIAL_PROVISIONS = new("INCLUDE_SPECIAL_PROVISIONS")
3500
+ end
3501
+
3502
+ # {http://fedex.com/ws/rate/v13}HazardousCommodityLabelTextOptionType
3503
+ class HazardousCommodityLabelTextOptionType < ::String
3504
+ APPEND = new("APPEND")
3505
+ OVERRIDE = new("OVERRIDE")
3506
+ STANDARD = new("STANDARD")
3507
+ end
3508
+
3509
+ # {http://fedex.com/ws/rate/v13}HazardousCommodityOptionType
3510
+ class HazardousCommodityOptionType < ::String
3511
+ HAZARDOUS_MATERIALS = new("HAZARDOUS_MATERIALS")
3512
+ LITHIUM_BATTERY_EXCEPTION = new("LITHIUM_BATTERY_EXCEPTION")
3513
+ ORM_D = new("ORM_D")
3514
+ REPORTABLE_QUANTITIES = new("REPORTABLE_QUANTITIES")
3515
+ SMALL_QUANTITY_EXCEPTION = new("SMALL_QUANTITY_EXCEPTION")
3516
+ end
3517
+
3518
+ # {http://fedex.com/ws/rate/v13}HazardousCommodityPackingGroupType
3519
+ class HazardousCommodityPackingGroupType < ::String
3520
+ DEFAULT = new("DEFAULT")
3521
+ I = new("I")
3522
+ II = new("II")
3523
+ III = new("III")
3524
+ end
3525
+
3526
+ # {http://fedex.com/ws/rate/v13}HazardousCommodityQuantityType
3527
+ class HazardousCommodityQuantityType < ::String
3528
+ GROSS = new("GROSS")
3529
+ NET = new("NET")
3530
+ end
3531
+
3532
+ # {http://fedex.com/ws/rate/v13}HazardousContainerPackingType
3533
+ class HazardousContainerPackingType < ::String
3534
+ ALL_PACKED_IN_ONE = new("ALL_PACKED_IN_ONE")
3535
+ end
3536
+
3537
+ # {http://fedex.com/ws/rate/v13}HomeDeliveryPremiumType
3538
+ class HomeDeliveryPremiumType < ::String
3539
+ APPOINTMENT = new("APPOINTMENT")
3540
+ DATE_CERTAIN = new("DATE_CERTAIN")
3541
+ EVENING = new("EVENING")
3542
+ end
3543
+
3544
+ # {http://fedex.com/ws/rate/v13}ImageId
3545
+ class ImageId < ::String
3546
+ IMAGE_1 = new("IMAGE_1")
3547
+ IMAGE_2 = new("IMAGE_2")
3548
+ IMAGE_3 = new("IMAGE_3")
3549
+ IMAGE_4 = new("IMAGE_4")
3550
+ IMAGE_5 = new("IMAGE_5")
3551
+ end
3552
+
3553
+ # {http://fedex.com/ws/rate/v13}InternationalControlledExportType
3554
+ class InternationalControlledExportType < ::String
3555
+ DEA_036 = new("DEA_036")
3556
+ DEA_236 = new("DEA_236")
3557
+ DEA_486 = new("DEA_486")
3558
+ DSP_05 = new("DSP_05")
3559
+ DSP_61 = new("DSP_61")
3560
+ DSP_73 = new("DSP_73")
3561
+ DSP_85 = new("DSP_85")
3562
+ DSP_94 = new("DSP_94")
3563
+ DSP_LICENSE_AGREEMENT = new("DSP_LICENSE_AGREEMENT")
3564
+ FROM_FOREIGN_TRADE_ZONE = new("FROM_FOREIGN_TRADE_ZONE")
3565
+ WAREHOUSE_WITHDRAWAL = new("WAREHOUSE_WITHDRAWAL")
3566
+ end
3567
+
3568
+ # {http://fedex.com/ws/rate/v13}InternationalDocumentContentType
3569
+ class InternationalDocumentContentType < ::String
3570
+ DOCUMENTS_ONLY = new("DOCUMENTS_ONLY")
3571
+ NON_DOCUMENTS = new("NON_DOCUMENTS")
3572
+ end
3573
+
3574
+ # {http://fedex.com/ws/rate/v13}LabelFormatType
3575
+ class LabelFormatType < ::String
3576
+ COMMON2D = new("COMMON2D")
3577
+ LABEL_DATA_ONLY = new("LABEL_DATA_ONLY")
3578
+ MAILROOM = new("MAILROOM")
3579
+ NO_LABEL = new("NO_LABEL")
3580
+ OPERATIONAL_LABEL = new("OPERATIONAL_LABEL")
3581
+ PRE_COMMON2D = new("PRE_COMMON2D")
3582
+ end
3583
+
3584
+ # {http://fedex.com/ws/rate/v13}LabelMaskableDataType
3585
+ class LabelMaskableDataType < ::String
3586
+ CUSTOMS_VALUE = new("CUSTOMS_VALUE")
3587
+ DIMENSIONS = new("DIMENSIONS")
3588
+ DUTIES_AND_TAXES_PAYOR_ACCOUNT_NUMBER = new("DUTIES_AND_TAXES_PAYOR_ACCOUNT_NUMBER")
3589
+ FREIGHT_PAYOR_ACCOUNT_NUMBER = new("FREIGHT_PAYOR_ACCOUNT_NUMBER")
3590
+ PACKAGE_SEQUENCE_AND_COUNT = new("PACKAGE_SEQUENCE_AND_COUNT")
3591
+ SHIPPER_ACCOUNT_NUMBER = new("SHIPPER_ACCOUNT_NUMBER")
3592
+ SUPPLEMENTAL_LABEL_DOC_TAB = new("SUPPLEMENTAL_LABEL_DOC_TAB")
3593
+ TERMS_AND_CONDITIONS = new("TERMS_AND_CONDITIONS")
3594
+ TOTAL_WEIGHT = new("TOTAL_WEIGHT")
3595
+ TRANSPORTATION_CHARGES_PAYOR_ACCOUNT_NUMBER = new("TRANSPORTATION_CHARGES_PAYOR_ACCOUNT_NUMBER")
3596
+ end
3597
+
3598
+ # {http://fedex.com/ws/rate/v13}LabelPrintingOrientationType
3599
+ class LabelPrintingOrientationType < ::String
3600
+ BOTTOM_EDGE_OF_TEXT_FIRST = new("BOTTOM_EDGE_OF_TEXT_FIRST")
3601
+ TOP_EDGE_OF_TEXT_FIRST = new("TOP_EDGE_OF_TEXT_FIRST")
3602
+ end
3603
+
3604
+ # {http://fedex.com/ws/rate/v13}LabelRotationType
3605
+ class LabelRotationType < ::String
3606
+ LEFT = new("LEFT")
3607
+ NONE = new("NONE")
3608
+ RIGHT = new("RIGHT")
3609
+ UPSIDE_DOWN = new("UPSIDE_DOWN")
3610
+ end
3611
+
3612
+ # {http://fedex.com/ws/rate/v13}LabelStockType
3613
+ class LabelStockType < ::String
3614
+ PAPER_4X6 = new("PAPER_4X6")
3615
+ PAPER_4X8 = new("PAPER_4X8")
3616
+ PAPER_4X9 = new("PAPER_4X9")
3617
+ PAPER_7X475 = new("PAPER_7X4.75")
3618
+ PAPER_85X11_BOTTOM_HALF_LABEL = new("PAPER_8.5X11_BOTTOM_HALF_LABEL")
3619
+ PAPER_85X11_TOP_HALF_LABEL = new("PAPER_8.5X11_TOP_HALF_LABEL")
3620
+ STOCK_4X6 = new("STOCK_4X6")
3621
+ STOCK_4X675_LEADING_DOC_TAB = new("STOCK_4X6.75_LEADING_DOC_TAB")
3622
+ STOCK_4X675_TRAILING_DOC_TAB = new("STOCK_4X6.75_TRAILING_DOC_TAB")
3623
+ STOCK_4X8 = new("STOCK_4X8")
3624
+ STOCK_4X9_LEADING_DOC_TAB = new("STOCK_4X9_LEADING_DOC_TAB")
3625
+ STOCK_4X9_TRAILING_DOC_TAB = new("STOCK_4X9_TRAILING_DOC_TAB")
3626
+ end
3627
+
3628
+ # {http://fedex.com/ws/rate/v13}LiabilityCoverageType
3629
+ class LiabilityCoverageType < ::String
3630
+ NEW = new("NEW")
3631
+ USED_OR_RECONDITIONED = new("USED_OR_RECONDITIONED")
3632
+ end
3633
+
3634
+ # {http://fedex.com/ws/rate/v13}LinearUnits
3635
+ class LinearUnits < ::String
3636
+ CM = new("CM")
3637
+ IN = new("IN")
3638
+ end
3639
+
3640
+ # {http://fedex.com/ws/rate/v13}MinimumChargeType
3641
+ class MinimumChargeType < ::String
3642
+ CUSTOMER = new("CUSTOMER")
3643
+ CUSTOMER_FREIGHT_WEIGHT = new("CUSTOMER_FREIGHT_WEIGHT")
3644
+ EARNED_DISCOUNT = new("EARNED_DISCOUNT")
3645
+ MIXED = new("MIXED")
3646
+ RATE_SCALE = new("RATE_SCALE")
3647
+ end
3648
+
3649
+ # {http://fedex.com/ws/rate/v13}NaftaImporterSpecificationType
3650
+ class NaftaImporterSpecificationType < ::String
3651
+ IMPORTER_OF_RECORD = new("IMPORTER_OF_RECORD")
3652
+ RECIPIENT = new("RECIPIENT")
3653
+ UNKNOWN = new("UNKNOWN")
3654
+ VARIOUS = new("VARIOUS")
3655
+ end
3656
+
3657
+ # {http://fedex.com/ws/rate/v13}NaftaNetCostMethodCode
3658
+ class NaftaNetCostMethodCode < ::String
3659
+ NC = new("NC")
3660
+ NO = new("NO")
3661
+ end
3662
+
3663
+ # {http://fedex.com/ws/rate/v13}NaftaPreferenceCriterionCode
3664
+ class NaftaPreferenceCriterionCode < ::String
3665
+ A = new("A")
3666
+ B = new("B")
3667
+ C = new("C")
3668
+ D = new("D")
3669
+ E = new("E")
3670
+ F = new("F")
3671
+ end
3672
+
3673
+ # {http://fedex.com/ws/rate/v13}NaftaProducerDeterminationCode
3674
+ class NaftaProducerDeterminationCode < ::String
3675
+ NO_1 = new("NO_1")
3676
+ NO_2 = new("NO_2")
3677
+ NO_3 = new("NO_3")
3678
+ YES = new("YES")
3679
+ end
3680
+
3681
+ # {http://fedex.com/ws/rate/v13}NaftaProducerSpecificationType
3682
+ class NaftaProducerSpecificationType < ::String
3683
+ AVAILABLE_UPON_REQUEST = new("AVAILABLE_UPON_REQUEST")
3684
+ MULTIPLE_SPECIFIED = new("MULTIPLE_SPECIFIED")
3685
+ SAME = new("SAME")
3686
+ SINGLE_SPECIFIED = new("SINGLE_SPECIFIED")
3687
+ UNKNOWN = new("UNKNOWN")
3688
+ end
3689
+
3690
+ # {http://fedex.com/ws/rate/v13}NotificationSeverityType
3691
+ class NotificationSeverityType < ::String
3692
+ ERROR = new("ERROR")
3693
+ FAILURE = new("FAILURE")
3694
+ NOTE = new("NOTE")
3695
+ SUCCESS = new("SUCCESS")
3696
+ WARNING = new("WARNING")
3697
+ end
3698
+
3699
+ # {http://fedex.com/ws/rate/v13}OversizeClassType
3700
+ class OversizeClassType < ::String
3701
+ OVERSIZE_1 = new("OVERSIZE_1")
3702
+ OVERSIZE_2 = new("OVERSIZE_2")
3703
+ OVERSIZE_3 = new("OVERSIZE_3")
3704
+ end
3705
+
3706
+ # {http://fedex.com/ws/rate/v13}PackageSpecialServiceType
3707
+ class PackageSpecialServiceType < ::String
3708
+ ALCOHOL = new("ALCOHOL")
3709
+ APPOINTMENT_DELIVERY = new("APPOINTMENT_DELIVERY")
3710
+ COD = new("COD")
3711
+ DANGEROUS_GOODS = new("DANGEROUS_GOODS")
3712
+ DRY_ICE = new("DRY_ICE")
3713
+ NON_STANDARD_CONTAINER = new("NON_STANDARD_CONTAINER")
3714
+ PRIORITY_ALERT = new("PRIORITY_ALERT")
3715
+ SIGNATURE_OPTION = new("SIGNATURE_OPTION")
3716
+ end
3717
+
3718
+ # {http://fedex.com/ws/rate/v13}PackagingType
3719
+ class PackagingType < ::String
3720
+ FEDEX_10KG_BOX = new("FEDEX_10KG_BOX")
3721
+ FEDEX_25KG_BOX = new("FEDEX_25KG_BOX")
3722
+ FEDEX_BOX = new("FEDEX_BOX")
3723
+ FEDEX_ENVELOPE = new("FEDEX_ENVELOPE")
3724
+ FEDEX_PAK = new("FEDEX_PAK")
3725
+ FEDEX_TUBE = new("FEDEX_TUBE")
3726
+ YOUR_PACKAGING = new("YOUR_PACKAGING")
3727
+ end
3728
+
3729
+ # {http://fedex.com/ws/rate/v13}PaymentType
3730
+ class PaymentType < ::String
3731
+ SENDER = new("SENDER")
3732
+ end
3733
+
3734
+ # {http://fedex.com/ws/rate/v13}PendingShipmentType
3735
+ class PendingShipmentType < ::String
3736
+ EMAIL = new("EMAIL")
3737
+ end
3738
+
3739
+ # {http://fedex.com/ws/rate/v13}PhysicalFormType
3740
+ class PhysicalFormType < ::String
3741
+ GAS = new("GAS")
3742
+ LIQUID = new("LIQUID")
3743
+ SOLID = new("SOLID")
3744
+ SPECIAL = new("SPECIAL")
3745
+ end
3746
+
3747
+ # {http://fedex.com/ws/rate/v13}PhysicalPackagingType
3748
+ class PhysicalPackagingType < ::String
3749
+ BAG = new("BAG")
3750
+ BARREL = new("BARREL")
3751
+ BASKET = new("BASKET")
3752
+ BOX = new("BOX")
3753
+ BUCKET = new("BUCKET")
3754
+ BUNDLE = new("BUNDLE")
3755
+ CARTON = new("CARTON")
3756
+ CASE = new("CASE")
3757
+ CONTAINER = new("CONTAINER")
3758
+ CRATE = new("CRATE")
3759
+ CYLINDER = new("CYLINDER")
3760
+ DRUM = new("DRUM")
3761
+ ENVELOPE = new("ENVELOPE")
3762
+ HAMPER = new("HAMPER")
3763
+ OTHER = new("OTHER")
3764
+ PAIL = new("PAIL")
3765
+ PALLET = new("PALLET")
3766
+ PIECE = new("PIECE")
3767
+ REEL = new("REEL")
3768
+ ROLL = new("ROLL")
3769
+ SKID = new("SKID")
3770
+ TANK = new("TANK")
3771
+ TUBE = new("TUBE")
3772
+ end
3773
+
3774
+ # {http://fedex.com/ws/rate/v13}PickupRequestSourceType
3775
+ class PickupRequestSourceType < ::String
3776
+ AUTOMATION = new("AUTOMATION")
3777
+ CUSTOMER_SERVICE = new("CUSTOMER_SERVICE")
3778
+ end
3779
+
3780
+ # {http://fedex.com/ws/rate/v13}PickupRequestType
3781
+ class PickupRequestType < ::String
3782
+ FUTURE_DAY = new("FUTURE_DAY")
3783
+ SAME_DAY = new("SAME_DAY")
3784
+ end
3785
+
3786
+ # {http://fedex.com/ws/rate/v13}PricingCodeType
3787
+ class PricingCodeType < ::String
3788
+ ACTUAL = new("ACTUAL")
3789
+ ALTERNATE = new("ALTERNATE")
3790
+ BASE = new("BASE")
3791
+ HUNDREDWEIGHT = new("HUNDREDWEIGHT")
3792
+ HUNDREDWEIGHT_ALTERNATE = new("HUNDREDWEIGHT_ALTERNATE")
3793
+ INTERNATIONAL_DISTRIBUTION = new("INTERNATIONAL_DISTRIBUTION")
3794
+ INTERNATIONAL_ECONOMY_SERVICE = new("INTERNATIONAL_ECONOMY_SERVICE")
3795
+ LTL_FREIGHT = new("LTL_FREIGHT")
3796
+ PACKAGE = new("PACKAGE")
3797
+ SHIPMENT = new("SHIPMENT")
3798
+ SHIPMENT_FIVE_POUND_OPTIONAL = new("SHIPMENT_FIVE_POUND_OPTIONAL")
3799
+ SHIPMENT_OPTIONAL = new("SHIPMENT_OPTIONAL")
3800
+ SPECIAL = new("SPECIAL")
3801
+ end
3802
+
3803
+ # {http://fedex.com/ws/rate/v13}PriorityAlertEnhancementType
3804
+ class PriorityAlertEnhancementType < ::String
3805
+ PRIORITY_ALERT_PLUS = new("PRIORITY_ALERT_PLUS")
3806
+ end
3807
+
3808
+ # {http://fedex.com/ws/rate/v13}PurposeOfShipmentType
3809
+ class PurposeOfShipmentType < ::String
3810
+ GIFT = new("GIFT")
3811
+ NOT_SOLD = new("NOT_SOLD")
3812
+ PERSONAL_EFFECTS = new("PERSONAL_EFFECTS")
3813
+ REPAIR_AND_RETURN = new("REPAIR_AND_RETURN")
3814
+ SAMPLE = new("SAMPLE")
3815
+ SOLD = new("SOLD")
3816
+ end
3817
+
3818
+ # {http://fedex.com/ws/rate/v13}RadioactiveContainerClassType
3819
+ class RadioactiveContainerClassType < ::String
3820
+ EXCEPTED_PACKAGE = new("EXCEPTED_PACKAGE")
3821
+ INDUSTRIAL_IP1 = new("INDUSTRIAL_IP1")
3822
+ INDUSTRIAL_IP2 = new("INDUSTRIAL_IP2")
3823
+ INDUSTRIAL_IP3 = new("INDUSTRIAL_IP3")
3824
+ TYPE_A = new("TYPE_A")
3825
+ TYPE_B_M = new("TYPE_B_M")
3826
+ TYPE_B_U = new("TYPE_B_U")
3827
+ TYPE_C = new("TYPE_C")
3828
+ end
3829
+
3830
+ # {http://fedex.com/ws/rate/v13}RadioactivityUnitOfMeasure
3831
+ class RadioactivityUnitOfMeasure < ::String
3832
+ BQ = new("BQ")
3833
+ GBQ = new("GBQ")
3834
+ KBQ = new("KBQ")
3835
+ MBQ = new("MBQ")
3836
+ PBQ = new("PBQ")
3837
+ TBQ = new("TBQ")
3838
+ end
3839
+
3840
+ # {http://fedex.com/ws/rate/v13}RateDimensionalDivisorType
3841
+ class RateDimensionalDivisorType < ::String
3842
+ COUNTRY = new("COUNTRY")
3843
+ CUSTOMER = new("CUSTOMER")
3844
+ OTHER = new("OTHER")
3845
+ PRODUCT = new("PRODUCT")
3846
+ WAIVED = new("WAIVED")
3847
+ end
3848
+
3849
+ # {http://fedex.com/ws/rate/v13}RateDiscountType
3850
+ class RateDiscountType < ::String
3851
+ BONUS = new("BONUS")
3852
+ COUPON = new("COUPON")
3853
+ EARNED = new("EARNED")
3854
+ OTHER = new("OTHER")
3855
+ VOLUME = new("VOLUME")
3856
+ end
3857
+
3858
+ # {http://fedex.com/ws/rate/v13}RateElementBasisType
3859
+ class RateElementBasisType < ::String
3860
+ BASE_CHARGE = new("BASE_CHARGE")
3861
+ NET_CHARGE = new("NET_CHARGE")
3862
+ NET_CHARGE_EXCLUDING_TAXES = new("NET_CHARGE_EXCLUDING_TAXES")
3863
+ NET_FREIGHT = new("NET_FREIGHT")
3864
+ end
3865
+
3866
+ # {http://fedex.com/ws/rate/v13}RateRequestType
3867
+ class RateRequestType < ::String
3868
+ ACCOUNT = new("ACCOUNT")
3869
+ LIST = new("LIST")
3870
+ PREFERRED = new("PREFERRED")
3871
+ end
3872
+
3873
+ # {http://fedex.com/ws/rate/v13}RateTypeBasisType
3874
+ class RateTypeBasisType < ::String
3875
+ ACCOUNT = new("ACCOUNT")
3876
+ LIST = new("LIST")
3877
+ end
3878
+
3879
+ # {http://fedex.com/ws/rate/v13}RatedWeightMethod
3880
+ class RatedWeightMethod < ::String
3881
+ ACTUAL = new("ACTUAL")
3882
+ AVERAGE_PACKAGE_WEIGHT_MINIMUM = new("AVERAGE_PACKAGE_WEIGHT_MINIMUM")
3883
+ BALLOON = new("BALLOON")
3884
+ DIM = new("DIM")
3885
+ FREIGHT_MINIMUM = new("FREIGHT_MINIMUM")
3886
+ MIXED = new("MIXED")
3887
+ OVERSIZE = new("OVERSIZE")
3888
+ OVERSIZE_1 = new("OVERSIZE_1")
3889
+ OVERSIZE_2 = new("OVERSIZE_2")
3890
+ OVERSIZE_3 = new("OVERSIZE_3")
3891
+ PACKAGING_MINIMUM = new("PACKAGING_MINIMUM")
3892
+ WEIGHT_BREAK = new("WEIGHT_BREAK")
3893
+ end
3894
+
3895
+ # {http://fedex.com/ws/rate/v13}RebateType
3896
+ class RebateType < ::String
3897
+ BONUS = new("BONUS")
3898
+ EARNED = new("EARNED")
3899
+ OTHER = new("OTHER")
3900
+ end
3901
+
3902
+ # {http://fedex.com/ws/rate/v13}RecipientCustomsIdType
3903
+ class RecipientCustomsIdType < ::String
3904
+ COMPANY = new("COMPANY")
3905
+ INDIVIDUAL = new("INDIVIDUAL")
3906
+ PASSPORT = new("PASSPORT")
3907
+ end
3908
+
3909
+ # {http://fedex.com/ws/rate/v13}RegulatoryControlType
3910
+ class RegulatoryControlType < ::String
3911
+ EU_CIRCULATION = new("EU_CIRCULATION")
3912
+ FOOD_OR_PERISHABLE = new("FOOD_OR_PERISHABLE")
3913
+ NAFTA = new("NAFTA")
3914
+ end
3915
+
3916
+ # {http://fedex.com/ws/rate/v13}RequestedShippingDocumentType
3917
+ class RequestedShippingDocumentType < ::String
3918
+ CERTIFICATE_OF_ORIGIN = new("CERTIFICATE_OF_ORIGIN")
3919
+ COMMERCIAL_INVOICE = new("COMMERCIAL_INVOICE")
3920
+ CUSTOMER_SPECIFIED_LABELS = new("CUSTOMER_SPECIFIED_LABELS")
3921
+ DANGEROUS_GOODS_SHIPPERS_DECLARATION = new("DANGEROUS_GOODS_SHIPPERS_DECLARATION")
3922
+ GENERAL_AGENCY_AGREEMENT = new("GENERAL_AGENCY_AGREEMENT")
3923
+ LABEL = new("LABEL")
3924
+ NAFTA_CERTIFICATE_OF_ORIGIN = new("NAFTA_CERTIFICATE_OF_ORIGIN")
3925
+ PRO_FORMA_INVOICE = new("PRO_FORMA_INVOICE")
3926
+ RETURN_INSTRUCTIONS = new("RETURN_INSTRUCTIONS")
3927
+ end
3928
+
3929
+ # {http://fedex.com/ws/rate/v13}RequiredShippingDocumentType
3930
+ class RequiredShippingDocumentType < ::String
3931
+ CANADIAN_B13A = new("CANADIAN_B13A")
3932
+ CERTIFICATE_OF_ORIGIN = new("CERTIFICATE_OF_ORIGIN")
3933
+ COMMERCIAL_INVOICE = new("COMMERCIAL_INVOICE")
3934
+ INTERNATIONAL_AIRWAY_BILL = new("INTERNATIONAL_AIRWAY_BILL")
3935
+ MAIL_SERVICE_AIRWAY_BILL = new("MAIL_SERVICE_AIRWAY_BILL")
3936
+ SHIPPERS_EXPORT_DECLARATION = new("SHIPPERS_EXPORT_DECLARATION")
3937
+ end
3938
+
3939
+ # {http://fedex.com/ws/rate/v13}ReturnEMailAllowedSpecialServiceType
3940
+ class ReturnEMailAllowedSpecialServiceType < ::String
3941
+ SATURDAY_DELIVERY = new("SATURDAY_DELIVERY")
3942
+ SATURDAY_PICKUP = new("SATURDAY_PICKUP")
3943
+ end
3944
+
3945
+ # {http://fedex.com/ws/rate/v13}ReturnType
3946
+ class ReturnType < ::String
3947
+ FEDEX_TAG = new("FEDEX_TAG")
3948
+ PENDING = new("PENDING")
3949
+ PRINT_RETURN_LABEL = new("PRINT_RETURN_LABEL")
3950
+ end
3951
+
3952
+ # {http://fedex.com/ws/rate/v13}ReturnedRateType
3953
+ class ReturnedRateType < ::String
3954
+ PAYOR_ACCOUNT_PACKAGE = new("PAYOR_ACCOUNT_PACKAGE")
3955
+ PAYOR_ACCOUNT_SHIPMENT = new("PAYOR_ACCOUNT_SHIPMENT")
3956
+ PAYOR_LIST_PACKAGE = new("PAYOR_LIST_PACKAGE")
3957
+ PAYOR_LIST_SHIPMENT = new("PAYOR_LIST_SHIPMENT")
3958
+ PREFERRED_ACCOUNT_PACKAGE = new("PREFERRED_ACCOUNT_PACKAGE")
3959
+ PREFERRED_ACCOUNT_SHIPMENT = new("PREFERRED_ACCOUNT_SHIPMENT")
3960
+ PREFERRED_LIST_PACKAGE = new("PREFERRED_LIST_PACKAGE")
3961
+ PREFERRED_LIST_SHIPMENT = new("PREFERRED_LIST_SHIPMENT")
3962
+ RATED_ACCOUNT_PACKAGE = new("RATED_ACCOUNT_PACKAGE")
3963
+ RATED_ACCOUNT_SHIPMENT = new("RATED_ACCOUNT_SHIPMENT")
3964
+ RATED_LIST_PACKAGE = new("RATED_LIST_PACKAGE")
3965
+ RATED_LIST_SHIPMENT = new("RATED_LIST_SHIPMENT")
3966
+ end
3967
+
3968
+ # {http://fedex.com/ws/rate/v13}SecondaryBarcodeType
3969
+ class SecondaryBarcodeType < ::String
3970
+ COMMON_2D = new("COMMON_2D")
3971
+ NONE = new("NONE")
3972
+ SSCC_18 = new("SSCC_18")
3973
+ USPS = new("USPS")
3974
+ end
3975
+
3976
+ # {http://fedex.com/ws/rate/v13}ServiceOptionType
3977
+ class ServiceOptionType < ::String
3978
+ FREIGHT_GUARANTEE = new("FREIGHT_GUARANTEE")
3979
+ SATURDAY_DELIVERY = new("SATURDAY_DELIVERY")
3980
+ SMART_POST_ALLOWED_INDICIA = new("SMART_POST_ALLOWED_INDICIA")
3981
+ SMART_POST_HUB_ID = new("SMART_POST_HUB_ID")
3982
+ end
3983
+
3984
+ # {http://fedex.com/ws/rate/v13}ServiceType
3985
+ class ServiceType < ::String
3986
+ EUROPE_FIRST_INTERNATIONAL_PRIORITY = new("EUROPE_FIRST_INTERNATIONAL_PRIORITY")
3987
+ FEDEX_1_DAY_FREIGHT = new("FEDEX_1_DAY_FREIGHT")
3988
+ FEDEX_2_DAY = new("FEDEX_2_DAY")
3989
+ FEDEX_2_DAY_AM = new("FEDEX_2_DAY_AM")
3990
+ FEDEX_2_DAY_FREIGHT = new("FEDEX_2_DAY_FREIGHT")
3991
+ FEDEX_3_DAY_FREIGHT = new("FEDEX_3_DAY_FREIGHT")
3992
+ FEDEX_EXPRESS_SAVER = new("FEDEX_EXPRESS_SAVER")
3993
+ FEDEX_FIRST_FREIGHT = new("FEDEX_FIRST_FREIGHT")
3994
+ FEDEX_FREIGHT_ECONOMY = new("FEDEX_FREIGHT_ECONOMY")
3995
+ FEDEX_FREIGHT_PRIORITY = new("FEDEX_FREIGHT_PRIORITY")
3996
+ FEDEX_GROUND = new("FEDEX_GROUND")
3997
+ FIRST_OVERNIGHT = new("FIRST_OVERNIGHT")
3998
+ GROUND_HOME_DELIVERY = new("GROUND_HOME_DELIVERY")
3999
+ INTERNATIONAL_ECONOMY = new("INTERNATIONAL_ECONOMY")
4000
+ INTERNATIONAL_ECONOMY_FREIGHT = new("INTERNATIONAL_ECONOMY_FREIGHT")
4001
+ INTERNATIONAL_FIRST = new("INTERNATIONAL_FIRST")
4002
+ INTERNATIONAL_PRIORITY = new("INTERNATIONAL_PRIORITY")
4003
+ INTERNATIONAL_PRIORITY_FREIGHT = new("INTERNATIONAL_PRIORITY_FREIGHT")
4004
+ PRIORITY_OVERNIGHT = new("PRIORITY_OVERNIGHT")
4005
+ SMART_POST = new("SMART_POST")
4006
+ STANDARD_OVERNIGHT = new("STANDARD_OVERNIGHT")
4007
+ end
4008
+
4009
+ # {http://fedex.com/ws/rate/v13}ShipmentOnlyFieldsType
4010
+ class ShipmentOnlyFieldsType < ::String
4011
+ DIMENSIONS = new("DIMENSIONS")
4012
+ INSURED_VALUE = new("INSURED_VALUE")
4013
+ WEIGHT = new("WEIGHT")
4014
+ end
4015
+
4016
+ # {http://fedex.com/ws/rate/v13}ShipmentSpecialServiceType
4017
+ class ShipmentSpecialServiceType < ::String
4018
+ BROKER_SELECT_OPTION = new("BROKER_SELECT_OPTION")
4019
+ CALL_BEFORE_DELIVERY = new("CALL_BEFORE_DELIVERY")
4020
+ COD = new("COD")
4021
+ CUSTOM_DELIVERY_WINDOW = new("CUSTOM_DELIVERY_WINDOW")
4022
+ DANGEROUS_GOODS = new("DANGEROUS_GOODS")
4023
+ DO_NOT_BREAK_DOWN_PALLETS = new("DO_NOT_BREAK_DOWN_PALLETS")
4024
+ DO_NOT_STACK_PALLETS = new("DO_NOT_STACK_PALLETS")
4025
+ DRY_ICE = new("DRY_ICE")
4026
+ EAST_COAST_SPECIAL = new("EAST_COAST_SPECIAL")
4027
+ ELECTRONIC_TRADE_DOCUMENTS = new("ELECTRONIC_TRADE_DOCUMENTS")
4028
+ EMAIL_NOTIFICATION = new("EMAIL_NOTIFICATION")
4029
+ EXTREME_LENGTH = new("EXTREME_LENGTH")
4030
+ FOOD = new("FOOD")
4031
+ FREIGHT_GUARANTEE = new("FREIGHT_GUARANTEE")
4032
+ FUTURE_DAY_SHIPMENT = new("FUTURE_DAY_SHIPMENT")
4033
+ HOLD_AT_LOCATION = new("HOLD_AT_LOCATION")
4034
+ HOME_DELIVERY_PREMIUM = new("HOME_DELIVERY_PREMIUM")
4035
+ INSIDE_DELIVERY = new("INSIDE_DELIVERY")
4036
+ INSIDE_PICKUP = new("INSIDE_PICKUP")
4037
+ INTERNATIONAL_CONTROLLED_EXPORT_SERVICE = new("INTERNATIONAL_CONTROLLED_EXPORT_SERVICE")
4038
+ INTERNATIONAL_TRAFFIC_IN_ARMS_REGULATIONS = new("INTERNATIONAL_TRAFFIC_IN_ARMS_REGULATIONS")
4039
+ LIFTGATE_DELIVERY = new("LIFTGATE_DELIVERY")
4040
+ LIFTGATE_PICKUP = new("LIFTGATE_PICKUP")
4041
+ LIMITED_ACCESS_DELIVERY = new("LIMITED_ACCESS_DELIVERY")
4042
+ LIMITED_ACCESS_PICKUP = new("LIMITED_ACCESS_PICKUP")
4043
+ PENDING_SHIPMENT = new("PENDING_SHIPMENT")
4044
+ POISON = new("POISON")
4045
+ PROTECTION_FROM_FREEZING = new("PROTECTION_FROM_FREEZING")
4046
+ RETURNS_CLEARANCE = new("RETURNS_CLEARANCE")
4047
+ RETURN_SHIPMENT = new("RETURN_SHIPMENT")
4048
+ SATURDAY_DELIVERY = new("SATURDAY_DELIVERY")
4049
+ SATURDAY_PICKUP = new("SATURDAY_PICKUP")
4050
+ TOP_LOAD = new("TOP_LOAD")
4051
+ end
4052
+
4053
+ # {http://fedex.com/ws/rate/v13}ShippingDocumentDispositionType
4054
+ class ShippingDocumentDispositionType < ::String
4055
+ CONFIRMED = new("CONFIRMED")
4056
+ DEFERRED_RETURNED = new("DEFERRED_RETURNED")
4057
+ DEFERRED_STORED = new("DEFERRED_STORED")
4058
+ EMAILED = new("EMAILED")
4059
+ QUEUED = new("QUEUED")
4060
+ RETURNED = new("RETURNED")
4061
+ STORED = new("STORED")
4062
+ end
4063
+
4064
+ # {http://fedex.com/ws/rate/v13}ShippingDocumentEMailGroupingType
4065
+ class ShippingDocumentEMailGroupingType < ::String
4066
+ BY_RECIPIENT = new("BY_RECIPIENT")
4067
+ NONE = new("NONE")
4068
+ end
4069
+
4070
+ # {http://fedex.com/ws/rate/v13}ShippingDocumentGroupingType
4071
+ class ShippingDocumentGroupingType < ::String
4072
+ CONSOLIDATED_BY_DOCUMENT_TYPE = new("CONSOLIDATED_BY_DOCUMENT_TYPE")
4073
+ INDIVIDUAL = new("INDIVIDUAL")
4074
+ end
4075
+
4076
+ # {http://fedex.com/ws/rate/v13}ShippingDocumentImageType
4077
+ class ShippingDocumentImageType < ::String
4078
+ DPL = new("DPL")
4079
+ EPL2 = new("EPL2")
4080
+ PDF = new("PDF")
4081
+ PNG = new("PNG")
4082
+ ZPLII = new("ZPLII")
4083
+ end
4084
+
4085
+ # {http://fedex.com/ws/rate/v13}ShippingDocumentStockType
4086
+ class ShippingDocumentStockType < ::String
4087
+ OP_900_LG_B = new("OP_900_LG_B")
4088
+ OP_900_LL_B = new("OP_900_LL_B")
4089
+ PAPER_4X6 = new("PAPER_4X6")
4090
+ PAPER_LETTER = new("PAPER_LETTER")
4091
+ STOCK_4X6 = new("STOCK_4X6")
4092
+ STOCK_4X675_LEADING_DOC_TAB = new("STOCK_4X6.75_LEADING_DOC_TAB")
4093
+ STOCK_4X675_TRAILING_DOC_TAB = new("STOCK_4X6.75_TRAILING_DOC_TAB")
4094
+ STOCK_4X8 = new("STOCK_4X8")
4095
+ STOCK_4X9_LEADING_DOC_TAB = new("STOCK_4X9_LEADING_DOC_TAB")
4096
+ STOCK_4X9_TRAILING_DOC_TAB = new("STOCK_4X9_TRAILING_DOC_TAB")
4097
+ end
4098
+
4099
+ # {http://fedex.com/ws/rate/v13}SignatureOptionType
4100
+ class SignatureOptionType < ::String
4101
+ ADULT = new("ADULT")
4102
+ DIRECT = new("DIRECT")
4103
+ INDIRECT = new("INDIRECT")
4104
+ NO_SIGNATURE_REQUIRED = new("NO_SIGNATURE_REQUIRED")
4105
+ SERVICE_DEFAULT = new("SERVICE_DEFAULT")
4106
+ end
4107
+
4108
+ # {http://fedex.com/ws/rate/v13}SmartPostAncillaryEndorsementType
4109
+ class SmartPostAncillaryEndorsementType < ::String
4110
+ ADDRESS_CORRECTION = new("ADDRESS_CORRECTION")
4111
+ CARRIER_LEAVE_IF_NO_RESPONSE = new("CARRIER_LEAVE_IF_NO_RESPONSE")
4112
+ CHANGE_SERVICE = new("CHANGE_SERVICE")
4113
+ FORWARDING_SERVICE = new("FORWARDING_SERVICE")
4114
+ RETURN_SERVICE = new("RETURN_SERVICE")
4115
+ end
4116
+
4117
+ # {http://fedex.com/ws/rate/v13}SmartPostIndiciaType
4118
+ class SmartPostIndiciaType < ::String
4119
+ MEDIA_MAIL = new("MEDIA_MAIL")
4120
+ PARCEL_RETURN = new("PARCEL_RETURN")
4121
+ PARCEL_SELECT = new("PARCEL_SELECT")
4122
+ PRESORTED_BOUND_PRINTED_MATTER = new("PRESORTED_BOUND_PRINTED_MATTER")
4123
+ PRESORTED_STANDARD = new("PRESORTED_STANDARD")
4124
+ end
4125
+
4126
+ # {http://fedex.com/ws/rate/v13}SpecialRatingAppliedType
4127
+ class SpecialRatingAppliedType < ::String
4128
+ FIXED_FUEL_SURCHARGE = new("FIXED_FUEL_SURCHARGE")
4129
+ IMPORT_PRICING = new("IMPORT_PRICING")
4130
+ end
4131
+
4132
+ # {http://fedex.com/ws/rate/v13}SurchargeLevelType
4133
+ class SurchargeLevelType < ::String
4134
+ PACKAGE = new("PACKAGE")
4135
+ SHIPMENT = new("SHIPMENT")
4136
+ end
4137
+
4138
+ # {http://fedex.com/ws/rate/v13}SurchargeType
4139
+ class SurchargeType < ::String
4140
+ ADDITIONAL_HANDLING = new("ADDITIONAL_HANDLING")
4141
+ ANCILLARY_FEE = new("ANCILLARY_FEE")
4142
+ APPOINTMENT_DELIVERY = new("APPOINTMENT_DELIVERY")
4143
+ BROKER_SELECT_OPTION = new("BROKER_SELECT_OPTION")
4144
+ CANADIAN_DESTINATION = new("CANADIAN_DESTINATION")
4145
+ CLEARANCE_ENTRY_FEE = new("CLEARANCE_ENTRY_FEE")
4146
+ COD = new("COD")
4147
+ CUT_FLOWERS = new("CUT_FLOWERS")
4148
+ DANGEROUS_GOODS = new("DANGEROUS_GOODS")
4149
+ DELIVERY_AREA = new("DELIVERY_AREA")
4150
+ DELIVERY_CONFIRMATION = new("DELIVERY_CONFIRMATION")
4151
+ DOCUMENTATION_FEE = new("DOCUMENTATION_FEE")
4152
+ DRY_ICE = new("DRY_ICE")
4153
+ EMAIL_LABEL = new("EMAIL_LABEL")
4154
+ EUROPE_FIRST = new("EUROPE_FIRST")
4155
+ EXCESS_VALUE = new("EXCESS_VALUE")
4156
+ EXHIBITION = new("EXHIBITION")
4157
+ EXPORT = new("EXPORT")
4158
+ EXTRA_SURFACE_HANDLING_CHARGE = new("EXTRA_SURFACE_HANDLING_CHARGE")
4159
+ EXTREME_LENGTH = new("EXTREME_LENGTH")
4160
+ FEDEX_INTRACOUNTRY_FEES = new("FEDEX_INTRACOUNTRY_FEES")
4161
+ FEDEX_TAG = new("FEDEX_TAG")
4162
+ FICE = new("FICE")
4163
+ FLATBED = new("FLATBED")
4164
+ FREIGHT_GUARANTEE = new("FREIGHT_GUARANTEE")
4165
+ FREIGHT_ON_VALUE = new("FREIGHT_ON_VALUE")
4166
+ FUEL = new("FUEL")
4167
+ HOLD_AT_LOCATION = new("HOLD_AT_LOCATION")
4168
+ HOME_DELIVERY_APPOINTMENT = new("HOME_DELIVERY_APPOINTMENT")
4169
+ HOME_DELIVERY_DATE_CERTAIN = new("HOME_DELIVERY_DATE_CERTAIN")
4170
+ HOME_DELIVERY_EVENING = new("HOME_DELIVERY_EVENING")
4171
+ INSIDE_DELIVERY = new("INSIDE_DELIVERY")
4172
+ INSIDE_PICKUP = new("INSIDE_PICKUP")
4173
+ INSURED_VALUE = new("INSURED_VALUE")
4174
+ INTERHAWAII = new("INTERHAWAII")
4175
+ LIFTGATE_DELIVERY = new("LIFTGATE_DELIVERY")
4176
+ LIFTGATE_PICKUP = new("LIFTGATE_PICKUP")
4177
+ LIMITED_ACCESS_DELIVERY = new("LIMITED_ACCESS_DELIVERY")
4178
+ LIMITED_ACCESS_PICKUP = new("LIMITED_ACCESS_PICKUP")
4179
+ METRO_DELIVERY = new("METRO_DELIVERY")
4180
+ METRO_PICKUP = new("METRO_PICKUP")
4181
+ NON_MACHINABLE = new("NON_MACHINABLE")
4182
+ OFFSHORE = new("OFFSHORE")
4183
+ ON_CALL_PICKUP = new("ON_CALL_PICKUP")
4184
+ OTHER = new("OTHER")
4185
+ OUT_OF_DELIVERY_AREA = new("OUT_OF_DELIVERY_AREA")
4186
+ OUT_OF_PICKUP_AREA = new("OUT_OF_PICKUP_AREA")
4187
+ OVERSIZE = new("OVERSIZE")
4188
+ OVER_DIMENSION = new("OVER_DIMENSION")
4189
+ PIECE_COUNT_VERIFICATION = new("PIECE_COUNT_VERIFICATION")
4190
+ PRE_DELIVERY_NOTIFICATION = new("PRE_DELIVERY_NOTIFICATION")
4191
+ PRIORITY_ALERT = new("PRIORITY_ALERT")
4192
+ PROTECTION_FROM_FREEZING = new("PROTECTION_FROM_FREEZING")
4193
+ REGIONAL_MALL_DELIVERY = new("REGIONAL_MALL_DELIVERY")
4194
+ REGIONAL_MALL_PICKUP = new("REGIONAL_MALL_PICKUP")
4195
+ RESIDENTIAL_DELIVERY = new("RESIDENTIAL_DELIVERY")
4196
+ RESIDENTIAL_PICKUP = new("RESIDENTIAL_PICKUP")
4197
+ RETURN_LABEL = new("RETURN_LABEL")
4198
+ SATURDAY_DELIVERY = new("SATURDAY_DELIVERY")
4199
+ SATURDAY_PICKUP = new("SATURDAY_PICKUP")
4200
+ SIGNATURE_OPTION = new("SIGNATURE_OPTION")
4201
+ TARP = new("TARP")
4202
+ THIRD_PARTY_CONSIGNEE = new("THIRD_PARTY_CONSIGNEE")
4203
+ TRANSMART_SERVICE_FEE = new("TRANSMART_SERVICE_FEE")
4204
+ end
4205
+
4206
+ # {http://fedex.com/ws/rate/v13}TaxType
4207
+ class TaxType < ::String
4208
+ EXPORT = new("EXPORT")
4209
+ GST = new("GST")
4210
+ HST = new("HST")
4211
+ INTRACOUNTRY = new("INTRACOUNTRY")
4212
+ OTHER = new("OTHER")
4213
+ PST = new("PST")
4214
+ VAT = new("VAT")
4215
+ end
4216
+
4217
+ # {http://fedex.com/ws/rate/v13}TaxesOrMiscellaneousChargeType
4218
+ class TaxesOrMiscellaneousChargeType < ::String
4219
+ COMMISSIONS = new("COMMISSIONS")
4220
+ DISCOUNTS = new("DISCOUNTS")
4221
+ HANDLING_FEES = new("HANDLING_FEES")
4222
+ OTHER = new("OTHER")
4223
+ ROYALTIES_AND_LICENSE_FEES = new("ROYALTIES_AND_LICENSE_FEES")
4224
+ TAXES = new("TAXES")
4225
+ end
4226
+
4227
+ # {http://fedex.com/ws/rate/v13}TermsOfSaleType
4228
+ class TermsOfSaleType < ::String
4229
+ CFR_OR_CPT = new("CFR_OR_CPT")
4230
+ CIF_OR_CIP = new("CIF_OR_CIP")
4231
+ DAP = new("DAP")
4232
+ DAT = new("DAT")
4233
+ DDP = new("DDP")
4234
+ DDU = new("DDU")
4235
+ EXW = new("EXW")
4236
+ FOB_OR_FCA = new("FOB_OR_FCA")
4237
+ end
4238
+
4239
+ # {http://fedex.com/ws/rate/v13}TinType
4240
+ class TinType < ::String
4241
+ BUSINESS_NATIONAL = new("BUSINESS_NATIONAL")
4242
+ BUSINESS_STATE = new("BUSINESS_STATE")
4243
+ PERSONAL_NATIONAL = new("PERSONAL_NATIONAL")
4244
+ PERSONAL_STATE = new("PERSONAL_STATE")
4245
+ end
4246
+
4247
+ # {http://fedex.com/ws/rate/v13}TrackingIdType
4248
+ class TrackingIdType < ::String
4249
+ EXPRESS = new("EXPRESS")
4250
+ FEDEX = new("FEDEX")
4251
+ GROUND = new("GROUND")
4252
+ USPS = new("USPS")
4253
+ end
4254
+
4255
+ # {http://fedex.com/ws/rate/v13}TransitTimeType
4256
+ class TransitTimeType < ::String
4257
+ EIGHTEEN_DAYS = new("EIGHTEEN_DAYS")
4258
+ EIGHT_DAYS = new("EIGHT_DAYS")
4259
+ ELEVEN_DAYS = new("ELEVEN_DAYS")
4260
+ FIFTEEN_DAYS = new("FIFTEEN_DAYS")
4261
+ FIVE_DAYS = new("FIVE_DAYS")
4262
+ FOURTEEN_DAYS = new("FOURTEEN_DAYS")
4263
+ FOUR_DAYS = new("FOUR_DAYS")
4264
+ NINETEEN_DAYS = new("NINETEEN_DAYS")
4265
+ NINE_DAYS = new("NINE_DAYS")
4266
+ ONE_DAY = new("ONE_DAY")
4267
+ SEVENTEEN_DAYS = new("SEVENTEEN_DAYS")
4268
+ SEVEN_DAYS = new("SEVEN_DAYS")
4269
+ SIXTEEN_DAYS = new("SIXTEEN_DAYS")
4270
+ SIX_DAYS = new("SIX_DAYS")
4271
+ TEN_DAYS = new("TEN_DAYS")
4272
+ THIRTEEN_DAYS = new("THIRTEEN_DAYS")
4273
+ THREE_DAYS = new("THREE_DAYS")
4274
+ TWELVE_DAYS = new("TWELVE_DAYS")
4275
+ TWENTY_DAYS = new("TWENTY_DAYS")
4276
+ TWO_DAYS = new("TWO_DAYS")
4277
+ UNKNOWN = new("UNKNOWN")
4278
+ end
4279
+
4280
+ # {http://fedex.com/ws/rate/v13}UploadDocumentIdProducer
4281
+ class UploadDocumentIdProducer < ::String
4282
+ CUSTOMER = new("CUSTOMER")
4283
+ FEDEX_CSHP = new("FEDEX_CSHP")
4284
+ FEDEX_GTM = new("FEDEX_GTM")
4285
+ end
4286
+
4287
+ # {http://fedex.com/ws/rate/v13}UploadDocumentProducerType
4288
+ class UploadDocumentProducerType < ::String
4289
+ CUSTOMER = new("CUSTOMER")
4290
+ FEDEX_CLS = new("FEDEX_CLS")
4291
+ FEDEX_GTM = new("FEDEX_GTM")
4292
+ OTHER = new("OTHER")
4293
+ end
4294
+
4295
+ # {http://fedex.com/ws/rate/v13}UploadDocumentType
4296
+ class UploadDocumentType < ::String
4297
+ CERTIFICATE_OF_ORIGIN = new("CERTIFICATE_OF_ORIGIN")
4298
+ COMMERCIAL_INVOICE = new("COMMERCIAL_INVOICE")
4299
+ ETD_LABEL = new("ETD_LABEL")
4300
+ NAFTA_CERTIFICATE_OF_ORIGIN = new("NAFTA_CERTIFICATE_OF_ORIGIN")
4301
+ OTHER = new("OTHER")
4302
+ PRO_FORMA_INVOICE = new("PRO_FORMA_INVOICE")
4303
+ end
4304
+
4305
+ # {http://fedex.com/ws/rate/v13}VolumeUnits
4306
+ class VolumeUnits < ::String
4307
+ CUBIC_FT = new("CUBIC_FT")
4308
+ CUBIC_M = new("CUBIC_M")
4309
+ end
4310
+
4311
+ # {http://fedex.com/ws/rate/v13}WeightUnits
4312
+ class WeightUnits < ::String
4313
+ KG = new("KG")
4314
+ LB = new("LB")
4315
+ end
4316
+
4317
+
4318
+ end; end; end