fedex-web-services 1.1.51 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/README.md +113 -0
- data/Rakefile +3 -0
- data/examples/create_shipments.rb +81 -0
- data/fedex-web-services.gemspec +26 -0
- data/lib/fedex_web_services.rb +13 -0
- data/lib/fedex_web_services/api.rb +66 -0
- data/lib/fedex_web_services/close_smart_post_request.rb +23 -0
- data/lib/fedex_web_services/delete_shipment_request.rb +31 -0
- data/lib/fedex_web_services/process_shipment_request.rb +96 -0
- data/lib/fedex_web_services/process_shipment_response.rb +28 -0
- data/lib/fedex_web_services/railtie.rb +7 -0
- data/lib/fedex_web_services/request.rb +57 -0
- data/lib/fedex_web_services/response.rb +16 -0
- data/lib/fedex_web_services/soap.rb +6 -0
- data/lib/fedex_web_services/soap/CloseServiceDefinitions.rb +910 -0
- data/lib/fedex_web_services/soap/CloseServiceDefinitionsDriver.rb +93 -0
- data/lib/fedex_web_services/soap/CloseServiceDefinitionsMappingRegistry.rb +1201 -0
- data/lib/fedex_web_services/soap/RateServiceDefinitions.rb +4318 -0
- data/lib/fedex_web_services/soap/RateServiceDefinitionsDriver.rb +53 -0
- data/lib/fedex_web_services/soap/RateServiceDefinitionsMappingRegistry.rb +4655 -0
- data/lib/fedex_web_services/soap/ShipServiceDefinitions.rb +4911 -0
- data/lib/fedex_web_services/soap/ShipServiceDefinitionsDriver.rb +101 -0
- data/lib/fedex_web_services/soap/ShipServiceDefinitionsMappingRegistry.rb +5405 -0
- data/lib/fedex_web_services/version.rb +3 -0
- data/license.txt +7 -0
- data/tasks/generate_definitions.rake +23 -0
- data/tasks/test.rake +5 -0
- data/test/integration_test.rb +109 -0
- metadata +76 -34
- data/lib/fedex.rb +0 -2
- data/lib/fedex/version.rb +0 -3
- data/lib/fedex/web_services.rb +0 -10
- data/lib/fedex/web_services/definitions.rb +0 -46
- data/lib/fedex/web_services/request/base.rb +0 -69
- data/lib/fedex/web_services/request/delete_shipment.rb +0 -27
- data/lib/fedex/web_services/request/get_rates.rb +0 -61
- data/lib/fedex/web_services/request/process_shipment.rb +0 -76
- data/lib/fedex/web_services/service/base.rb +0 -72
- data/lib/fedex/web_services/service/rate.rb +0 -40
- data/lib/fedex/web_services/service/ship.rb +0 -85
- data/lib/generators/fedex/generate_definitions_generator.rb +0 -38
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'base64'
|
2
|
+
|
3
|
+
module FedexWebServices
|
4
|
+
class ProcessShipmentResponse < Response
|
5
|
+
def label
|
6
|
+
label = contents.completedShipmentDetail.completedPackageDetails.first.label
|
7
|
+
Base64.decode64(label.parts.map { |p| Base64.decode64(p.image) } * "")
|
8
|
+
end
|
9
|
+
|
10
|
+
def tracking_number
|
11
|
+
contents.completedShipmentDetail.completedPackageDetails[0].trackingIds[0].trackingNumber
|
12
|
+
rescue
|
13
|
+
raise "Unable to extract tracking number from response"
|
14
|
+
end
|
15
|
+
|
16
|
+
def package_rate
|
17
|
+
details = contents.completedShipmentDetail.completedPackageDetails.first
|
18
|
+
|
19
|
+
details.packageRating.packageRateDetails.inject(0) do |acc, rate|
|
20
|
+
rate.rateType == FedexWebServices::Soap::Ship::ReturnedRateType::PAYOR_ACCOUNT_PACKAGE ?
|
21
|
+
acc + BigDecimal.new(rate.netCharge.amount) :
|
22
|
+
acc
|
23
|
+
end
|
24
|
+
rescue
|
25
|
+
raise "Unable to extract rate information from response"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
require 'time'
|
2
|
+
|
3
|
+
require 'fedex_web_services/response'
|
4
|
+
|
5
|
+
module FedexWebServices
|
6
|
+
class Request
|
7
|
+
attr_reader :contents
|
8
|
+
|
9
|
+
def soap_module
|
10
|
+
raise "soap_module must be implemented by subclasses of Request::Base"
|
11
|
+
end
|
12
|
+
|
13
|
+
def remote_method
|
14
|
+
raise "remote_method must be implemented by subclasses of Request::Base"
|
15
|
+
end
|
16
|
+
|
17
|
+
def service_id
|
18
|
+
raise "service_id must be implemented by subclasses of Request::Base"
|
19
|
+
end
|
20
|
+
|
21
|
+
def version
|
22
|
+
raise "version must be implemented by subclasses of Request::Base"
|
23
|
+
end
|
24
|
+
|
25
|
+
def issue_request(port, credentials)
|
26
|
+
Response.new(port.send(remote_method, request_contents(credentials)))
|
27
|
+
end
|
28
|
+
|
29
|
+
protected
|
30
|
+
def request_contents(credentials)
|
31
|
+
mod = self.soap_module
|
32
|
+
contents = self.contents.dup
|
33
|
+
|
34
|
+
contents.webAuthenticationDetail =
|
35
|
+
mod::WebAuthenticationDetail.new.tap do |wad|
|
36
|
+
wad.userCredential = mod::WebAuthenticationCredential.new.tap do |wac|
|
37
|
+
wac.key = credentials.key
|
38
|
+
wac.password = credentials.password
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
contents.clientDetail = mod::ClientDetail.new.tap do |cd|
|
43
|
+
cd.accountNumber = credentials.account_number
|
44
|
+
cd.meterNumber = credentials.meter_number
|
45
|
+
end
|
46
|
+
|
47
|
+
contents.version = mod::VersionId.new.tap do |vi|
|
48
|
+
vi.serviceId = service_id
|
49
|
+
vi.major = version
|
50
|
+
vi.intermediate = 0
|
51
|
+
vi.minor = 0
|
52
|
+
end
|
53
|
+
|
54
|
+
contents
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module FedexWebServices
|
2
|
+
class Response
|
3
|
+
attr_reader :contents
|
4
|
+
|
5
|
+
def initialize(contents)
|
6
|
+
@contents = contents
|
7
|
+
end
|
8
|
+
|
9
|
+
def errors
|
10
|
+
contents.notifications.reject do |notification|
|
11
|
+
[ "SUCCESS", "NOTE", "WARNING" ].include?(notification.severity)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
@@ -0,0 +1,910 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# Generated by wsdl2ruby (SOAP4R-NG/2.0.3)
|
3
|
+
require 'xsd/qname'
|
4
|
+
|
5
|
+
module FedexWebServices; module Soap; module Close
|
6
|
+
|
7
|
+
|
8
|
+
# {http://fedex.com/ws/close/v4}ClientDetail
|
9
|
+
# accountNumber - SOAP::SOAPString
|
10
|
+
# meterNumber - SOAP::SOAPString
|
11
|
+
# integratorId - SOAP::SOAPString
|
12
|
+
# localization - FedexWebServices::Soap::Close::Localization
|
13
|
+
class ClientDetail
|
14
|
+
attr_accessor :accountNumber
|
15
|
+
attr_accessor :meterNumber
|
16
|
+
attr_accessor :integratorId
|
17
|
+
attr_accessor :localization
|
18
|
+
|
19
|
+
def initialize(accountNumber = nil, meterNumber = nil, integratorId = nil, localization = nil)
|
20
|
+
@accountNumber = accountNumber
|
21
|
+
@meterNumber = meterNumber
|
22
|
+
@integratorId = integratorId
|
23
|
+
@localization = localization
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
# {http://fedex.com/ws/close/v4}CloseDocument
|
28
|
+
# type - FedexWebServices::Soap::Close::CloseDocumentType
|
29
|
+
# shippingCycle - SOAP::SOAPString
|
30
|
+
# shippingDocumentDisposition - FedexWebServices::Soap::Close::ShippingDocumentDispositionType
|
31
|
+
# accessReference - SOAP::SOAPString
|
32
|
+
# resolution - SOAP::SOAPNonNegativeInteger
|
33
|
+
# copiesToPrint - SOAP::SOAPNonNegativeInteger
|
34
|
+
# parts - FedexWebServices::Soap::Close::ShippingDocumentPart
|
35
|
+
class CloseDocument
|
36
|
+
attr_accessor :type
|
37
|
+
attr_accessor :shippingCycle
|
38
|
+
attr_accessor :shippingDocumentDisposition
|
39
|
+
attr_accessor :accessReference
|
40
|
+
attr_accessor :resolution
|
41
|
+
attr_accessor :copiesToPrint
|
42
|
+
attr_accessor :parts
|
43
|
+
|
44
|
+
def initialize(type = nil, shippingCycle = nil, shippingDocumentDisposition = nil, accessReference = nil, resolution = nil, copiesToPrint = nil, parts = [])
|
45
|
+
@type = type
|
46
|
+
@shippingCycle = shippingCycle
|
47
|
+
@shippingDocumentDisposition = shippingDocumentDisposition
|
48
|
+
@accessReference = accessReference
|
49
|
+
@resolution = resolution
|
50
|
+
@copiesToPrint = copiesToPrint
|
51
|
+
@parts = parts
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
# {http://fedex.com/ws/close/v4}CloseDocumentFormat
|
56
|
+
# dispositions - FedexWebServices::Soap::Close::ShippingDocumentDispositionDetail
|
57
|
+
# topOfPageOffset - FedexWebServices::Soap::Close::LinearMeasure
|
58
|
+
# imageType - FedexWebServices::Soap::Close::ShippingDocumentImageType
|
59
|
+
# stockType - FedexWebServices::Soap::Close::ShippingDocumentStockType
|
60
|
+
# provideInstructions - SOAP::SOAPBoolean
|
61
|
+
# localization - FedexWebServices::Soap::Close::Localization
|
62
|
+
class CloseDocumentFormat
|
63
|
+
attr_accessor :dispositions
|
64
|
+
attr_accessor :topOfPageOffset
|
65
|
+
attr_accessor :imageType
|
66
|
+
attr_accessor :stockType
|
67
|
+
attr_accessor :provideInstructions
|
68
|
+
attr_accessor :localization
|
69
|
+
|
70
|
+
def initialize(dispositions = [], topOfPageOffset = nil, imageType = nil, stockType = nil, provideInstructions = nil, localization = nil)
|
71
|
+
@dispositions = dispositions
|
72
|
+
@topOfPageOffset = topOfPageOffset
|
73
|
+
@imageType = imageType
|
74
|
+
@stockType = stockType
|
75
|
+
@provideInstructions = provideInstructions
|
76
|
+
@localization = localization
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
# {http://fedex.com/ws/close/v4}CloseDocumentSpecification
|
81
|
+
# closeDocumentTypes - FedexWebServices::Soap::Close::CloseDocumentType
|
82
|
+
# detailedDeliveryManifestDetail - FedexWebServices::Soap::Close::DetailedDeliveryManifestDetail
|
83
|
+
# manifestDetail - FedexWebServices::Soap::Close::ManifestDetail
|
84
|
+
# op950Detail - FedexWebServices::Soap::Close::Op950Detail
|
85
|
+
class CloseDocumentSpecification
|
86
|
+
attr_accessor :closeDocumentTypes
|
87
|
+
attr_accessor :detailedDeliveryManifestDetail
|
88
|
+
attr_accessor :manifestDetail
|
89
|
+
attr_accessor :op950Detail
|
90
|
+
|
91
|
+
def initialize(closeDocumentTypes = [], detailedDeliveryManifestDetail = nil, manifestDetail = nil, op950Detail = nil)
|
92
|
+
@closeDocumentTypes = closeDocumentTypes
|
93
|
+
@detailedDeliveryManifestDetail = detailedDeliveryManifestDetail
|
94
|
+
@manifestDetail = manifestDetail
|
95
|
+
@op950Detail = op950Detail
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# {http://fedex.com/ws/close/v4}CloseManifestReferenceDetail
|
100
|
+
# type - FedexWebServices::Soap::Close::CustomerReferenceType
|
101
|
+
# value - SOAP::SOAPString
|
102
|
+
class CloseManifestReferenceDetail
|
103
|
+
attr_accessor :type
|
104
|
+
attr_accessor :value
|
105
|
+
|
106
|
+
def initialize(type = nil, value = nil)
|
107
|
+
@type = type
|
108
|
+
@value = value
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
# {http://fedex.com/ws/close/v4}CloseSmartPostDetail
|
113
|
+
# hubId - SOAP::SOAPString
|
114
|
+
# customerId - SOAP::SOAPString
|
115
|
+
# customerManifestId - SOAP::SOAPString
|
116
|
+
# destinationCountryCode - SOAP::SOAPString
|
117
|
+
# pickupCarrier - FedexWebServices::Soap::Close::CarrierCodeType
|
118
|
+
class CloseSmartPostDetail
|
119
|
+
attr_accessor :hubId
|
120
|
+
attr_accessor :customerId
|
121
|
+
attr_accessor :customerManifestId
|
122
|
+
attr_accessor :destinationCountryCode
|
123
|
+
attr_accessor :pickupCarrier
|
124
|
+
|
125
|
+
def initialize(hubId = nil, customerId = nil, customerManifestId = nil, destinationCountryCode = nil, pickupCarrier = nil)
|
126
|
+
@hubId = hubId
|
127
|
+
@customerId = customerId
|
128
|
+
@customerManifestId = customerManifestId
|
129
|
+
@destinationCountryCode = destinationCountryCode
|
130
|
+
@pickupCarrier = pickupCarrier
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
# {http://fedex.com/ws/close/v4}CloseWithDocumentsProcessingOptionsRequested
|
135
|
+
class CloseWithDocumentsProcessingOptionsRequested < ::Array
|
136
|
+
end
|
137
|
+
|
138
|
+
# {http://fedex.com/ws/close/v4}CloseWithDocumentsReply
|
139
|
+
# highestSeverity - FedexWebServices::Soap::Close::NotificationSeverityType
|
140
|
+
# notifications - FedexWebServices::Soap::Close::Notification
|
141
|
+
# transactionDetail - FedexWebServices::Soap::Close::TransactionDetail
|
142
|
+
# version - FedexWebServices::Soap::Close::VersionId
|
143
|
+
# documents - FedexWebServices::Soap::Close::CloseDocument
|
144
|
+
class CloseWithDocumentsReply
|
145
|
+
attr_accessor :highestSeverity
|
146
|
+
attr_accessor :notifications
|
147
|
+
attr_accessor :transactionDetail
|
148
|
+
attr_accessor :version
|
149
|
+
attr_accessor :documents
|
150
|
+
|
151
|
+
def initialize(highestSeverity = nil, notifications = [], transactionDetail = nil, version = nil, documents = [])
|
152
|
+
@highestSeverity = highestSeverity
|
153
|
+
@notifications = notifications
|
154
|
+
@transactionDetail = transactionDetail
|
155
|
+
@version = version
|
156
|
+
@documents = documents
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
# {http://fedex.com/ws/close/v4}CloseWithDocumentsRequest
|
161
|
+
# webAuthenticationDetail - FedexWebServices::Soap::Close::WebAuthenticationDetail
|
162
|
+
# clientDetail - FedexWebServices::Soap::Close::ClientDetail
|
163
|
+
# transactionDetail - FedexWebServices::Soap::Close::TransactionDetail
|
164
|
+
# version - FedexWebServices::Soap::Close::VersionId
|
165
|
+
# actionType - FedexWebServices::Soap::Close::CloseActionType
|
166
|
+
# processingOptions - FedexWebServices::Soap::Close::CloseWithDocumentsProcessingOptionsRequested
|
167
|
+
# carrierCode - FedexWebServices::Soap::Close::CarrierCodeType
|
168
|
+
# shippingCycle - SOAP::SOAPString
|
169
|
+
# reprintCloseDate - SOAP::SOAPDateTime
|
170
|
+
# manifestReferenceDetail - FedexWebServices::Soap::Close::CloseManifestReferenceDetail
|
171
|
+
# smartPostDetail - FedexWebServices::Soap::Close::CloseSmartPostDetail
|
172
|
+
# closeDocumentSpecification - FedexWebServices::Soap::Close::CloseDocumentSpecification
|
173
|
+
class CloseWithDocumentsRequest
|
174
|
+
attr_accessor :webAuthenticationDetail
|
175
|
+
attr_accessor :clientDetail
|
176
|
+
attr_accessor :transactionDetail
|
177
|
+
attr_accessor :version
|
178
|
+
attr_accessor :actionType
|
179
|
+
attr_accessor :processingOptions
|
180
|
+
attr_accessor :carrierCode
|
181
|
+
attr_accessor :shippingCycle
|
182
|
+
attr_accessor :reprintCloseDate
|
183
|
+
attr_accessor :manifestReferenceDetail
|
184
|
+
attr_accessor :smartPostDetail
|
185
|
+
attr_accessor :closeDocumentSpecification
|
186
|
+
|
187
|
+
def initialize(webAuthenticationDetail = nil, clientDetail = nil, transactionDetail = nil, version = nil, actionType = nil, processingOptions = nil, carrierCode = nil, shippingCycle = nil, reprintCloseDate = nil, manifestReferenceDetail = nil, smartPostDetail = nil, closeDocumentSpecification = nil)
|
188
|
+
@webAuthenticationDetail = webAuthenticationDetail
|
189
|
+
@clientDetail = clientDetail
|
190
|
+
@transactionDetail = transactionDetail
|
191
|
+
@version = version
|
192
|
+
@actionType = actionType
|
193
|
+
@processingOptions = processingOptions
|
194
|
+
@carrierCode = carrierCode
|
195
|
+
@shippingCycle = shippingCycle
|
196
|
+
@reprintCloseDate = reprintCloseDate
|
197
|
+
@manifestReferenceDetail = manifestReferenceDetail
|
198
|
+
@smartPostDetail = smartPostDetail
|
199
|
+
@closeDocumentSpecification = closeDocumentSpecification
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
# {http://fedex.com/ws/close/v4}CustomerImageUsage
|
204
|
+
# type - FedexWebServices::Soap::Close::CustomerImageUsageType
|
205
|
+
# id - FedexWebServices::Soap::Close::ImageId
|
206
|
+
# internalId - SOAP::SOAPString
|
207
|
+
# internalImageType - FedexWebServices::Soap::Close::InternalImageType
|
208
|
+
class CustomerImageUsage
|
209
|
+
attr_accessor :type
|
210
|
+
attr_accessor :id
|
211
|
+
attr_accessor :internalId
|
212
|
+
attr_accessor :internalImageType
|
213
|
+
|
214
|
+
def initialize(type = nil, id = nil, internalId = nil, internalImageType = nil)
|
215
|
+
@type = type
|
216
|
+
@id = id
|
217
|
+
@internalId = internalId
|
218
|
+
@internalImageType = internalImageType
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
# {http://fedex.com/ws/close/v4}DetailedDeliveryManifestDetail
|
223
|
+
# format - FedexWebServices::Soap::Close::CloseDocumentFormat
|
224
|
+
# clientTimeZoneOffset - SOAP::SOAPString
|
225
|
+
class DetailedDeliveryManifestDetail
|
226
|
+
attr_accessor :format
|
227
|
+
attr_accessor :clientTimeZoneOffset
|
228
|
+
|
229
|
+
def initialize(format = nil, clientTimeZoneOffset = nil)
|
230
|
+
@format = format
|
231
|
+
@clientTimeZoneOffset = clientTimeZoneOffset
|
232
|
+
end
|
233
|
+
end
|
234
|
+
|
235
|
+
# {http://fedex.com/ws/close/v4}GroundCloseDocumentsReply
|
236
|
+
# highestSeverity - FedexWebServices::Soap::Close::NotificationSeverityType
|
237
|
+
# notifications - FedexWebServices::Soap::Close::Notification
|
238
|
+
# transactionDetail - FedexWebServices::Soap::Close::TransactionDetail
|
239
|
+
# version - FedexWebServices::Soap::Close::VersionId
|
240
|
+
# closeDocuments - FedexWebServices::Soap::Close::CloseDocument
|
241
|
+
class GroundCloseDocumentsReply
|
242
|
+
attr_accessor :highestSeverity
|
243
|
+
attr_accessor :notifications
|
244
|
+
attr_accessor :transactionDetail
|
245
|
+
attr_accessor :version
|
246
|
+
attr_accessor :closeDocuments
|
247
|
+
|
248
|
+
def initialize(highestSeverity = nil, notifications = [], transactionDetail = nil, version = nil, closeDocuments = [])
|
249
|
+
@highestSeverity = highestSeverity
|
250
|
+
@notifications = notifications
|
251
|
+
@transactionDetail = transactionDetail
|
252
|
+
@version = version
|
253
|
+
@closeDocuments = closeDocuments
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
257
|
+
# {http://fedex.com/ws/close/v4}GroundCloseReply
|
258
|
+
# highestSeverity - FedexWebServices::Soap::Close::NotificationSeverityType
|
259
|
+
# notifications - FedexWebServices::Soap::Close::Notification
|
260
|
+
# transactionDetail - FedexWebServices::Soap::Close::TransactionDetail
|
261
|
+
# version - FedexWebServices::Soap::Close::VersionId
|
262
|
+
# codReport - SOAP::SOAPBase64
|
263
|
+
# hazMatCertificate - SOAP::SOAPBase64
|
264
|
+
# manifest - FedexWebServices::Soap::Close::ManifestFile
|
265
|
+
# multiweightReport - SOAP::SOAPBase64
|
266
|
+
class GroundCloseReply
|
267
|
+
attr_accessor :highestSeverity
|
268
|
+
attr_accessor :notifications
|
269
|
+
attr_accessor :transactionDetail
|
270
|
+
attr_accessor :version
|
271
|
+
attr_accessor :codReport
|
272
|
+
attr_accessor :hazMatCertificate
|
273
|
+
attr_accessor :manifest
|
274
|
+
attr_accessor :multiweightReport
|
275
|
+
|
276
|
+
def initialize(highestSeverity = nil, notifications = [], transactionDetail = nil, version = nil, codReport = nil, hazMatCertificate = nil, manifest = nil, multiweightReport = nil)
|
277
|
+
@highestSeverity = highestSeverity
|
278
|
+
@notifications = notifications
|
279
|
+
@transactionDetail = transactionDetail
|
280
|
+
@version = version
|
281
|
+
@codReport = codReport
|
282
|
+
@hazMatCertificate = hazMatCertificate
|
283
|
+
@manifest = manifest
|
284
|
+
@multiweightReport = multiweightReport
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
# {http://fedex.com/ws/close/v4}GroundCloseReportsReprintReply
|
289
|
+
# highestSeverity - FedexWebServices::Soap::Close::NotificationSeverityType
|
290
|
+
# notifications - FedexWebServices::Soap::Close::Notification
|
291
|
+
# transactionDetail - FedexWebServices::Soap::Close::TransactionDetail
|
292
|
+
# version - FedexWebServices::Soap::Close::VersionId
|
293
|
+
# codReport - SOAP::SOAPBase64
|
294
|
+
# hazMatCertificate - SOAP::SOAPBase64
|
295
|
+
# manifests - FedexWebServices::Soap::Close::ManifestFile
|
296
|
+
class GroundCloseReportsReprintReply
|
297
|
+
attr_accessor :highestSeverity
|
298
|
+
attr_accessor :notifications
|
299
|
+
attr_accessor :transactionDetail
|
300
|
+
attr_accessor :version
|
301
|
+
attr_accessor :codReport
|
302
|
+
attr_accessor :hazMatCertificate
|
303
|
+
attr_accessor :manifests
|
304
|
+
|
305
|
+
def initialize(highestSeverity = nil, notifications = [], transactionDetail = nil, version = nil, codReport = nil, hazMatCertificate = nil, manifests = [])
|
306
|
+
@highestSeverity = highestSeverity
|
307
|
+
@notifications = notifications
|
308
|
+
@transactionDetail = transactionDetail
|
309
|
+
@version = version
|
310
|
+
@codReport = codReport
|
311
|
+
@hazMatCertificate = hazMatCertificate
|
312
|
+
@manifests = manifests
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
# {http://fedex.com/ws/close/v4}GroundCloseReportsReprintRequest
|
317
|
+
# webAuthenticationDetail - FedexWebServices::Soap::Close::WebAuthenticationDetail
|
318
|
+
# clientDetail - FedexWebServices::Soap::Close::ClientDetail
|
319
|
+
# transactionDetail - FedexWebServices::Soap::Close::TransactionDetail
|
320
|
+
# version - FedexWebServices::Soap::Close::VersionId
|
321
|
+
# reportDate - SOAP::SOAPDate
|
322
|
+
# trackingNumber - SOAP::SOAPString
|
323
|
+
# closeReportType - FedexWebServices::Soap::Close::CloseReportType
|
324
|
+
class GroundCloseReportsReprintRequest
|
325
|
+
attr_accessor :webAuthenticationDetail
|
326
|
+
attr_accessor :clientDetail
|
327
|
+
attr_accessor :transactionDetail
|
328
|
+
attr_accessor :version
|
329
|
+
attr_accessor :reportDate
|
330
|
+
attr_accessor :trackingNumber
|
331
|
+
attr_accessor :closeReportType
|
332
|
+
|
333
|
+
def initialize(webAuthenticationDetail = nil, clientDetail = nil, transactionDetail = nil, version = nil, reportDate = nil, trackingNumber = nil, closeReportType = nil)
|
334
|
+
@webAuthenticationDetail = webAuthenticationDetail
|
335
|
+
@clientDetail = clientDetail
|
336
|
+
@transactionDetail = transactionDetail
|
337
|
+
@version = version
|
338
|
+
@reportDate = reportDate
|
339
|
+
@trackingNumber = trackingNumber
|
340
|
+
@closeReportType = closeReportType
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
344
|
+
# {http://fedex.com/ws/close/v4}GroundCloseRequest
|
345
|
+
# webAuthenticationDetail - FedexWebServices::Soap::Close::WebAuthenticationDetail
|
346
|
+
# clientDetail - FedexWebServices::Soap::Close::ClientDetail
|
347
|
+
# transactionDetail - FedexWebServices::Soap::Close::TransactionDetail
|
348
|
+
# version - FedexWebServices::Soap::Close::VersionId
|
349
|
+
# closeGrouping - FedexWebServices::Soap::Close::CloseGroupingType
|
350
|
+
# timeUpToWhichShipmentsAreToBeClosed - SOAP::SOAPDateTime
|
351
|
+
# manifestReferenceDetail - FedexWebServices::Soap::Close::CloseManifestReferenceDetail
|
352
|
+
class GroundCloseRequest
|
353
|
+
attr_accessor :webAuthenticationDetail
|
354
|
+
attr_accessor :clientDetail
|
355
|
+
attr_accessor :transactionDetail
|
356
|
+
attr_accessor :version
|
357
|
+
attr_accessor :closeGrouping
|
358
|
+
attr_accessor :timeUpToWhichShipmentsAreToBeClosed
|
359
|
+
attr_accessor :manifestReferenceDetail
|
360
|
+
|
361
|
+
def initialize(webAuthenticationDetail = nil, clientDetail = nil, transactionDetail = nil, version = nil, closeGrouping = nil, timeUpToWhichShipmentsAreToBeClosed = nil, manifestReferenceDetail = nil)
|
362
|
+
@webAuthenticationDetail = webAuthenticationDetail
|
363
|
+
@clientDetail = clientDetail
|
364
|
+
@transactionDetail = transactionDetail
|
365
|
+
@version = version
|
366
|
+
@closeGrouping = closeGrouping
|
367
|
+
@timeUpToWhichShipmentsAreToBeClosed = timeUpToWhichShipmentsAreToBeClosed
|
368
|
+
@manifestReferenceDetail = manifestReferenceDetail
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
372
|
+
# {http://fedex.com/ws/close/v4}GroundCloseWithDocumentsRequest
|
373
|
+
# webAuthenticationDetail - FedexWebServices::Soap::Close::WebAuthenticationDetail
|
374
|
+
# clientDetail - FedexWebServices::Soap::Close::ClientDetail
|
375
|
+
# transactionDetail - FedexWebServices::Soap::Close::TransactionDetail
|
376
|
+
# version - FedexWebServices::Soap::Close::VersionId
|
377
|
+
# closeDate - SOAP::SOAPDate
|
378
|
+
# closeDocumentSpecification - FedexWebServices::Soap::Close::CloseDocumentSpecification
|
379
|
+
class GroundCloseWithDocumentsRequest
|
380
|
+
attr_accessor :webAuthenticationDetail
|
381
|
+
attr_accessor :clientDetail
|
382
|
+
attr_accessor :transactionDetail
|
383
|
+
attr_accessor :version
|
384
|
+
attr_accessor :closeDate
|
385
|
+
attr_accessor :closeDocumentSpecification
|
386
|
+
|
387
|
+
def initialize(webAuthenticationDetail = nil, clientDetail = nil, transactionDetail = nil, version = nil, closeDate = nil, closeDocumentSpecification = nil)
|
388
|
+
@webAuthenticationDetail = webAuthenticationDetail
|
389
|
+
@clientDetail = clientDetail
|
390
|
+
@transactionDetail = transactionDetail
|
391
|
+
@version = version
|
392
|
+
@closeDate = closeDate
|
393
|
+
@closeDocumentSpecification = closeDocumentSpecification
|
394
|
+
end
|
395
|
+
end
|
396
|
+
|
397
|
+
# {http://fedex.com/ws/close/v4}LinearMeasure
|
398
|
+
# value - SOAP::SOAPDecimal
|
399
|
+
# units - FedexWebServices::Soap::Close::LinearUnits
|
400
|
+
class LinearMeasure
|
401
|
+
attr_accessor :value
|
402
|
+
attr_accessor :units
|
403
|
+
|
404
|
+
def initialize(value = nil, units = nil)
|
405
|
+
@value = value
|
406
|
+
@units = units
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
# {http://fedex.com/ws/close/v4}Localization
|
411
|
+
# languageCode - SOAP::SOAPString
|
412
|
+
# localeCode - SOAP::SOAPString
|
413
|
+
class Localization
|
414
|
+
attr_accessor :languageCode
|
415
|
+
attr_accessor :localeCode
|
416
|
+
|
417
|
+
def initialize(languageCode = nil, localeCode = nil)
|
418
|
+
@languageCode = languageCode
|
419
|
+
@localeCode = localeCode
|
420
|
+
end
|
421
|
+
end
|
422
|
+
|
423
|
+
# {http://fedex.com/ws/close/v4}ManifestDetail
|
424
|
+
# format - FedexWebServices::Soap::Close::CloseDocumentFormat
|
425
|
+
class ManifestDetail
|
426
|
+
attr_accessor :format
|
427
|
+
|
428
|
+
def initialize(format = nil)
|
429
|
+
@format = format
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
433
|
+
# {http://fedex.com/ws/close/v4}ManifestFile
|
434
|
+
# fileName - SOAP::SOAPString
|
435
|
+
# file - SOAP::SOAPBase64
|
436
|
+
class ManifestFile
|
437
|
+
attr_accessor :fileName
|
438
|
+
attr_accessor :file
|
439
|
+
|
440
|
+
def initialize(fileName = nil, file = nil)
|
441
|
+
@fileName = fileName
|
442
|
+
@file = file
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
# {http://fedex.com/ws/close/v4}Notification
|
447
|
+
# severity - FedexWebServices::Soap::Close::NotificationSeverityType
|
448
|
+
# source - SOAP::SOAPString
|
449
|
+
# code - SOAP::SOAPString
|
450
|
+
# message - SOAP::SOAPString
|
451
|
+
# localizedMessage - SOAP::SOAPString
|
452
|
+
# messageParameters - FedexWebServices::Soap::Close::NotificationParameter
|
453
|
+
class Notification
|
454
|
+
attr_accessor :severity
|
455
|
+
attr_accessor :source
|
456
|
+
attr_accessor :code
|
457
|
+
attr_accessor :message
|
458
|
+
attr_accessor :localizedMessage
|
459
|
+
attr_accessor :messageParameters
|
460
|
+
|
461
|
+
def initialize(severity = nil, source = nil, code = nil, message = nil, localizedMessage = nil, messageParameters = [])
|
462
|
+
@severity = severity
|
463
|
+
@source = source
|
464
|
+
@code = code
|
465
|
+
@message = message
|
466
|
+
@localizedMessage = localizedMessage
|
467
|
+
@messageParameters = messageParameters
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
471
|
+
# {http://fedex.com/ws/close/v4}NotificationParameter
|
472
|
+
# id - SOAP::SOAPString
|
473
|
+
# value - SOAP::SOAPString
|
474
|
+
class NotificationParameter
|
475
|
+
attr_accessor :id
|
476
|
+
attr_accessor :value
|
477
|
+
|
478
|
+
def initialize(id = nil, value = nil)
|
479
|
+
@id = id
|
480
|
+
@value = value
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
484
|
+
# {http://fedex.com/ws/close/v4}Op950Detail
|
485
|
+
# format - FedexWebServices::Soap::Close::CloseDocumentFormat
|
486
|
+
# customerImageUsages - FedexWebServices::Soap::Close::CustomerImageUsage
|
487
|
+
# signatureName - SOAP::SOAPString
|
488
|
+
class Op950Detail
|
489
|
+
attr_accessor :format
|
490
|
+
attr_accessor :customerImageUsages
|
491
|
+
attr_accessor :signatureName
|
492
|
+
|
493
|
+
def initialize(format = nil, customerImageUsages = [], signatureName = nil)
|
494
|
+
@format = format
|
495
|
+
@customerImageUsages = customerImageUsages
|
496
|
+
@signatureName = signatureName
|
497
|
+
end
|
498
|
+
end
|
499
|
+
|
500
|
+
# {http://fedex.com/ws/close/v4}ReprintGroundCloseDocumentsRequest
|
501
|
+
# webAuthenticationDetail - FedexWebServices::Soap::Close::WebAuthenticationDetail
|
502
|
+
# clientDetail - FedexWebServices::Soap::Close::ClientDetail
|
503
|
+
# transactionDetail - FedexWebServices::Soap::Close::TransactionDetail
|
504
|
+
# version - FedexWebServices::Soap::Close::VersionId
|
505
|
+
# reprintOption - FedexWebServices::Soap::Close::ReprintGroundCloseDocumentsOptionType
|
506
|
+
# closeDate - SOAP::SOAPDate
|
507
|
+
# trackingNumber - SOAP::SOAPString
|
508
|
+
# closeDocumentSpecification - FedexWebServices::Soap::Close::CloseDocumentSpecification
|
509
|
+
class ReprintGroundCloseDocumentsRequest
|
510
|
+
attr_accessor :webAuthenticationDetail
|
511
|
+
attr_accessor :clientDetail
|
512
|
+
attr_accessor :transactionDetail
|
513
|
+
attr_accessor :version
|
514
|
+
attr_accessor :reprintOption
|
515
|
+
attr_accessor :closeDate
|
516
|
+
attr_accessor :trackingNumber
|
517
|
+
attr_accessor :closeDocumentSpecification
|
518
|
+
|
519
|
+
def initialize(webAuthenticationDetail = nil, clientDetail = nil, transactionDetail = nil, version = nil, reprintOption = nil, closeDate = nil, trackingNumber = nil, closeDocumentSpecification = nil)
|
520
|
+
@webAuthenticationDetail = webAuthenticationDetail
|
521
|
+
@clientDetail = clientDetail
|
522
|
+
@transactionDetail = transactionDetail
|
523
|
+
@version = version
|
524
|
+
@reprintOption = reprintOption
|
525
|
+
@closeDate = closeDate
|
526
|
+
@trackingNumber = trackingNumber
|
527
|
+
@closeDocumentSpecification = closeDocumentSpecification
|
528
|
+
end
|
529
|
+
end
|
530
|
+
|
531
|
+
# {http://fedex.com/ws/close/v4}ShippingDocumentDispositionDetail
|
532
|
+
# dispositionType - FedexWebServices::Soap::Close::ShippingDocumentDispositionType
|
533
|
+
# grouping - FedexWebServices::Soap::Close::ShippingDocumentGroupingType
|
534
|
+
# storageDetail - FedexWebServices::Soap::Close::ShippingDocumentStorageDetail
|
535
|
+
# eMailDetail - FedexWebServices::Soap::Close::ShippingDocumentEMailDetail
|
536
|
+
# printDetail - FedexWebServices::Soap::Close::ShippingDocumentPrintDetail
|
537
|
+
class ShippingDocumentDispositionDetail
|
538
|
+
attr_accessor :dispositionType
|
539
|
+
attr_accessor :grouping
|
540
|
+
attr_accessor :storageDetail
|
541
|
+
attr_accessor :eMailDetail
|
542
|
+
attr_accessor :printDetail
|
543
|
+
|
544
|
+
def initialize(dispositionType = nil, grouping = nil, storageDetail = nil, eMailDetail = nil, printDetail = nil)
|
545
|
+
@dispositionType = dispositionType
|
546
|
+
@grouping = grouping
|
547
|
+
@storageDetail = storageDetail
|
548
|
+
@eMailDetail = eMailDetail
|
549
|
+
@printDetail = printDetail
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
553
|
+
# {http://fedex.com/ws/close/v4}ShippingDocumentEMailDetail
|
554
|
+
# eMailRecipients - FedexWebServices::Soap::Close::ShippingDocumentEMailRecipient
|
555
|
+
# grouping - FedexWebServices::Soap::Close::ShippingDocumentEMailGroupingType
|
556
|
+
# localization - FedexWebServices::Soap::Close::Localization
|
557
|
+
class ShippingDocumentEMailDetail
|
558
|
+
attr_accessor :eMailRecipients
|
559
|
+
attr_accessor :grouping
|
560
|
+
attr_accessor :localization
|
561
|
+
|
562
|
+
def initialize(eMailRecipients = [], grouping = nil, localization = nil)
|
563
|
+
@eMailRecipients = eMailRecipients
|
564
|
+
@grouping = grouping
|
565
|
+
@localization = localization
|
566
|
+
end
|
567
|
+
end
|
568
|
+
|
569
|
+
# {http://fedex.com/ws/close/v4}ShippingDocumentEMailRecipient
|
570
|
+
# recipientType - FedexWebServices::Soap::Close::EMailNotificationRecipientType
|
571
|
+
# address - SOAP::SOAPString
|
572
|
+
class ShippingDocumentEMailRecipient
|
573
|
+
attr_accessor :recipientType
|
574
|
+
attr_accessor :address
|
575
|
+
|
576
|
+
def initialize(recipientType = nil, address = nil)
|
577
|
+
@recipientType = recipientType
|
578
|
+
@address = address
|
579
|
+
end
|
580
|
+
end
|
581
|
+
|
582
|
+
# {http://fedex.com/ws/close/v4}ShippingDocumentPart
|
583
|
+
# documentPartSequenceNumber - SOAP::SOAPPositiveInteger
|
584
|
+
# image - SOAP::SOAPBase64
|
585
|
+
class ShippingDocumentPart
|
586
|
+
attr_accessor :documentPartSequenceNumber
|
587
|
+
attr_accessor :image
|
588
|
+
|
589
|
+
def initialize(documentPartSequenceNumber = nil, image = nil)
|
590
|
+
@documentPartSequenceNumber = documentPartSequenceNumber
|
591
|
+
@image = image
|
592
|
+
end
|
593
|
+
end
|
594
|
+
|
595
|
+
# {http://fedex.com/ws/close/v4}ShippingDocumentPrintDetail
|
596
|
+
# printerId - SOAP::SOAPString
|
597
|
+
class ShippingDocumentPrintDetail
|
598
|
+
attr_accessor :printerId
|
599
|
+
|
600
|
+
def initialize(printerId = nil)
|
601
|
+
@printerId = printerId
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
605
|
+
# {http://fedex.com/ws/close/v4}ShippingDocumentStorageDetail
|
606
|
+
# filePath - SOAP::SOAPString
|
607
|
+
# fileNaming - FedexWebServices::Soap::Close::ShippingDocumentNamingType
|
608
|
+
# fileSuffix - SOAP::SOAPString
|
609
|
+
class ShippingDocumentStorageDetail
|
610
|
+
attr_accessor :filePath
|
611
|
+
attr_accessor :fileNaming
|
612
|
+
attr_accessor :fileSuffix
|
613
|
+
|
614
|
+
def initialize(filePath = nil, fileNaming = nil, fileSuffix = nil)
|
615
|
+
@filePath = filePath
|
616
|
+
@fileNaming = fileNaming
|
617
|
+
@fileSuffix = fileSuffix
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
621
|
+
# {http://fedex.com/ws/close/v4}SmartPostCloseReply
|
622
|
+
# highestSeverity - FedexWebServices::Soap::Close::NotificationSeverityType
|
623
|
+
# notifications - FedexWebServices::Soap::Close::Notification
|
624
|
+
# transactionDetail - FedexWebServices::Soap::Close::TransactionDetail
|
625
|
+
# version - FedexWebServices::Soap::Close::VersionId
|
626
|
+
class SmartPostCloseReply
|
627
|
+
attr_accessor :highestSeverity
|
628
|
+
attr_accessor :notifications
|
629
|
+
attr_accessor :transactionDetail
|
630
|
+
attr_accessor :version
|
631
|
+
|
632
|
+
def initialize(highestSeverity = nil, notifications = [], transactionDetail = nil, version = nil)
|
633
|
+
@highestSeverity = highestSeverity
|
634
|
+
@notifications = notifications
|
635
|
+
@transactionDetail = transactionDetail
|
636
|
+
@version = version
|
637
|
+
end
|
638
|
+
end
|
639
|
+
|
640
|
+
# {http://fedex.com/ws/close/v4}SmartPostCloseRequest
|
641
|
+
# webAuthenticationDetail - FedexWebServices::Soap::Close::WebAuthenticationDetail
|
642
|
+
# clientDetail - FedexWebServices::Soap::Close::ClientDetail
|
643
|
+
# transactionDetail - FedexWebServices::Soap::Close::TransactionDetail
|
644
|
+
# version - FedexWebServices::Soap::Close::VersionId
|
645
|
+
# hubId - SOAP::SOAPString
|
646
|
+
# customerManifestId - SOAP::SOAPString
|
647
|
+
# destinationCountryCode - SOAP::SOAPString
|
648
|
+
# pickUpCarrier - FedexWebServices::Soap::Close::CarrierCodeType
|
649
|
+
# manifestReferenceDetail - FedexWebServices::Soap::Close::CloseManifestReferenceDetail
|
650
|
+
class SmartPostCloseRequest
|
651
|
+
attr_accessor :webAuthenticationDetail
|
652
|
+
attr_accessor :clientDetail
|
653
|
+
attr_accessor :transactionDetail
|
654
|
+
attr_accessor :version
|
655
|
+
attr_accessor :hubId
|
656
|
+
attr_accessor :customerManifestId
|
657
|
+
attr_accessor :destinationCountryCode
|
658
|
+
attr_accessor :pickUpCarrier
|
659
|
+
attr_accessor :manifestReferenceDetail
|
660
|
+
|
661
|
+
def initialize(webAuthenticationDetail = nil, clientDetail = nil, transactionDetail = nil, version = nil, hubId = nil, customerManifestId = nil, destinationCountryCode = nil, pickUpCarrier = nil, manifestReferenceDetail = nil)
|
662
|
+
@webAuthenticationDetail = webAuthenticationDetail
|
663
|
+
@clientDetail = clientDetail
|
664
|
+
@transactionDetail = transactionDetail
|
665
|
+
@version = version
|
666
|
+
@hubId = hubId
|
667
|
+
@customerManifestId = customerManifestId
|
668
|
+
@destinationCountryCode = destinationCountryCode
|
669
|
+
@pickUpCarrier = pickUpCarrier
|
670
|
+
@manifestReferenceDetail = manifestReferenceDetail
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
674
|
+
# {http://fedex.com/ws/close/v4}TransactionDetail
|
675
|
+
# customerTransactionId - SOAP::SOAPString
|
676
|
+
# localization - FedexWebServices::Soap::Close::Localization
|
677
|
+
class TransactionDetail
|
678
|
+
attr_accessor :customerTransactionId
|
679
|
+
attr_accessor :localization
|
680
|
+
|
681
|
+
def initialize(customerTransactionId = nil, localization = nil)
|
682
|
+
@customerTransactionId = customerTransactionId
|
683
|
+
@localization = localization
|
684
|
+
end
|
685
|
+
end
|
686
|
+
|
687
|
+
# {http://fedex.com/ws/close/v4}WebAuthenticationDetail
|
688
|
+
# parentCredential - FedexWebServices::Soap::Close::WebAuthenticationCredential
|
689
|
+
# userCredential - FedexWebServices::Soap::Close::WebAuthenticationCredential
|
690
|
+
class WebAuthenticationDetail
|
691
|
+
attr_accessor :parentCredential
|
692
|
+
attr_accessor :userCredential
|
693
|
+
|
694
|
+
def initialize(parentCredential = nil, userCredential = nil)
|
695
|
+
@parentCredential = parentCredential
|
696
|
+
@userCredential = userCredential
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
700
|
+
# {http://fedex.com/ws/close/v4}WebAuthenticationCredential
|
701
|
+
# key - SOAP::SOAPString
|
702
|
+
# password - SOAP::SOAPString
|
703
|
+
class WebAuthenticationCredential
|
704
|
+
attr_accessor :key
|
705
|
+
attr_accessor :password
|
706
|
+
|
707
|
+
def initialize(key = nil, password = nil)
|
708
|
+
@key = key
|
709
|
+
@password = password
|
710
|
+
end
|
711
|
+
end
|
712
|
+
|
713
|
+
# {http://fedex.com/ws/close/v4}VersionId
|
714
|
+
# serviceId - SOAP::SOAPString
|
715
|
+
# major - SOAP::SOAPInt
|
716
|
+
# intermediate - SOAP::SOAPInt
|
717
|
+
# minor - SOAP::SOAPInt
|
718
|
+
class VersionId
|
719
|
+
attr_accessor :serviceId
|
720
|
+
attr_accessor :major
|
721
|
+
attr_accessor :intermediate
|
722
|
+
attr_accessor :minor
|
723
|
+
|
724
|
+
def initialize(serviceId = nil, major = nil, intermediate = nil, minor = nil)
|
725
|
+
@serviceId = serviceId
|
726
|
+
@major = major
|
727
|
+
@intermediate = intermediate
|
728
|
+
@minor = minor
|
729
|
+
end
|
730
|
+
end
|
731
|
+
|
732
|
+
# {http://fedex.com/ws/close/v4}CarrierCodeType
|
733
|
+
class CarrierCodeType < ::String
|
734
|
+
FDXC = new("FDXC")
|
735
|
+
FDXE = new("FDXE")
|
736
|
+
FDXG = new("FDXG")
|
737
|
+
FXCC = new("FXCC")
|
738
|
+
FXFR = new("FXFR")
|
739
|
+
FXSP = new("FXSP")
|
740
|
+
end
|
741
|
+
|
742
|
+
# {http://fedex.com/ws/close/v4}CloseActionType
|
743
|
+
class CloseActionType < ::String
|
744
|
+
CLOSE = new("CLOSE")
|
745
|
+
PREVIEW_CLOSE_DOCUMENTS = new("PREVIEW_CLOSE_DOCUMENTS")
|
746
|
+
REPRINT_CLOSE_DOCUMENTS = new("REPRINT_CLOSE_DOCUMENTS")
|
747
|
+
end
|
748
|
+
|
749
|
+
# {http://fedex.com/ws/close/v4}CloseDocumentType
|
750
|
+
class CloseDocumentType < ::String
|
751
|
+
COD_REPORT = new("COD_REPORT")
|
752
|
+
DETAILED_DELIVERY_MANIFEST = new("DETAILED_DELIVERY_MANIFEST")
|
753
|
+
MANIFEST = new("MANIFEST")
|
754
|
+
MULTIWEIGHT_REPORT = new("MULTIWEIGHT_REPORT")
|
755
|
+
OP_950 = new("OP_950")
|
756
|
+
end
|
757
|
+
|
758
|
+
# {http://fedex.com/ws/close/v4}CloseGroupingType
|
759
|
+
class CloseGroupingType < ::String
|
760
|
+
MANIFEST_REFERENCE = new("MANIFEST_REFERENCE")
|
761
|
+
SHIPPING_CYCLE = new("SHIPPING_CYCLE")
|
762
|
+
TIME = new("TIME")
|
763
|
+
end
|
764
|
+
|
765
|
+
# {http://fedex.com/ws/close/v4}CloseReportType
|
766
|
+
class CloseReportType < ::String
|
767
|
+
ALL = new("ALL")
|
768
|
+
COD = new("COD")
|
769
|
+
HAZMAT = new("HAZMAT")
|
770
|
+
MANIFEST = new("MANIFEST")
|
771
|
+
MULTIWEIGHT = new("MULTIWEIGHT")
|
772
|
+
end
|
773
|
+
|
774
|
+
# {http://fedex.com/ws/close/v4}CloseWithDocumentsProcessingOptionType
|
775
|
+
class CloseWithDocumentsProcessingOptionType < ::String
|
776
|
+
ERROR_IF_OPEN_SHIPMENTS_FOUND = new("ERROR_IF_OPEN_SHIPMENTS_FOUND")
|
777
|
+
WARNING_IF_OPEN_SHIPMENTS_FOUND = new("WARNING_IF_OPEN_SHIPMENTS_FOUND")
|
778
|
+
end
|
779
|
+
|
780
|
+
# {http://fedex.com/ws/close/v4}CustomerImageUsageType
|
781
|
+
class CustomerImageUsageType < ::String
|
782
|
+
LETTER_HEAD = new("LETTER_HEAD")
|
783
|
+
SIGNATURE = new("SIGNATURE")
|
784
|
+
end
|
785
|
+
|
786
|
+
# {http://fedex.com/ws/close/v4}CustomerReferenceType
|
787
|
+
class CustomerReferenceType < ::String
|
788
|
+
BILL_OF_LADING = new("BILL_OF_LADING")
|
789
|
+
CUSTOMER_REFERENCE = new("CUSTOMER_REFERENCE")
|
790
|
+
DEPARTMENT_NUMBER = new("DEPARTMENT_NUMBER")
|
791
|
+
ELECTRONIC_PRODUCT_CODE = new("ELECTRONIC_PRODUCT_CODE")
|
792
|
+
INTRACOUNTRY_REGULATORY_REFERENCE = new("INTRACOUNTRY_REGULATORY_REFERENCE")
|
793
|
+
INVOICE_NUMBER = new("INVOICE_NUMBER")
|
794
|
+
PACKING_SLIP_NUMBER = new("PACKING_SLIP_NUMBER")
|
795
|
+
P_O_NUMBER = new("P_O_NUMBER")
|
796
|
+
RMA_ASSOCIATION = new("RMA_ASSOCIATION")
|
797
|
+
SHIPMENT_INTEGRITY = new("SHIPMENT_INTEGRITY")
|
798
|
+
STORE_NUMBER = new("STORE_NUMBER")
|
799
|
+
end
|
800
|
+
|
801
|
+
# {http://fedex.com/ws/close/v4}EMailNotificationRecipientType
|
802
|
+
class EMailNotificationRecipientType < ::String
|
803
|
+
BROKER = new("BROKER")
|
804
|
+
OTHER = new("OTHER")
|
805
|
+
RECIPIENT = new("RECIPIENT")
|
806
|
+
SHIPPER = new("SHIPPER")
|
807
|
+
THIRD_PARTY = new("THIRD_PARTY")
|
808
|
+
end
|
809
|
+
|
810
|
+
# {http://fedex.com/ws/close/v4}ImageId
|
811
|
+
class ImageId < ::String
|
812
|
+
IMAGE_1 = new("IMAGE_1")
|
813
|
+
IMAGE_2 = new("IMAGE_2")
|
814
|
+
IMAGE_3 = new("IMAGE_3")
|
815
|
+
IMAGE_4 = new("IMAGE_4")
|
816
|
+
IMAGE_5 = new("IMAGE_5")
|
817
|
+
end
|
818
|
+
|
819
|
+
# {http://fedex.com/ws/close/v4}InternalImageType
|
820
|
+
class InternalImageType < ::String
|
821
|
+
LETTER_HEAD = new("LETTER_HEAD")
|
822
|
+
SIGNATURE = new("SIGNATURE")
|
823
|
+
end
|
824
|
+
|
825
|
+
# {http://fedex.com/ws/close/v4}LinearUnits
|
826
|
+
class LinearUnits < ::String
|
827
|
+
CM = new("CM")
|
828
|
+
IN = new("IN")
|
829
|
+
end
|
830
|
+
|
831
|
+
# {http://fedex.com/ws/close/v4}NotificationSeverityType
|
832
|
+
class NotificationSeverityType < ::String
|
833
|
+
ERROR = new("ERROR")
|
834
|
+
FAILURE = new("FAILURE")
|
835
|
+
NOTE = new("NOTE")
|
836
|
+
SUCCESS = new("SUCCESS")
|
837
|
+
WARNING = new("WARNING")
|
838
|
+
end
|
839
|
+
|
840
|
+
# {http://fedex.com/ws/close/v4}ReprintGroundCloseDocumentsOptionType
|
841
|
+
class ReprintGroundCloseDocumentsOptionType < ::String
|
842
|
+
BY_SHIP_DATE = new("BY_SHIP_DATE")
|
843
|
+
BY_TRACKING_NUMBER = new("BY_TRACKING_NUMBER")
|
844
|
+
end
|
845
|
+
|
846
|
+
# {http://fedex.com/ws/close/v4}ShippingDocumentDispositionType
|
847
|
+
class ShippingDocumentDispositionType < ::String
|
848
|
+
CONFIRMED = new("CONFIRMED")
|
849
|
+
DEFERRED_QUEUED = new("DEFERRED_QUEUED")
|
850
|
+
DEFERRED_RETURNED = new("DEFERRED_RETURNED")
|
851
|
+
DEFERRED_STORED = new("DEFERRED_STORED")
|
852
|
+
EMAILED = new("EMAILED")
|
853
|
+
QUEUED = new("QUEUED")
|
854
|
+
RETURNED = new("RETURNED")
|
855
|
+
STORED = new("STORED")
|
856
|
+
end
|
857
|
+
|
858
|
+
# {http://fedex.com/ws/close/v4}ShippingDocumentEMailGroupingType
|
859
|
+
class ShippingDocumentEMailGroupingType < ::String
|
860
|
+
BY_RECIPIENT = new("BY_RECIPIENT")
|
861
|
+
NONE = new("NONE")
|
862
|
+
end
|
863
|
+
|
864
|
+
# {http://fedex.com/ws/close/v4}ShippingDocumentGroupingType
|
865
|
+
class ShippingDocumentGroupingType < ::String
|
866
|
+
CONSOLIDATED_BY_DOCUMENT_TYPE = new("CONSOLIDATED_BY_DOCUMENT_TYPE")
|
867
|
+
CONSOLIDATED_BY_IMAGE_TYPE = new("CONSOLIDATED_BY_IMAGE_TYPE")
|
868
|
+
INDIVIDUAL = new("INDIVIDUAL")
|
869
|
+
end
|
870
|
+
|
871
|
+
# {http://fedex.com/ws/close/v4}ShippingDocumentImageType
|
872
|
+
class ShippingDocumentImageType < ::String
|
873
|
+
DIB = new("DIB")
|
874
|
+
DOC = new("DOC")
|
875
|
+
DPL = new("DPL")
|
876
|
+
EPL2 = new("EPL2")
|
877
|
+
GIF = new("GIF")
|
878
|
+
PDF = new("PDF")
|
879
|
+
PNG = new("PNG")
|
880
|
+
RTF = new("RTF")
|
881
|
+
TEXT = new("TEXT")
|
882
|
+
ZPLII = new("ZPLII")
|
883
|
+
end
|
884
|
+
|
885
|
+
# {http://fedex.com/ws/close/v4}ShippingDocumentNamingType
|
886
|
+
class ShippingDocumentNamingType < ::String
|
887
|
+
FAST = new("FAST")
|
888
|
+
LEGACY_FXRS = new("LEGACY_FXRS")
|
889
|
+
end
|
890
|
+
|
891
|
+
# {http://fedex.com/ws/close/v4}ShippingDocumentStockType
|
892
|
+
class ShippingDocumentStockType < ::String
|
893
|
+
OP_900_LG = new("OP_900_LG")
|
894
|
+
OP_900_LG_B = new("OP_900_LG_B")
|
895
|
+
OP_900_LL = new("OP_900_LL")
|
896
|
+
OP_900_LL_B = new("OP_900_LL_B")
|
897
|
+
OP_950 = new("OP_950")
|
898
|
+
PAPER_4X6 = new("PAPER_4X6")
|
899
|
+
PAPER_4_PER_PAGE_PORTRAIT = new("PAPER_4_PER_PAGE_PORTRAIT")
|
900
|
+
PAPER_LETTER = new("PAPER_LETTER")
|
901
|
+
STOCK_4X6 = new("STOCK_4X6")
|
902
|
+
STOCK_4X675_LEADING_DOC_TAB = new("STOCK_4X6.75_LEADING_DOC_TAB")
|
903
|
+
STOCK_4X675_TRAILING_DOC_TAB = new("STOCK_4X6.75_TRAILING_DOC_TAB")
|
904
|
+
STOCK_4X8 = new("STOCK_4X8")
|
905
|
+
STOCK_4X9_LEADING_DOC_TAB = new("STOCK_4X9_LEADING_DOC_TAB")
|
906
|
+
STOCK_4X9_TRAILING_DOC_TAB = new("STOCK_4X9_TRAILING_DOC_TAB")
|
907
|
+
end
|
908
|
+
|
909
|
+
|
910
|
+
end; end; end
|