secondrotation-channel_advisor 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README +3 -0
- data/lib/channel_advisor.rb +8 -0
- data/lib/channel_advisor/auth_handler.rb +21 -0
- data/lib/channel_advisor/cart_service.rb +4 -0
- data/lib/channel_advisor/cart_service/client.rb +79 -0
- data/lib/channel_advisor/cart_service/mapping_registry.rb +344 -0
- data/lib/channel_advisor/cart_service/types.rb +385 -0
- data/lib/channel_advisor/errors.rb +10 -0
- data/lib/channel_advisor/inventory_service.rb +42 -0
- data/lib/channel_advisor/inventory_service/client.rb +199 -0
- data/lib/channel_advisor/inventory_service/mapping_registry.rb +1651 -0
- data/lib/channel_advisor/inventory_service/types.rb +1544 -0
- data/lib/channel_advisor/marketplace_ad_service.rb +4 -0
- data/lib/channel_advisor/marketplace_ad_service/client.rb +71 -0
- data/lib/channel_advisor/marketplace_ad_service/mapping_registry.rb +334 -0
- data/lib/channel_advisor/marketplace_ad_service/types.rb +317 -0
- data/lib/channel_advisor/message_code.rb +30 -0
- data/lib/channel_advisor/order_service.rb +4 -0
- data/lib/channel_advisor/order_service/client.rb +87 -0
- data/lib/channel_advisor/order_service/mapping_registry.rb +1356 -0
- data/lib/channel_advisor/order_service/types.rb +1422 -0
- data/lib/channel_advisor/shared_requires.rb +10 -0
- data/lib/channel_advisor/shipping_service.rb +4 -0
- data/lib/channel_advisor/shipping_service/client.rb +71 -0
- data/lib/channel_advisor/shipping_service/mapping_registry.rb +309 -0
- data/lib/channel_advisor/shipping_service/types.rb +280 -0
- data/lib/channel_advisor/store_service.rb +4 -0
- data/lib/channel_advisor/store_service/client.rb +55 -0
- data/lib/channel_advisor/store_service/mapping_registry.rb +250 -0
- data/lib/channel_advisor/store_service/types.rb +180 -0
- data/lib/channel_advisor/tax_service.rb +4 -0
- data/lib/channel_advisor/tax_service/client.rb +55 -0
- data/lib/channel_advisor/tax_service/mapping_registry.rb +233 -0
- data/lib/channel_advisor/tax_service/types.rb +221 -0
- data/test/lib/channel_advisor/auth_handler_spec.rb +46 -0
- data/test/lib/channel_advisor/inventory_service_spec.rb +62 -0
- data/test/lib/channel_advisor/message_code_spec.rb +40 -0
- data/test/spec.opts +2 -0
- data/test/spec_helper.rb +4 -0
- metadata +117 -0
@@ -0,0 +1,1422 @@
|
|
1
|
+
module ChannelAdvisor; module OrderServiceSOAP
|
2
|
+
|
3
|
+
|
4
|
+
# {http://api.channeladvisor.com/webservices/}APIResultOfRefundItemResponse
|
5
|
+
# status - ChannelAdvisor::OrderServiceSOAP::ResultStatus
|
6
|
+
# messageCode - SOAP::SOAPInt
|
7
|
+
# message - SOAP::SOAPString
|
8
|
+
# data - SOAP::SOAPString
|
9
|
+
# resultData - ChannelAdvisor::OrderServiceSOAP::RefundItemResponse
|
10
|
+
class APIResultOfRefundItemResponse
|
11
|
+
attr_accessor :status
|
12
|
+
attr_accessor :messageCode
|
13
|
+
attr_accessor :message
|
14
|
+
attr_accessor :data
|
15
|
+
attr_accessor :resultData
|
16
|
+
|
17
|
+
def initialize(status = nil, messageCode = nil, message = nil, data = nil, resultData = nil)
|
18
|
+
@status = status
|
19
|
+
@messageCode = messageCode
|
20
|
+
@message = message
|
21
|
+
@data = data
|
22
|
+
@resultData = resultData
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
# {http://api.channeladvisor.com/webservices/}APICredentials
|
27
|
+
# developerKey - SOAP::SOAPString
|
28
|
+
# password - SOAP::SOAPString
|
29
|
+
class APICredentials
|
30
|
+
attr_accessor :developerKey
|
31
|
+
attr_accessor :password
|
32
|
+
|
33
|
+
def initialize(developerKey = nil, password = nil)
|
34
|
+
@developerKey = developerKey
|
35
|
+
@password = password
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
# {http://api.channeladvisor.com/webservices/}ArrayOfString
|
40
|
+
class ArrayOfString < ::Array
|
41
|
+
end
|
42
|
+
|
43
|
+
# {http://api.channeladvisor.com/webservices/}APIResultOfArrayOfBoolean
|
44
|
+
# status - ChannelAdvisor::OrderServiceSOAP::ResultStatus
|
45
|
+
# messageCode - SOAP::SOAPInt
|
46
|
+
# message - SOAP::SOAPString
|
47
|
+
# data - SOAP::SOAPString
|
48
|
+
# resultData - ChannelAdvisor::OrderServiceSOAP::ArrayOfBoolean
|
49
|
+
class APIResultOfArrayOfBoolean
|
50
|
+
attr_accessor :status
|
51
|
+
attr_accessor :messageCode
|
52
|
+
attr_accessor :message
|
53
|
+
attr_accessor :data
|
54
|
+
attr_accessor :resultData
|
55
|
+
|
56
|
+
def initialize(status = nil, messageCode = nil, message = nil, data = nil, resultData = nil)
|
57
|
+
@status = status
|
58
|
+
@messageCode = messageCode
|
59
|
+
@message = message
|
60
|
+
@data = data
|
61
|
+
@resultData = resultData
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# {http://api.channeladvisor.com/webservices/}ArrayOfBoolean
|
66
|
+
class ArrayOfBoolean < ::Array
|
67
|
+
end
|
68
|
+
|
69
|
+
# {http://api.channeladvisor.com/webservices/}APIResultOfArrayOfOrderResponseItem
|
70
|
+
# status - ChannelAdvisor::OrderServiceSOAP::ResultStatus
|
71
|
+
# messageCode - SOAP::SOAPInt
|
72
|
+
# message - SOAP::SOAPString
|
73
|
+
# data - SOAP::SOAPString
|
74
|
+
# resultData - ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderResponseItem
|
75
|
+
class APIResultOfArrayOfOrderResponseItem
|
76
|
+
attr_accessor :status
|
77
|
+
attr_accessor :messageCode
|
78
|
+
attr_accessor :message
|
79
|
+
attr_accessor :data
|
80
|
+
attr_accessor :resultData
|
81
|
+
|
82
|
+
def initialize(status = nil, messageCode = nil, message = nil, data = nil, resultData = nil)
|
83
|
+
@status = status
|
84
|
+
@messageCode = messageCode
|
85
|
+
@message = message
|
86
|
+
@data = data
|
87
|
+
@resultData = resultData
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
# {http://api.channeladvisor.com/webservices/}ArrayOfOrderResponseItem
|
92
|
+
class ArrayOfOrderResponseItem < ::Array
|
93
|
+
end
|
94
|
+
|
95
|
+
# {http://api.channeladvisor.com/webservices/}APIResultOfInt32
|
96
|
+
# status - ChannelAdvisor::OrderServiceSOAP::ResultStatus
|
97
|
+
# messageCode - SOAP::SOAPInt
|
98
|
+
# message - SOAP::SOAPString
|
99
|
+
# data - SOAP::SOAPString
|
100
|
+
# resultData - SOAP::SOAPInt
|
101
|
+
class APIResultOfInt32
|
102
|
+
attr_accessor :status
|
103
|
+
attr_accessor :messageCode
|
104
|
+
attr_accessor :message
|
105
|
+
attr_accessor :data
|
106
|
+
attr_accessor :resultData
|
107
|
+
|
108
|
+
def initialize(status = nil, messageCode = nil, message = nil, data = nil, resultData = nil)
|
109
|
+
@status = status
|
110
|
+
@messageCode = messageCode
|
111
|
+
@message = message
|
112
|
+
@data = data
|
113
|
+
@resultData = resultData
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
# {http://api.channeladvisor.com/webservices/}APIResultOfString
|
118
|
+
# status - ChannelAdvisor::OrderServiceSOAP::ResultStatus
|
119
|
+
# messageCode - SOAP::SOAPInt
|
120
|
+
# message - SOAP::SOAPString
|
121
|
+
# data - SOAP::SOAPString
|
122
|
+
# resultData - SOAP::SOAPString
|
123
|
+
class APIResultOfString
|
124
|
+
attr_accessor :status
|
125
|
+
attr_accessor :messageCode
|
126
|
+
attr_accessor :message
|
127
|
+
attr_accessor :data
|
128
|
+
attr_accessor :resultData
|
129
|
+
|
130
|
+
def initialize(status = nil, messageCode = nil, message = nil, data = nil, resultData = nil)
|
131
|
+
@status = status
|
132
|
+
@messageCode = messageCode
|
133
|
+
@message = message
|
134
|
+
@data = data
|
135
|
+
@resultData = resultData
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
# {http://api.channeladvisor.com/datacontracts/orders}RefundItemResponse
|
140
|
+
# orderID - SOAP::SOAPString
|
141
|
+
# refundItems - ChannelAdvisor::OrderServiceSOAP::ArrayOfRefundItem
|
142
|
+
class RefundItemResponse
|
143
|
+
attr_accessor :orderID
|
144
|
+
attr_accessor :refundItems
|
145
|
+
|
146
|
+
def initialize(orderID = nil, refundItems = nil)
|
147
|
+
@orderID = orderID
|
148
|
+
@refundItems = refundItems
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ArrayOfRefundItem
|
153
|
+
class ArrayOfRefundItem < ::Array
|
154
|
+
end
|
155
|
+
|
156
|
+
# {http://api.channeladvisor.com/datacontracts/orders}RefundItem
|
157
|
+
# sKU - SOAP::SOAPString
|
158
|
+
# amount - SOAP::SOAPDecimal
|
159
|
+
# shippingAmount - SOAP::SOAPDecimal
|
160
|
+
# shippingTaxAmount - SOAP::SOAPDecimal
|
161
|
+
# taxAmount - SOAP::SOAPDecimal
|
162
|
+
# quantity - SOAP::SOAPInt
|
163
|
+
# refundRequestID - SOAP::SOAPInt
|
164
|
+
# refundRequested - SOAP::SOAPBoolean
|
165
|
+
# adjustmentReason - ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason
|
166
|
+
class RefundItem
|
167
|
+
attr_accessor :sKU
|
168
|
+
attr_accessor :amount
|
169
|
+
attr_accessor :shippingAmount
|
170
|
+
attr_accessor :shippingTaxAmount
|
171
|
+
attr_accessor :taxAmount
|
172
|
+
attr_accessor :quantity
|
173
|
+
attr_accessor :refundRequestID
|
174
|
+
attr_accessor :refundRequested
|
175
|
+
attr_accessor :adjustmentReason
|
176
|
+
|
177
|
+
def initialize(sKU = nil, amount = nil, shippingAmount = nil, shippingTaxAmount = nil, taxAmount = nil, quantity = nil, refundRequestID = nil, refundRequested = nil, adjustmentReason = nil)
|
178
|
+
@sKU = sKU
|
179
|
+
@amount = amount
|
180
|
+
@shippingAmount = shippingAmount
|
181
|
+
@shippingTaxAmount = shippingTaxAmount
|
182
|
+
@taxAmount = taxAmount
|
183
|
+
@quantity = quantity
|
184
|
+
@refundRequestID = refundRequestID
|
185
|
+
@refundRequested = refundRequested
|
186
|
+
@adjustmentReason = adjustmentReason
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
# {http://api.channeladvisor.com/datacontracts/orders}RefundItemRequest
|
191
|
+
# orderID - SOAP::SOAPString
|
192
|
+
# refundItems - ChannelAdvisor::OrderServiceSOAP::ArrayOfRefundItem
|
193
|
+
class RefundItemRequest
|
194
|
+
attr_accessor :orderID
|
195
|
+
attr_accessor :refundItems
|
196
|
+
|
197
|
+
def initialize(orderID = nil, refundItems = nil)
|
198
|
+
@orderID = orderID
|
199
|
+
@refundItems = refundItems
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderCriteria
|
204
|
+
# orderCreationFilterBeginTimeGMT - SOAP::SOAPDateTime
|
205
|
+
# orderCreationFilterEndTimeGMT - SOAP::SOAPDateTime
|
206
|
+
# statusUpdateFilterBeginTimeGMT - SOAP::SOAPDateTime
|
207
|
+
# statusUpdateFilterEndTimeGMT - SOAP::SOAPDateTime
|
208
|
+
# detailLevel - ChannelAdvisor::OrderServiceSOAP::DetailLevelType
|
209
|
+
# exportState - ChannelAdvisor::OrderServiceSOAP::ExportStateType
|
210
|
+
# orderIDList - ChannelAdvisor::OrderServiceSOAP::ArrayOfInt
|
211
|
+
# orderStateFilter - ChannelAdvisor::OrderServiceSOAP::OrderStateCode
|
212
|
+
# paymentStatusFilter - ChannelAdvisor::OrderServiceSOAP::PaymentStatusCode
|
213
|
+
# checkoutStatusFilter - ChannelAdvisor::OrderServiceSOAP::CheckoutStatusCode
|
214
|
+
# shippingStatusFilter - ChannelAdvisor::OrderServiceSOAP::ShippingStatusCode
|
215
|
+
# pageNumberFilter - SOAP::SOAPInt
|
216
|
+
# pageSize - SOAP::SOAPInt
|
217
|
+
class OrderCriteria
|
218
|
+
attr_accessor :orderCreationFilterBeginTimeGMT
|
219
|
+
attr_accessor :orderCreationFilterEndTimeGMT
|
220
|
+
attr_accessor :statusUpdateFilterBeginTimeGMT
|
221
|
+
attr_accessor :statusUpdateFilterEndTimeGMT
|
222
|
+
attr_accessor :detailLevel
|
223
|
+
attr_accessor :exportState
|
224
|
+
attr_accessor :orderIDList
|
225
|
+
attr_accessor :orderStateFilter
|
226
|
+
attr_accessor :paymentStatusFilter
|
227
|
+
attr_accessor :checkoutStatusFilter
|
228
|
+
attr_accessor :shippingStatusFilter
|
229
|
+
attr_accessor :pageNumberFilter
|
230
|
+
attr_accessor :pageSize
|
231
|
+
|
232
|
+
def initialize(orderCreationFilterBeginTimeGMT = nil, orderCreationFilterEndTimeGMT = nil, statusUpdateFilterBeginTimeGMT = nil, statusUpdateFilterEndTimeGMT = nil, detailLevel = nil, exportState = nil, orderIDList = nil, orderStateFilter = nil, paymentStatusFilter = nil, checkoutStatusFilter = nil, shippingStatusFilter = nil, pageNumberFilter = nil, pageSize = nil)
|
233
|
+
@orderCreationFilterBeginTimeGMT = orderCreationFilterBeginTimeGMT
|
234
|
+
@orderCreationFilterEndTimeGMT = orderCreationFilterEndTimeGMT
|
235
|
+
@statusUpdateFilterBeginTimeGMT = statusUpdateFilterBeginTimeGMT
|
236
|
+
@statusUpdateFilterEndTimeGMT = statusUpdateFilterEndTimeGMT
|
237
|
+
@detailLevel = detailLevel
|
238
|
+
@exportState = exportState
|
239
|
+
@orderIDList = orderIDList
|
240
|
+
@orderStateFilter = orderStateFilter
|
241
|
+
@paymentStatusFilter = paymentStatusFilter
|
242
|
+
@checkoutStatusFilter = checkoutStatusFilter
|
243
|
+
@shippingStatusFilter = shippingStatusFilter
|
244
|
+
@pageNumberFilter = pageNumberFilter
|
245
|
+
@pageSize = pageSize
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ArrayOfInt
|
250
|
+
class ArrayOfInt < ::Array
|
251
|
+
end
|
252
|
+
|
253
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderResponseItem
|
254
|
+
# abstract
|
255
|
+
# numberOfMatches - SOAP::SOAPInt
|
256
|
+
# orderTimeGMT - SOAP::SOAPDateTime
|
257
|
+
# lastUpdateDate - SOAP::SOAPDateTime
|
258
|
+
# totalOrderAmount - SOAP::SOAPDecimal
|
259
|
+
# orderState - ChannelAdvisor::OrderServiceSOAP::OrderStateCode
|
260
|
+
# dateCancelledGMT - SOAP::SOAPDateTime
|
261
|
+
# orderID - SOAP::SOAPInt
|
262
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
263
|
+
class OrderResponseItem
|
264
|
+
attr_accessor :numberOfMatches
|
265
|
+
attr_accessor :orderTimeGMT
|
266
|
+
attr_accessor :lastUpdateDate
|
267
|
+
attr_accessor :totalOrderAmount
|
268
|
+
attr_accessor :orderState
|
269
|
+
attr_accessor :dateCancelledGMT
|
270
|
+
attr_accessor :orderID
|
271
|
+
attr_accessor :clientOrderIdentifier
|
272
|
+
|
273
|
+
def initialize(numberOfMatches = nil, orderTimeGMT = nil, lastUpdateDate = nil, totalOrderAmount = nil, orderState = nil, dateCancelledGMT = nil, orderID = nil, clientOrderIdentifier = nil)
|
274
|
+
@numberOfMatches = numberOfMatches
|
275
|
+
@orderTimeGMT = orderTimeGMT
|
276
|
+
@lastUpdateDate = lastUpdateDate
|
277
|
+
@totalOrderAmount = totalOrderAmount
|
278
|
+
@orderState = orderState
|
279
|
+
@dateCancelledGMT = dateCancelledGMT
|
280
|
+
@orderID = orderID
|
281
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderResponseDetailLow
|
286
|
+
# numberOfMatches - SOAP::SOAPInt
|
287
|
+
# orderTimeGMT - SOAP::SOAPDateTime
|
288
|
+
# lastUpdateDate - SOAP::SOAPDateTime
|
289
|
+
# totalOrderAmount - SOAP::SOAPDecimal
|
290
|
+
# orderState - ChannelAdvisor::OrderServiceSOAP::OrderStateCode
|
291
|
+
# dateCancelledGMT - SOAP::SOAPDateTime
|
292
|
+
# orderID - SOAP::SOAPInt
|
293
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
294
|
+
# orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
|
295
|
+
class OrderResponseDetailLow < OrderResponseItem
|
296
|
+
attr_accessor :numberOfMatches
|
297
|
+
attr_accessor :orderTimeGMT
|
298
|
+
attr_accessor :lastUpdateDate
|
299
|
+
attr_accessor :totalOrderAmount
|
300
|
+
attr_accessor :orderState
|
301
|
+
attr_accessor :dateCancelledGMT
|
302
|
+
attr_accessor :orderID
|
303
|
+
attr_accessor :clientOrderIdentifier
|
304
|
+
attr_accessor :orderStatus
|
305
|
+
|
306
|
+
def initialize(numberOfMatches = nil, orderTimeGMT = nil, lastUpdateDate = nil, totalOrderAmount = nil, orderState = nil, dateCancelledGMT = nil, orderID = nil, clientOrderIdentifier = nil, orderStatus = nil)
|
307
|
+
@numberOfMatches = numberOfMatches
|
308
|
+
@orderTimeGMT = orderTimeGMT
|
309
|
+
@lastUpdateDate = lastUpdateDate
|
310
|
+
@totalOrderAmount = totalOrderAmount
|
311
|
+
@orderState = orderState
|
312
|
+
@dateCancelledGMT = dateCancelledGMT
|
313
|
+
@orderID = orderID
|
314
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
315
|
+
@orderStatus = orderStatus
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
319
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderResponseDetailMedium
|
320
|
+
# numberOfMatches - SOAP::SOAPInt
|
321
|
+
# orderTimeGMT - SOAP::SOAPDateTime
|
322
|
+
# lastUpdateDate - SOAP::SOAPDateTime
|
323
|
+
# totalOrderAmount - SOAP::SOAPDecimal
|
324
|
+
# orderState - ChannelAdvisor::OrderServiceSOAP::OrderStateCode
|
325
|
+
# dateCancelledGMT - SOAP::SOAPDateTime
|
326
|
+
# orderID - SOAP::SOAPInt
|
327
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
328
|
+
# orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
|
329
|
+
# resellerID - SOAP::SOAPString
|
330
|
+
# buyerEmailAddress - SOAP::SOAPString
|
331
|
+
# emailOptIn - SOAP::SOAPBoolean
|
332
|
+
# paymentInfo - ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse
|
333
|
+
# shippingInfo - ChannelAdvisor::OrderServiceSOAP::ShippingInfoResponse
|
334
|
+
# billingInfo - ChannelAdvisor::OrderServiceSOAP::BillingInfo
|
335
|
+
class OrderResponseDetailMedium < OrderResponseDetailLow
|
336
|
+
attr_accessor :numberOfMatches
|
337
|
+
attr_accessor :orderTimeGMT
|
338
|
+
attr_accessor :lastUpdateDate
|
339
|
+
attr_accessor :totalOrderAmount
|
340
|
+
attr_accessor :orderState
|
341
|
+
attr_accessor :dateCancelledGMT
|
342
|
+
attr_accessor :orderID
|
343
|
+
attr_accessor :clientOrderIdentifier
|
344
|
+
attr_accessor :orderStatus
|
345
|
+
attr_accessor :resellerID
|
346
|
+
attr_accessor :buyerEmailAddress
|
347
|
+
attr_accessor :emailOptIn
|
348
|
+
attr_accessor :paymentInfo
|
349
|
+
attr_accessor :shippingInfo
|
350
|
+
attr_accessor :billingInfo
|
351
|
+
|
352
|
+
def initialize(numberOfMatches = nil, orderTimeGMT = nil, lastUpdateDate = nil, totalOrderAmount = nil, orderState = nil, dateCancelledGMT = nil, orderID = nil, clientOrderIdentifier = nil, orderStatus = nil, resellerID = nil, buyerEmailAddress = nil, emailOptIn = nil, paymentInfo = nil, shippingInfo = nil, billingInfo = nil)
|
353
|
+
@numberOfMatches = numberOfMatches
|
354
|
+
@orderTimeGMT = orderTimeGMT
|
355
|
+
@lastUpdateDate = lastUpdateDate
|
356
|
+
@totalOrderAmount = totalOrderAmount
|
357
|
+
@orderState = orderState
|
358
|
+
@dateCancelledGMT = dateCancelledGMT
|
359
|
+
@orderID = orderID
|
360
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
361
|
+
@orderStatus = orderStatus
|
362
|
+
@resellerID = resellerID
|
363
|
+
@buyerEmailAddress = buyerEmailAddress
|
364
|
+
@emailOptIn = emailOptIn
|
365
|
+
@paymentInfo = paymentInfo
|
366
|
+
@shippingInfo = shippingInfo
|
367
|
+
@billingInfo = billingInfo
|
368
|
+
end
|
369
|
+
end
|
370
|
+
|
371
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderResponseDetailHigh
|
372
|
+
# numberOfMatches - SOAP::SOAPInt
|
373
|
+
# orderTimeGMT - SOAP::SOAPDateTime
|
374
|
+
# lastUpdateDate - SOAP::SOAPDateTime
|
375
|
+
# totalOrderAmount - SOAP::SOAPDecimal
|
376
|
+
# orderState - ChannelAdvisor::OrderServiceSOAP::OrderStateCode
|
377
|
+
# dateCancelledGMT - SOAP::SOAPDateTime
|
378
|
+
# orderID - SOAP::SOAPInt
|
379
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
380
|
+
# orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
|
381
|
+
# resellerID - SOAP::SOAPString
|
382
|
+
# buyerEmailAddress - SOAP::SOAPString
|
383
|
+
# emailOptIn - SOAP::SOAPBoolean
|
384
|
+
# paymentInfo - ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse
|
385
|
+
# shippingInfo - ChannelAdvisor::OrderServiceSOAP::ShippingInfoResponse
|
386
|
+
# billingInfo - ChannelAdvisor::OrderServiceSOAP::BillingInfo
|
387
|
+
# shoppingCart - ChannelAdvisor::OrderServiceSOAP::OrderCart
|
388
|
+
class OrderResponseDetailHigh < OrderResponseDetailMedium
|
389
|
+
attr_accessor :numberOfMatches
|
390
|
+
attr_accessor :orderTimeGMT
|
391
|
+
attr_accessor :lastUpdateDate
|
392
|
+
attr_accessor :totalOrderAmount
|
393
|
+
attr_accessor :orderState
|
394
|
+
attr_accessor :dateCancelledGMT
|
395
|
+
attr_accessor :orderID
|
396
|
+
attr_accessor :clientOrderIdentifier
|
397
|
+
attr_accessor :orderStatus
|
398
|
+
attr_accessor :resellerID
|
399
|
+
attr_accessor :buyerEmailAddress
|
400
|
+
attr_accessor :emailOptIn
|
401
|
+
attr_accessor :paymentInfo
|
402
|
+
attr_accessor :shippingInfo
|
403
|
+
attr_accessor :billingInfo
|
404
|
+
attr_accessor :shoppingCart
|
405
|
+
|
406
|
+
def initialize(numberOfMatches = nil, orderTimeGMT = nil, lastUpdateDate = nil, totalOrderAmount = nil, orderState = nil, dateCancelledGMT = nil, orderID = nil, clientOrderIdentifier = nil, orderStatus = nil, resellerID = nil, buyerEmailAddress = nil, emailOptIn = nil, paymentInfo = nil, shippingInfo = nil, billingInfo = nil, shoppingCart = nil)
|
407
|
+
@numberOfMatches = numberOfMatches
|
408
|
+
@orderTimeGMT = orderTimeGMT
|
409
|
+
@lastUpdateDate = lastUpdateDate
|
410
|
+
@totalOrderAmount = totalOrderAmount
|
411
|
+
@orderState = orderState
|
412
|
+
@dateCancelledGMT = dateCancelledGMT
|
413
|
+
@orderID = orderID
|
414
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
415
|
+
@orderStatus = orderStatus
|
416
|
+
@resellerID = resellerID
|
417
|
+
@buyerEmailAddress = buyerEmailAddress
|
418
|
+
@emailOptIn = emailOptIn
|
419
|
+
@paymentInfo = paymentInfo
|
420
|
+
@shippingInfo = shippingInfo
|
421
|
+
@billingInfo = billingInfo
|
422
|
+
@shoppingCart = shoppingCart
|
423
|
+
end
|
424
|
+
end
|
425
|
+
|
426
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderResponseDetailComplete
|
427
|
+
# numberOfMatches - SOAP::SOAPInt
|
428
|
+
# orderTimeGMT - SOAP::SOAPDateTime
|
429
|
+
# lastUpdateDate - SOAP::SOAPDateTime
|
430
|
+
# totalOrderAmount - SOAP::SOAPDecimal
|
431
|
+
# orderState - ChannelAdvisor::OrderServiceSOAP::OrderStateCode
|
432
|
+
# dateCancelledGMT - SOAP::SOAPDateTime
|
433
|
+
# orderID - SOAP::SOAPInt
|
434
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
435
|
+
# orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
|
436
|
+
# resellerID - SOAP::SOAPString
|
437
|
+
# buyerEmailAddress - SOAP::SOAPString
|
438
|
+
# emailOptIn - SOAP::SOAPBoolean
|
439
|
+
# paymentInfo - ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse
|
440
|
+
# shippingInfo - ChannelAdvisor::OrderServiceSOAP::ShippingInfoResponse
|
441
|
+
# billingInfo - ChannelAdvisor::OrderServiceSOAP::BillingInfo
|
442
|
+
# shoppingCart - ChannelAdvisor::OrderServiceSOAP::OrderCart
|
443
|
+
# customValueList - ChannelAdvisor::OrderServiceSOAP::ArrayOfCustomValue
|
444
|
+
class OrderResponseDetailComplete < OrderResponseDetailHigh
|
445
|
+
attr_accessor :numberOfMatches
|
446
|
+
attr_accessor :orderTimeGMT
|
447
|
+
attr_accessor :lastUpdateDate
|
448
|
+
attr_accessor :totalOrderAmount
|
449
|
+
attr_accessor :orderState
|
450
|
+
attr_accessor :dateCancelledGMT
|
451
|
+
attr_accessor :orderID
|
452
|
+
attr_accessor :clientOrderIdentifier
|
453
|
+
attr_accessor :orderStatus
|
454
|
+
attr_accessor :resellerID
|
455
|
+
attr_accessor :buyerEmailAddress
|
456
|
+
attr_accessor :emailOptIn
|
457
|
+
attr_accessor :paymentInfo
|
458
|
+
attr_accessor :shippingInfo
|
459
|
+
attr_accessor :billingInfo
|
460
|
+
attr_accessor :shoppingCart
|
461
|
+
attr_accessor :customValueList
|
462
|
+
|
463
|
+
def initialize(numberOfMatches = nil, orderTimeGMT = nil, lastUpdateDate = nil, totalOrderAmount = nil, orderState = nil, dateCancelledGMT = nil, orderID = nil, clientOrderIdentifier = nil, orderStatus = nil, resellerID = nil, buyerEmailAddress = nil, emailOptIn = nil, paymentInfo = nil, shippingInfo = nil, billingInfo = nil, shoppingCart = nil, customValueList = nil)
|
464
|
+
@numberOfMatches = numberOfMatches
|
465
|
+
@orderTimeGMT = orderTimeGMT
|
466
|
+
@lastUpdateDate = lastUpdateDate
|
467
|
+
@totalOrderAmount = totalOrderAmount
|
468
|
+
@orderState = orderState
|
469
|
+
@dateCancelledGMT = dateCancelledGMT
|
470
|
+
@orderID = orderID
|
471
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
472
|
+
@orderStatus = orderStatus
|
473
|
+
@resellerID = resellerID
|
474
|
+
@buyerEmailAddress = buyerEmailAddress
|
475
|
+
@emailOptIn = emailOptIn
|
476
|
+
@paymentInfo = paymentInfo
|
477
|
+
@shippingInfo = shippingInfo
|
478
|
+
@billingInfo = billingInfo
|
479
|
+
@shoppingCart = shoppingCart
|
480
|
+
@customValueList = customValueList
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
484
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderStatus
|
485
|
+
# checkoutStatus - ChannelAdvisor::OrderServiceSOAP::CheckoutStatusCode
|
486
|
+
# checkoutDateGMT - SOAP::SOAPDateTime
|
487
|
+
# paymentStatus - ChannelAdvisor::OrderServiceSOAP::PaymentStatusCode
|
488
|
+
# paymentDateGMT - SOAP::SOAPDateTime
|
489
|
+
# shippingStatus - ChannelAdvisor::OrderServiceSOAP::ShippingStatusCode
|
490
|
+
# shippingDateGMT - SOAP::SOAPDateTime
|
491
|
+
class OrderStatus
|
492
|
+
attr_accessor :checkoutStatus
|
493
|
+
attr_accessor :checkoutDateGMT
|
494
|
+
attr_accessor :paymentStatus
|
495
|
+
attr_accessor :paymentDateGMT
|
496
|
+
attr_accessor :shippingStatus
|
497
|
+
attr_accessor :shippingDateGMT
|
498
|
+
|
499
|
+
def initialize(checkoutStatus = nil, checkoutDateGMT = nil, paymentStatus = nil, paymentDateGMT = nil, shippingStatus = nil, shippingDateGMT = nil)
|
500
|
+
@checkoutStatus = checkoutStatus
|
501
|
+
@checkoutDateGMT = checkoutDateGMT
|
502
|
+
@paymentStatus = paymentStatus
|
503
|
+
@paymentDateGMT = paymentDateGMT
|
504
|
+
@shippingStatus = shippingStatus
|
505
|
+
@shippingDateGMT = shippingDateGMT
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
509
|
+
# {http://api.channeladvisor.com/datacontracts/orders}PaymentInfo
|
510
|
+
# paymentType - SOAP::SOAPString
|
511
|
+
# creditCardLast4 - SOAP::SOAPString
|
512
|
+
# payPalID - SOAP::SOAPString
|
513
|
+
# merchantReferenceNumber - SOAP::SOAPString
|
514
|
+
# paymentTransactionID - SOAP::SOAPString
|
515
|
+
class PaymentInfo
|
516
|
+
attr_accessor :paymentType
|
517
|
+
attr_accessor :creditCardLast4
|
518
|
+
attr_accessor :payPalID
|
519
|
+
attr_accessor :merchantReferenceNumber
|
520
|
+
attr_accessor :paymentTransactionID
|
521
|
+
|
522
|
+
def initialize(paymentType = nil, creditCardLast4 = nil, payPalID = nil, merchantReferenceNumber = nil, paymentTransactionID = nil)
|
523
|
+
@paymentType = paymentType
|
524
|
+
@creditCardLast4 = creditCardLast4
|
525
|
+
@payPalID = payPalID
|
526
|
+
@merchantReferenceNumber = merchantReferenceNumber
|
527
|
+
@paymentTransactionID = paymentTransactionID
|
528
|
+
end
|
529
|
+
end
|
530
|
+
|
531
|
+
# {http://api.channeladvisor.com/datacontracts/orders}PaymentInfoResponse
|
532
|
+
# paymentType - SOAP::SOAPString
|
533
|
+
# creditCardLast4 - SOAP::SOAPString
|
534
|
+
# payPalID - SOAP::SOAPString
|
535
|
+
# merchantReferenceNumber - SOAP::SOAPString
|
536
|
+
# paymentTransactionID - SOAP::SOAPString
|
537
|
+
class PaymentInfoResponse < PaymentInfo
|
538
|
+
attr_accessor :paymentType
|
539
|
+
attr_accessor :creditCardLast4
|
540
|
+
attr_accessor :payPalID
|
541
|
+
attr_accessor :merchantReferenceNumber
|
542
|
+
attr_accessor :paymentTransactionID
|
543
|
+
|
544
|
+
def initialize(paymentType = nil, creditCardLast4 = nil, payPalID = nil, merchantReferenceNumber = nil, paymentTransactionID = nil)
|
545
|
+
@paymentType = paymentType
|
546
|
+
@creditCardLast4 = creditCardLast4
|
547
|
+
@payPalID = payPalID
|
548
|
+
@merchantReferenceNumber = merchantReferenceNumber
|
549
|
+
@paymentTransactionID = paymentTransactionID
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
553
|
+
# {http://api.channeladvisor.com/datacontracts/orders}AddressInfo
|
554
|
+
# addressLine1 - SOAP::SOAPString
|
555
|
+
# addressLine2 - SOAP::SOAPString
|
556
|
+
# city - SOAP::SOAPString
|
557
|
+
# region - SOAP::SOAPString
|
558
|
+
# postalCode - SOAP::SOAPString
|
559
|
+
# countryCode - SOAP::SOAPString
|
560
|
+
class AddressInfo
|
561
|
+
attr_accessor :addressLine1
|
562
|
+
attr_accessor :addressLine2
|
563
|
+
attr_accessor :city
|
564
|
+
attr_accessor :region
|
565
|
+
attr_accessor :postalCode
|
566
|
+
attr_accessor :countryCode
|
567
|
+
|
568
|
+
def initialize(addressLine1 = nil, addressLine2 = nil, city = nil, region = nil, postalCode = nil, countryCode = nil)
|
569
|
+
@addressLine1 = addressLine1
|
570
|
+
@addressLine2 = addressLine2
|
571
|
+
@city = city
|
572
|
+
@region = region
|
573
|
+
@postalCode = postalCode
|
574
|
+
@countryCode = countryCode
|
575
|
+
end
|
576
|
+
end
|
577
|
+
|
578
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ContactComplete
|
579
|
+
# addressLine1 - SOAP::SOAPString
|
580
|
+
# addressLine2 - SOAP::SOAPString
|
581
|
+
# city - SOAP::SOAPString
|
582
|
+
# region - SOAP::SOAPString
|
583
|
+
# postalCode - SOAP::SOAPString
|
584
|
+
# countryCode - SOAP::SOAPString
|
585
|
+
# companyName - SOAP::SOAPString
|
586
|
+
# jobTitle - SOAP::SOAPString
|
587
|
+
# title - SOAP::SOAPString
|
588
|
+
# firstName - SOAP::SOAPString
|
589
|
+
# lastName - SOAP::SOAPString
|
590
|
+
# suffix - SOAP::SOAPString
|
591
|
+
# phoneNumberDay - SOAP::SOAPString
|
592
|
+
# phoneNumberEvening - SOAP::SOAPString
|
593
|
+
class ContactComplete < AddressInfo
|
594
|
+
attr_accessor :addressLine1
|
595
|
+
attr_accessor :addressLine2
|
596
|
+
attr_accessor :city
|
597
|
+
attr_accessor :region
|
598
|
+
attr_accessor :postalCode
|
599
|
+
attr_accessor :countryCode
|
600
|
+
attr_accessor :companyName
|
601
|
+
attr_accessor :jobTitle
|
602
|
+
attr_accessor :title
|
603
|
+
attr_accessor :firstName
|
604
|
+
attr_accessor :lastName
|
605
|
+
attr_accessor :suffix
|
606
|
+
attr_accessor :phoneNumberDay
|
607
|
+
attr_accessor :phoneNumberEvening
|
608
|
+
|
609
|
+
def initialize(addressLine1 = nil, addressLine2 = nil, city = nil, region = nil, postalCode = nil, countryCode = nil, companyName = nil, jobTitle = nil, title = nil, firstName = nil, lastName = nil, suffix = nil, phoneNumberDay = nil, phoneNumberEvening = nil)
|
610
|
+
@addressLine1 = addressLine1
|
611
|
+
@addressLine2 = addressLine2
|
612
|
+
@city = city
|
613
|
+
@region = region
|
614
|
+
@postalCode = postalCode
|
615
|
+
@countryCode = countryCode
|
616
|
+
@companyName = companyName
|
617
|
+
@jobTitle = jobTitle
|
618
|
+
@title = title
|
619
|
+
@firstName = firstName
|
620
|
+
@lastName = lastName
|
621
|
+
@suffix = suffix
|
622
|
+
@phoneNumberDay = phoneNumberDay
|
623
|
+
@phoneNumberEvening = phoneNumberEvening
|
624
|
+
end
|
625
|
+
end
|
626
|
+
|
627
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ShippingInfo
|
628
|
+
# abstract
|
629
|
+
# addressLine1 - SOAP::SOAPString
|
630
|
+
# addressLine2 - SOAP::SOAPString
|
631
|
+
# city - SOAP::SOAPString
|
632
|
+
# region - SOAP::SOAPString
|
633
|
+
# postalCode - SOAP::SOAPString
|
634
|
+
# countryCode - SOAP::SOAPString
|
635
|
+
# companyName - SOAP::SOAPString
|
636
|
+
# jobTitle - SOAP::SOAPString
|
637
|
+
# title - SOAP::SOAPString
|
638
|
+
# firstName - SOAP::SOAPString
|
639
|
+
# lastName - SOAP::SOAPString
|
640
|
+
# suffix - SOAP::SOAPString
|
641
|
+
# phoneNumberDay - SOAP::SOAPString
|
642
|
+
# phoneNumberEvening - SOAP::SOAPString
|
643
|
+
# shipmentList - ChannelAdvisor::OrderServiceSOAP::ArrayOfShipment
|
644
|
+
# shippingInstructions - SOAP::SOAPString
|
645
|
+
class ShippingInfo < ContactComplete
|
646
|
+
attr_accessor :addressLine1
|
647
|
+
attr_accessor :addressLine2
|
648
|
+
attr_accessor :city
|
649
|
+
attr_accessor :region
|
650
|
+
attr_accessor :postalCode
|
651
|
+
attr_accessor :countryCode
|
652
|
+
attr_accessor :companyName
|
653
|
+
attr_accessor :jobTitle
|
654
|
+
attr_accessor :title
|
655
|
+
attr_accessor :firstName
|
656
|
+
attr_accessor :lastName
|
657
|
+
attr_accessor :suffix
|
658
|
+
attr_accessor :phoneNumberDay
|
659
|
+
attr_accessor :phoneNumberEvening
|
660
|
+
attr_accessor :shipmentList
|
661
|
+
attr_accessor :shippingInstructions
|
662
|
+
|
663
|
+
def initialize(addressLine1 = nil, addressLine2 = nil, city = nil, region = nil, postalCode = nil, countryCode = nil, companyName = nil, jobTitle = nil, title = nil, firstName = nil, lastName = nil, suffix = nil, phoneNumberDay = nil, phoneNumberEvening = nil, shipmentList = nil, shippingInstructions = nil)
|
664
|
+
@addressLine1 = addressLine1
|
665
|
+
@addressLine2 = addressLine2
|
666
|
+
@city = city
|
667
|
+
@region = region
|
668
|
+
@postalCode = postalCode
|
669
|
+
@countryCode = countryCode
|
670
|
+
@companyName = companyName
|
671
|
+
@jobTitle = jobTitle
|
672
|
+
@title = title
|
673
|
+
@firstName = firstName
|
674
|
+
@lastName = lastName
|
675
|
+
@suffix = suffix
|
676
|
+
@phoneNumberDay = phoneNumberDay
|
677
|
+
@phoneNumberEvening = phoneNumberEvening
|
678
|
+
@shipmentList = shipmentList
|
679
|
+
@shippingInstructions = shippingInstructions
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|
683
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ShippingInfoResponse
|
684
|
+
# addressLine1 - SOAP::SOAPString
|
685
|
+
# addressLine2 - SOAP::SOAPString
|
686
|
+
# city - SOAP::SOAPString
|
687
|
+
# region - SOAP::SOAPString
|
688
|
+
# postalCode - SOAP::SOAPString
|
689
|
+
# countryCode - SOAP::SOAPString
|
690
|
+
# companyName - SOAP::SOAPString
|
691
|
+
# jobTitle - SOAP::SOAPString
|
692
|
+
# title - SOAP::SOAPString
|
693
|
+
# firstName - SOAP::SOAPString
|
694
|
+
# lastName - SOAP::SOAPString
|
695
|
+
# suffix - SOAP::SOAPString
|
696
|
+
# phoneNumberDay - SOAP::SOAPString
|
697
|
+
# phoneNumberEvening - SOAP::SOAPString
|
698
|
+
# shipmentList - ChannelAdvisor::OrderServiceSOAP::ArrayOfShipment
|
699
|
+
# shippingInstructions - SOAP::SOAPString
|
700
|
+
class ShippingInfoResponse < ShippingInfo
|
701
|
+
attr_accessor :addressLine1
|
702
|
+
attr_accessor :addressLine2
|
703
|
+
attr_accessor :city
|
704
|
+
attr_accessor :region
|
705
|
+
attr_accessor :postalCode
|
706
|
+
attr_accessor :countryCode
|
707
|
+
attr_accessor :companyName
|
708
|
+
attr_accessor :jobTitle
|
709
|
+
attr_accessor :title
|
710
|
+
attr_accessor :firstName
|
711
|
+
attr_accessor :lastName
|
712
|
+
attr_accessor :suffix
|
713
|
+
attr_accessor :phoneNumberDay
|
714
|
+
attr_accessor :phoneNumberEvening
|
715
|
+
attr_accessor :shipmentList
|
716
|
+
attr_accessor :shippingInstructions
|
717
|
+
|
718
|
+
def initialize(addressLine1 = nil, addressLine2 = nil, city = nil, region = nil, postalCode = nil, countryCode = nil, companyName = nil, jobTitle = nil, title = nil, firstName = nil, lastName = nil, suffix = nil, phoneNumberDay = nil, phoneNumberEvening = nil, shipmentList = nil, shippingInstructions = nil)
|
719
|
+
@addressLine1 = addressLine1
|
720
|
+
@addressLine2 = addressLine2
|
721
|
+
@city = city
|
722
|
+
@region = region
|
723
|
+
@postalCode = postalCode
|
724
|
+
@countryCode = countryCode
|
725
|
+
@companyName = companyName
|
726
|
+
@jobTitle = jobTitle
|
727
|
+
@title = title
|
728
|
+
@firstName = firstName
|
729
|
+
@lastName = lastName
|
730
|
+
@suffix = suffix
|
731
|
+
@phoneNumberDay = phoneNumberDay
|
732
|
+
@phoneNumberEvening = phoneNumberEvening
|
733
|
+
@shipmentList = shipmentList
|
734
|
+
@shippingInstructions = shippingInstructions
|
735
|
+
end
|
736
|
+
end
|
737
|
+
|
738
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ShippingInfoSubmit
|
739
|
+
# addressLine1 - SOAP::SOAPString
|
740
|
+
# addressLine2 - SOAP::SOAPString
|
741
|
+
# city - SOAP::SOAPString
|
742
|
+
# region - SOAP::SOAPString
|
743
|
+
# postalCode - SOAP::SOAPString
|
744
|
+
# countryCode - SOAP::SOAPString
|
745
|
+
# companyName - SOAP::SOAPString
|
746
|
+
# jobTitle - SOAP::SOAPString
|
747
|
+
# title - SOAP::SOAPString
|
748
|
+
# firstName - SOAP::SOAPString
|
749
|
+
# lastName - SOAP::SOAPString
|
750
|
+
# suffix - SOAP::SOAPString
|
751
|
+
# phoneNumberDay - SOAP::SOAPString
|
752
|
+
# phoneNumberEvening - SOAP::SOAPString
|
753
|
+
# shipmentList - ChannelAdvisor::OrderServiceSOAP::ArrayOfShipment
|
754
|
+
# shippingInstructions - SOAP::SOAPString
|
755
|
+
class ShippingInfoSubmit < ShippingInfo
|
756
|
+
attr_accessor :addressLine1
|
757
|
+
attr_accessor :addressLine2
|
758
|
+
attr_accessor :city
|
759
|
+
attr_accessor :region
|
760
|
+
attr_accessor :postalCode
|
761
|
+
attr_accessor :countryCode
|
762
|
+
attr_accessor :companyName
|
763
|
+
attr_accessor :jobTitle
|
764
|
+
attr_accessor :title
|
765
|
+
attr_accessor :firstName
|
766
|
+
attr_accessor :lastName
|
767
|
+
attr_accessor :suffix
|
768
|
+
attr_accessor :phoneNumberDay
|
769
|
+
attr_accessor :phoneNumberEvening
|
770
|
+
attr_accessor :shipmentList
|
771
|
+
attr_accessor :shippingInstructions
|
772
|
+
|
773
|
+
def initialize(addressLine1 = nil, addressLine2 = nil, city = nil, region = nil, postalCode = nil, countryCode = nil, companyName = nil, jobTitle = nil, title = nil, firstName = nil, lastName = nil, suffix = nil, phoneNumberDay = nil, phoneNumberEvening = nil, shipmentList = nil, shippingInstructions = nil)
|
774
|
+
@addressLine1 = addressLine1
|
775
|
+
@addressLine2 = addressLine2
|
776
|
+
@city = city
|
777
|
+
@region = region
|
778
|
+
@postalCode = postalCode
|
779
|
+
@countryCode = countryCode
|
780
|
+
@companyName = companyName
|
781
|
+
@jobTitle = jobTitle
|
782
|
+
@title = title
|
783
|
+
@firstName = firstName
|
784
|
+
@lastName = lastName
|
785
|
+
@suffix = suffix
|
786
|
+
@phoneNumberDay = phoneNumberDay
|
787
|
+
@phoneNumberEvening = phoneNumberEvening
|
788
|
+
@shipmentList = shipmentList
|
789
|
+
@shippingInstructions = shippingInstructions
|
790
|
+
end
|
791
|
+
end
|
792
|
+
|
793
|
+
# {http://api.channeladvisor.com/datacontracts/orders}BillingInfo
|
794
|
+
# addressLine1 - SOAP::SOAPString
|
795
|
+
# addressLine2 - SOAP::SOAPString
|
796
|
+
# city - SOAP::SOAPString
|
797
|
+
# region - SOAP::SOAPString
|
798
|
+
# postalCode - SOAP::SOAPString
|
799
|
+
# countryCode - SOAP::SOAPString
|
800
|
+
# companyName - SOAP::SOAPString
|
801
|
+
# jobTitle - SOAP::SOAPString
|
802
|
+
# title - SOAP::SOAPString
|
803
|
+
# firstName - SOAP::SOAPString
|
804
|
+
# lastName - SOAP::SOAPString
|
805
|
+
# suffix - SOAP::SOAPString
|
806
|
+
# phoneNumberDay - SOAP::SOAPString
|
807
|
+
# phoneNumberEvening - SOAP::SOAPString
|
808
|
+
class BillingInfo < ContactComplete
|
809
|
+
attr_accessor :addressLine1
|
810
|
+
attr_accessor :addressLine2
|
811
|
+
attr_accessor :city
|
812
|
+
attr_accessor :region
|
813
|
+
attr_accessor :postalCode
|
814
|
+
attr_accessor :countryCode
|
815
|
+
attr_accessor :companyName
|
816
|
+
attr_accessor :jobTitle
|
817
|
+
attr_accessor :title
|
818
|
+
attr_accessor :firstName
|
819
|
+
attr_accessor :lastName
|
820
|
+
attr_accessor :suffix
|
821
|
+
attr_accessor :phoneNumberDay
|
822
|
+
attr_accessor :phoneNumberEvening
|
823
|
+
|
824
|
+
def initialize(addressLine1 = nil, addressLine2 = nil, city = nil, region = nil, postalCode = nil, countryCode = nil, companyName = nil, jobTitle = nil, title = nil, firstName = nil, lastName = nil, suffix = nil, phoneNumberDay = nil, phoneNumberEvening = nil)
|
825
|
+
@addressLine1 = addressLine1
|
826
|
+
@addressLine2 = addressLine2
|
827
|
+
@city = city
|
828
|
+
@region = region
|
829
|
+
@postalCode = postalCode
|
830
|
+
@countryCode = countryCode
|
831
|
+
@companyName = companyName
|
832
|
+
@jobTitle = jobTitle
|
833
|
+
@title = title
|
834
|
+
@firstName = firstName
|
835
|
+
@lastName = lastName
|
836
|
+
@suffix = suffix
|
837
|
+
@phoneNumberDay = phoneNumberDay
|
838
|
+
@phoneNumberEvening = phoneNumberEvening
|
839
|
+
end
|
840
|
+
end
|
841
|
+
|
842
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ArrayOfShipment
|
843
|
+
class ArrayOfShipment < ::Array
|
844
|
+
end
|
845
|
+
|
846
|
+
# {http://api.channeladvisor.com/datacontracts/orders}Shipment
|
847
|
+
# shippingCarrier - SOAP::SOAPString
|
848
|
+
# shippingClass - SOAP::SOAPString
|
849
|
+
# trackingNumber - SOAP::SOAPString
|
850
|
+
class Shipment
|
851
|
+
attr_accessor :shippingCarrier
|
852
|
+
attr_accessor :shippingClass
|
853
|
+
attr_accessor :trackingNumber
|
854
|
+
|
855
|
+
def initialize(shippingCarrier = nil, shippingClass = nil, trackingNumber = nil)
|
856
|
+
@shippingCarrier = shippingCarrier
|
857
|
+
@shippingClass = shippingClass
|
858
|
+
@trackingNumber = trackingNumber
|
859
|
+
end
|
860
|
+
end
|
861
|
+
|
862
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderCart
|
863
|
+
# cartID - SOAP::SOAPInt
|
864
|
+
# checkoutSource - ChannelAdvisor::OrderServiceSOAP::CheckoutSourceType
|
865
|
+
# vATTaxCalculationOption - ChannelAdvisor::OrderServiceSOAP::VAT_Calculation_Type
|
866
|
+
# vATShippingOption - ChannelAdvisor::OrderServiceSOAP::VAT_Calculation_Type
|
867
|
+
# lineItemSKUList - ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderLineItemItem
|
868
|
+
# lineItemInvoiceList - ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderLineItemInvoice
|
869
|
+
# lineItemPromoList - ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderLineItemPromo
|
870
|
+
class OrderCart
|
871
|
+
attr_accessor :cartID
|
872
|
+
attr_accessor :checkoutSource
|
873
|
+
attr_accessor :vATTaxCalculationOption
|
874
|
+
attr_accessor :vATShippingOption
|
875
|
+
attr_accessor :lineItemSKUList
|
876
|
+
attr_accessor :lineItemInvoiceList
|
877
|
+
attr_accessor :lineItemPromoList
|
878
|
+
|
879
|
+
def initialize(cartID = nil, checkoutSource = nil, vATTaxCalculationOption = nil, vATShippingOption = nil, lineItemSKUList = nil, lineItemInvoiceList = nil, lineItemPromoList = nil)
|
880
|
+
@cartID = cartID
|
881
|
+
@checkoutSource = checkoutSource
|
882
|
+
@vATTaxCalculationOption = vATTaxCalculationOption
|
883
|
+
@vATShippingOption = vATShippingOption
|
884
|
+
@lineItemSKUList = lineItemSKUList
|
885
|
+
@lineItemInvoiceList = lineItemInvoiceList
|
886
|
+
@lineItemPromoList = lineItemPromoList
|
887
|
+
end
|
888
|
+
end
|
889
|
+
|
890
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ArrayOfOrderLineItemItem
|
891
|
+
class ArrayOfOrderLineItemItem < ::Array
|
892
|
+
end
|
893
|
+
|
894
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderLineItemBase
|
895
|
+
# abstract
|
896
|
+
# lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
|
897
|
+
# unitPrice - SOAP::SOAPDecimal
|
898
|
+
class OrderLineItemBase
|
899
|
+
attr_accessor :lineItemType
|
900
|
+
attr_accessor :unitPrice
|
901
|
+
|
902
|
+
def initialize(lineItemType = nil, unitPrice = nil)
|
903
|
+
@lineItemType = lineItemType
|
904
|
+
@unitPrice = unitPrice
|
905
|
+
end
|
906
|
+
end
|
907
|
+
|
908
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderLineItemItem
|
909
|
+
# lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
|
910
|
+
# unitPrice - SOAP::SOAPDecimal
|
911
|
+
# lineItemID - SOAP::SOAPInt
|
912
|
+
# allowNegativeQuantity - SOAP::SOAPBoolean
|
913
|
+
# quantity - SOAP::SOAPInt
|
914
|
+
# itemSaleSource - ChannelAdvisor::OrderServiceSOAP::SiteToken
|
915
|
+
# sKU - SOAP::SOAPString
|
916
|
+
# title - SOAP::SOAPString
|
917
|
+
# buyerUserID - SOAP::SOAPString
|
918
|
+
# buyerFeedbackRating - SOAP::SOAPInt
|
919
|
+
# salesSourceID - SOAP::SOAPString
|
920
|
+
# vATRate - SOAP::SOAPDecimal
|
921
|
+
class OrderLineItemItem < OrderLineItemBase
|
922
|
+
attr_accessor :lineItemType
|
923
|
+
attr_accessor :unitPrice
|
924
|
+
attr_accessor :lineItemID
|
925
|
+
attr_accessor :allowNegativeQuantity
|
926
|
+
attr_accessor :quantity
|
927
|
+
attr_accessor :itemSaleSource
|
928
|
+
attr_accessor :sKU
|
929
|
+
attr_accessor :title
|
930
|
+
attr_accessor :buyerUserID
|
931
|
+
attr_accessor :buyerFeedbackRating
|
932
|
+
attr_accessor :salesSourceID
|
933
|
+
attr_accessor :vATRate
|
934
|
+
|
935
|
+
def initialize(lineItemType = nil, unitPrice = nil, lineItemID = nil, allowNegativeQuantity = nil, quantity = nil, itemSaleSource = nil, sKU = nil, title = nil, buyerUserID = nil, buyerFeedbackRating = nil, salesSourceID = nil, vATRate = nil)
|
936
|
+
@lineItemType = lineItemType
|
937
|
+
@unitPrice = unitPrice
|
938
|
+
@lineItemID = lineItemID
|
939
|
+
@allowNegativeQuantity = allowNegativeQuantity
|
940
|
+
@quantity = quantity
|
941
|
+
@itemSaleSource = itemSaleSource
|
942
|
+
@sKU = sKU
|
943
|
+
@title = title
|
944
|
+
@buyerUserID = buyerUserID
|
945
|
+
@buyerFeedbackRating = buyerFeedbackRating
|
946
|
+
@salesSourceID = salesSourceID
|
947
|
+
@vATRate = vATRate
|
948
|
+
end
|
949
|
+
end
|
950
|
+
|
951
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderLineItemItemResponse
|
952
|
+
# lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
|
953
|
+
# unitPrice - SOAP::SOAPDecimal
|
954
|
+
# lineItemID - SOAP::SOAPInt
|
955
|
+
# allowNegativeQuantity - SOAP::SOAPBoolean
|
956
|
+
# quantity - SOAP::SOAPInt
|
957
|
+
# itemSaleSource - ChannelAdvisor::OrderServiceSOAP::SiteToken
|
958
|
+
# sKU - SOAP::SOAPString
|
959
|
+
# title - SOAP::SOAPString
|
960
|
+
# buyerUserID - SOAP::SOAPString
|
961
|
+
# buyerFeedbackRating - SOAP::SOAPInt
|
962
|
+
# salesSourceID - SOAP::SOAPString
|
963
|
+
# vATRate - SOAP::SOAPDecimal
|
964
|
+
# unitWeight - ChannelAdvisor::OrderServiceSOAP::ItemWeight
|
965
|
+
# warehouseLocation - SOAP::SOAPString
|
966
|
+
class OrderLineItemItemResponse < OrderLineItemItem
|
967
|
+
attr_accessor :lineItemType
|
968
|
+
attr_accessor :unitPrice
|
969
|
+
attr_accessor :lineItemID
|
970
|
+
attr_accessor :allowNegativeQuantity
|
971
|
+
attr_accessor :quantity
|
972
|
+
attr_accessor :itemSaleSource
|
973
|
+
attr_accessor :sKU
|
974
|
+
attr_accessor :title
|
975
|
+
attr_accessor :buyerUserID
|
976
|
+
attr_accessor :buyerFeedbackRating
|
977
|
+
attr_accessor :salesSourceID
|
978
|
+
attr_accessor :vATRate
|
979
|
+
attr_accessor :unitWeight
|
980
|
+
attr_accessor :warehouseLocation
|
981
|
+
|
982
|
+
def initialize(lineItemType = nil, unitPrice = nil, lineItemID = nil, allowNegativeQuantity = nil, quantity = nil, itemSaleSource = nil, sKU = nil, title = nil, buyerUserID = nil, buyerFeedbackRating = nil, salesSourceID = nil, vATRate = nil, unitWeight = nil, warehouseLocation = nil)
|
983
|
+
@lineItemType = lineItemType
|
984
|
+
@unitPrice = unitPrice
|
985
|
+
@lineItemID = lineItemID
|
986
|
+
@allowNegativeQuantity = allowNegativeQuantity
|
987
|
+
@quantity = quantity
|
988
|
+
@itemSaleSource = itemSaleSource
|
989
|
+
@sKU = sKU
|
990
|
+
@title = title
|
991
|
+
@buyerUserID = buyerUserID
|
992
|
+
@buyerFeedbackRating = buyerFeedbackRating
|
993
|
+
@salesSourceID = salesSourceID
|
994
|
+
@vATRate = vATRate
|
995
|
+
@unitWeight = unitWeight
|
996
|
+
@warehouseLocation = warehouseLocation
|
997
|
+
end
|
998
|
+
end
|
999
|
+
|
1000
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderLineItemInvoice
|
1001
|
+
# lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
|
1002
|
+
# unitPrice - SOAP::SOAPDecimal
|
1003
|
+
class OrderLineItemInvoice < OrderLineItemBase
|
1004
|
+
attr_accessor :lineItemType
|
1005
|
+
attr_accessor :unitPrice
|
1006
|
+
|
1007
|
+
def initialize(lineItemType = nil, unitPrice = nil)
|
1008
|
+
@lineItemType = lineItemType
|
1009
|
+
@unitPrice = unitPrice
|
1010
|
+
end
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderLineItemPromo
|
1014
|
+
# lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
|
1015
|
+
# unitPrice - SOAP::SOAPDecimal
|
1016
|
+
# promoCode - SOAP::SOAPString
|
1017
|
+
class OrderLineItemPromo < OrderLineItemBase
|
1018
|
+
attr_accessor :lineItemType
|
1019
|
+
attr_accessor :unitPrice
|
1020
|
+
attr_accessor :promoCode
|
1021
|
+
|
1022
|
+
def initialize(lineItemType = nil, unitPrice = nil, promoCode = nil)
|
1023
|
+
@lineItemType = lineItemType
|
1024
|
+
@unitPrice = unitPrice
|
1025
|
+
@promoCode = promoCode
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ItemWeight
|
1030
|
+
# xmlattr_UnitOfMeasure - SOAP::SOAPString
|
1031
|
+
class ItemWeight < ::String
|
1032
|
+
AttrUnitOfMeasure = XSD::QName.new(nil, "UnitOfMeasure")
|
1033
|
+
|
1034
|
+
def __xmlattr
|
1035
|
+
@__xmlattr ||= {}
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
def xmlattr_UnitOfMeasure
|
1039
|
+
__xmlattr[AttrUnitOfMeasure]
|
1040
|
+
end
|
1041
|
+
|
1042
|
+
def xmlattr_UnitOfMeasure=(value)
|
1043
|
+
__xmlattr[AttrUnitOfMeasure] = value
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
def initialize(*arg)
|
1047
|
+
super
|
1048
|
+
@__xmlattr = {}
|
1049
|
+
end
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ArrayOfOrderLineItemInvoice
|
1053
|
+
class ArrayOfOrderLineItemInvoice < ::Array
|
1054
|
+
end
|
1055
|
+
|
1056
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ArrayOfOrderLineItemPromo
|
1057
|
+
class ArrayOfOrderLineItemPromo < ::Array
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ArrayOfCustomValue
|
1061
|
+
class ArrayOfCustomValue < ::Array
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
# {http://api.channeladvisor.com/datacontracts/orders}CustomValue
|
1065
|
+
# iD - SOAP::SOAPInt
|
1066
|
+
# value - SOAP::SOAPString
|
1067
|
+
class CustomValue
|
1068
|
+
attr_accessor :iD
|
1069
|
+
attr_accessor :value
|
1070
|
+
|
1071
|
+
def initialize(iD = nil, value = nil)
|
1072
|
+
@iD = iD
|
1073
|
+
@value = value
|
1074
|
+
end
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
# {http://api.channeladvisor.com/datacontracts/orders}Order
|
1078
|
+
# abstract
|
1079
|
+
# orderTimeGMT - SOAP::SOAPDateTime
|
1080
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
1081
|
+
# orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
|
1082
|
+
# buyerEmailAddress - SOAP::SOAPString
|
1083
|
+
# emailOptIn - SOAP::SOAPBoolean
|
1084
|
+
# resellerID - SOAP::SOAPString
|
1085
|
+
# billingInfo - ChannelAdvisor::OrderServiceSOAP::BillingInfo
|
1086
|
+
# paymentInfo - ChannelAdvisor::OrderServiceSOAP::PaymentInfo
|
1087
|
+
# shoppingCart - ChannelAdvisor::OrderServiceSOAP::OrderCart
|
1088
|
+
# customValueList - ChannelAdvisor::OrderServiceSOAP::ArrayOfCustomValue
|
1089
|
+
class Order
|
1090
|
+
attr_accessor :orderTimeGMT
|
1091
|
+
attr_accessor :clientOrderIdentifier
|
1092
|
+
attr_accessor :orderStatus
|
1093
|
+
attr_accessor :buyerEmailAddress
|
1094
|
+
attr_accessor :emailOptIn
|
1095
|
+
attr_accessor :resellerID
|
1096
|
+
attr_accessor :billingInfo
|
1097
|
+
attr_accessor :paymentInfo
|
1098
|
+
attr_accessor :shoppingCart
|
1099
|
+
attr_accessor :customValueList
|
1100
|
+
|
1101
|
+
def initialize(orderTimeGMT = nil, clientOrderIdentifier = nil, orderStatus = nil, buyerEmailAddress = nil, emailOptIn = nil, resellerID = nil, billingInfo = nil, paymentInfo = nil, shoppingCart = nil, customValueList = nil)
|
1102
|
+
@orderTimeGMT = orderTimeGMT
|
1103
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
1104
|
+
@orderStatus = orderStatus
|
1105
|
+
@buyerEmailAddress = buyerEmailAddress
|
1106
|
+
@emailOptIn = emailOptIn
|
1107
|
+
@resellerID = resellerID
|
1108
|
+
@billingInfo = billingInfo
|
1109
|
+
@paymentInfo = paymentInfo
|
1110
|
+
@shoppingCart = shoppingCart
|
1111
|
+
@customValueList = customValueList
|
1112
|
+
end
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderSubmit
|
1116
|
+
# orderTimeGMT - SOAP::SOAPDateTime
|
1117
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
1118
|
+
# orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
|
1119
|
+
# buyerEmailAddress - SOAP::SOAPString
|
1120
|
+
# emailOptIn - SOAP::SOAPBoolean
|
1121
|
+
# resellerID - SOAP::SOAPString
|
1122
|
+
# billingInfo - ChannelAdvisor::OrderServiceSOAP::BillingInfo
|
1123
|
+
# paymentInfo - ChannelAdvisor::OrderServiceSOAP::PaymentInfo
|
1124
|
+
# shoppingCart - ChannelAdvisor::OrderServiceSOAP::OrderCart
|
1125
|
+
# customValueList - ChannelAdvisor::OrderServiceSOAP::ArrayOfCustomValue
|
1126
|
+
# shippingInfo - ChannelAdvisor::OrderServiceSOAP::ShippingInfoSubmit
|
1127
|
+
class OrderSubmit < Order
|
1128
|
+
attr_accessor :orderTimeGMT
|
1129
|
+
attr_accessor :clientOrderIdentifier
|
1130
|
+
attr_accessor :orderStatus
|
1131
|
+
attr_accessor :buyerEmailAddress
|
1132
|
+
attr_accessor :emailOptIn
|
1133
|
+
attr_accessor :resellerID
|
1134
|
+
attr_accessor :billingInfo
|
1135
|
+
attr_accessor :paymentInfo
|
1136
|
+
attr_accessor :shoppingCart
|
1137
|
+
attr_accessor :customValueList
|
1138
|
+
attr_accessor :shippingInfo
|
1139
|
+
|
1140
|
+
def initialize(orderTimeGMT = nil, clientOrderIdentifier = nil, orderStatus = nil, buyerEmailAddress = nil, emailOptIn = nil, resellerID = nil, billingInfo = nil, paymentInfo = nil, shoppingCart = nil, customValueList = nil, shippingInfo = nil)
|
1141
|
+
@orderTimeGMT = orderTimeGMT
|
1142
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
1143
|
+
@orderStatus = orderStatus
|
1144
|
+
@buyerEmailAddress = buyerEmailAddress
|
1145
|
+
@emailOptIn = emailOptIn
|
1146
|
+
@resellerID = resellerID
|
1147
|
+
@billingInfo = billingInfo
|
1148
|
+
@paymentInfo = paymentInfo
|
1149
|
+
@shoppingCart = shoppingCart
|
1150
|
+
@customValueList = customValueList
|
1151
|
+
@shippingInfo = shippingInfo
|
1152
|
+
end
|
1153
|
+
end
|
1154
|
+
|
1155
|
+
# {http://api.channeladvisor.com/webservices/}ResultStatus
|
1156
|
+
class ResultStatus < ::String
|
1157
|
+
Failure = ResultStatus.new("Failure")
|
1158
|
+
Success = ResultStatus.new("Success")
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
# {http://api.channeladvisor.com/datacontracts/orders}RefundAdjustmentReason
|
1162
|
+
class RefundAdjustmentReason < ::String
|
1163
|
+
AlternateItemProvied = RefundAdjustmentReason.new("AlternateItemProvied")
|
1164
|
+
CouldNotShip = RefundAdjustmentReason.new("CouldNotShip")
|
1165
|
+
CustomerReturnedItem = RefundAdjustmentReason.new("CustomerReturnedItem")
|
1166
|
+
GeneralAdjustment = RefundAdjustmentReason.new("GeneralAdjustment")
|
1167
|
+
ItemNotAvailable = RefundAdjustmentReason.new("ItemNotAvailable")
|
1168
|
+
end
|
1169
|
+
|
1170
|
+
# {http://api.channeladvisor.com/datacontracts/orders}DetailLevelType
|
1171
|
+
class DetailLevelType < ::String
|
1172
|
+
Complete = DetailLevelType.new("Complete")
|
1173
|
+
High = DetailLevelType.new("High")
|
1174
|
+
Low = DetailLevelType.new("Low")
|
1175
|
+
Medium = DetailLevelType.new("Medium")
|
1176
|
+
end
|
1177
|
+
|
1178
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ExportStateType
|
1179
|
+
class ExportStateType < ::String
|
1180
|
+
NotExported = ExportStateType.new("NotExported")
|
1181
|
+
Unknown = ExportStateType.new("Unknown")
|
1182
|
+
end
|
1183
|
+
|
1184
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderStateCode
|
1185
|
+
class OrderStateCode < ::String
|
1186
|
+
Active = OrderStateCode.new("Active")
|
1187
|
+
Archived = OrderStateCode.new("Archived")
|
1188
|
+
Cancelled = OrderStateCode.new("Cancelled")
|
1189
|
+
end
|
1190
|
+
|
1191
|
+
# {http://api.channeladvisor.com/datacontracts/orders}PaymentStatusCode
|
1192
|
+
class PaymentStatusCode < ::String
|
1193
|
+
Cleared = PaymentStatusCode.new("Cleared")
|
1194
|
+
Deposited = PaymentStatusCode.new("Deposited")
|
1195
|
+
Failed = PaymentStatusCode.new("Failed")
|
1196
|
+
NoChange = PaymentStatusCode.new("NoChange")
|
1197
|
+
NotSubmitted = PaymentStatusCode.new("NotSubmitted")
|
1198
|
+
Submitted = PaymentStatusCode.new("Submitted")
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
# {http://api.channeladvisor.com/datacontracts/orders}CheckoutStatusCode
|
1202
|
+
class CheckoutStatusCode < ::String
|
1203
|
+
Cancelled = CheckoutStatusCode.new("Cancelled")
|
1204
|
+
Completed = CheckoutStatusCode.new("Completed")
|
1205
|
+
CompletedOffline = CheckoutStatusCode.new("CompletedOffline")
|
1206
|
+
NoChange = CheckoutStatusCode.new("NoChange")
|
1207
|
+
NotVisited = CheckoutStatusCode.new("NotVisited")
|
1208
|
+
OnHold = CheckoutStatusCode.new("OnHold")
|
1209
|
+
Visited = CheckoutStatusCode.new("Visited")
|
1210
|
+
end
|
1211
|
+
|
1212
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ShippingStatusCode
|
1213
|
+
class ShippingStatusCode < ::String
|
1214
|
+
NoChange = ShippingStatusCode.new("NoChange")
|
1215
|
+
PartiallyShipped = ShippingStatusCode.new("PartiallyShipped")
|
1216
|
+
Shipped = ShippingStatusCode.new("Shipped")
|
1217
|
+
Unshipped = ShippingStatusCode.new("Unshipped")
|
1218
|
+
end
|
1219
|
+
|
1220
|
+
# {http://api.channeladvisor.com/datacontracts/orders}CheckoutSourceType
|
1221
|
+
class CheckoutSourceType < ::String
|
1222
|
+
CA_Checkout = CheckoutSourceType.new("CA_Checkout")
|
1223
|
+
Demandware_Checkout = CheckoutSourceType.new("Demandware_Checkout")
|
1224
|
+
Google_Checkout = CheckoutSourceType.new("Google_Checkout")
|
1225
|
+
Overstock_Shopping = CheckoutSourceType.new("Overstock_Shopping")
|
1226
|
+
PayPal = CheckoutSourceType.new("PayPal")
|
1227
|
+
Site_Checkout = CheckoutSourceType.new("Site_Checkout")
|
1228
|
+
Unspecified = CheckoutSourceType.new("Unspecified")
|
1229
|
+
YahooStores_Checkout = CheckoutSourceType.new("YahooStores_Checkout")
|
1230
|
+
end
|
1231
|
+
|
1232
|
+
# {http://api.channeladvisor.com/datacontracts/orders}VAT_Calculation_Type
|
1233
|
+
class VAT_Calculation_Type < ::String
|
1234
|
+
Unspecified = VAT_Calculation_Type.new("Unspecified")
|
1235
|
+
VAT_EXCLUSIVE = VAT_Calculation_Type.new("VAT_EXCLUSIVE")
|
1236
|
+
VAT_INCLUSIVE = VAT_Calculation_Type.new("VAT_INCLUSIVE")
|
1237
|
+
end
|
1238
|
+
|
1239
|
+
# {http://api.channeladvisor.com/datacontracts/orders}LineItemTypeCode
|
1240
|
+
class LineItemTypeCode < ::String
|
1241
|
+
AdditionalCostOrDiscount = LineItemTypeCode.new("AdditionalCostOrDiscount")
|
1242
|
+
BuyerOptInIncentive = LineItemTypeCode.new("BuyerOptInIncentive")
|
1243
|
+
Listing = LineItemTypeCode.new("Listing")
|
1244
|
+
Promotion = LineItemTypeCode.new("Promotion")
|
1245
|
+
SKU = LineItemTypeCode.new("SKU")
|
1246
|
+
SalesTax = LineItemTypeCode.new("SalesTax")
|
1247
|
+
Shipping = LineItemTypeCode.new("Shipping")
|
1248
|
+
ShippingInsurance = LineItemTypeCode.new("ShippingInsurance")
|
1249
|
+
VATShipping = LineItemTypeCode.new("VATShipping")
|
1250
|
+
end
|
1251
|
+
|
1252
|
+
# {http://api.channeladvisor.com/datacontracts/orders}SiteToken
|
1253
|
+
class SiteToken < ::String
|
1254
|
+
AMAZON_AUCTIONS = SiteToken.new("AMAZON_AUCTIONS")
|
1255
|
+
AMAZON_MARKETPLACE = SiteToken.new("AMAZON_MARKETPLACE")
|
1256
|
+
AMAZON_MERCHANTSAT = SiteToken.new("AMAZON_MERCHANTSAT")
|
1257
|
+
AMAZON_UK = SiteToken.new("AMAZON_UK")
|
1258
|
+
BUY_DOT_COM = SiteToken.new("BUY_DOT_COM")
|
1259
|
+
CHANNELADVISOR_STORE = SiteToken.new("CHANNELADVISOR_STORE")
|
1260
|
+
DEMANDWARE_STORE = SiteToken.new("DEMANDWARE_STORE")
|
1261
|
+
DIRECT_SALE = SiteToken.new("DIRECT_SALE")
|
1262
|
+
EBAY_AU = SiteToken.new("EBAY_AU")
|
1263
|
+
EBAY_CA = SiteToken.new("EBAY_CA")
|
1264
|
+
EBAY_DE = SiteToken.new("EBAY_DE")
|
1265
|
+
EBAY_ES = SiteToken.new("EBAY_ES")
|
1266
|
+
EBAY_FR = SiteToken.new("EBAY_FR")
|
1267
|
+
EBAY_IE = SiteToken.new("EBAY_IE")
|
1268
|
+
EBAY_IT = SiteToken.new("EBAY_IT")
|
1269
|
+
EBAY_MOTORS = SiteToken.new("EBAY_MOTORS")
|
1270
|
+
EBAY_MOTORS_FIXED_PRICE = SiteToken.new("EBAY_MOTORS_FIXED_PRICE")
|
1271
|
+
EBAY_STORES = SiteToken.new("EBAY_STORES")
|
1272
|
+
EBAY_UK = SiteToken.new("EBAY_UK")
|
1273
|
+
EBAY_US = SiteToken.new("EBAY_US")
|
1274
|
+
OVERSTOCK = SiteToken.new("OVERSTOCK")
|
1275
|
+
OVERSTOCK_SHOPPING = SiteToken.new("OVERSTOCK_SHOPPING")
|
1276
|
+
PIXMANIA = SiteToken.new("PIXMANIA")
|
1277
|
+
STOREADVISOR_PREMIUM = SiteToken.new("STOREADVISOR_PREMIUM")
|
1278
|
+
TRADING_POST = SiteToken.new("TRADING_POST")
|
1279
|
+
UNKNOWN = SiteToken.new("UNKNOWN")
|
1280
|
+
YAHOO = SiteToken.new("YAHOO")
|
1281
|
+
YAHOO_STORES = SiteToken.new("YAHOO_STORES")
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
# {http://api.channeladvisor.com/webservices/}SubmitAmazonFullRefund
|
1285
|
+
# accountID - SOAP::SOAPString
|
1286
|
+
# orderID - SOAP::SOAPString
|
1287
|
+
# reason - ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason
|
1288
|
+
class SubmitAmazonFullRefund
|
1289
|
+
attr_accessor :accountID
|
1290
|
+
attr_accessor :orderID
|
1291
|
+
attr_accessor :reason
|
1292
|
+
|
1293
|
+
def initialize(accountID = nil, orderID = nil, reason = nil)
|
1294
|
+
@accountID = accountID
|
1295
|
+
@orderID = orderID
|
1296
|
+
@reason = reason
|
1297
|
+
end
|
1298
|
+
end
|
1299
|
+
|
1300
|
+
# {http://api.channeladvisor.com/webservices/}SubmitAmazonFullRefundResponse
|
1301
|
+
# submitAmazonFullRefundResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfRefundItemResponse
|
1302
|
+
class SubmitAmazonFullRefundResponse
|
1303
|
+
attr_accessor :submitAmazonFullRefundResult
|
1304
|
+
|
1305
|
+
def initialize(submitAmazonFullRefundResult = nil)
|
1306
|
+
@submitAmazonFullRefundResult = submitAmazonFullRefundResult
|
1307
|
+
end
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
# {http://api.channeladvisor.com/webservices/}SetOrdersExportStatus
|
1311
|
+
# accountID - SOAP::SOAPString
|
1312
|
+
# clientOrderIdentifiers - ChannelAdvisor::OrderServiceSOAP::ArrayOfString
|
1313
|
+
# markAsExported - SOAP::SOAPBoolean
|
1314
|
+
class SetOrdersExportStatus
|
1315
|
+
attr_accessor :accountID
|
1316
|
+
attr_accessor :clientOrderIdentifiers
|
1317
|
+
attr_accessor :markAsExported
|
1318
|
+
|
1319
|
+
def initialize(accountID = nil, clientOrderIdentifiers = nil, markAsExported = nil)
|
1320
|
+
@accountID = accountID
|
1321
|
+
@clientOrderIdentifiers = clientOrderIdentifiers
|
1322
|
+
@markAsExported = markAsExported
|
1323
|
+
end
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
# {http://api.channeladvisor.com/webservices/}SetOrdersExportStatusResponse
|
1327
|
+
# setOrdersExportStatusResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfArrayOfBoolean
|
1328
|
+
class SetOrdersExportStatusResponse
|
1329
|
+
attr_accessor :setOrdersExportStatusResult
|
1330
|
+
|
1331
|
+
def initialize(setOrdersExportStatusResult = nil)
|
1332
|
+
@setOrdersExportStatusResult = setOrdersExportStatusResult
|
1333
|
+
end
|
1334
|
+
end
|
1335
|
+
|
1336
|
+
# {http://api.channeladvisor.com/webservices/}SubmitAmazonPartialRefund
|
1337
|
+
# accountID - SOAP::SOAPString
|
1338
|
+
# request - ChannelAdvisor::OrderServiceSOAP::RefundItemRequest
|
1339
|
+
class SubmitAmazonPartialRefund
|
1340
|
+
attr_accessor :accountID
|
1341
|
+
attr_accessor :request
|
1342
|
+
|
1343
|
+
def initialize(accountID = nil, request = nil)
|
1344
|
+
@accountID = accountID
|
1345
|
+
@request = request
|
1346
|
+
end
|
1347
|
+
end
|
1348
|
+
|
1349
|
+
# {http://api.channeladvisor.com/webservices/}SubmitAmazonPartialRefundResponse
|
1350
|
+
# submitAmazonPartialRefundResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfRefundItemResponse
|
1351
|
+
class SubmitAmazonPartialRefundResponse
|
1352
|
+
attr_accessor :submitAmazonPartialRefundResult
|
1353
|
+
|
1354
|
+
def initialize(submitAmazonPartialRefundResult = nil)
|
1355
|
+
@submitAmazonPartialRefundResult = submitAmazonPartialRefundResult
|
1356
|
+
end
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
# {http://api.channeladvisor.com/webservices/}GetOrderList
|
1360
|
+
# accountID - SOAP::SOAPString
|
1361
|
+
# orderCriteria - ChannelAdvisor::OrderServiceSOAP::OrderCriteria
|
1362
|
+
class GetOrderList
|
1363
|
+
attr_accessor :accountID
|
1364
|
+
attr_accessor :orderCriteria
|
1365
|
+
|
1366
|
+
def initialize(accountID = nil, orderCriteria = nil)
|
1367
|
+
@accountID = accountID
|
1368
|
+
@orderCriteria = orderCriteria
|
1369
|
+
end
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
# {http://api.channeladvisor.com/webservices/}GetOrderListResponse
|
1373
|
+
# getOrderListResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfArrayOfOrderResponseItem
|
1374
|
+
class GetOrderListResponse
|
1375
|
+
attr_accessor :getOrderListResult
|
1376
|
+
|
1377
|
+
def initialize(getOrderListResult = nil)
|
1378
|
+
@getOrderListResult = getOrderListResult
|
1379
|
+
end
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
# {http://api.channeladvisor.com/webservices/}SubmitOrder
|
1383
|
+
# accountID - SOAP::SOAPString
|
1384
|
+
# order - ChannelAdvisor::OrderServiceSOAP::OrderSubmit
|
1385
|
+
class SubmitOrder
|
1386
|
+
attr_accessor :accountID
|
1387
|
+
attr_accessor :order
|
1388
|
+
|
1389
|
+
def initialize(accountID = nil, order = nil)
|
1390
|
+
@accountID = accountID
|
1391
|
+
@order = order
|
1392
|
+
end
|
1393
|
+
end
|
1394
|
+
|
1395
|
+
# {http://api.channeladvisor.com/webservices/}SubmitOrderResponse
|
1396
|
+
# submitOrderResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfInt32
|
1397
|
+
class SubmitOrderResponse
|
1398
|
+
attr_accessor :submitOrderResult
|
1399
|
+
|
1400
|
+
def initialize(submitOrderResult = nil)
|
1401
|
+
@submitOrderResult = submitOrderResult
|
1402
|
+
end
|
1403
|
+
end
|
1404
|
+
|
1405
|
+
# {http://api.channeladvisor.com/webservices/}Ping
|
1406
|
+
class Ping
|
1407
|
+
def initialize
|
1408
|
+
end
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
# {http://api.channeladvisor.com/webservices/}PingResponse
|
1412
|
+
# pingResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfString
|
1413
|
+
class PingResponse
|
1414
|
+
attr_accessor :pingResult
|
1415
|
+
|
1416
|
+
def initialize(pingResult = nil)
|
1417
|
+
@pingResult = pingResult
|
1418
|
+
end
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
|
1422
|
+
end; end
|