g4s_client 0.1.2 → 0.1.4
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/.gitignore +1 -0
- data/g4s_client.gemspec +4 -4
- data/lib/g4s/g4s.rb +30 -20
- data/lib/g4s/g4si_auth_header.rb +21 -0
- data/lib/g4s/shipping/IPSShippingClient.rb +3 -0
- data/lib/g4s/shipping/default.rb +507 -504
- data/lib/g4s/shipping/defaultDriver.rb +61 -50
- data/lib/g4s/tracking/IPSTrackingClient.rb +5 -1
- data/lib/g4s/tracking/default.rb +813 -808
- data/lib/g4s/tracking/defaultDriver.rb +77 -67
- data/lib/g4s/tracking/defaultMappingRegistry.rb +4 -1
- data/lib/g4s/utilities/IPSUtilitiesClient.rb +3 -1
- data/lib/g4s/utilities/default.rb +401 -397
- data/lib/g4s/utilities/defaultDriver.rb +214 -203
- data/lib/g4s/utilities/defaultMappingRegistry.rb +3 -1
- data/lib/g4s_client.rb +85 -0
- data/lib/version.rb +5 -0
- metadata +11 -10
- data/lib/g4s/version.rb +0 -3
@@ -1,517 +1,521 @@
|
|
1
|
+
#puts "REQUIRING: #{Dir[__FILE__]}"
|
2
|
+
|
1
3
|
require 'xsd/qname'
|
2
4
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
#
|
6
|
-
#
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
end
|
18
|
-
|
19
|
-
|
20
|
-
#
|
21
|
-
#
|
22
|
-
#
|
23
|
-
#
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
end
|
37
|
-
|
38
|
-
|
39
|
-
#
|
40
|
-
#
|
41
|
-
#
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
end
|
53
|
-
|
54
|
-
|
55
|
-
#
|
56
|
-
#
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
end
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
#
|
73
|
-
#
|
74
|
-
#
|
75
|
-
#
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
end
|
89
|
-
|
90
|
-
|
91
|
-
#
|
92
|
-
#
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
end
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
end
|
5
|
+
#module DefaultMappingRegistry
|
6
|
+
# {http://tempuri.org/}AccessKeyResponse
|
7
|
+
# accessKey - SOAP::SOAPString
|
8
|
+
# errorCode - SOAP::SOAPString
|
9
|
+
# errorMessage - SOAP::SOAPString
|
10
|
+
class AccessKeyResponse
|
11
|
+
attr_accessor :accessKey
|
12
|
+
attr_accessor :errorCode
|
13
|
+
attr_accessor :errorMessage
|
14
|
+
|
15
|
+
def initialize(accessKey = nil, errorCode = nil, errorMessage = nil)
|
16
|
+
@accessKey = accessKey
|
17
|
+
@errorCode = errorCode
|
18
|
+
@errorMessage = errorMessage
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
# {http://tempuri.org/}AccessKeyRequest
|
23
|
+
# userName - SOAP::SOAPString
|
24
|
+
# password - SOAP::SOAPString
|
25
|
+
# companyZipCode - SOAP::SOAPString
|
26
|
+
# companyCityName - SOAP::SOAPString
|
27
|
+
class AccessKeyRequest
|
28
|
+
attr_accessor :userName
|
29
|
+
attr_accessor :password
|
30
|
+
attr_accessor :companyZipCode
|
31
|
+
attr_accessor :companyCityName
|
32
|
+
|
33
|
+
def initialize(userName = nil, password = nil, companyZipCode = nil, companyCityName = nil)
|
34
|
+
@userName = userName
|
35
|
+
@password = password
|
36
|
+
@companyZipCode = companyZipCode
|
37
|
+
@companyCityName = companyCityName
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
# {http://tempuri.org/}G4SIAuthentication
|
42
|
+
# username - SOAP::SOAPString
|
43
|
+
# password - SOAP::SOAPString
|
44
|
+
# accessKey - SOAP::SOAPString
|
45
|
+
class G4SIAuthentication
|
46
|
+
attr_accessor :username
|
47
|
+
attr_accessor :password
|
48
|
+
attr_accessor :accessKey
|
49
|
+
|
50
|
+
def initialize(username = nil, password = nil, accessKey = nil)
|
51
|
+
@username = username
|
52
|
+
@password = password
|
53
|
+
@accessKey = accessKey
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# {http://tempuri.org/}IPSResponse
|
58
|
+
# result - ArrayOfAnyType
|
59
|
+
# errors - IPSErrors
|
60
|
+
class IPSResponse
|
61
|
+
attr_accessor :result
|
62
|
+
attr_accessor :errors
|
63
|
+
|
64
|
+
def initialize(result = nil, errors = nil)
|
65
|
+
@result = result
|
66
|
+
@errors = errors
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# {http://tempuri.org/}ArrayOfAnyType
|
71
|
+
class ArrayOfAnyType < ::Array
|
72
|
+
end
|
73
|
+
|
74
|
+
# {http://tempuri.org/}IPSErrors
|
75
|
+
# errorCode - SOAP::SOAPString
|
76
|
+
# errorDescription - SOAP::SOAPString
|
77
|
+
# status - SOAP::SOAPBoolean
|
78
|
+
# innerException - SOAP::SOAPString
|
79
|
+
class IPSErrors
|
80
|
+
attr_accessor :errorCode
|
81
|
+
attr_accessor :errorDescription
|
82
|
+
attr_accessor :status
|
83
|
+
attr_accessor :innerException
|
84
|
+
|
85
|
+
def initialize(errorCode = nil, errorDescription = nil, status = nil, innerException = nil)
|
86
|
+
@errorCode = errorCode
|
87
|
+
@errorDescription = errorDescription
|
88
|
+
@status = status
|
89
|
+
@innerException = innerException
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
# {http://tempuri.org/}Countries
|
94
|
+
# countryCode - SOAP::SOAPString
|
95
|
+
# countryName - SOAP::SOAPString
|
96
|
+
class Countries
|
97
|
+
attr_accessor :countryCode
|
98
|
+
attr_accessor :countryName
|
99
|
+
|
100
|
+
def initialize(countryCode = nil, countryName = nil)
|
101
|
+
@countryCode = countryCode
|
102
|
+
@countryName = countryName
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
# {http://tempuri.org/}GenerateAccessKey
|
107
|
+
class GenerateAccessKey
|
108
|
+
def initialize
|
109
|
+
end
|
110
|
+
end
|
108
111
|
|
109
|
-
# {http://tempuri.org/}GenerateAccessKeyResponse
|
110
|
-
# generateAccessKeyResult - AccessKeyResponse
|
111
|
-
class GenerateAccessKeyResponse
|
112
|
-
|
112
|
+
# {http://tempuri.org/}GenerateAccessKeyResponse
|
113
|
+
# generateAccessKeyResult - AccessKeyResponse
|
114
|
+
class GenerateAccessKeyResponse
|
115
|
+
attr_accessor :generateAccessKeyResult
|
113
116
|
|
114
|
-
|
115
|
-
|
117
|
+
def initialize(generateAccessKeyResult = nil)
|
118
|
+
@generateAccessKeyResult = generateAccessKeyResult
|
119
|
+
end
|
116
120
|
end
|
117
|
-
end
|
118
121
|
|
119
|
-
# {http://tempuri.org/}GetNewManifestNumber
|
120
|
-
class GetNewManifestNumber
|
121
|
-
|
122
|
+
# {http://tempuri.org/}GetNewManifestNumber
|
123
|
+
class GetNewManifestNumber
|
124
|
+
def initialize
|
125
|
+
end
|
122
126
|
end
|
123
|
-
end
|
124
127
|
|
125
|
-
# {http://tempuri.org/}GetNewManifestNumberResponse
|
126
|
-
# getNewManifestNumberResult - SOAP::SOAPBase64
|
127
|
-
class GetNewManifestNumberResponse
|
128
|
-
|
128
|
+
# {http://tempuri.org/}GetNewManifestNumberResponse
|
129
|
+
# getNewManifestNumberResult - SOAP::SOAPBase64
|
130
|
+
class GetNewManifestNumberResponse
|
131
|
+
attr_accessor :getNewManifestNumberResult
|
129
132
|
|
130
|
-
|
131
|
-
|
133
|
+
def initialize(getNewManifestNumberResult = nil)
|
134
|
+
@getNewManifestNumberResult = getNewManifestNumberResult
|
135
|
+
end
|
132
136
|
end
|
133
|
-
end
|
134
137
|
|
135
|
-
# {http://tempuri.org/}GetReferenceNumber
|
136
|
-
# custAcctNumber - SOAP::SOAPBase64
|
137
|
-
# declaredValue - SOAP::SOAPBase64
|
138
|
-
# manifestNumber - SOAP::SOAPBase64
|
139
|
-
class GetReferenceNumber
|
140
|
-
|
141
|
-
|
142
|
-
|
138
|
+
# {http://tempuri.org/}GetReferenceNumber
|
139
|
+
# custAcctNumber - SOAP::SOAPBase64
|
140
|
+
# declaredValue - SOAP::SOAPBase64
|
141
|
+
# manifestNumber - SOAP::SOAPBase64
|
142
|
+
class GetReferenceNumber
|
143
|
+
attr_accessor :custAcctNumber
|
144
|
+
attr_accessor :declaredValue
|
145
|
+
attr_accessor :manifestNumber
|
143
146
|
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
147
|
+
def initialize(custAcctNumber = nil, declaredValue = nil, manifestNumber = nil)
|
148
|
+
@custAcctNumber = custAcctNumber
|
149
|
+
@declaredValue = declaredValue
|
150
|
+
@manifestNumber = manifestNumber
|
151
|
+
end
|
148
152
|
end
|
149
|
-
end
|
150
153
|
|
151
|
-
# {http://tempuri.org/}GetReferenceNumberResponse
|
152
|
-
# getReferenceNumberResult - SOAP::SOAPBase64
|
153
|
-
class GetReferenceNumberResponse
|
154
|
-
|
154
|
+
# {http://tempuri.org/}GetReferenceNumberResponse
|
155
|
+
# getReferenceNumberResult - SOAP::SOAPBase64
|
156
|
+
class GetReferenceNumberResponse
|
157
|
+
attr_accessor :getReferenceNumberResult
|
155
158
|
|
156
|
-
|
157
|
-
|
159
|
+
def initialize(getReferenceNumberResult = nil)
|
160
|
+
@getReferenceNumberResult = getReferenceNumberResult
|
161
|
+
end
|
158
162
|
end
|
159
|
-
end
|
160
163
|
|
161
|
-
# {http://tempuri.org/}GetG4SIPickupLocationList
|
162
|
-
class GetG4SIPickupLocationList
|
163
|
-
|
164
|
+
# {http://tempuri.org/}GetG4SIPickupLocationList
|
165
|
+
class GetG4SIPickupLocationList
|
166
|
+
def initialize
|
167
|
+
end
|
164
168
|
end
|
165
|
-
end
|
166
169
|
|
167
|
-
# {http://tempuri.org/}GetG4SIPickupLocationListResponse
|
168
|
-
# getG4SIPickupLocationListResult - SOAP::SOAPBase64
|
169
|
-
class GetG4SIPickupLocationListResponse
|
170
|
-
|
170
|
+
# {http://tempuri.org/}GetG4SIPickupLocationListResponse
|
171
|
+
# getG4SIPickupLocationListResult - SOAP::SOAPBase64
|
172
|
+
class GetG4SIPickupLocationListResponse
|
173
|
+
attr_accessor :getG4SIPickupLocationListResult
|
171
174
|
|
172
|
-
|
173
|
-
|
175
|
+
def initialize(getG4SIPickupLocationListResult = nil)
|
176
|
+
@getG4SIPickupLocationListResult = getG4SIPickupLocationListResult
|
177
|
+
end
|
174
178
|
end
|
175
|
-
end
|
176
179
|
|
177
|
-
# {http://tempuri.org/}GetG4SICODCollectTypeList
|
178
|
-
class GetG4SICODCollectTypeList
|
179
|
-
|
180
|
+
# {http://tempuri.org/}GetG4SICODCollectTypeList
|
181
|
+
class GetG4SICODCollectTypeList
|
182
|
+
def initialize
|
183
|
+
end
|
180
184
|
end
|
181
|
-
end
|
182
185
|
|
183
|
-
# {http://tempuri.org/}GetG4SICODCollectTypeListResponse
|
184
|
-
# getG4SICODCollectTypeListResult - SOAP::SOAPBase64
|
185
|
-
class GetG4SICODCollectTypeListResponse
|
186
|
-
|
186
|
+
# {http://tempuri.org/}GetG4SICODCollectTypeListResponse
|
187
|
+
# getG4SICODCollectTypeListResult - SOAP::SOAPBase64
|
188
|
+
class GetG4SICODCollectTypeListResponse
|
189
|
+
attr_accessor :getG4SICODCollectTypeListResult
|
187
190
|
|
188
|
-
|
189
|
-
|
191
|
+
def initialize(getG4SICODCollectTypeListResult = nil)
|
192
|
+
@getG4SICODCollectTypeListResult = getG4SICODCollectTypeListResult
|
193
|
+
end
|
190
194
|
end
|
191
|
-
end
|
192
195
|
|
193
|
-
# {http://tempuri.org/}GetG4SICurrencies
|
194
|
-
class GetG4SICurrencies
|
195
|
-
|
196
|
+
# {http://tempuri.org/}GetG4SICurrencies
|
197
|
+
class GetG4SICurrencies
|
198
|
+
def initialize
|
199
|
+
end
|
196
200
|
end
|
197
|
-
end
|
198
201
|
|
199
|
-
# {http://tempuri.org/}GetG4SICurrenciesResponse
|
200
|
-
# getG4SICurrenciesResult - SOAP::SOAPBase64
|
201
|
-
class GetG4SICurrenciesResponse
|
202
|
-
|
202
|
+
# {http://tempuri.org/}GetG4SICurrenciesResponse
|
203
|
+
# getG4SICurrenciesResult - SOAP::SOAPBase64
|
204
|
+
class GetG4SICurrenciesResponse
|
205
|
+
attr_accessor :getG4SICurrenciesResult
|
203
206
|
|
204
|
-
|
205
|
-
|
207
|
+
def initialize(getG4SICurrenciesResult = nil)
|
208
|
+
@getG4SICurrenciesResult = getG4SICurrenciesResult
|
209
|
+
end
|
206
210
|
end
|
207
|
-
end
|
208
211
|
|
209
|
-
# {http://tempuri.org/}CompressedBytesToString
|
210
|
-
# compressedBytes - SOAP::SOAPBase64
|
211
|
-
class CompressedBytesToString
|
212
|
-
|
212
|
+
# {http://tempuri.org/}CompressedBytesToString
|
213
|
+
# compressedBytes - SOAP::SOAPBase64
|
214
|
+
class CompressedBytesToString
|
215
|
+
attr_accessor :compressedBytes
|
213
216
|
|
214
|
-
|
215
|
-
|
217
|
+
def initialize(compressedBytes = nil)
|
218
|
+
@compressedBytes = compressedBytes
|
219
|
+
end
|
216
220
|
end
|
217
|
-
end
|
218
221
|
|
219
|
-
# {http://tempuri.org/}CompressedBytesToStringResponse
|
220
|
-
# compressedBytesToStringResult - SOAP::SOAPString
|
221
|
-
class CompressedBytesToStringResponse
|
222
|
-
|
222
|
+
# {http://tempuri.org/}CompressedBytesToStringResponse
|
223
|
+
# compressedBytesToStringResult - SOAP::SOAPString
|
224
|
+
class CompressedBytesToStringResponse
|
225
|
+
attr_accessor :compressedBytesToStringResult
|
223
226
|
|
224
|
-
|
225
|
-
|
227
|
+
def initialize(compressedBytesToStringResult = nil)
|
228
|
+
@compressedBytesToStringResult = compressedBytesToStringResult
|
229
|
+
end
|
226
230
|
end
|
227
|
-
end
|
228
231
|
|
229
|
-
# {http://tempuri.org/}StringToCompressedBytes
|
230
|
-
# inputString - SOAP::SOAPString
|
231
|
-
class StringToCompressedBytes
|
232
|
-
|
232
|
+
# {http://tempuri.org/}StringToCompressedBytes
|
233
|
+
# inputString - SOAP::SOAPString
|
234
|
+
class StringToCompressedBytes
|
235
|
+
attr_accessor :inputString
|
233
236
|
|
234
|
-
|
235
|
-
|
237
|
+
def initialize(inputString = nil)
|
238
|
+
@inputString = inputString
|
239
|
+
end
|
236
240
|
end
|
237
|
-
end
|
238
241
|
|
239
|
-
# {http://tempuri.org/}StringToCompressedBytesResponse
|
240
|
-
# stringToCompressedBytesResult - SOAP::SOAPBase64
|
241
|
-
class StringToCompressedBytesResponse
|
242
|
-
|
242
|
+
# {http://tempuri.org/}StringToCompressedBytesResponse
|
243
|
+
# stringToCompressedBytesResult - SOAP::SOAPBase64
|
244
|
+
class StringToCompressedBytesResponse
|
245
|
+
attr_accessor :stringToCompressedBytesResult
|
243
246
|
|
244
|
-
|
245
|
-
|
247
|
+
def initialize(stringToCompressedBytesResult = nil)
|
248
|
+
@stringToCompressedBytesResult = stringToCompressedBytesResult
|
249
|
+
end
|
246
250
|
end
|
247
|
-
end
|
248
251
|
|
249
|
-
# {http://tempuri.org/}Login
|
250
|
-
class Login
|
251
|
-
|
252
|
+
# {http://tempuri.org/}Login
|
253
|
+
class Login
|
254
|
+
def initialize
|
255
|
+
end
|
252
256
|
end
|
253
|
-
end
|
254
257
|
|
255
|
-
# {http://tempuri.org/}LoginResponse
|
256
|
-
# loginResult - SOAP::SOAPBase64
|
257
|
-
class LoginResponse
|
258
|
-
|
258
|
+
# {http://tempuri.org/}LoginResponse
|
259
|
+
# loginResult - SOAP::SOAPBase64
|
260
|
+
class LoginResponse
|
261
|
+
attr_accessor :loginResult
|
259
262
|
|
260
|
-
|
261
|
-
|
263
|
+
def initialize(loginResult = nil)
|
264
|
+
@loginResult = loginResult
|
265
|
+
end
|
262
266
|
end
|
263
|
-
end
|
264
267
|
|
265
|
-
# {http://tempuri.org/}GetAllCountries
|
266
|
-
class GetAllCountries
|
267
|
-
|
268
|
+
# {http://tempuri.org/}GetAllCountries
|
269
|
+
class GetAllCountries
|
270
|
+
def initialize
|
271
|
+
end
|
268
272
|
end
|
269
|
-
end
|
270
273
|
|
271
|
-
# {http://tempuri.org/}GetAllCountriesResponse
|
272
|
-
# getAllCountriesResult - IPSResponse
|
273
|
-
class GetAllCountriesResponse
|
274
|
-
|
274
|
+
# {http://tempuri.org/}GetAllCountriesResponse
|
275
|
+
# getAllCountriesResult - IPSResponse
|
276
|
+
class GetAllCountriesResponse
|
277
|
+
attr_accessor :getAllCountriesResult
|
275
278
|
|
276
|
-
|
277
|
-
|
279
|
+
def initialize(getAllCountriesResult = nil)
|
280
|
+
@getAllCountriesResult = getAllCountriesResult
|
281
|
+
end
|
278
282
|
end
|
279
|
-
end
|
280
283
|
|
281
|
-
# {http://tempuri.org/}GetServiceLevelsByZip
|
282
|
-
# receiverZipCode - SOAP::SOAPBase64
|
283
|
-
# receiverCountryCode - SOAP::SOAPBase64
|
284
|
-
# currency - SOAP::SOAPBase64
|
285
|
-
# originCountryCode - SOAP::SOAPBase64
|
286
|
-
class GetServiceLevelsByZip
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
284
|
+
# {http://tempuri.org/}GetServiceLevelsByZip
|
285
|
+
# receiverZipCode - SOAP::SOAPBase64
|
286
|
+
# receiverCountryCode - SOAP::SOAPBase64
|
287
|
+
# currency - SOAP::SOAPBase64
|
288
|
+
# originCountryCode - SOAP::SOAPBase64
|
289
|
+
class GetServiceLevelsByZip
|
290
|
+
attr_accessor :receiverZipCode
|
291
|
+
attr_accessor :receiverCountryCode
|
292
|
+
attr_accessor :currency
|
293
|
+
attr_accessor :originCountryCode
|
291
294
|
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
295
|
+
def initialize(receiverZipCode = nil, receiverCountryCode = nil, currency = nil, originCountryCode = nil)
|
296
|
+
@receiverZipCode = receiverZipCode
|
297
|
+
@receiverCountryCode = receiverCountryCode
|
298
|
+
@currency = currency
|
299
|
+
@originCountryCode = originCountryCode
|
300
|
+
end
|
297
301
|
end
|
298
|
-
end
|
299
302
|
|
300
|
-
# {http://tempuri.org/}GetServiceLevelsByZipResponse
|
301
|
-
# getServiceLevelsByZipResult - SOAP::SOAPBase64
|
302
|
-
class GetServiceLevelsByZipResponse
|
303
|
-
|
303
|
+
# {http://tempuri.org/}GetServiceLevelsByZipResponse
|
304
|
+
# getServiceLevelsByZipResult - SOAP::SOAPBase64
|
305
|
+
class GetServiceLevelsByZipResponse
|
306
|
+
attr_accessor :getServiceLevelsByZipResult
|
304
307
|
|
305
|
-
|
306
|
-
|
308
|
+
def initialize(getServiceLevelsByZipResult = nil)
|
309
|
+
@getServiceLevelsByZipResult = getServiceLevelsByZipResult
|
310
|
+
end
|
307
311
|
end
|
308
|
-
end
|
309
312
|
|
310
|
-
# {http://tempuri.org/}GetSrvcLvls
|
311
|
-
class GetSrvcLvls
|
312
|
-
|
313
|
+
# {http://tempuri.org/}GetSrvcLvls
|
314
|
+
class GetSrvcLvls
|
315
|
+
def initialize
|
316
|
+
end
|
313
317
|
end
|
314
|
-
end
|
315
318
|
|
316
|
-
# {http://tempuri.org/}GetSrvcLvlsResponse
|
317
|
-
# getSrvcLvlsResult - SOAP::SOAPBase64
|
318
|
-
class GetSrvcLvlsResponse
|
319
|
-
|
319
|
+
# {http://tempuri.org/}GetSrvcLvlsResponse
|
320
|
+
# getSrvcLvlsResult - SOAP::SOAPBase64
|
321
|
+
class GetSrvcLvlsResponse
|
322
|
+
attr_accessor :getSrvcLvlsResult
|
320
323
|
|
321
|
-
|
322
|
-
|
324
|
+
def initialize(getSrvcLvlsResult = nil)
|
325
|
+
@getSrvcLvlsResult = getSrvcLvlsResult
|
326
|
+
end
|
323
327
|
end
|
324
|
-
end
|
325
328
|
|
326
|
-
# {http://tempuri.org/}GetSrvcLvlByShipersCountryAndZip
|
327
|
-
# countryCode - SOAP::SOAPBase64
|
328
|
-
class GetSrvcLvlByShipersCountryAndZip
|
329
|
-
|
329
|
+
# {http://tempuri.org/}GetSrvcLvlByShipersCountryAndZip
|
330
|
+
# countryCode - SOAP::SOAPBase64
|
331
|
+
class GetSrvcLvlByShipersCountryAndZip
|
332
|
+
attr_accessor :countryCode
|
330
333
|
|
331
|
-
|
332
|
-
|
334
|
+
def initialize(countryCode = nil)
|
335
|
+
@countryCode = countryCode
|
336
|
+
end
|
333
337
|
end
|
334
|
-
end
|
335
338
|
|
336
|
-
# {http://tempuri.org/}GetSrvcLvlByShipersCountryAndZipResponse
|
337
|
-
# getSrvcLvlByShipersCountryAndZipResult - SOAP::SOAPBase64
|
338
|
-
class GetSrvcLvlByShipersCountryAndZipResponse
|
339
|
-
|
339
|
+
# {http://tempuri.org/}GetSrvcLvlByShipersCountryAndZipResponse
|
340
|
+
# getSrvcLvlByShipersCountryAndZipResult - SOAP::SOAPBase64
|
341
|
+
class GetSrvcLvlByShipersCountryAndZipResponse
|
342
|
+
attr_accessor :getSrvcLvlByShipersCountryAndZipResult
|
340
343
|
|
341
|
-
|
342
|
-
|
344
|
+
def initialize(getSrvcLvlByShipersCountryAndZipResult = nil)
|
345
|
+
@getSrvcLvlByShipersCountryAndZipResult = getSrvcLvlByShipersCountryAndZipResult
|
346
|
+
end
|
343
347
|
end
|
344
|
-
end
|
345
348
|
|
346
|
-
# {http://tempuri.org/}GetCarriersList
|
347
|
-
class GetCarriersList
|
348
|
-
|
349
|
+
# {http://tempuri.org/}GetCarriersList
|
350
|
+
class GetCarriersList
|
351
|
+
def initialize
|
352
|
+
end
|
349
353
|
end
|
350
|
-
end
|
351
354
|
|
352
|
-
# {http://tempuri.org/}GetCarriersListResponse
|
353
|
-
# getCarriersListResult - SOAP::SOAPBase64
|
354
|
-
class GetCarriersListResponse
|
355
|
-
|
355
|
+
# {http://tempuri.org/}GetCarriersListResponse
|
356
|
+
# getCarriersListResult - SOAP::SOAPBase64
|
357
|
+
class GetCarriersListResponse
|
358
|
+
attr_accessor :getCarriersListResult
|
356
359
|
|
357
|
-
|
358
|
-
|
360
|
+
def initialize(getCarriersListResult = nil)
|
361
|
+
@getCarriersListResult = getCarriersListResult
|
362
|
+
end
|
359
363
|
end
|
360
|
-
end
|
361
364
|
|
362
|
-
# {http://tempuri.org/}GetPackageTypes
|
363
|
-
class GetPackageTypes
|
364
|
-
|
365
|
+
# {http://tempuri.org/}GetPackageTypes
|
366
|
+
class GetPackageTypes
|
367
|
+
def initialize
|
368
|
+
end
|
365
369
|
end
|
366
|
-
end
|
367
370
|
|
368
|
-
# {http://tempuri.org/}GetPackageTypesResponse
|
369
|
-
# getPackageTypesResult - SOAP::SOAPBase64
|
370
|
-
class GetPackageTypesResponse
|
371
|
-
|
371
|
+
# {http://tempuri.org/}GetPackageTypesResponse
|
372
|
+
# getPackageTypesResult - SOAP::SOAPBase64
|
373
|
+
class GetPackageTypesResponse
|
374
|
+
attr_accessor :getPackageTypesResult
|
372
375
|
|
373
|
-
|
374
|
-
|
376
|
+
def initialize(getPackageTypesResult = nil)
|
377
|
+
@getPackageTypesResult = getPackageTypesResult
|
378
|
+
end
|
375
379
|
end
|
376
|
-
end
|
377
380
|
|
378
|
-
# {http://tempuri.org/}GetStatesByCountry
|
379
|
-
# countryCode - SOAP::SOAPBase64
|
380
|
-
class GetStatesByCountry
|
381
|
-
|
381
|
+
# {http://tempuri.org/}GetStatesByCountry
|
382
|
+
# countryCode - SOAP::SOAPBase64
|
383
|
+
class GetStatesByCountry
|
384
|
+
attr_accessor :countryCode
|
382
385
|
|
383
|
-
|
384
|
-
|
386
|
+
def initialize(countryCode = nil)
|
387
|
+
@countryCode = countryCode
|
388
|
+
end
|
385
389
|
end
|
386
|
-
end
|
387
390
|
|
388
|
-
# {http://tempuri.org/}GetStatesByCountryResponse
|
389
|
-
# getStatesByCountryResult - SOAP::SOAPBase64
|
390
|
-
class GetStatesByCountryResponse
|
391
|
-
|
391
|
+
# {http://tempuri.org/}GetStatesByCountryResponse
|
392
|
+
# getStatesByCountryResult - SOAP::SOAPBase64
|
393
|
+
class GetStatesByCountryResponse
|
394
|
+
attr_accessor :getStatesByCountryResult
|
392
395
|
|
393
|
-
|
394
|
-
|
396
|
+
def initialize(getStatesByCountryResult = nil)
|
397
|
+
@getStatesByCountryResult = getStatesByCountryResult
|
398
|
+
end
|
395
399
|
end
|
396
|
-
end
|
397
400
|
|
398
|
-
# {http://tempuri.org/}GetDimensions
|
399
|
-
class GetDimensions
|
400
|
-
|
401
|
+
# {http://tempuri.org/}GetDimensions
|
402
|
+
class GetDimensions
|
403
|
+
def initialize
|
404
|
+
end
|
401
405
|
end
|
402
|
-
end
|
403
406
|
|
404
|
-
# {http://tempuri.org/}GetDimensionsResponse
|
405
|
-
# getDimensionsResult - SOAP::SOAPBase64
|
406
|
-
class GetDimensionsResponse
|
407
|
-
|
407
|
+
# {http://tempuri.org/}GetDimensionsResponse
|
408
|
+
# getDimensionsResult - SOAP::SOAPBase64
|
409
|
+
class GetDimensionsResponse
|
410
|
+
attr_accessor :getDimensionsResult
|
408
411
|
|
409
|
-
|
410
|
-
|
412
|
+
def initialize(getDimensionsResult = nil)
|
413
|
+
@getDimensionsResult = getDimensionsResult
|
414
|
+
end
|
411
415
|
end
|
412
|
-
end
|
413
416
|
|
414
|
-
# {http://tempuri.org/}GetHarmonizedCodes_CountryFrom
|
415
|
-
# countryCode - SOAP::SOAPBase64
|
416
|
-
class GetHarmonizedCodes_CountryFrom
|
417
|
-
|
417
|
+
# {http://tempuri.org/}GetHarmonizedCodes_CountryFrom
|
418
|
+
# countryCode - SOAP::SOAPBase64
|
419
|
+
class GetHarmonizedCodes_CountryFrom
|
420
|
+
attr_accessor :countryCode
|
418
421
|
|
419
|
-
|
420
|
-
|
422
|
+
def initialize(countryCode = nil)
|
423
|
+
@countryCode = countryCode
|
424
|
+
end
|
421
425
|
end
|
422
|
-
end
|
423
426
|
|
424
|
-
# {http://tempuri.org/}GetHarmonizedCodes_CountryFromResponse
|
425
|
-
# getHarmonizedCodes_CountryFromResult - SOAP::SOAPBase64
|
426
|
-
class GetHarmonizedCodes_CountryFromResponse
|
427
|
-
|
427
|
+
# {http://tempuri.org/}GetHarmonizedCodes_CountryFromResponse
|
428
|
+
# getHarmonizedCodes_CountryFromResult - SOAP::SOAPBase64
|
429
|
+
class GetHarmonizedCodes_CountryFromResponse
|
430
|
+
attr_accessor :getHarmonizedCodes_CountryFromResult
|
428
431
|
|
429
|
-
|
430
|
-
|
432
|
+
def initialize(getHarmonizedCodes_CountryFromResult = nil)
|
433
|
+
@getHarmonizedCodes_CountryFromResult = getHarmonizedCodes_CountryFromResult
|
434
|
+
end
|
431
435
|
end
|
432
|
-
end
|
433
436
|
|
434
|
-
# {http://tempuri.org/}GetHarmonizedCodes_CountryFrom_CountryTo
|
435
|
-
# countryFromCode - SOAP::SOAPBase64
|
436
|
-
# countryToCode - SOAP::SOAPBase64
|
437
|
-
class GetHarmonizedCodes_CountryFrom_CountryTo
|
438
|
-
|
439
|
-
|
437
|
+
# {http://tempuri.org/}GetHarmonizedCodes_CountryFrom_CountryTo
|
438
|
+
# countryFromCode - SOAP::SOAPBase64
|
439
|
+
# countryToCode - SOAP::SOAPBase64
|
440
|
+
class GetHarmonizedCodes_CountryFrom_CountryTo
|
441
|
+
attr_accessor :countryFromCode
|
442
|
+
attr_accessor :countryToCode
|
440
443
|
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
+
def initialize(countryFromCode = nil, countryToCode = nil)
|
445
|
+
@countryFromCode = countryFromCode
|
446
|
+
@countryToCode = countryToCode
|
447
|
+
end
|
444
448
|
end
|
445
|
-
end
|
446
449
|
|
447
|
-
# {http://tempuri.org/}GetHarmonizedCodes_CountryFrom_CountryToResponse
|
448
|
-
# getHarmonizedCodes_CountryFrom_CountryToResult - SOAP::SOAPBase64
|
449
|
-
class GetHarmonizedCodes_CountryFrom_CountryToResponse
|
450
|
-
|
450
|
+
# {http://tempuri.org/}GetHarmonizedCodes_CountryFrom_CountryToResponse
|
451
|
+
# getHarmonizedCodes_CountryFrom_CountryToResult - SOAP::SOAPBase64
|
452
|
+
class GetHarmonizedCodes_CountryFrom_CountryToResponse
|
453
|
+
attr_accessor :getHarmonizedCodes_CountryFrom_CountryToResult
|
451
454
|
|
452
|
-
|
453
|
-
|
455
|
+
def initialize(getHarmonizedCodes_CountryFrom_CountryToResult = nil)
|
456
|
+
@getHarmonizedCodes_CountryFrom_CountryToResult = getHarmonizedCodes_CountryFrom_CountryToResult
|
457
|
+
end
|
454
458
|
end
|
455
|
-
end
|
456
459
|
|
457
|
-
# {http://tempuri.org/}GetCommodityMeasurmentsPerCarrier
|
458
|
-
# carrierName - SOAP::SOAPString
|
459
|
-
class GetCommodityMeasurmentsPerCarrier
|
460
|
-
|
460
|
+
# {http://tempuri.org/}GetCommodityMeasurmentsPerCarrier
|
461
|
+
# carrierName - SOAP::SOAPString
|
462
|
+
class GetCommodityMeasurmentsPerCarrier
|
463
|
+
attr_accessor :carrierName
|
461
464
|
|
462
|
-
|
463
|
-
|
465
|
+
def initialize(carrierName = nil)
|
466
|
+
@carrierName = carrierName
|
467
|
+
end
|
464
468
|
end
|
465
|
-
end
|
466
469
|
|
467
|
-
# {http://tempuri.org/}GetCommodityMeasurmentsPerCarrierResponse
|
468
|
-
# getCommodityMeasurmentsPerCarrierResult - SOAP::SOAPBase64
|
469
|
-
class GetCommodityMeasurmentsPerCarrierResponse
|
470
|
-
|
470
|
+
# {http://tempuri.org/}GetCommodityMeasurmentsPerCarrierResponse
|
471
|
+
# getCommodityMeasurmentsPerCarrierResult - SOAP::SOAPBase64
|
472
|
+
class GetCommodityMeasurmentsPerCarrierResponse
|
473
|
+
attr_accessor :getCommodityMeasurmentsPerCarrierResult
|
471
474
|
|
472
|
-
|
473
|
-
|
475
|
+
def initialize(getCommodityMeasurmentsPerCarrierResult = nil)
|
476
|
+
@getCommodityMeasurmentsPerCarrierResult = getCommodityMeasurmentsPerCarrierResult
|
477
|
+
end
|
474
478
|
end
|
475
|
-
end
|
476
479
|
|
477
|
-
# {http://tempuri.org/}GetCarrierAcctInfo
|
478
|
-
# carrierName - SOAP::SOAPBase64
|
479
|
-
# userInfoXML - SOAP::SOAPBase64
|
480
|
-
# billFreightTo - SOAP::SOAPBase64
|
481
|
-
class GetCarrierAcctInfo
|
482
|
-
|
483
|
-
|
484
|
-
|
480
|
+
# {http://tempuri.org/}GetCarrierAcctInfo
|
481
|
+
# carrierName - SOAP::SOAPBase64
|
482
|
+
# userInfoXML - SOAP::SOAPBase64
|
483
|
+
# billFreightTo - SOAP::SOAPBase64
|
484
|
+
class GetCarrierAcctInfo
|
485
|
+
attr_accessor :carrierName
|
486
|
+
attr_accessor :userInfoXML
|
487
|
+
attr_accessor :billFreightTo
|
485
488
|
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
489
|
+
def initialize(carrierName = nil, userInfoXML = nil, billFreightTo = nil)
|
490
|
+
@carrierName = carrierName
|
491
|
+
@userInfoXML = userInfoXML
|
492
|
+
@billFreightTo = billFreightTo
|
493
|
+
end
|
490
494
|
end
|
491
|
-
end
|
492
495
|
|
493
|
-
# {http://tempuri.org/}GetCarrierAcctInfoResponse
|
494
|
-
# getCarrierAcctInfoResult - SOAP::SOAPBase64
|
495
|
-
class GetCarrierAcctInfoResponse
|
496
|
-
|
496
|
+
# {http://tempuri.org/}GetCarrierAcctInfoResponse
|
497
|
+
# getCarrierAcctInfoResult - SOAP::SOAPBase64
|
498
|
+
class GetCarrierAcctInfoResponse
|
499
|
+
attr_accessor :getCarrierAcctInfoResult
|
497
500
|
|
498
|
-
|
499
|
-
|
501
|
+
def initialize(getCarrierAcctInfoResult = nil)
|
502
|
+
@getCarrierAcctInfoResult = getCarrierAcctInfoResult
|
503
|
+
end
|
500
504
|
end
|
501
|
-
end
|
502
505
|
|
503
|
-
# {http://tempuri.org/}GetUserInfo
|
504
|
-
class GetUserInfo
|
505
|
-
|
506
|
+
# {http://tempuri.org/}GetUserInfo
|
507
|
+
class GetUserInfo
|
508
|
+
def initialize
|
509
|
+
end
|
506
510
|
end
|
507
|
-
end
|
508
511
|
|
509
|
-
# {http://tempuri.org/}GetUserInfoResponse
|
510
|
-
# getUserInfoResult - SOAP::SOAPBase64
|
511
|
-
class GetUserInfoResponse
|
512
|
-
|
512
|
+
# {http://tempuri.org/}GetUserInfoResponse
|
513
|
+
# getUserInfoResult - SOAP::SOAPBase64
|
514
|
+
class GetUserInfoResponse
|
515
|
+
attr_accessor :getUserInfoResult
|
513
516
|
|
514
|
-
|
515
|
-
|
517
|
+
def initialize(getUserInfoResult = nil)
|
518
|
+
@getUserInfoResult = getUserInfoResult
|
519
|
+
end
|
516
520
|
end
|
517
|
-
end
|
521
|
+
#end
|