g4s_client 0.1.2
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.
- data/.DS_Store +0 -0
- data/.gitignore +1 -0
- data/Gemfile +4 -0
- data/README +0 -0
- data/Rakefile +2 -0
- data/g4s_client.gemspec +36 -0
- data/lib/g4s/g4s.rb +29 -0
- data/lib/g4s/shipping/IPSShippingClient.rb +89 -0
- data/lib/g4s/shipping/default.rb +533 -0
- data/lib/g4s/shipping/defaultDriver.rb +63 -0
- data/lib/g4s/shipping/defaultMappingRegistry.rb +581 -0
- data/lib/g4s/tracking/IPSTrackingClient.rb +137 -0
- data/lib/g4s/tracking/default.rb +831 -0
- data/lib/g4s/tracking/defaultDriver.rb +79 -0
- data/lib/g4s/tracking/defaultMappingRegistry.rb +872 -0
- data/lib/g4s/utilities/IPSUtilitiesClient.rb +545 -0
- data/lib/g4s/utilities/default.rb +517 -0
- data/lib/g4s/utilities/defaultDriver.rb +215 -0
- data/lib/g4s/utilities/defaultMappingRegistry.rb +510 -0
- data/lib/g4s/version.rb +3 -0
- data/notes.txt +18 -0
- metadata +87 -0
@@ -0,0 +1,831 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
# {http://tempuri.org/}ShipmentTrackingResponse
|
4
|
+
# trackingResponse - TrackingResponse
|
5
|
+
# trackingResponseErrorCode - SOAP::SOAPString
|
6
|
+
# trackingResponseError - SOAP::SOAPString
|
7
|
+
class ShipmentTrackingResponse
|
8
|
+
attr_accessor :trackingResponse
|
9
|
+
attr_accessor :trackingResponseErrorCode
|
10
|
+
attr_accessor :trackingResponseError
|
11
|
+
|
12
|
+
def initialize(trackingResponse = nil, trackingResponseErrorCode = nil, trackingResponseError = nil)
|
13
|
+
@trackingResponse = trackingResponse
|
14
|
+
@trackingResponseErrorCode = trackingResponseErrorCode
|
15
|
+
@trackingResponseError = trackingResponseError
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
# {http://tempuri.org/}ShipmentRequest
|
20
|
+
# commodityCollection - ArrayOfCommodityList
|
21
|
+
# carrierName - SOAP::SOAPString
|
22
|
+
# shipmentDate - SOAP::SOAPDateTime
|
23
|
+
# billFreightTo - SOAP::SOAPString
|
24
|
+
# serviceLevelName - SOAP::SOAPString
|
25
|
+
# packageTypeName - SOAP::SOAPString
|
26
|
+
# declaredWeight - SOAP::SOAPDouble
|
27
|
+
# declareValue - SOAP::SOAPDouble
|
28
|
+
# weightType - SOAP::SOAPString
|
29
|
+
# description - SOAP::SOAPString
|
30
|
+
# dimensions - SOAP::SOAPString
|
31
|
+
# dimensionUnitType - SOAP::SOAPString
|
32
|
+
# thermalPrinter - SOAP::SOAPBoolean
|
33
|
+
# sEDNumber - SOAP::SOAPString
|
34
|
+
# dutiesPayorType - SOAP::SOAPString
|
35
|
+
# recipientAddress - Address
|
36
|
+
# saveNewRecipientAddress - SOAP::SOAPBoolean
|
37
|
+
# shipperAddress - Address
|
38
|
+
# cODAmount - SOAP::SOAPDouble
|
39
|
+
# holdAtLocation - SOAP::SOAPBoolean
|
40
|
+
# schedulePickup - SOAP::SOAPBoolean
|
41
|
+
# schedulePickupLocation - SchedulePickup
|
42
|
+
# cODInfo - COD
|
43
|
+
# holdAtLocationInfo - HoldAtLocation
|
44
|
+
# purchaseOrderNumber - SOAP::SOAPString
|
45
|
+
# salesOrderNumber - SOAP::SOAPString
|
46
|
+
# brokerInfo - BrokerInfo
|
47
|
+
# recipientShipNotification - SOAP::SOAPBoolean
|
48
|
+
# receiveAlerts - SOAP::SOAPBoolean
|
49
|
+
# saturdayDelivery - SOAP::SOAPBoolean
|
50
|
+
# saturdayPickup - SOAP::SOAPBoolean
|
51
|
+
# residential - SOAP::SOAPBoolean
|
52
|
+
# signatureOption - SOAP::SOAPString
|
53
|
+
# recipientAlertEmail - SOAP::SOAPString
|
54
|
+
# recipientDeliveryNotification - SOAP::SOAPBoolean
|
55
|
+
# recipientExceptionNotification - SOAP::SOAPBoolean
|
56
|
+
# shipperShipNotification - SOAP::SOAPBoolean
|
57
|
+
# shipperDeliveryNotification - SOAP::SOAPBoolean
|
58
|
+
# shipperExceptionNotification - SOAP::SOAPBoolean
|
59
|
+
# restrictedWordsCompliance - SOAP::SOAPBoolean
|
60
|
+
# trackingNumber - SOAP::SOAPString
|
61
|
+
class ShipmentRequest
|
62
|
+
attr_accessor :commodityCollection
|
63
|
+
attr_accessor :carrierName
|
64
|
+
attr_accessor :shipmentDate
|
65
|
+
attr_accessor :billFreightTo
|
66
|
+
attr_accessor :serviceLevelName
|
67
|
+
attr_accessor :packageTypeName
|
68
|
+
attr_accessor :declaredWeight
|
69
|
+
attr_accessor :declareValue
|
70
|
+
attr_accessor :weightType
|
71
|
+
attr_accessor :description
|
72
|
+
attr_accessor :dimensions
|
73
|
+
attr_accessor :dimensionUnitType
|
74
|
+
attr_accessor :thermalPrinter
|
75
|
+
attr_accessor :sEDNumber
|
76
|
+
attr_accessor :dutiesPayorType
|
77
|
+
attr_accessor :recipientAddress
|
78
|
+
attr_accessor :saveNewRecipientAddress
|
79
|
+
attr_accessor :shipperAddress
|
80
|
+
attr_accessor :cODAmount
|
81
|
+
attr_accessor :holdAtLocation
|
82
|
+
attr_accessor :schedulePickup
|
83
|
+
attr_accessor :schedulePickupLocation
|
84
|
+
attr_accessor :cODInfo
|
85
|
+
attr_accessor :holdAtLocationInfo
|
86
|
+
attr_accessor :purchaseOrderNumber
|
87
|
+
attr_accessor :salesOrderNumber
|
88
|
+
attr_accessor :brokerInfo
|
89
|
+
attr_accessor :recipientShipNotification
|
90
|
+
attr_accessor :receiveAlerts
|
91
|
+
attr_accessor :saturdayDelivery
|
92
|
+
attr_accessor :saturdayPickup
|
93
|
+
attr_accessor :residential
|
94
|
+
attr_accessor :signatureOption
|
95
|
+
attr_accessor :recipientAlertEmail
|
96
|
+
attr_accessor :recipientDeliveryNotification
|
97
|
+
attr_accessor :recipientExceptionNotification
|
98
|
+
attr_accessor :shipperShipNotification
|
99
|
+
attr_accessor :shipperDeliveryNotification
|
100
|
+
attr_accessor :shipperExceptionNotification
|
101
|
+
attr_accessor :restrictedWordsCompliance
|
102
|
+
attr_accessor :trackingNumber
|
103
|
+
|
104
|
+
def initialize(commodityCollection = nil, carrierName = nil, shipmentDate = nil, billFreightTo = nil, serviceLevelName = nil, packageTypeName = nil, declaredWeight = nil, declareValue = nil, weightType = nil, description = nil, dimensions = nil, dimensionUnitType = nil, thermalPrinter = nil, sEDNumber = nil, dutiesPayorType = nil, recipientAddress = nil, saveNewRecipientAddress = nil, shipperAddress = nil, cODAmount = nil, holdAtLocation = nil, schedulePickup = nil, schedulePickupLocation = nil, cODInfo = nil, holdAtLocationInfo = nil, purchaseOrderNumber = nil, salesOrderNumber = nil, brokerInfo = nil, recipientShipNotification = nil, receiveAlerts = nil, saturdayDelivery = nil, saturdayPickup = nil, residential = nil, signatureOption = nil, recipientAlertEmail = nil, recipientDeliveryNotification = nil, recipientExceptionNotification = nil, shipperShipNotification = nil, shipperDeliveryNotification = nil, shipperExceptionNotification = nil, restrictedWordsCompliance = nil, trackingNumber = nil)
|
105
|
+
@commodityCollection = commodityCollection
|
106
|
+
@carrierName = carrierName
|
107
|
+
@shipmentDate = shipmentDate
|
108
|
+
@billFreightTo = billFreightTo
|
109
|
+
@serviceLevelName = serviceLevelName
|
110
|
+
@packageTypeName = packageTypeName
|
111
|
+
@declaredWeight = declaredWeight
|
112
|
+
@declareValue = declareValue
|
113
|
+
@weightType = weightType
|
114
|
+
@description = description
|
115
|
+
@dimensions = dimensions
|
116
|
+
@dimensionUnitType = dimensionUnitType
|
117
|
+
@thermalPrinter = thermalPrinter
|
118
|
+
@sEDNumber = sEDNumber
|
119
|
+
@dutiesPayorType = dutiesPayorType
|
120
|
+
@recipientAddress = recipientAddress
|
121
|
+
@saveNewRecipientAddress = saveNewRecipientAddress
|
122
|
+
@shipperAddress = shipperAddress
|
123
|
+
@cODAmount = cODAmount
|
124
|
+
@holdAtLocation = holdAtLocation
|
125
|
+
@schedulePickup = schedulePickup
|
126
|
+
@schedulePickupLocation = schedulePickupLocation
|
127
|
+
@cODInfo = cODInfo
|
128
|
+
@holdAtLocationInfo = holdAtLocationInfo
|
129
|
+
@purchaseOrderNumber = purchaseOrderNumber
|
130
|
+
@salesOrderNumber = salesOrderNumber
|
131
|
+
@brokerInfo = brokerInfo
|
132
|
+
@recipientShipNotification = recipientShipNotification
|
133
|
+
@receiveAlerts = receiveAlerts
|
134
|
+
@saturdayDelivery = saturdayDelivery
|
135
|
+
@saturdayPickup = saturdayPickup
|
136
|
+
@residential = residential
|
137
|
+
@signatureOption = signatureOption
|
138
|
+
@recipientAlertEmail = recipientAlertEmail
|
139
|
+
@recipientDeliveryNotification = recipientDeliveryNotification
|
140
|
+
@recipientExceptionNotification = recipientExceptionNotification
|
141
|
+
@shipperShipNotification = shipperShipNotification
|
142
|
+
@shipperDeliveryNotification = shipperDeliveryNotification
|
143
|
+
@shipperExceptionNotification = shipperExceptionNotification
|
144
|
+
@restrictedWordsCompliance = restrictedWordsCompliance
|
145
|
+
@trackingNumber = trackingNumber
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
# {http://tempuri.org/}TrackingResponse
|
150
|
+
# commodityCollection - ArrayOfCommodityList
|
151
|
+
# carrierName - SOAP::SOAPString
|
152
|
+
# shipmentDate - SOAP::SOAPDateTime
|
153
|
+
# billFreightTo - SOAP::SOAPString
|
154
|
+
# serviceLevelName - SOAP::SOAPString
|
155
|
+
# packageTypeName - SOAP::SOAPString
|
156
|
+
# declaredWeight - SOAP::SOAPDouble
|
157
|
+
# declareValue - SOAP::SOAPDouble
|
158
|
+
# weightType - SOAP::SOAPString
|
159
|
+
# description - SOAP::SOAPString
|
160
|
+
# dimensions - SOAP::SOAPString
|
161
|
+
# dimensionUnitType - SOAP::SOAPString
|
162
|
+
# thermalPrinter - SOAP::SOAPBoolean
|
163
|
+
# sEDNumber - SOAP::SOAPString
|
164
|
+
# dutiesPayorType - SOAP::SOAPString
|
165
|
+
# recipientAddress - Address
|
166
|
+
# saveNewRecipientAddress - SOAP::SOAPBoolean
|
167
|
+
# shipperAddress - Address
|
168
|
+
# cODAmount - SOAP::SOAPDouble
|
169
|
+
# holdAtLocation - SOAP::SOAPBoolean
|
170
|
+
# schedulePickup - SOAP::SOAPBoolean
|
171
|
+
# schedulePickupLocation - SchedulePickup
|
172
|
+
# cODInfo - COD
|
173
|
+
# holdAtLocationInfo - HoldAtLocation
|
174
|
+
# purchaseOrderNumber - SOAP::SOAPString
|
175
|
+
# salesOrderNumber - SOAP::SOAPString
|
176
|
+
# brokerInfo - BrokerInfo
|
177
|
+
# recipientShipNotification - SOAP::SOAPBoolean
|
178
|
+
# receiveAlerts - SOAP::SOAPBoolean
|
179
|
+
# saturdayDelivery - SOAP::SOAPBoolean
|
180
|
+
# saturdayPickup - SOAP::SOAPBoolean
|
181
|
+
# residential - SOAP::SOAPBoolean
|
182
|
+
# signatureOption - SOAP::SOAPString
|
183
|
+
# recipientAlertEmail - SOAP::SOAPString
|
184
|
+
# recipientDeliveryNotification - SOAP::SOAPBoolean
|
185
|
+
# recipientExceptionNotification - SOAP::SOAPBoolean
|
186
|
+
# shipperShipNotification - SOAP::SOAPBoolean
|
187
|
+
# shipperDeliveryNotification - SOAP::SOAPBoolean
|
188
|
+
# shipperExceptionNotification - SOAP::SOAPBoolean
|
189
|
+
# restrictedWordsCompliance - SOAP::SOAPBoolean
|
190
|
+
# trackingNumber - SOAP::SOAPString
|
191
|
+
class TrackingResponse < ShipmentRequest
|
192
|
+
attr_accessor :commodityCollection
|
193
|
+
attr_accessor :carrierName
|
194
|
+
attr_accessor :shipmentDate
|
195
|
+
attr_accessor :billFreightTo
|
196
|
+
attr_accessor :serviceLevelName
|
197
|
+
attr_accessor :packageTypeName
|
198
|
+
attr_accessor :declaredWeight
|
199
|
+
attr_accessor :declareValue
|
200
|
+
attr_accessor :weightType
|
201
|
+
attr_accessor :description
|
202
|
+
attr_accessor :dimensions
|
203
|
+
attr_accessor :dimensionUnitType
|
204
|
+
attr_accessor :thermalPrinter
|
205
|
+
attr_accessor :sEDNumber
|
206
|
+
attr_accessor :dutiesPayorType
|
207
|
+
attr_accessor :recipientAddress
|
208
|
+
attr_accessor :saveNewRecipientAddress
|
209
|
+
attr_accessor :shipperAddress
|
210
|
+
attr_accessor :cODAmount
|
211
|
+
attr_accessor :holdAtLocation
|
212
|
+
attr_accessor :schedulePickup
|
213
|
+
attr_accessor :schedulePickupLocation
|
214
|
+
attr_accessor :cODInfo
|
215
|
+
attr_accessor :holdAtLocationInfo
|
216
|
+
attr_accessor :purchaseOrderNumber
|
217
|
+
attr_accessor :salesOrderNumber
|
218
|
+
attr_accessor :brokerInfo
|
219
|
+
attr_accessor :recipientShipNotification
|
220
|
+
attr_accessor :receiveAlerts
|
221
|
+
attr_accessor :saturdayDelivery
|
222
|
+
attr_accessor :saturdayPickup
|
223
|
+
attr_accessor :residential
|
224
|
+
attr_accessor :signatureOption
|
225
|
+
attr_accessor :recipientAlertEmail
|
226
|
+
attr_accessor :recipientDeliveryNotification
|
227
|
+
attr_accessor :recipientExceptionNotification
|
228
|
+
attr_accessor :shipperShipNotification
|
229
|
+
attr_accessor :shipperDeliveryNotification
|
230
|
+
attr_accessor :shipperExceptionNotification
|
231
|
+
attr_accessor :restrictedWordsCompliance
|
232
|
+
attr_accessor :trackingNumber
|
233
|
+
|
234
|
+
def initialize(commodityCollection = nil, carrierName = nil, shipmentDate = nil, billFreightTo = nil, serviceLevelName = nil, packageTypeName = nil, declaredWeight = nil, declareValue = nil, weightType = nil, description = nil, dimensions = nil, dimensionUnitType = nil, thermalPrinter = nil, sEDNumber = nil, dutiesPayorType = nil, recipientAddress = nil, saveNewRecipientAddress = nil, shipperAddress = nil, cODAmount = nil, holdAtLocation = nil, schedulePickup = nil, schedulePickupLocation = nil, cODInfo = nil, holdAtLocationInfo = nil, purchaseOrderNumber = nil, salesOrderNumber = nil, brokerInfo = nil, recipientShipNotification = nil, receiveAlerts = nil, saturdayDelivery = nil, saturdayPickup = nil, residential = nil, signatureOption = nil, recipientAlertEmail = nil, recipientDeliveryNotification = nil, recipientExceptionNotification = nil, shipperShipNotification = nil, shipperDeliveryNotification = nil, shipperExceptionNotification = nil, restrictedWordsCompliance = nil, trackingNumber = nil)
|
235
|
+
@commodityCollection = commodityCollection
|
236
|
+
@carrierName = carrierName
|
237
|
+
@shipmentDate = shipmentDate
|
238
|
+
@billFreightTo = billFreightTo
|
239
|
+
@serviceLevelName = serviceLevelName
|
240
|
+
@packageTypeName = packageTypeName
|
241
|
+
@declaredWeight = declaredWeight
|
242
|
+
@declareValue = declareValue
|
243
|
+
@weightType = weightType
|
244
|
+
@description = description
|
245
|
+
@dimensions = dimensions
|
246
|
+
@dimensionUnitType = dimensionUnitType
|
247
|
+
@thermalPrinter = thermalPrinter
|
248
|
+
@sEDNumber = sEDNumber
|
249
|
+
@dutiesPayorType = dutiesPayorType
|
250
|
+
@recipientAddress = recipientAddress
|
251
|
+
@saveNewRecipientAddress = saveNewRecipientAddress
|
252
|
+
@shipperAddress = shipperAddress
|
253
|
+
@cODAmount = cODAmount
|
254
|
+
@holdAtLocation = holdAtLocation
|
255
|
+
@schedulePickup = schedulePickup
|
256
|
+
@schedulePickupLocation = schedulePickupLocation
|
257
|
+
@cODInfo = cODInfo
|
258
|
+
@holdAtLocationInfo = holdAtLocationInfo
|
259
|
+
@purchaseOrderNumber = purchaseOrderNumber
|
260
|
+
@salesOrderNumber = salesOrderNumber
|
261
|
+
@brokerInfo = brokerInfo
|
262
|
+
@recipientShipNotification = recipientShipNotification
|
263
|
+
@receiveAlerts = receiveAlerts
|
264
|
+
@saturdayDelivery = saturdayDelivery
|
265
|
+
@saturdayPickup = saturdayPickup
|
266
|
+
@residential = residential
|
267
|
+
@signatureOption = signatureOption
|
268
|
+
@recipientAlertEmail = recipientAlertEmail
|
269
|
+
@recipientDeliveryNotification = recipientDeliveryNotification
|
270
|
+
@recipientExceptionNotification = recipientExceptionNotification
|
271
|
+
@shipperShipNotification = shipperShipNotification
|
272
|
+
@shipperDeliveryNotification = shipperDeliveryNotification
|
273
|
+
@shipperExceptionNotification = shipperExceptionNotification
|
274
|
+
@restrictedWordsCompliance = restrictedWordsCompliance
|
275
|
+
@trackingNumber = trackingNumber
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
279
|
+
# {http://tempuri.org/}ArrayOfCommodityList
|
280
|
+
class ArrayOfCommodityList < ::Array
|
281
|
+
end
|
282
|
+
|
283
|
+
# {http://tempuri.org/}CommodityList
|
284
|
+
# commodityDescription - SOAP::SOAPString
|
285
|
+
# harmonizedCode - SOAP::SOAPString
|
286
|
+
# commodityQuantity - SOAP::SOAPDouble
|
287
|
+
# measurement - SOAP::SOAPString
|
288
|
+
# customValue - SOAP::SOAPDouble
|
289
|
+
# commodityWeight - SOAP::SOAPDouble
|
290
|
+
# codeCountryOfManufacture - SOAP::SOAPString
|
291
|
+
# nameOnLabel - SOAP::SOAPString
|
292
|
+
class CommodityList
|
293
|
+
attr_accessor :commodityDescription
|
294
|
+
attr_accessor :harmonizedCode
|
295
|
+
attr_accessor :commodityQuantity
|
296
|
+
attr_accessor :measurement
|
297
|
+
attr_accessor :customValue
|
298
|
+
attr_accessor :commodityWeight
|
299
|
+
attr_accessor :codeCountryOfManufacture
|
300
|
+
attr_accessor :nameOnLabel
|
301
|
+
|
302
|
+
def initialize(commodityDescription = nil, harmonizedCode = nil, commodityQuantity = nil, measurement = nil, customValue = nil, commodityWeight = nil, codeCountryOfManufacture = nil, nameOnLabel = nil)
|
303
|
+
@commodityDescription = commodityDescription
|
304
|
+
@harmonizedCode = harmonizedCode
|
305
|
+
@commodityQuantity = commodityQuantity
|
306
|
+
@measurement = measurement
|
307
|
+
@customValue = customValue
|
308
|
+
@commodityWeight = commodityWeight
|
309
|
+
@codeCountryOfManufacture = codeCountryOfManufacture
|
310
|
+
@nameOnLabel = nameOnLabel
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
314
|
+
# {http://tempuri.org/}Address
|
315
|
+
# name - SOAP::SOAPString
|
316
|
+
# company - SOAP::SOAPString
|
317
|
+
# address1 - SOAP::SOAPString
|
318
|
+
# address2 - SOAP::SOAPString
|
319
|
+
# city - SOAP::SOAPString
|
320
|
+
# state - SOAP::SOAPString
|
321
|
+
# countryCode - SOAP::SOAPString
|
322
|
+
# zip - SOAP::SOAPString
|
323
|
+
# phone - SOAP::SOAPString
|
324
|
+
# email - SOAP::SOAPString
|
325
|
+
class Address
|
326
|
+
attr_accessor :name
|
327
|
+
attr_accessor :company
|
328
|
+
attr_accessor :address1
|
329
|
+
attr_accessor :address2
|
330
|
+
attr_accessor :city
|
331
|
+
attr_accessor :state
|
332
|
+
attr_accessor :countryCode
|
333
|
+
attr_accessor :zip
|
334
|
+
attr_accessor :phone
|
335
|
+
attr_accessor :email
|
336
|
+
|
337
|
+
def initialize(name = nil, company = nil, address1 = nil, address2 = nil, city = nil, state = nil, countryCode = nil, zip = nil, phone = nil, email = nil)
|
338
|
+
@name = name
|
339
|
+
@company = company
|
340
|
+
@address1 = address1
|
341
|
+
@address2 = address2
|
342
|
+
@city = city
|
343
|
+
@state = state
|
344
|
+
@countryCode = countryCode
|
345
|
+
@zip = zip
|
346
|
+
@phone = phone
|
347
|
+
@email = email
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
351
|
+
# {http://tempuri.org/}SchedulePickup
|
352
|
+
# contactName - SOAP::SOAPString
|
353
|
+
# companyName - SOAP::SOAPString
|
354
|
+
# packageLatestAvailableTime - SOAP::SOAPString
|
355
|
+
# readyTime - SOAP::SOAPString
|
356
|
+
# suiteNumber - SOAP::SOAPString
|
357
|
+
# floorID - SOAP::SOAPString
|
358
|
+
# differentPickupLocation - SOAP::SOAPBoolean
|
359
|
+
# packageLocation - SOAP::SOAPString
|
360
|
+
# address1 - SOAP::SOAPString
|
361
|
+
# address2 - SOAP::SOAPString
|
362
|
+
# city - SOAP::SOAPString
|
363
|
+
# state - SOAP::SOAPString
|
364
|
+
# countryCode - SOAP::SOAPString
|
365
|
+
# zip - SOAP::SOAPString
|
366
|
+
# phone - SOAP::SOAPString
|
367
|
+
# phoneExtn - SOAP::SOAPString
|
368
|
+
# pickupDate - SOAP::SOAPDateTime
|
369
|
+
class SchedulePickup
|
370
|
+
attr_accessor :contactName
|
371
|
+
attr_accessor :companyName
|
372
|
+
attr_accessor :packageLatestAvailableTime
|
373
|
+
attr_accessor :readyTime
|
374
|
+
attr_accessor :suiteNumber
|
375
|
+
attr_accessor :floorID
|
376
|
+
attr_accessor :differentPickupLocation
|
377
|
+
attr_accessor :packageLocation
|
378
|
+
attr_accessor :address1
|
379
|
+
attr_accessor :address2
|
380
|
+
attr_accessor :city
|
381
|
+
attr_accessor :state
|
382
|
+
attr_accessor :countryCode
|
383
|
+
attr_accessor :zip
|
384
|
+
attr_accessor :phone
|
385
|
+
attr_accessor :phoneExtn
|
386
|
+
attr_accessor :pickupDate
|
387
|
+
|
388
|
+
def initialize(contactName = nil, companyName = nil, packageLatestAvailableTime = nil, readyTime = nil, suiteNumber = nil, floorID = nil, differentPickupLocation = nil, packageLocation = nil, address1 = nil, address2 = nil, city = nil, state = nil, countryCode = nil, zip = nil, phone = nil, phoneExtn = nil, pickupDate = nil)
|
389
|
+
@contactName = contactName
|
390
|
+
@companyName = companyName
|
391
|
+
@packageLatestAvailableTime = packageLatestAvailableTime
|
392
|
+
@readyTime = readyTime
|
393
|
+
@suiteNumber = suiteNumber
|
394
|
+
@floorID = floorID
|
395
|
+
@differentPickupLocation = differentPickupLocation
|
396
|
+
@packageLocation = packageLocation
|
397
|
+
@address1 = address1
|
398
|
+
@address2 = address2
|
399
|
+
@city = city
|
400
|
+
@state = state
|
401
|
+
@countryCode = countryCode
|
402
|
+
@zip = zip
|
403
|
+
@phone = phone
|
404
|
+
@phoneExtn = phoneExtn
|
405
|
+
@pickupDate = pickupDate
|
406
|
+
end
|
407
|
+
end
|
408
|
+
|
409
|
+
# {http://tempuri.org/}COD
|
410
|
+
# collectType - SOAP::SOAPString
|
411
|
+
# name - SOAP::SOAPString
|
412
|
+
# company - SOAP::SOAPString
|
413
|
+
# country - SOAP::SOAPString
|
414
|
+
# address - SOAP::SOAPString
|
415
|
+
# city - SOAP::SOAPString
|
416
|
+
# state - SOAP::SOAPString
|
417
|
+
# countryCode - SOAP::SOAPString
|
418
|
+
# zip - SOAP::SOAPString
|
419
|
+
# phone - SOAP::SOAPString
|
420
|
+
class COD
|
421
|
+
attr_accessor :collectType
|
422
|
+
attr_accessor :name
|
423
|
+
attr_accessor :company
|
424
|
+
attr_accessor :country
|
425
|
+
attr_accessor :address
|
426
|
+
attr_accessor :city
|
427
|
+
attr_accessor :state
|
428
|
+
attr_accessor :countryCode
|
429
|
+
attr_accessor :zip
|
430
|
+
attr_accessor :phone
|
431
|
+
|
432
|
+
def initialize(collectType = nil, name = nil, company = nil, country = nil, address = nil, city = nil, state = nil, countryCode = nil, zip = nil, phone = nil)
|
433
|
+
@collectType = collectType
|
434
|
+
@name = name
|
435
|
+
@company = company
|
436
|
+
@country = country
|
437
|
+
@address = address
|
438
|
+
@city = city
|
439
|
+
@state = state
|
440
|
+
@countryCode = countryCode
|
441
|
+
@zip = zip
|
442
|
+
@phone = phone
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
# {http://tempuri.org/}HoldAtLocation
|
447
|
+
# name - SOAP::SOAPString
|
448
|
+
# company - SOAP::SOAPString
|
449
|
+
# address - SOAP::SOAPString
|
450
|
+
# city - SOAP::SOAPString
|
451
|
+
# state - SOAP::SOAPString
|
452
|
+
# countryCode - SOAP::SOAPString
|
453
|
+
# zip - SOAP::SOAPString
|
454
|
+
# phone - SOAP::SOAPString
|
455
|
+
# phoneExtn - SOAP::SOAPString
|
456
|
+
class HoldAtLocation
|
457
|
+
attr_accessor :name
|
458
|
+
attr_accessor :company
|
459
|
+
attr_accessor :address
|
460
|
+
attr_accessor :city
|
461
|
+
attr_accessor :state
|
462
|
+
attr_accessor :countryCode
|
463
|
+
attr_accessor :zip
|
464
|
+
attr_accessor :phone
|
465
|
+
attr_accessor :phoneExtn
|
466
|
+
|
467
|
+
def initialize(name = nil, company = nil, address = nil, city = nil, state = nil, countryCode = nil, zip = nil, phone = nil, phoneExtn = nil)
|
468
|
+
@name = name
|
469
|
+
@company = company
|
470
|
+
@address = address
|
471
|
+
@city = city
|
472
|
+
@state = state
|
473
|
+
@countryCode = countryCode
|
474
|
+
@zip = zip
|
475
|
+
@phone = phone
|
476
|
+
@phoneExtn = phoneExtn
|
477
|
+
end
|
478
|
+
end
|
479
|
+
|
480
|
+
# {http://tempuri.org/}BrokerInfo
|
481
|
+
# brokerName - SOAP::SOAPString
|
482
|
+
# brokerTIN - SOAP::SOAPString
|
483
|
+
# brokerCompany - SOAP::SOAPString
|
484
|
+
# brokerAddress - SOAP::SOAPString
|
485
|
+
# brokerAddress1 - SOAP::SOAPString
|
486
|
+
# brokerAddress2 - SOAP::SOAPString
|
487
|
+
# brokerCity - SOAP::SOAPString
|
488
|
+
# brokerState - SOAP::SOAPString
|
489
|
+
# brokerCountryCode - SOAP::SOAPString
|
490
|
+
# brokerZip - SOAP::SOAPString
|
491
|
+
# brokerPhone - SOAP::SOAPString
|
492
|
+
# brokerEmail - SOAP::SOAPString
|
493
|
+
class BrokerInfo
|
494
|
+
attr_accessor :brokerName
|
495
|
+
attr_accessor :brokerTIN
|
496
|
+
attr_accessor :brokerCompany
|
497
|
+
attr_accessor :brokerAddress
|
498
|
+
attr_accessor :brokerAddress1
|
499
|
+
attr_accessor :brokerAddress2
|
500
|
+
attr_accessor :brokerCity
|
501
|
+
attr_accessor :brokerState
|
502
|
+
attr_accessor :brokerCountryCode
|
503
|
+
attr_accessor :brokerZip
|
504
|
+
attr_accessor :brokerPhone
|
505
|
+
attr_accessor :brokerEmail
|
506
|
+
|
507
|
+
def initialize(brokerName = nil, brokerTIN = nil, brokerCompany = nil, brokerAddress = nil, brokerAddress1 = nil, brokerAddress2 = nil, brokerCity = nil, brokerState = nil, brokerCountryCode = nil, brokerZip = nil, brokerPhone = nil, brokerEmail = nil)
|
508
|
+
@brokerName = brokerName
|
509
|
+
@brokerTIN = brokerTIN
|
510
|
+
@brokerCompany = brokerCompany
|
511
|
+
@brokerAddress = brokerAddress
|
512
|
+
@brokerAddress1 = brokerAddress1
|
513
|
+
@brokerAddress2 = brokerAddress2
|
514
|
+
@brokerCity = brokerCity
|
515
|
+
@brokerState = brokerState
|
516
|
+
@brokerCountryCode = brokerCountryCode
|
517
|
+
@brokerZip = brokerZip
|
518
|
+
@brokerPhone = brokerPhone
|
519
|
+
@brokerEmail = brokerEmail
|
520
|
+
end
|
521
|
+
end
|
522
|
+
|
523
|
+
# {http://tempuri.org/}G4SIAuthentication
|
524
|
+
# username - SOAP::SOAPString
|
525
|
+
# password - SOAP::SOAPString
|
526
|
+
# accessKey - SOAP::SOAPString
|
527
|
+
class G4SIAuthentication
|
528
|
+
attr_accessor :username
|
529
|
+
attr_accessor :password
|
530
|
+
attr_accessor :accessKey
|
531
|
+
|
532
|
+
def initialize(username = nil, password = nil, accessKey = nil)
|
533
|
+
@username = username
|
534
|
+
@password = password
|
535
|
+
@accessKey = accessKey
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
539
|
+
# {http://tempuri.org/}ShipmentTrackingRequest
|
540
|
+
# trackingNumber - SOAP::SOAPString
|
541
|
+
class ShipmentTrackingRequest
|
542
|
+
attr_accessor :trackingNumber
|
543
|
+
|
544
|
+
def initialize(trackingNumber = nil)
|
545
|
+
@trackingNumber = trackingNumber
|
546
|
+
end
|
547
|
+
end
|
548
|
+
|
549
|
+
# {http://tempuri.org/}TrackShipmentListResponse
|
550
|
+
# shipmentListResultCollection - ArrayOfTrackShipmentListResult
|
551
|
+
# errors - IPSErrors
|
552
|
+
class TrackShipmentListResponse
|
553
|
+
attr_accessor :shipmentListResultCollection
|
554
|
+
attr_accessor :errors
|
555
|
+
|
556
|
+
def initialize(shipmentListResultCollection = nil, errors = nil)
|
557
|
+
@shipmentListResultCollection = shipmentListResultCollection
|
558
|
+
@errors = errors
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
# {http://tempuri.org/}ArrayOfTrackShipmentListResult
|
563
|
+
class ArrayOfTrackShipmentListResult < ::Array
|
564
|
+
end
|
565
|
+
|
566
|
+
# {http://tempuri.org/}TrackShipmentListResult
|
567
|
+
# trackingNumber - SOAP::SOAPString
|
568
|
+
# shipmentDate - SOAP::SOAPDateTime
|
569
|
+
# deliveredDate - SOAP::SOAPDateTime
|
570
|
+
# recipientName - SOAP::SOAPString
|
571
|
+
# recipientCompany - SOAP::SOAPString
|
572
|
+
# declaredValue - SOAP::SOAPDouble
|
573
|
+
# currencyCode - SOAP::SOAPString
|
574
|
+
# weight - SOAP::SOAPString
|
575
|
+
# referenceNumber - SOAP::SOAPString
|
576
|
+
# carrierName - SOAP::SOAPString
|
577
|
+
class TrackShipmentListResult
|
578
|
+
attr_accessor :trackingNumber
|
579
|
+
attr_accessor :shipmentDate
|
580
|
+
attr_accessor :deliveredDate
|
581
|
+
attr_accessor :recipientName
|
582
|
+
attr_accessor :recipientCompany
|
583
|
+
attr_accessor :declaredValue
|
584
|
+
attr_accessor :currencyCode
|
585
|
+
attr_accessor :weight
|
586
|
+
attr_accessor :referenceNumber
|
587
|
+
attr_accessor :carrierName
|
588
|
+
|
589
|
+
def initialize(trackingNumber = nil, shipmentDate = nil, deliveredDate = nil, recipientName = nil, recipientCompany = nil, declaredValue = nil, currencyCode = nil, weight = nil, referenceNumber = nil, carrierName = nil)
|
590
|
+
@trackingNumber = trackingNumber
|
591
|
+
@shipmentDate = shipmentDate
|
592
|
+
@deliveredDate = deliveredDate
|
593
|
+
@recipientName = recipientName
|
594
|
+
@recipientCompany = recipientCompany
|
595
|
+
@declaredValue = declaredValue
|
596
|
+
@currencyCode = currencyCode
|
597
|
+
@weight = weight
|
598
|
+
@referenceNumber = referenceNumber
|
599
|
+
@carrierName = carrierName
|
600
|
+
end
|
601
|
+
end
|
602
|
+
|
603
|
+
# {http://tempuri.org/}IPSErrors
|
604
|
+
# errorCode - SOAP::SOAPString
|
605
|
+
# errorDescription - SOAP::SOAPString
|
606
|
+
# status - SOAP::SOAPBoolean
|
607
|
+
# innerException - SOAP::SOAPString
|
608
|
+
class IPSErrors
|
609
|
+
attr_accessor :errorCode
|
610
|
+
attr_accessor :errorDescription
|
611
|
+
attr_accessor :status
|
612
|
+
attr_accessor :innerException
|
613
|
+
|
614
|
+
def initialize(errorCode = nil, errorDescription = nil, status = nil, innerException = nil)
|
615
|
+
@errorCode = errorCode
|
616
|
+
@errorDescription = errorDescription
|
617
|
+
@status = status
|
618
|
+
@innerException = innerException
|
619
|
+
end
|
620
|
+
end
|
621
|
+
|
622
|
+
# {http://tempuri.org/}ShipmentTrackingRequestAdvanced
|
623
|
+
# fromDate - SOAP::SOAPDateTime
|
624
|
+
# toDate - SOAP::SOAPDateTime
|
625
|
+
# carriers - SOAP::SOAPString
|
626
|
+
# shipmentExceptions - SOAP::SOAPString
|
627
|
+
# shipmentCarrierStatus - SOAP::SOAPString
|
628
|
+
# criteriaValue - SOAP::SOAPString
|
629
|
+
# criteriaType - CriteriaList
|
630
|
+
class ShipmentTrackingRequestAdvanced
|
631
|
+
attr_accessor :fromDate
|
632
|
+
attr_accessor :toDate
|
633
|
+
attr_accessor :carriers
|
634
|
+
attr_accessor :shipmentExceptions
|
635
|
+
attr_accessor :shipmentCarrierStatus
|
636
|
+
attr_accessor :criteriaValue
|
637
|
+
attr_accessor :criteriaType
|
638
|
+
|
639
|
+
def initialize(fromDate = nil, toDate = nil, carriers = nil, shipmentExceptions = nil, shipmentCarrierStatus = nil, criteriaValue = nil, criteriaType = nil)
|
640
|
+
@fromDate = fromDate
|
641
|
+
@toDate = toDate
|
642
|
+
@carriers = carriers
|
643
|
+
@shipmentExceptions = shipmentExceptions
|
644
|
+
@shipmentCarrierStatus = shipmentCarrierStatus
|
645
|
+
@criteriaValue = criteriaValue
|
646
|
+
@criteriaType = criteriaType
|
647
|
+
end
|
648
|
+
end
|
649
|
+
|
650
|
+
# {http://tempuri.org/}IPSResponse
|
651
|
+
# result - ArrayOfAnyType
|
652
|
+
# errors - IPSErrors
|
653
|
+
class IPSResponse
|
654
|
+
attr_accessor :result
|
655
|
+
attr_accessor :errors
|
656
|
+
|
657
|
+
def initialize(result = nil, errors = nil)
|
658
|
+
@result = result
|
659
|
+
@errors = errors
|
660
|
+
end
|
661
|
+
end
|
662
|
+
|
663
|
+
# {http://tempuri.org/}ShipmentStatusListResponse
|
664
|
+
# result - ArrayOfAnyType
|
665
|
+
# errors - IPSErrors
|
666
|
+
class ShipmentStatusListResponse < IPSResponse
|
667
|
+
attr_accessor :result
|
668
|
+
attr_accessor :errors
|
669
|
+
|
670
|
+
def initialize(result = nil, errors = nil)
|
671
|
+
@result = result
|
672
|
+
@errors = errors
|
673
|
+
end
|
674
|
+
end
|
675
|
+
|
676
|
+
# {http://tempuri.org/}ShipmentExceptionsListResponse
|
677
|
+
# result - ArrayOfAnyType
|
678
|
+
# errors - IPSErrors
|
679
|
+
class ShipmentExceptionsListResponse < IPSResponse
|
680
|
+
attr_accessor :result
|
681
|
+
attr_accessor :errors
|
682
|
+
|
683
|
+
def initialize(result = nil, errors = nil)
|
684
|
+
@result = result
|
685
|
+
@errors = errors
|
686
|
+
end
|
687
|
+
end
|
688
|
+
|
689
|
+
# {http://tempuri.org/}ArrayOfAnyType
|
690
|
+
class ArrayOfAnyType < ::Array
|
691
|
+
end
|
692
|
+
|
693
|
+
# {http://tempuri.org/}GeneralListForTracking
|
694
|
+
# description - SOAP::SOAPString
|
695
|
+
class GeneralListForTracking
|
696
|
+
attr_accessor :description
|
697
|
+
|
698
|
+
def initialize(description = nil)
|
699
|
+
@description = description
|
700
|
+
end
|
701
|
+
end
|
702
|
+
|
703
|
+
# {http://tempuri.org/}ShipmentTrackingStatusResponse
|
704
|
+
# shipmentTrackingStatusList - ArrayOfAnyType
|
705
|
+
# errors - IPSErrors
|
706
|
+
class ShipmentTrackingStatusResponse
|
707
|
+
attr_accessor :shipmentTrackingStatusList
|
708
|
+
attr_accessor :errors
|
709
|
+
|
710
|
+
def initialize(shipmentTrackingStatusList = nil, errors = nil)
|
711
|
+
@shipmentTrackingStatusList = shipmentTrackingStatusList
|
712
|
+
@errors = errors
|
713
|
+
end
|
714
|
+
end
|
715
|
+
|
716
|
+
# {http://tempuri.org/}ShipmentTrackingStatus
|
717
|
+
# statusDescription - SOAP::SOAPString
|
718
|
+
# statusDate - SOAP::SOAPDateTime
|
719
|
+
# statusCity - SOAP::SOAPString
|
720
|
+
# statusState - SOAP::SOAPString
|
721
|
+
# statusCountry - SOAP::SOAPString
|
722
|
+
class ShipmentTrackingStatus
|
723
|
+
attr_accessor :statusDescription
|
724
|
+
attr_accessor :statusDate
|
725
|
+
attr_accessor :statusCity
|
726
|
+
attr_accessor :statusState
|
727
|
+
attr_accessor :statusCountry
|
728
|
+
|
729
|
+
def initialize(statusDescription = nil, statusDate = nil, statusCity = nil, statusState = nil, statusCountry = nil)
|
730
|
+
@statusDescription = statusDescription
|
731
|
+
@statusDate = statusDate
|
732
|
+
@statusCity = statusCity
|
733
|
+
@statusState = statusState
|
734
|
+
@statusCountry = statusCountry
|
735
|
+
end
|
736
|
+
end
|
737
|
+
|
738
|
+
# {http://tempuri.org/}CriteriaList
|
739
|
+
class CriteriaList < ::String
|
740
|
+
AccountNumber = CriteriaList.new("AccountNumber")
|
741
|
+
CarrierAccount = CriteriaList.new("CarrierAccount")
|
742
|
+
InvoiceNumber = CriteriaList.new("InvoiceNumber")
|
743
|
+
PurchaseOrder = CriteriaList.new("PurchaseOrder")
|
744
|
+
RecipientAddress = CriteriaList.new("RecipientAddress")
|
745
|
+
RecipientCompany = CriteriaList.new("RecipientCompany")
|
746
|
+
RecipientName = CriteriaList.new("RecipientName")
|
747
|
+
ReferenceNumber = CriteriaList.new("ReferenceNumber")
|
748
|
+
SalesOrder = CriteriaList.new("SalesOrder")
|
749
|
+
SignatureName = CriteriaList.new("SignatureName")
|
750
|
+
TrackingNumber = CriteriaList.new("TrackingNumber")
|
751
|
+
end
|
752
|
+
|
753
|
+
# {http://tempuri.org/}GetShipmentInfoByTrackingNumber
|
754
|
+
class GetShipmentInfoByTrackingNumber
|
755
|
+
def initialize
|
756
|
+
end
|
757
|
+
end
|
758
|
+
|
759
|
+
# {http://tempuri.org/}GetShipmentInfoByTrackingNumberResponse
|
760
|
+
# getShipmentInfoByTrackingNumberResult - ShipmentTrackingResponse
|
761
|
+
class GetShipmentInfoByTrackingNumberResponse
|
762
|
+
attr_accessor :getShipmentInfoByTrackingNumberResult
|
763
|
+
|
764
|
+
def initialize(getShipmentInfoByTrackingNumberResult = nil)
|
765
|
+
@getShipmentInfoByTrackingNumberResult = getShipmentInfoByTrackingNumberResult
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
769
|
+
# {http://tempuri.org/}GetShipmentTrackingList
|
770
|
+
class GetShipmentTrackingList
|
771
|
+
def initialize
|
772
|
+
end
|
773
|
+
end
|
774
|
+
|
775
|
+
# {http://tempuri.org/}GetShipmentTrackingListResponse
|
776
|
+
# getShipmentTrackingListResult - TrackShipmentListResponse
|
777
|
+
class GetShipmentTrackingListResponse
|
778
|
+
attr_accessor :getShipmentTrackingListResult
|
779
|
+
|
780
|
+
def initialize(getShipmentTrackingListResult = nil)
|
781
|
+
@getShipmentTrackingListResult = getShipmentTrackingListResult
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
785
|
+
# {http://tempuri.org/}GetShipmentStatusListForSearchRequest
|
786
|
+
class GetShipmentStatusListForSearchRequest
|
787
|
+
def initialize
|
788
|
+
end
|
789
|
+
end
|
790
|
+
|
791
|
+
# {http://tempuri.org/}GetShipmentStatusListForSearchRequestResponse
|
792
|
+
# getShipmentStatusListForSearchRequestResult - ShipmentStatusListResponse
|
793
|
+
class GetShipmentStatusListForSearchRequestResponse
|
794
|
+
attr_accessor :getShipmentStatusListForSearchRequestResult
|
795
|
+
|
796
|
+
def initialize(getShipmentStatusListForSearchRequestResult = nil)
|
797
|
+
@getShipmentStatusListForSearchRequestResult = getShipmentStatusListForSearchRequestResult
|
798
|
+
end
|
799
|
+
end
|
800
|
+
|
801
|
+
# {http://tempuri.org/}GetShipmentExceptionsForSearchRequest
|
802
|
+
class GetShipmentExceptionsForSearchRequest
|
803
|
+
def initialize
|
804
|
+
end
|
805
|
+
end
|
806
|
+
|
807
|
+
# {http://tempuri.org/}GetShipmentExceptionsForSearchRequestResponse
|
808
|
+
# getShipmentExceptionsForSearchRequestResult - ShipmentExceptionsListResponse
|
809
|
+
class GetShipmentExceptionsForSearchRequestResponse
|
810
|
+
attr_accessor :getShipmentExceptionsForSearchRequestResult
|
811
|
+
|
812
|
+
def initialize(getShipmentExceptionsForSearchRequestResult = nil)
|
813
|
+
@getShipmentExceptionsForSearchRequestResult = getShipmentExceptionsForSearchRequestResult
|
814
|
+
end
|
815
|
+
end
|
816
|
+
|
817
|
+
# {http://tempuri.org/}GetShipmentStatus
|
818
|
+
class GetShipmentStatus
|
819
|
+
def initialize
|
820
|
+
end
|
821
|
+
end
|
822
|
+
|
823
|
+
# {http://tempuri.org/}GetShipmentStatusResponse
|
824
|
+
# getShipmentStatusResult - ShipmentTrackingStatusResponse
|
825
|
+
class GetShipmentStatusResponse
|
826
|
+
attr_accessor :getShipmentStatusResult
|
827
|
+
|
828
|
+
def initialize(getShipmentStatusResult = nil)
|
829
|
+
@getShipmentStatusResult = getShipmentStatusResult
|
830
|
+
end
|
831
|
+
end
|