channel_advisor 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README +46 -0
- data/lib/channel_advisor/admin_service/client.rb +63 -0
- data/lib/channel_advisor/admin_service/mapping_registry.rb +206 -0
- data/lib/channel_advisor/admin_service/types.rb +175 -0
- data/lib/channel_advisor/admin_service.rb +14 -0
- data/lib/channel_advisor/auth_handler.rb +21 -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 +386 -0
- data/lib/channel_advisor/cart_service.rb +14 -0
- data/lib/channel_advisor/errors.rb +13 -0
- data/lib/channel_advisor/inventory_service/client.rb +223 -0
- data/lib/channel_advisor/inventory_service/mapping_registry.rb +1765 -0
- data/lib/channel_advisor/inventory_service/types.rb +1708 -0
- data/lib/channel_advisor/inventory_service.rb +14 -0
- data/lib/channel_advisor/listing_service/client.rb +55 -0
- data/lib/channel_advisor/listing_service/mapping_registry.rb +153 -0
- data/lib/channel_advisor/listing_service/types.rb +125 -0
- data/lib/channel_advisor/listing_service.rb +14 -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/marketplace_ad_service.rb +14 -0
- data/lib/channel_advisor/message_code.rb +30 -0
- data/lib/channel_advisor/order_service/client.rb +111 -0
- data/lib/channel_advisor/order_service/mapping_registry.rb +1696 -0
- data/lib/channel_advisor/order_service/types.rb +1781 -0
- data/lib/channel_advisor/order_service.rb +14 -0
- data/lib/channel_advisor/service_proxy.rb +62 -0
- data/lib/channel_advisor/shared_requires.rb +11 -0
- data/lib/channel_advisor/shipping_service/client.rb +79 -0
- data/lib/channel_advisor/shipping_service/mapping_registry.rb +500 -0
- data/lib/channel_advisor/shipping_service/types.rb +431 -0
- data/lib/channel_advisor/shipping_service.rb +14 -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/store_service.rb +14 -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/lib/channel_advisor/tax_service.rb +14 -0
- data/lib/channel_advisor.rb +4 -0
- data/spec/integration/inventory_sync_spec.rb +55 -0
- data/spec/lib/channel_advisor/admin_service_spec.rb +12 -0
- data/spec/lib/channel_advisor/auth_handler_spec.rb +46 -0
- data/spec/lib/channel_advisor/cart_service_spec.rb +12 -0
- data/spec/lib/channel_advisor/errors_spec.rb +23 -0
- data/spec/lib/channel_advisor/inventory_service_spec.rb +12 -0
- data/spec/lib/channel_advisor/marketplace_ad_service_spec.rb +12 -0
- data/spec/lib/channel_advisor/message_code_spec.rb +40 -0
- data/spec/lib/channel_advisor/order_service_spec.rb +12 -0
- data/spec/lib/channel_advisor/service_proxy_spec.rb +130 -0
- data/spec/lib/channel_advisor/shipping_service_spec.rb +12 -0
- data/spec/lib/channel_advisor/store_service_spec.rb +12 -0
- data/spec/lib/channel_advisor/tax_service_spec.rb +12 -0
- data/spec/spec.opts +2 -0
- data/spec/spec_helper.rb +4 -0
- metadata +170 -0
@@ -0,0 +1,1781 @@
|
|
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/}APIResultOfRefundOrderResponse
|
70
|
+
# status - ChannelAdvisor::OrderServiceSOAP::ResultStatus
|
71
|
+
# messageCode - SOAP::SOAPInt
|
72
|
+
# message - SOAP::SOAPString
|
73
|
+
# data - SOAP::SOAPString
|
74
|
+
# resultData - ChannelAdvisor::OrderServiceSOAP::RefundOrderResponse
|
75
|
+
class APIResultOfRefundOrderResponse
|
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/}APIResultOfArrayOfOrderResponseItem
|
92
|
+
# status - ChannelAdvisor::OrderServiceSOAP::ResultStatus
|
93
|
+
# messageCode - SOAP::SOAPInt
|
94
|
+
# message - SOAP::SOAPString
|
95
|
+
# data - SOAP::SOAPString
|
96
|
+
# resultData - ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderResponseItem
|
97
|
+
class APIResultOfArrayOfOrderResponseItem
|
98
|
+
attr_accessor :status
|
99
|
+
attr_accessor :messageCode
|
100
|
+
attr_accessor :message
|
101
|
+
attr_accessor :data
|
102
|
+
attr_accessor :resultData
|
103
|
+
|
104
|
+
def initialize(status = nil, messageCode = nil, message = nil, data = nil, resultData = nil)
|
105
|
+
@status = status
|
106
|
+
@messageCode = messageCode
|
107
|
+
@message = message
|
108
|
+
@data = data
|
109
|
+
@resultData = resultData
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
# {http://api.channeladvisor.com/webservices/}ArrayOfOrderResponseItem
|
114
|
+
class ArrayOfOrderResponseItem < ::Array
|
115
|
+
end
|
116
|
+
|
117
|
+
# {http://api.channeladvisor.com/webservices/}APIResultOfInt32
|
118
|
+
# status - ChannelAdvisor::OrderServiceSOAP::ResultStatus
|
119
|
+
# messageCode - SOAP::SOAPInt
|
120
|
+
# message - SOAP::SOAPString
|
121
|
+
# data - SOAP::SOAPString
|
122
|
+
# resultData - SOAP::SOAPInt
|
123
|
+
class APIResultOfInt32
|
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/webservices/}ArrayOfInt
|
140
|
+
class ArrayOfInt < ::Array
|
141
|
+
end
|
142
|
+
|
143
|
+
# {http://api.channeladvisor.com/webservices/}APIResultOfArrayOfInt32
|
144
|
+
# status - ChannelAdvisor::OrderServiceSOAP::ResultStatus
|
145
|
+
# messageCode - SOAP::SOAPInt
|
146
|
+
# message - SOAP::SOAPString
|
147
|
+
# data - SOAP::SOAPString
|
148
|
+
# resultData - ChannelAdvisor::OrderServiceSOAP::ArrayOfInt
|
149
|
+
class APIResultOfArrayOfInt32
|
150
|
+
attr_accessor :status
|
151
|
+
attr_accessor :messageCode
|
152
|
+
attr_accessor :message
|
153
|
+
attr_accessor :data
|
154
|
+
attr_accessor :resultData
|
155
|
+
|
156
|
+
def initialize(status = nil, messageCode = nil, message = nil, data = nil, resultData = nil)
|
157
|
+
@status = status
|
158
|
+
@messageCode = messageCode
|
159
|
+
@message = message
|
160
|
+
@data = data
|
161
|
+
@resultData = resultData
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
# {http://api.channeladvisor.com/webservices/}APIResultOfOrderRefundHistoryResponse
|
166
|
+
# status - ChannelAdvisor::OrderServiceSOAP::ResultStatus
|
167
|
+
# messageCode - SOAP::SOAPInt
|
168
|
+
# message - SOAP::SOAPString
|
169
|
+
# data - SOAP::SOAPString
|
170
|
+
# resultData - ChannelAdvisor::OrderServiceSOAP::OrderRefundHistoryResponse
|
171
|
+
class APIResultOfOrderRefundHistoryResponse
|
172
|
+
attr_accessor :status
|
173
|
+
attr_accessor :messageCode
|
174
|
+
attr_accessor :message
|
175
|
+
attr_accessor :data
|
176
|
+
attr_accessor :resultData
|
177
|
+
|
178
|
+
def initialize(status = nil, messageCode = nil, message = nil, data = nil, resultData = nil)
|
179
|
+
@status = status
|
180
|
+
@messageCode = messageCode
|
181
|
+
@message = message
|
182
|
+
@data = data
|
183
|
+
@resultData = resultData
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
187
|
+
# {http://api.channeladvisor.com/webservices/}APIResultOfString
|
188
|
+
# status - ChannelAdvisor::OrderServiceSOAP::ResultStatus
|
189
|
+
# messageCode - SOAP::SOAPInt
|
190
|
+
# message - SOAP::SOAPString
|
191
|
+
# data - SOAP::SOAPString
|
192
|
+
# resultData - SOAP::SOAPString
|
193
|
+
class APIResultOfString
|
194
|
+
attr_accessor :status
|
195
|
+
attr_accessor :messageCode
|
196
|
+
attr_accessor :message
|
197
|
+
attr_accessor :data
|
198
|
+
attr_accessor :resultData
|
199
|
+
|
200
|
+
def initialize(status = nil, messageCode = nil, message = nil, data = nil, resultData = nil)
|
201
|
+
@status = status
|
202
|
+
@messageCode = messageCode
|
203
|
+
@message = message
|
204
|
+
@data = data
|
205
|
+
@resultData = resultData
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
# {http://api.channeladvisor.com/datacontracts/orders}RefundItemResponse
|
210
|
+
# orderID - SOAP::SOAPString
|
211
|
+
# refundItems - ChannelAdvisor::OrderServiceSOAP::ArrayOfRefundItem
|
212
|
+
class RefundItemResponse
|
213
|
+
attr_accessor :orderID
|
214
|
+
attr_accessor :refundItems
|
215
|
+
|
216
|
+
def initialize(orderID = nil, refundItems = nil)
|
217
|
+
@orderID = orderID
|
218
|
+
@refundItems = refundItems
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ArrayOfRefundItem
|
223
|
+
class ArrayOfRefundItem < ::Array
|
224
|
+
end
|
225
|
+
|
226
|
+
# {http://api.channeladvisor.com/datacontracts/orders}RefundItem
|
227
|
+
# sKU - SOAP::SOAPString
|
228
|
+
# amount - SOAP::SOAPDecimal
|
229
|
+
# shippingAmount - SOAP::SOAPDecimal
|
230
|
+
# shippingTaxAmount - SOAP::SOAPDecimal
|
231
|
+
# taxAmount - SOAP::SOAPDecimal
|
232
|
+
# giftWrapAmount - SOAP::SOAPDecimal
|
233
|
+
# giftWrapTaxAmount - SOAP::SOAPDecimal
|
234
|
+
# quantity - SOAP::SOAPInt
|
235
|
+
# refundRequestID - SOAP::SOAPInt
|
236
|
+
# refundRequested - SOAP::SOAPBoolean
|
237
|
+
# restockQuantity - SOAP::SOAPBoolean
|
238
|
+
# adjustmentReason - ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason
|
239
|
+
class RefundItem
|
240
|
+
attr_accessor :sKU
|
241
|
+
attr_accessor :amount
|
242
|
+
attr_accessor :shippingAmount
|
243
|
+
attr_accessor :shippingTaxAmount
|
244
|
+
attr_accessor :taxAmount
|
245
|
+
attr_accessor :giftWrapAmount
|
246
|
+
attr_accessor :giftWrapTaxAmount
|
247
|
+
attr_accessor :quantity
|
248
|
+
attr_accessor :refundRequestID
|
249
|
+
attr_accessor :refundRequested
|
250
|
+
attr_accessor :restockQuantity
|
251
|
+
attr_accessor :adjustmentReason
|
252
|
+
|
253
|
+
def initialize(sKU = nil, amount = nil, shippingAmount = nil, shippingTaxAmount = nil, taxAmount = nil, giftWrapAmount = nil, giftWrapTaxAmount = nil, quantity = nil, refundRequestID = nil, refundRequested = nil, restockQuantity = nil, adjustmentReason = nil)
|
254
|
+
@sKU = sKU
|
255
|
+
@amount = amount
|
256
|
+
@shippingAmount = shippingAmount
|
257
|
+
@shippingTaxAmount = shippingTaxAmount
|
258
|
+
@taxAmount = taxAmount
|
259
|
+
@giftWrapAmount = giftWrapAmount
|
260
|
+
@giftWrapTaxAmount = giftWrapTaxAmount
|
261
|
+
@quantity = quantity
|
262
|
+
@refundRequestID = refundRequestID
|
263
|
+
@refundRequested = refundRequested
|
264
|
+
@restockQuantity = restockQuantity
|
265
|
+
@adjustmentReason = adjustmentReason
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderLineItemRefundHistoryResponse
|
270
|
+
# sKU - SOAP::SOAPString
|
271
|
+
# amount - SOAP::SOAPDecimal
|
272
|
+
# shippingAmount - SOAP::SOAPDecimal
|
273
|
+
# shippingTaxAmount - SOAP::SOAPDecimal
|
274
|
+
# taxAmount - SOAP::SOAPDecimal
|
275
|
+
# giftWrapAmount - SOAP::SOAPDecimal
|
276
|
+
# giftWrapTaxAmount - SOAP::SOAPDecimal
|
277
|
+
# quantity - SOAP::SOAPInt
|
278
|
+
# refundRequestID - SOAP::SOAPInt
|
279
|
+
# refundRequested - SOAP::SOAPBoolean
|
280
|
+
# restockQuantity - SOAP::SOAPBoolean
|
281
|
+
# adjustmentReason - ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason
|
282
|
+
# invoiceItemID - SOAP::SOAPInt
|
283
|
+
# itemSaleSource - ChannelAdvisor::OrderServiceSOAP::SiteToken
|
284
|
+
# refundRequestStatus - ChannelAdvisor::OrderServiceSOAP::AsyncStatusCode
|
285
|
+
# refundPaymentInfo - ChannelAdvisor::OrderServiceSOAP::PaymentInfo
|
286
|
+
# restockStatus - ChannelAdvisor::OrderServiceSOAP::AsyncStatusCode
|
287
|
+
# refundCreateDateGMT - SOAP::SOAPDateTime
|
288
|
+
class OrderLineItemRefundHistoryResponse < RefundItem
|
289
|
+
attr_accessor :sKU
|
290
|
+
attr_accessor :amount
|
291
|
+
attr_accessor :shippingAmount
|
292
|
+
attr_accessor :shippingTaxAmount
|
293
|
+
attr_accessor :taxAmount
|
294
|
+
attr_accessor :giftWrapAmount
|
295
|
+
attr_accessor :giftWrapTaxAmount
|
296
|
+
attr_accessor :quantity
|
297
|
+
attr_accessor :refundRequestID
|
298
|
+
attr_accessor :refundRequested
|
299
|
+
attr_accessor :restockQuantity
|
300
|
+
attr_accessor :adjustmentReason
|
301
|
+
attr_accessor :invoiceItemID
|
302
|
+
attr_accessor :itemSaleSource
|
303
|
+
attr_accessor :refundRequestStatus
|
304
|
+
attr_accessor :refundPaymentInfo
|
305
|
+
attr_accessor :restockStatus
|
306
|
+
attr_accessor :refundCreateDateGMT
|
307
|
+
|
308
|
+
def initialize(sKU = nil, amount = nil, shippingAmount = nil, shippingTaxAmount = nil, taxAmount = nil, giftWrapAmount = nil, giftWrapTaxAmount = nil, quantity = nil, refundRequestID = nil, refundRequested = nil, restockQuantity = nil, adjustmentReason = nil, invoiceItemID = nil, itemSaleSource = nil, refundRequestStatus = nil, refundPaymentInfo = nil, restockStatus = nil, refundCreateDateGMT = nil)
|
309
|
+
@sKU = sKU
|
310
|
+
@amount = amount
|
311
|
+
@shippingAmount = shippingAmount
|
312
|
+
@shippingTaxAmount = shippingTaxAmount
|
313
|
+
@taxAmount = taxAmount
|
314
|
+
@giftWrapAmount = giftWrapAmount
|
315
|
+
@giftWrapTaxAmount = giftWrapTaxAmount
|
316
|
+
@quantity = quantity
|
317
|
+
@refundRequestID = refundRequestID
|
318
|
+
@refundRequested = refundRequested
|
319
|
+
@restockQuantity = restockQuantity
|
320
|
+
@adjustmentReason = adjustmentReason
|
321
|
+
@invoiceItemID = invoiceItemID
|
322
|
+
@itemSaleSource = itemSaleSource
|
323
|
+
@refundRequestStatus = refundRequestStatus
|
324
|
+
@refundPaymentInfo = refundPaymentInfo
|
325
|
+
@restockStatus = restockStatus
|
326
|
+
@refundCreateDateGMT = refundCreateDateGMT
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
# {http://api.channeladvisor.com/datacontracts/orders}PaymentInfo
|
331
|
+
# paymentType - SOAP::SOAPString
|
332
|
+
# creditCardLast4 - SOAP::SOAPString
|
333
|
+
# payPalID - SOAP::SOAPString
|
334
|
+
# merchantReferenceNumber - SOAP::SOAPString
|
335
|
+
# paymentTransactionID - SOAP::SOAPString
|
336
|
+
class PaymentInfo
|
337
|
+
attr_accessor :paymentType
|
338
|
+
attr_accessor :creditCardLast4
|
339
|
+
attr_accessor :payPalID
|
340
|
+
attr_accessor :merchantReferenceNumber
|
341
|
+
attr_accessor :paymentTransactionID
|
342
|
+
|
343
|
+
def initialize(paymentType = nil, creditCardLast4 = nil, payPalID = nil, merchantReferenceNumber = nil, paymentTransactionID = nil)
|
344
|
+
@paymentType = paymentType
|
345
|
+
@creditCardLast4 = creditCardLast4
|
346
|
+
@payPalID = payPalID
|
347
|
+
@merchantReferenceNumber = merchantReferenceNumber
|
348
|
+
@paymentTransactionID = paymentTransactionID
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
352
|
+
# {http://api.channeladvisor.com/datacontracts/orders}PaymentInfoResponse
|
353
|
+
# paymentType - SOAP::SOAPString
|
354
|
+
# creditCardLast4 - SOAP::SOAPString
|
355
|
+
# payPalID - SOAP::SOAPString
|
356
|
+
# merchantReferenceNumber - SOAP::SOAPString
|
357
|
+
# paymentTransactionID - SOAP::SOAPString
|
358
|
+
class PaymentInfoResponse < PaymentInfo
|
359
|
+
attr_accessor :paymentType
|
360
|
+
attr_accessor :creditCardLast4
|
361
|
+
attr_accessor :payPalID
|
362
|
+
attr_accessor :merchantReferenceNumber
|
363
|
+
attr_accessor :paymentTransactionID
|
364
|
+
|
365
|
+
def initialize(paymentType = nil, creditCardLast4 = nil, payPalID = nil, merchantReferenceNumber = nil, paymentTransactionID = nil)
|
366
|
+
@paymentType = paymentType
|
367
|
+
@creditCardLast4 = creditCardLast4
|
368
|
+
@payPalID = payPalID
|
369
|
+
@merchantReferenceNumber = merchantReferenceNumber
|
370
|
+
@paymentTransactionID = paymentTransactionID
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
# {http://api.channeladvisor.com/datacontracts/orders}RefundItemRequest
|
375
|
+
# orderID - SOAP::SOAPString
|
376
|
+
# refundItems - ChannelAdvisor::OrderServiceSOAP::ArrayOfRefundItem
|
377
|
+
class RefundItemRequest
|
378
|
+
attr_accessor :orderID
|
379
|
+
attr_accessor :refundItems
|
380
|
+
|
381
|
+
def initialize(orderID = nil, refundItems = nil)
|
382
|
+
@orderID = orderID
|
383
|
+
@refundItems = refundItems
|
384
|
+
end
|
385
|
+
end
|
386
|
+
|
387
|
+
# {http://api.channeladvisor.com/datacontracts/orders}RefundOrderRequest
|
388
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
389
|
+
# orderID - SOAP::SOAPInt
|
390
|
+
# amount - SOAP::SOAPDecimal
|
391
|
+
# adjustmentReason - ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason
|
392
|
+
# refundItems - ChannelAdvisor::OrderServiceSOAP::ArrayOfRefundItem
|
393
|
+
class RefundOrderRequest
|
394
|
+
attr_accessor :clientOrderIdentifier
|
395
|
+
attr_accessor :orderID
|
396
|
+
attr_accessor :amount
|
397
|
+
attr_accessor :adjustmentReason
|
398
|
+
attr_accessor :refundItems
|
399
|
+
|
400
|
+
def initialize(clientOrderIdentifier = nil, orderID = nil, amount = nil, adjustmentReason = nil, refundItems = nil)
|
401
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
402
|
+
@orderID = orderID
|
403
|
+
@amount = amount
|
404
|
+
@adjustmentReason = adjustmentReason
|
405
|
+
@refundItems = refundItems
|
406
|
+
end
|
407
|
+
end
|
408
|
+
|
409
|
+
# {http://api.channeladvisor.com/datacontracts/orders}RefundOrderResponse
|
410
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
411
|
+
# orderID - SOAP::SOAPInt
|
412
|
+
# refundItems - ChannelAdvisor::OrderServiceSOAP::ArrayOfRefundItem
|
413
|
+
# messageCode - SOAP::SOAPInt
|
414
|
+
# message - SOAP::SOAPString
|
415
|
+
class RefundOrderResponse
|
416
|
+
attr_accessor :clientOrderIdentifier
|
417
|
+
attr_accessor :orderID
|
418
|
+
attr_accessor :refundItems
|
419
|
+
attr_accessor :messageCode
|
420
|
+
attr_accessor :message
|
421
|
+
|
422
|
+
def initialize(clientOrderIdentifier = nil, orderID = nil, refundItems = nil, messageCode = nil, message = nil)
|
423
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
424
|
+
@orderID = orderID
|
425
|
+
@refundItems = refundItems
|
426
|
+
@messageCode = messageCode
|
427
|
+
@message = message
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
431
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderCriteria
|
432
|
+
# orderCreationFilterBeginTimeGMT - SOAP::SOAPDateTime
|
433
|
+
# orderCreationFilterEndTimeGMT - SOAP::SOAPDateTime
|
434
|
+
# statusUpdateFilterBeginTimeGMT - SOAP::SOAPDateTime
|
435
|
+
# statusUpdateFilterEndTimeGMT - SOAP::SOAPDateTime
|
436
|
+
# detailLevel - ChannelAdvisor::OrderServiceSOAP::DetailLevelType
|
437
|
+
# exportState - ChannelAdvisor::OrderServiceSOAP::ExportStateType
|
438
|
+
# orderIDList - ChannelAdvisor::OrderServiceSOAP::ArrayOfInt_
|
439
|
+
# orderStateFilter - ChannelAdvisor::OrderServiceSOAP::OrderStateCode
|
440
|
+
# paymentStatusFilter - ChannelAdvisor::OrderServiceSOAP::PaymentStatusCode
|
441
|
+
# checkoutStatusFilter - ChannelAdvisor::OrderServiceSOAP::CheckoutStatusCode
|
442
|
+
# shippingStatusFilter - ChannelAdvisor::OrderServiceSOAP::ShippingStatusCode
|
443
|
+
# pageNumberFilter - SOAP::SOAPInt
|
444
|
+
# pageSize - SOAP::SOAPInt
|
445
|
+
class OrderCriteria
|
446
|
+
attr_accessor :orderCreationFilterBeginTimeGMT
|
447
|
+
attr_accessor :orderCreationFilterEndTimeGMT
|
448
|
+
attr_accessor :statusUpdateFilterBeginTimeGMT
|
449
|
+
attr_accessor :statusUpdateFilterEndTimeGMT
|
450
|
+
attr_accessor :detailLevel
|
451
|
+
attr_accessor :exportState
|
452
|
+
attr_accessor :orderIDList
|
453
|
+
attr_accessor :orderStateFilter
|
454
|
+
attr_accessor :paymentStatusFilter
|
455
|
+
attr_accessor :checkoutStatusFilter
|
456
|
+
attr_accessor :shippingStatusFilter
|
457
|
+
attr_accessor :pageNumberFilter
|
458
|
+
attr_accessor :pageSize
|
459
|
+
|
460
|
+
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)
|
461
|
+
@orderCreationFilterBeginTimeGMT = orderCreationFilterBeginTimeGMT
|
462
|
+
@orderCreationFilterEndTimeGMT = orderCreationFilterEndTimeGMT
|
463
|
+
@statusUpdateFilterBeginTimeGMT = statusUpdateFilterBeginTimeGMT
|
464
|
+
@statusUpdateFilterEndTimeGMT = statusUpdateFilterEndTimeGMT
|
465
|
+
@detailLevel = detailLevel
|
466
|
+
@exportState = exportState
|
467
|
+
@orderIDList = orderIDList
|
468
|
+
@orderStateFilter = orderStateFilter
|
469
|
+
@paymentStatusFilter = paymentStatusFilter
|
470
|
+
@checkoutStatusFilter = checkoutStatusFilter
|
471
|
+
@shippingStatusFilter = shippingStatusFilter
|
472
|
+
@pageNumberFilter = pageNumberFilter
|
473
|
+
@pageSize = pageSize
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
477
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ArrayOfInt
|
478
|
+
class ArrayOfInt_ < ::Array
|
479
|
+
end
|
480
|
+
|
481
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderResponseItem
|
482
|
+
# abstract
|
483
|
+
# numberOfMatches - SOAP::SOAPInt
|
484
|
+
# orderTimeGMT - SOAP::SOAPDateTime
|
485
|
+
# lastUpdateDate - SOAP::SOAPDateTime
|
486
|
+
# totalOrderAmount - SOAP::SOAPDecimal
|
487
|
+
# orderState - ChannelAdvisor::OrderServiceSOAP::OrderStateCode
|
488
|
+
# dateCancelledGMT - SOAP::SOAPDateTime
|
489
|
+
# orderID - SOAP::SOAPInt
|
490
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
491
|
+
class OrderResponseItem
|
492
|
+
attr_accessor :numberOfMatches
|
493
|
+
attr_accessor :orderTimeGMT
|
494
|
+
attr_accessor :lastUpdateDate
|
495
|
+
attr_accessor :totalOrderAmount
|
496
|
+
attr_accessor :orderState
|
497
|
+
attr_accessor :dateCancelledGMT
|
498
|
+
attr_accessor :orderID
|
499
|
+
attr_accessor :clientOrderIdentifier
|
500
|
+
|
501
|
+
def initialize(numberOfMatches = nil, orderTimeGMT = nil, lastUpdateDate = nil, totalOrderAmount = nil, orderState = nil, dateCancelledGMT = nil, orderID = nil, clientOrderIdentifier = nil)
|
502
|
+
@numberOfMatches = numberOfMatches
|
503
|
+
@orderTimeGMT = orderTimeGMT
|
504
|
+
@lastUpdateDate = lastUpdateDate
|
505
|
+
@totalOrderAmount = totalOrderAmount
|
506
|
+
@orderState = orderState
|
507
|
+
@dateCancelledGMT = dateCancelledGMT
|
508
|
+
@orderID = orderID
|
509
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
510
|
+
end
|
511
|
+
end
|
512
|
+
|
513
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderResponseDetailLow
|
514
|
+
# numberOfMatches - SOAP::SOAPInt
|
515
|
+
# orderTimeGMT - SOAP::SOAPDateTime
|
516
|
+
# lastUpdateDate - SOAP::SOAPDateTime
|
517
|
+
# totalOrderAmount - SOAP::SOAPDecimal
|
518
|
+
# orderState - ChannelAdvisor::OrderServiceSOAP::OrderStateCode
|
519
|
+
# dateCancelledGMT - SOAP::SOAPDateTime
|
520
|
+
# orderID - SOAP::SOAPInt
|
521
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
522
|
+
# orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
|
523
|
+
class OrderResponseDetailLow < OrderResponseItem
|
524
|
+
attr_accessor :numberOfMatches
|
525
|
+
attr_accessor :orderTimeGMT
|
526
|
+
attr_accessor :lastUpdateDate
|
527
|
+
attr_accessor :totalOrderAmount
|
528
|
+
attr_accessor :orderState
|
529
|
+
attr_accessor :dateCancelledGMT
|
530
|
+
attr_accessor :orderID
|
531
|
+
attr_accessor :clientOrderIdentifier
|
532
|
+
attr_accessor :orderStatus
|
533
|
+
|
534
|
+
def initialize(numberOfMatches = nil, orderTimeGMT = nil, lastUpdateDate = nil, totalOrderAmount = nil, orderState = nil, dateCancelledGMT = nil, orderID = nil, clientOrderIdentifier = nil, orderStatus = nil)
|
535
|
+
@numberOfMatches = numberOfMatches
|
536
|
+
@orderTimeGMT = orderTimeGMT
|
537
|
+
@lastUpdateDate = lastUpdateDate
|
538
|
+
@totalOrderAmount = totalOrderAmount
|
539
|
+
@orderState = orderState
|
540
|
+
@dateCancelledGMT = dateCancelledGMT
|
541
|
+
@orderID = orderID
|
542
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
543
|
+
@orderStatus = orderStatus
|
544
|
+
end
|
545
|
+
end
|
546
|
+
|
547
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderResponseDetailMedium
|
548
|
+
# numberOfMatches - SOAP::SOAPInt
|
549
|
+
# orderTimeGMT - SOAP::SOAPDateTime
|
550
|
+
# lastUpdateDate - SOAP::SOAPDateTime
|
551
|
+
# totalOrderAmount - SOAP::SOAPDecimal
|
552
|
+
# orderState - ChannelAdvisor::OrderServiceSOAP::OrderStateCode
|
553
|
+
# dateCancelledGMT - SOAP::SOAPDateTime
|
554
|
+
# orderID - SOAP::SOAPInt
|
555
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
556
|
+
# orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
|
557
|
+
# resellerID - SOAP::SOAPString
|
558
|
+
# buyerEmailAddress - SOAP::SOAPString
|
559
|
+
# emailOptIn - SOAP::SOAPBoolean
|
560
|
+
# paymentInfo - ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse
|
561
|
+
# shippingInfo - ChannelAdvisor::OrderServiceSOAP::ShippingInfoResponse
|
562
|
+
# billingInfo - ChannelAdvisor::OrderServiceSOAP::BillingInfo
|
563
|
+
class OrderResponseDetailMedium < OrderResponseDetailLow
|
564
|
+
attr_accessor :numberOfMatches
|
565
|
+
attr_accessor :orderTimeGMT
|
566
|
+
attr_accessor :lastUpdateDate
|
567
|
+
attr_accessor :totalOrderAmount
|
568
|
+
attr_accessor :orderState
|
569
|
+
attr_accessor :dateCancelledGMT
|
570
|
+
attr_accessor :orderID
|
571
|
+
attr_accessor :clientOrderIdentifier
|
572
|
+
attr_accessor :orderStatus
|
573
|
+
attr_accessor :resellerID
|
574
|
+
attr_accessor :buyerEmailAddress
|
575
|
+
attr_accessor :emailOptIn
|
576
|
+
attr_accessor :paymentInfo
|
577
|
+
attr_accessor :shippingInfo
|
578
|
+
attr_accessor :billingInfo
|
579
|
+
|
580
|
+
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)
|
581
|
+
@numberOfMatches = numberOfMatches
|
582
|
+
@orderTimeGMT = orderTimeGMT
|
583
|
+
@lastUpdateDate = lastUpdateDate
|
584
|
+
@totalOrderAmount = totalOrderAmount
|
585
|
+
@orderState = orderState
|
586
|
+
@dateCancelledGMT = dateCancelledGMT
|
587
|
+
@orderID = orderID
|
588
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
589
|
+
@orderStatus = orderStatus
|
590
|
+
@resellerID = resellerID
|
591
|
+
@buyerEmailAddress = buyerEmailAddress
|
592
|
+
@emailOptIn = emailOptIn
|
593
|
+
@paymentInfo = paymentInfo
|
594
|
+
@shippingInfo = shippingInfo
|
595
|
+
@billingInfo = billingInfo
|
596
|
+
end
|
597
|
+
end
|
598
|
+
|
599
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderResponseDetailHigh
|
600
|
+
# numberOfMatches - SOAP::SOAPInt
|
601
|
+
# orderTimeGMT - SOAP::SOAPDateTime
|
602
|
+
# lastUpdateDate - SOAP::SOAPDateTime
|
603
|
+
# totalOrderAmount - SOAP::SOAPDecimal
|
604
|
+
# orderState - ChannelAdvisor::OrderServiceSOAP::OrderStateCode
|
605
|
+
# dateCancelledGMT - SOAP::SOAPDateTime
|
606
|
+
# orderID - SOAP::SOAPInt
|
607
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
608
|
+
# orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
|
609
|
+
# resellerID - SOAP::SOAPString
|
610
|
+
# buyerEmailAddress - SOAP::SOAPString
|
611
|
+
# emailOptIn - SOAP::SOAPBoolean
|
612
|
+
# paymentInfo - ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse
|
613
|
+
# shippingInfo - ChannelAdvisor::OrderServiceSOAP::ShippingInfoResponse
|
614
|
+
# billingInfo - ChannelAdvisor::OrderServiceSOAP::BillingInfo
|
615
|
+
# shoppingCart - ChannelAdvisor::OrderServiceSOAP::OrderCart
|
616
|
+
class OrderResponseDetailHigh < OrderResponseDetailMedium
|
617
|
+
attr_accessor :numberOfMatches
|
618
|
+
attr_accessor :orderTimeGMT
|
619
|
+
attr_accessor :lastUpdateDate
|
620
|
+
attr_accessor :totalOrderAmount
|
621
|
+
attr_accessor :orderState
|
622
|
+
attr_accessor :dateCancelledGMT
|
623
|
+
attr_accessor :orderID
|
624
|
+
attr_accessor :clientOrderIdentifier
|
625
|
+
attr_accessor :orderStatus
|
626
|
+
attr_accessor :resellerID
|
627
|
+
attr_accessor :buyerEmailAddress
|
628
|
+
attr_accessor :emailOptIn
|
629
|
+
attr_accessor :paymentInfo
|
630
|
+
attr_accessor :shippingInfo
|
631
|
+
attr_accessor :billingInfo
|
632
|
+
attr_accessor :shoppingCart
|
633
|
+
|
634
|
+
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)
|
635
|
+
@numberOfMatches = numberOfMatches
|
636
|
+
@orderTimeGMT = orderTimeGMT
|
637
|
+
@lastUpdateDate = lastUpdateDate
|
638
|
+
@totalOrderAmount = totalOrderAmount
|
639
|
+
@orderState = orderState
|
640
|
+
@dateCancelledGMT = dateCancelledGMT
|
641
|
+
@orderID = orderID
|
642
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
643
|
+
@orderStatus = orderStatus
|
644
|
+
@resellerID = resellerID
|
645
|
+
@buyerEmailAddress = buyerEmailAddress
|
646
|
+
@emailOptIn = emailOptIn
|
647
|
+
@paymentInfo = paymentInfo
|
648
|
+
@shippingInfo = shippingInfo
|
649
|
+
@billingInfo = billingInfo
|
650
|
+
@shoppingCart = shoppingCart
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
654
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderResponseDetailComplete
|
655
|
+
# numberOfMatches - SOAP::SOAPInt
|
656
|
+
# orderTimeGMT - SOAP::SOAPDateTime
|
657
|
+
# lastUpdateDate - SOAP::SOAPDateTime
|
658
|
+
# totalOrderAmount - SOAP::SOAPDecimal
|
659
|
+
# orderState - ChannelAdvisor::OrderServiceSOAP::OrderStateCode
|
660
|
+
# dateCancelledGMT - SOAP::SOAPDateTime
|
661
|
+
# orderID - SOAP::SOAPInt
|
662
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
663
|
+
# orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
|
664
|
+
# resellerID - SOAP::SOAPString
|
665
|
+
# buyerEmailAddress - SOAP::SOAPString
|
666
|
+
# emailOptIn - SOAP::SOAPBoolean
|
667
|
+
# paymentInfo - ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse
|
668
|
+
# shippingInfo - ChannelAdvisor::OrderServiceSOAP::ShippingInfoResponse
|
669
|
+
# billingInfo - ChannelAdvisor::OrderServiceSOAP::BillingInfo
|
670
|
+
# shoppingCart - ChannelAdvisor::OrderServiceSOAP::OrderCart
|
671
|
+
# customValueList - ChannelAdvisor::OrderServiceSOAP::ArrayOfCustomValue
|
672
|
+
# buyerIpAddress - SOAP::SOAPString
|
673
|
+
class OrderResponseDetailComplete < OrderResponseDetailHigh
|
674
|
+
attr_accessor :numberOfMatches
|
675
|
+
attr_accessor :orderTimeGMT
|
676
|
+
attr_accessor :lastUpdateDate
|
677
|
+
attr_accessor :totalOrderAmount
|
678
|
+
attr_accessor :orderState
|
679
|
+
attr_accessor :dateCancelledGMT
|
680
|
+
attr_accessor :orderID
|
681
|
+
attr_accessor :clientOrderIdentifier
|
682
|
+
attr_accessor :orderStatus
|
683
|
+
attr_accessor :resellerID
|
684
|
+
attr_accessor :buyerEmailAddress
|
685
|
+
attr_accessor :emailOptIn
|
686
|
+
attr_accessor :paymentInfo
|
687
|
+
attr_accessor :shippingInfo
|
688
|
+
attr_accessor :billingInfo
|
689
|
+
attr_accessor :shoppingCart
|
690
|
+
attr_accessor :customValueList
|
691
|
+
attr_accessor :buyerIpAddress
|
692
|
+
|
693
|
+
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, buyerIpAddress = nil)
|
694
|
+
@numberOfMatches = numberOfMatches
|
695
|
+
@orderTimeGMT = orderTimeGMT
|
696
|
+
@lastUpdateDate = lastUpdateDate
|
697
|
+
@totalOrderAmount = totalOrderAmount
|
698
|
+
@orderState = orderState
|
699
|
+
@dateCancelledGMT = dateCancelledGMT
|
700
|
+
@orderID = orderID
|
701
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
702
|
+
@orderStatus = orderStatus
|
703
|
+
@resellerID = resellerID
|
704
|
+
@buyerEmailAddress = buyerEmailAddress
|
705
|
+
@emailOptIn = emailOptIn
|
706
|
+
@paymentInfo = paymentInfo
|
707
|
+
@shippingInfo = shippingInfo
|
708
|
+
@billingInfo = billingInfo
|
709
|
+
@shoppingCart = shoppingCart
|
710
|
+
@customValueList = customValueList
|
711
|
+
@buyerIpAddress = buyerIpAddress
|
712
|
+
end
|
713
|
+
end
|
714
|
+
|
715
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderStatus
|
716
|
+
# checkoutStatus - ChannelAdvisor::OrderServiceSOAP::CheckoutStatusCode
|
717
|
+
# checkoutDateGMT - SOAP::SOAPDateTime
|
718
|
+
# paymentStatus - ChannelAdvisor::OrderServiceSOAP::PaymentStatusCode
|
719
|
+
# paymentDateGMT - SOAP::SOAPDateTime
|
720
|
+
# shippingStatus - ChannelAdvisor::OrderServiceSOAP::ShippingStatusCode
|
721
|
+
# shippingDateGMT - SOAP::SOAPDateTime
|
722
|
+
# orderRefundStatus - ChannelAdvisor::OrderServiceSOAP::OrderRefundStatusCode
|
723
|
+
class OrderStatus
|
724
|
+
attr_accessor :checkoutStatus
|
725
|
+
attr_accessor :checkoutDateGMT
|
726
|
+
attr_accessor :paymentStatus
|
727
|
+
attr_accessor :paymentDateGMT
|
728
|
+
attr_accessor :shippingStatus
|
729
|
+
attr_accessor :shippingDateGMT
|
730
|
+
attr_accessor :orderRefundStatus
|
731
|
+
|
732
|
+
def initialize(checkoutStatus = nil, checkoutDateGMT = nil, paymentStatus = nil, paymentDateGMT = nil, shippingStatus = nil, shippingDateGMT = nil, orderRefundStatus = nil)
|
733
|
+
@checkoutStatus = checkoutStatus
|
734
|
+
@checkoutDateGMT = checkoutDateGMT
|
735
|
+
@paymentStatus = paymentStatus
|
736
|
+
@paymentDateGMT = paymentDateGMT
|
737
|
+
@shippingStatus = shippingStatus
|
738
|
+
@shippingDateGMT = shippingDateGMT
|
739
|
+
@orderRefundStatus = orderRefundStatus
|
740
|
+
end
|
741
|
+
end
|
742
|
+
|
743
|
+
# {http://api.channeladvisor.com/datacontracts/orders}AddressInfo
|
744
|
+
# addressLine1 - SOAP::SOAPString
|
745
|
+
# addressLine2 - SOAP::SOAPString
|
746
|
+
# city - SOAP::SOAPString
|
747
|
+
# region - SOAP::SOAPString
|
748
|
+
# postalCode - SOAP::SOAPString
|
749
|
+
# countryCode - SOAP::SOAPString
|
750
|
+
class AddressInfo
|
751
|
+
attr_accessor :addressLine1
|
752
|
+
attr_accessor :addressLine2
|
753
|
+
attr_accessor :city
|
754
|
+
attr_accessor :region
|
755
|
+
attr_accessor :postalCode
|
756
|
+
attr_accessor :countryCode
|
757
|
+
|
758
|
+
def initialize(addressLine1 = nil, addressLine2 = nil, city = nil, region = nil, postalCode = nil, countryCode = nil)
|
759
|
+
@addressLine1 = addressLine1
|
760
|
+
@addressLine2 = addressLine2
|
761
|
+
@city = city
|
762
|
+
@region = region
|
763
|
+
@postalCode = postalCode
|
764
|
+
@countryCode = countryCode
|
765
|
+
end
|
766
|
+
end
|
767
|
+
|
768
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ContactComplete
|
769
|
+
# addressLine1 - SOAP::SOAPString
|
770
|
+
# addressLine2 - SOAP::SOAPString
|
771
|
+
# city - SOAP::SOAPString
|
772
|
+
# region - SOAP::SOAPString
|
773
|
+
# postalCode - SOAP::SOAPString
|
774
|
+
# countryCode - SOAP::SOAPString
|
775
|
+
# companyName - SOAP::SOAPString
|
776
|
+
# jobTitle - SOAP::SOAPString
|
777
|
+
# title - SOAP::SOAPString
|
778
|
+
# firstName - SOAP::SOAPString
|
779
|
+
# lastName - SOAP::SOAPString
|
780
|
+
# suffix - SOAP::SOAPString
|
781
|
+
# phoneNumberDay - SOAP::SOAPString
|
782
|
+
# phoneNumberEvening - SOAP::SOAPString
|
783
|
+
class ContactComplete < AddressInfo
|
784
|
+
attr_accessor :addressLine1
|
785
|
+
attr_accessor :addressLine2
|
786
|
+
attr_accessor :city
|
787
|
+
attr_accessor :region
|
788
|
+
attr_accessor :postalCode
|
789
|
+
attr_accessor :countryCode
|
790
|
+
attr_accessor :companyName
|
791
|
+
attr_accessor :jobTitle
|
792
|
+
attr_accessor :title
|
793
|
+
attr_accessor :firstName
|
794
|
+
attr_accessor :lastName
|
795
|
+
attr_accessor :suffix
|
796
|
+
attr_accessor :phoneNumberDay
|
797
|
+
attr_accessor :phoneNumberEvening
|
798
|
+
|
799
|
+
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)
|
800
|
+
@addressLine1 = addressLine1
|
801
|
+
@addressLine2 = addressLine2
|
802
|
+
@city = city
|
803
|
+
@region = region
|
804
|
+
@postalCode = postalCode
|
805
|
+
@countryCode = countryCode
|
806
|
+
@companyName = companyName
|
807
|
+
@jobTitle = jobTitle
|
808
|
+
@title = title
|
809
|
+
@firstName = firstName
|
810
|
+
@lastName = lastName
|
811
|
+
@suffix = suffix
|
812
|
+
@phoneNumberDay = phoneNumberDay
|
813
|
+
@phoneNumberEvening = phoneNumberEvening
|
814
|
+
end
|
815
|
+
end
|
816
|
+
|
817
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ShippingInfo
|
818
|
+
# abstract
|
819
|
+
# addressLine1 - SOAP::SOAPString
|
820
|
+
# addressLine2 - SOAP::SOAPString
|
821
|
+
# city - SOAP::SOAPString
|
822
|
+
# region - SOAP::SOAPString
|
823
|
+
# postalCode - SOAP::SOAPString
|
824
|
+
# countryCode - SOAP::SOAPString
|
825
|
+
# companyName - SOAP::SOAPString
|
826
|
+
# jobTitle - SOAP::SOAPString
|
827
|
+
# title - SOAP::SOAPString
|
828
|
+
# firstName - SOAP::SOAPString
|
829
|
+
# lastName - SOAP::SOAPString
|
830
|
+
# suffix - SOAP::SOAPString
|
831
|
+
# phoneNumberDay - SOAP::SOAPString
|
832
|
+
# phoneNumberEvening - SOAP::SOAPString
|
833
|
+
# shipmentList - ChannelAdvisor::OrderServiceSOAP::ArrayOfShipment
|
834
|
+
# shippingInstructions - SOAP::SOAPString
|
835
|
+
class ShippingInfo < ContactComplete
|
836
|
+
attr_accessor :addressLine1
|
837
|
+
attr_accessor :addressLine2
|
838
|
+
attr_accessor :city
|
839
|
+
attr_accessor :region
|
840
|
+
attr_accessor :postalCode
|
841
|
+
attr_accessor :countryCode
|
842
|
+
attr_accessor :companyName
|
843
|
+
attr_accessor :jobTitle
|
844
|
+
attr_accessor :title
|
845
|
+
attr_accessor :firstName
|
846
|
+
attr_accessor :lastName
|
847
|
+
attr_accessor :suffix
|
848
|
+
attr_accessor :phoneNumberDay
|
849
|
+
attr_accessor :phoneNumberEvening
|
850
|
+
attr_accessor :shipmentList
|
851
|
+
attr_accessor :shippingInstructions
|
852
|
+
|
853
|
+
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)
|
854
|
+
@addressLine1 = addressLine1
|
855
|
+
@addressLine2 = addressLine2
|
856
|
+
@city = city
|
857
|
+
@region = region
|
858
|
+
@postalCode = postalCode
|
859
|
+
@countryCode = countryCode
|
860
|
+
@companyName = companyName
|
861
|
+
@jobTitle = jobTitle
|
862
|
+
@title = title
|
863
|
+
@firstName = firstName
|
864
|
+
@lastName = lastName
|
865
|
+
@suffix = suffix
|
866
|
+
@phoneNumberDay = phoneNumberDay
|
867
|
+
@phoneNumberEvening = phoneNumberEvening
|
868
|
+
@shipmentList = shipmentList
|
869
|
+
@shippingInstructions = shippingInstructions
|
870
|
+
end
|
871
|
+
end
|
872
|
+
|
873
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ShippingInfoResponse
|
874
|
+
# addressLine1 - SOAP::SOAPString
|
875
|
+
# addressLine2 - SOAP::SOAPString
|
876
|
+
# city - SOAP::SOAPString
|
877
|
+
# region - SOAP::SOAPString
|
878
|
+
# postalCode - SOAP::SOAPString
|
879
|
+
# countryCode - SOAP::SOAPString
|
880
|
+
# companyName - SOAP::SOAPString
|
881
|
+
# jobTitle - SOAP::SOAPString
|
882
|
+
# title - SOAP::SOAPString
|
883
|
+
# firstName - SOAP::SOAPString
|
884
|
+
# lastName - SOAP::SOAPString
|
885
|
+
# suffix - SOAP::SOAPString
|
886
|
+
# phoneNumberDay - SOAP::SOAPString
|
887
|
+
# phoneNumberEvening - SOAP::SOAPString
|
888
|
+
# shipmentList - ChannelAdvisor::OrderServiceSOAP::ArrayOfShipment
|
889
|
+
# shippingInstructions - SOAP::SOAPString
|
890
|
+
class ShippingInfoResponse < ShippingInfo
|
891
|
+
attr_accessor :addressLine1
|
892
|
+
attr_accessor :addressLine2
|
893
|
+
attr_accessor :city
|
894
|
+
attr_accessor :region
|
895
|
+
attr_accessor :postalCode
|
896
|
+
attr_accessor :countryCode
|
897
|
+
attr_accessor :companyName
|
898
|
+
attr_accessor :jobTitle
|
899
|
+
attr_accessor :title
|
900
|
+
attr_accessor :firstName
|
901
|
+
attr_accessor :lastName
|
902
|
+
attr_accessor :suffix
|
903
|
+
attr_accessor :phoneNumberDay
|
904
|
+
attr_accessor :phoneNumberEvening
|
905
|
+
attr_accessor :shipmentList
|
906
|
+
attr_accessor :shippingInstructions
|
907
|
+
|
908
|
+
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)
|
909
|
+
@addressLine1 = addressLine1
|
910
|
+
@addressLine2 = addressLine2
|
911
|
+
@city = city
|
912
|
+
@region = region
|
913
|
+
@postalCode = postalCode
|
914
|
+
@countryCode = countryCode
|
915
|
+
@companyName = companyName
|
916
|
+
@jobTitle = jobTitle
|
917
|
+
@title = title
|
918
|
+
@firstName = firstName
|
919
|
+
@lastName = lastName
|
920
|
+
@suffix = suffix
|
921
|
+
@phoneNumberDay = phoneNumberDay
|
922
|
+
@phoneNumberEvening = phoneNumberEvening
|
923
|
+
@shipmentList = shipmentList
|
924
|
+
@shippingInstructions = shippingInstructions
|
925
|
+
end
|
926
|
+
end
|
927
|
+
|
928
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ShippingInfoSubmit
|
929
|
+
# addressLine1 - SOAP::SOAPString
|
930
|
+
# addressLine2 - SOAP::SOAPString
|
931
|
+
# city - SOAP::SOAPString
|
932
|
+
# region - SOAP::SOAPString
|
933
|
+
# postalCode - SOAP::SOAPString
|
934
|
+
# countryCode - SOAP::SOAPString
|
935
|
+
# companyName - SOAP::SOAPString
|
936
|
+
# jobTitle - SOAP::SOAPString
|
937
|
+
# title - SOAP::SOAPString
|
938
|
+
# firstName - SOAP::SOAPString
|
939
|
+
# lastName - SOAP::SOAPString
|
940
|
+
# suffix - SOAP::SOAPString
|
941
|
+
# phoneNumberDay - SOAP::SOAPString
|
942
|
+
# phoneNumberEvening - SOAP::SOAPString
|
943
|
+
# shipmentList - ChannelAdvisor::OrderServiceSOAP::ArrayOfShipment
|
944
|
+
# shippingInstructions - SOAP::SOAPString
|
945
|
+
class ShippingInfoSubmit < ShippingInfo
|
946
|
+
attr_accessor :addressLine1
|
947
|
+
attr_accessor :addressLine2
|
948
|
+
attr_accessor :city
|
949
|
+
attr_accessor :region
|
950
|
+
attr_accessor :postalCode
|
951
|
+
attr_accessor :countryCode
|
952
|
+
attr_accessor :companyName
|
953
|
+
attr_accessor :jobTitle
|
954
|
+
attr_accessor :title
|
955
|
+
attr_accessor :firstName
|
956
|
+
attr_accessor :lastName
|
957
|
+
attr_accessor :suffix
|
958
|
+
attr_accessor :phoneNumberDay
|
959
|
+
attr_accessor :phoneNumberEvening
|
960
|
+
attr_accessor :shipmentList
|
961
|
+
attr_accessor :shippingInstructions
|
962
|
+
|
963
|
+
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)
|
964
|
+
@addressLine1 = addressLine1
|
965
|
+
@addressLine2 = addressLine2
|
966
|
+
@city = city
|
967
|
+
@region = region
|
968
|
+
@postalCode = postalCode
|
969
|
+
@countryCode = countryCode
|
970
|
+
@companyName = companyName
|
971
|
+
@jobTitle = jobTitle
|
972
|
+
@title = title
|
973
|
+
@firstName = firstName
|
974
|
+
@lastName = lastName
|
975
|
+
@suffix = suffix
|
976
|
+
@phoneNumberDay = phoneNumberDay
|
977
|
+
@phoneNumberEvening = phoneNumberEvening
|
978
|
+
@shipmentList = shipmentList
|
979
|
+
@shippingInstructions = shippingInstructions
|
980
|
+
end
|
981
|
+
end
|
982
|
+
|
983
|
+
# {http://api.channeladvisor.com/datacontracts/orders}BillingInfo
|
984
|
+
# addressLine1 - SOAP::SOAPString
|
985
|
+
# addressLine2 - SOAP::SOAPString
|
986
|
+
# city - SOAP::SOAPString
|
987
|
+
# region - SOAP::SOAPString
|
988
|
+
# postalCode - SOAP::SOAPString
|
989
|
+
# countryCode - SOAP::SOAPString
|
990
|
+
# companyName - SOAP::SOAPString
|
991
|
+
# jobTitle - SOAP::SOAPString
|
992
|
+
# title - SOAP::SOAPString
|
993
|
+
# firstName - SOAP::SOAPString
|
994
|
+
# lastName - SOAP::SOAPString
|
995
|
+
# suffix - SOAP::SOAPString
|
996
|
+
# phoneNumberDay - SOAP::SOAPString
|
997
|
+
# phoneNumberEvening - SOAP::SOAPString
|
998
|
+
class BillingInfo < ContactComplete
|
999
|
+
attr_accessor :addressLine1
|
1000
|
+
attr_accessor :addressLine2
|
1001
|
+
attr_accessor :city
|
1002
|
+
attr_accessor :region
|
1003
|
+
attr_accessor :postalCode
|
1004
|
+
attr_accessor :countryCode
|
1005
|
+
attr_accessor :companyName
|
1006
|
+
attr_accessor :jobTitle
|
1007
|
+
attr_accessor :title
|
1008
|
+
attr_accessor :firstName
|
1009
|
+
attr_accessor :lastName
|
1010
|
+
attr_accessor :suffix
|
1011
|
+
attr_accessor :phoneNumberDay
|
1012
|
+
attr_accessor :phoneNumberEvening
|
1013
|
+
|
1014
|
+
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)
|
1015
|
+
@addressLine1 = addressLine1
|
1016
|
+
@addressLine2 = addressLine2
|
1017
|
+
@city = city
|
1018
|
+
@region = region
|
1019
|
+
@postalCode = postalCode
|
1020
|
+
@countryCode = countryCode
|
1021
|
+
@companyName = companyName
|
1022
|
+
@jobTitle = jobTitle
|
1023
|
+
@title = title
|
1024
|
+
@firstName = firstName
|
1025
|
+
@lastName = lastName
|
1026
|
+
@suffix = suffix
|
1027
|
+
@phoneNumberDay = phoneNumberDay
|
1028
|
+
@phoneNumberEvening = phoneNumberEvening
|
1029
|
+
end
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ArrayOfShipment
|
1033
|
+
class ArrayOfShipment < ::Array
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
# {http://api.channeladvisor.com/datacontracts/orders}Shipment
|
1037
|
+
# shippingCarrier - SOAP::SOAPString
|
1038
|
+
# shippingClass - SOAP::SOAPString
|
1039
|
+
# trackingNumber - SOAP::SOAPString
|
1040
|
+
class Shipment
|
1041
|
+
attr_accessor :shippingCarrier
|
1042
|
+
attr_accessor :shippingClass
|
1043
|
+
attr_accessor :trackingNumber
|
1044
|
+
|
1045
|
+
def initialize(shippingCarrier = nil, shippingClass = nil, trackingNumber = nil)
|
1046
|
+
@shippingCarrier = shippingCarrier
|
1047
|
+
@shippingClass = shippingClass
|
1048
|
+
@trackingNumber = trackingNumber
|
1049
|
+
end
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderCart
|
1053
|
+
# cartID - SOAP::SOAPInt
|
1054
|
+
# checkoutSource - ChannelAdvisor::OrderServiceSOAP::CheckoutSourceType
|
1055
|
+
# vATTaxCalculationOption - ChannelAdvisor::OrderServiceSOAP::VAT_Calculation_Type
|
1056
|
+
# vATShippingOption - ChannelAdvisor::OrderServiceSOAP::VAT_Calculation_Type
|
1057
|
+
# vATGiftWrapOption - ChannelAdvisor::OrderServiceSOAP::VAT_Calculation_Type
|
1058
|
+
# lineItemSKUList - ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderLineItemItem
|
1059
|
+
# lineItemInvoiceList - ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderLineItemInvoice
|
1060
|
+
# lineItemPromoList - ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderLineItemPromo
|
1061
|
+
class OrderCart
|
1062
|
+
attr_accessor :cartID
|
1063
|
+
attr_accessor :checkoutSource
|
1064
|
+
attr_accessor :vATTaxCalculationOption
|
1065
|
+
attr_accessor :vATShippingOption
|
1066
|
+
attr_accessor :vATGiftWrapOption
|
1067
|
+
attr_accessor :lineItemSKUList
|
1068
|
+
attr_accessor :lineItemInvoiceList
|
1069
|
+
attr_accessor :lineItemPromoList
|
1070
|
+
|
1071
|
+
def initialize(cartID = nil, checkoutSource = nil, vATTaxCalculationOption = nil, vATShippingOption = nil, vATGiftWrapOption = nil, lineItemSKUList = nil, lineItemInvoiceList = nil, lineItemPromoList = nil)
|
1072
|
+
@cartID = cartID
|
1073
|
+
@checkoutSource = checkoutSource
|
1074
|
+
@vATTaxCalculationOption = vATTaxCalculationOption
|
1075
|
+
@vATShippingOption = vATShippingOption
|
1076
|
+
@vATGiftWrapOption = vATGiftWrapOption
|
1077
|
+
@lineItemSKUList = lineItemSKUList
|
1078
|
+
@lineItemInvoiceList = lineItemInvoiceList
|
1079
|
+
@lineItemPromoList = lineItemPromoList
|
1080
|
+
end
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ArrayOfOrderLineItemItem
|
1084
|
+
class ArrayOfOrderLineItemItem < ::Array
|
1085
|
+
end
|
1086
|
+
|
1087
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderLineItemBase
|
1088
|
+
# abstract
|
1089
|
+
# lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
|
1090
|
+
# unitPrice - SOAP::SOAPDecimal
|
1091
|
+
class OrderLineItemBase
|
1092
|
+
attr_accessor :lineItemType
|
1093
|
+
attr_accessor :unitPrice
|
1094
|
+
|
1095
|
+
def initialize(lineItemType = nil, unitPrice = nil)
|
1096
|
+
@lineItemType = lineItemType
|
1097
|
+
@unitPrice = unitPrice
|
1098
|
+
end
|
1099
|
+
end
|
1100
|
+
|
1101
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderLineItemItem
|
1102
|
+
# lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
|
1103
|
+
# unitPrice - SOAP::SOAPDecimal
|
1104
|
+
# lineItemID - SOAP::SOAPInt
|
1105
|
+
# allowNegativeQuantity - SOAP::SOAPBoolean
|
1106
|
+
# quantity - SOAP::SOAPInt
|
1107
|
+
# itemSaleSource - ChannelAdvisor::OrderServiceSOAP::SiteToken
|
1108
|
+
# sKU - SOAP::SOAPString
|
1109
|
+
# title - SOAP::SOAPString
|
1110
|
+
# buyerUserID - SOAP::SOAPString
|
1111
|
+
# buyerFeedbackRating - SOAP::SOAPInt
|
1112
|
+
# salesSourceID - SOAP::SOAPString
|
1113
|
+
# vATRate - SOAP::SOAPDecimal
|
1114
|
+
# taxCost - SOAP::SOAPDecimal
|
1115
|
+
# shippingCost - SOAP::SOAPDecimal
|
1116
|
+
# shippingTaxCost - SOAP::SOAPDecimal
|
1117
|
+
# giftWrapCost - SOAP::SOAPDecimal
|
1118
|
+
# giftWrapTaxCost - SOAP::SOAPDecimal
|
1119
|
+
# giftMessage - SOAP::SOAPString
|
1120
|
+
# giftWrapLevel - SOAP::SOAPString
|
1121
|
+
class OrderLineItemItem < OrderLineItemBase
|
1122
|
+
attr_accessor :lineItemType
|
1123
|
+
attr_accessor :unitPrice
|
1124
|
+
attr_accessor :lineItemID
|
1125
|
+
attr_accessor :allowNegativeQuantity
|
1126
|
+
attr_accessor :quantity
|
1127
|
+
attr_accessor :itemSaleSource
|
1128
|
+
attr_accessor :sKU
|
1129
|
+
attr_accessor :title
|
1130
|
+
attr_accessor :buyerUserID
|
1131
|
+
attr_accessor :buyerFeedbackRating
|
1132
|
+
attr_accessor :salesSourceID
|
1133
|
+
attr_accessor :vATRate
|
1134
|
+
attr_accessor :taxCost
|
1135
|
+
attr_accessor :shippingCost
|
1136
|
+
attr_accessor :shippingTaxCost
|
1137
|
+
attr_accessor :giftWrapCost
|
1138
|
+
attr_accessor :giftWrapTaxCost
|
1139
|
+
attr_accessor :giftMessage
|
1140
|
+
attr_accessor :giftWrapLevel
|
1141
|
+
|
1142
|
+
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, taxCost = nil, shippingCost = nil, shippingTaxCost = nil, giftWrapCost = nil, giftWrapTaxCost = nil, giftMessage = nil, giftWrapLevel = nil)
|
1143
|
+
@lineItemType = lineItemType
|
1144
|
+
@unitPrice = unitPrice
|
1145
|
+
@lineItemID = lineItemID
|
1146
|
+
@allowNegativeQuantity = allowNegativeQuantity
|
1147
|
+
@quantity = quantity
|
1148
|
+
@itemSaleSource = itemSaleSource
|
1149
|
+
@sKU = sKU
|
1150
|
+
@title = title
|
1151
|
+
@buyerUserID = buyerUserID
|
1152
|
+
@buyerFeedbackRating = buyerFeedbackRating
|
1153
|
+
@salesSourceID = salesSourceID
|
1154
|
+
@vATRate = vATRate
|
1155
|
+
@taxCost = taxCost
|
1156
|
+
@shippingCost = shippingCost
|
1157
|
+
@shippingTaxCost = shippingTaxCost
|
1158
|
+
@giftWrapCost = giftWrapCost
|
1159
|
+
@giftWrapTaxCost = giftWrapTaxCost
|
1160
|
+
@giftMessage = giftMessage
|
1161
|
+
@giftWrapLevel = giftWrapLevel
|
1162
|
+
end
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderLineItemItemResponse
|
1166
|
+
# lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
|
1167
|
+
# unitPrice - SOAP::SOAPDecimal
|
1168
|
+
# lineItemID - SOAP::SOAPInt
|
1169
|
+
# allowNegativeQuantity - SOAP::SOAPBoolean
|
1170
|
+
# quantity - SOAP::SOAPInt
|
1171
|
+
# itemSaleSource - ChannelAdvisor::OrderServiceSOAP::SiteToken
|
1172
|
+
# sKU - SOAP::SOAPString
|
1173
|
+
# title - SOAP::SOAPString
|
1174
|
+
# buyerUserID - SOAP::SOAPString
|
1175
|
+
# buyerFeedbackRating - SOAP::SOAPInt
|
1176
|
+
# salesSourceID - SOAP::SOAPString
|
1177
|
+
# vATRate - SOAP::SOAPDecimal
|
1178
|
+
# taxCost - SOAP::SOAPDecimal
|
1179
|
+
# shippingCost - SOAP::SOAPDecimal
|
1180
|
+
# shippingTaxCost - SOAP::SOAPDecimal
|
1181
|
+
# giftWrapCost - SOAP::SOAPDecimal
|
1182
|
+
# giftWrapTaxCost - SOAP::SOAPDecimal
|
1183
|
+
# giftMessage - SOAP::SOAPString
|
1184
|
+
# giftWrapLevel - SOAP::SOAPString
|
1185
|
+
# unitWeight - ChannelAdvisor::OrderServiceSOAP::ItemWeight
|
1186
|
+
# warehouseLocation - SOAP::SOAPString
|
1187
|
+
# userName - SOAP::SOAPString
|
1188
|
+
class OrderLineItemItemResponse < OrderLineItemItem
|
1189
|
+
attr_accessor :lineItemType
|
1190
|
+
attr_accessor :unitPrice
|
1191
|
+
attr_accessor :lineItemID
|
1192
|
+
attr_accessor :allowNegativeQuantity
|
1193
|
+
attr_accessor :quantity
|
1194
|
+
attr_accessor :itemSaleSource
|
1195
|
+
attr_accessor :sKU
|
1196
|
+
attr_accessor :title
|
1197
|
+
attr_accessor :buyerUserID
|
1198
|
+
attr_accessor :buyerFeedbackRating
|
1199
|
+
attr_accessor :salesSourceID
|
1200
|
+
attr_accessor :vATRate
|
1201
|
+
attr_accessor :taxCost
|
1202
|
+
attr_accessor :shippingCost
|
1203
|
+
attr_accessor :shippingTaxCost
|
1204
|
+
attr_accessor :giftWrapCost
|
1205
|
+
attr_accessor :giftWrapTaxCost
|
1206
|
+
attr_accessor :giftMessage
|
1207
|
+
attr_accessor :giftWrapLevel
|
1208
|
+
attr_accessor :unitWeight
|
1209
|
+
attr_accessor :warehouseLocation
|
1210
|
+
attr_accessor :userName
|
1211
|
+
|
1212
|
+
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, taxCost = nil, shippingCost = nil, shippingTaxCost = nil, giftWrapCost = nil, giftWrapTaxCost = nil, giftMessage = nil, giftWrapLevel = nil, unitWeight = nil, warehouseLocation = nil, userName = nil)
|
1213
|
+
@lineItemType = lineItemType
|
1214
|
+
@unitPrice = unitPrice
|
1215
|
+
@lineItemID = lineItemID
|
1216
|
+
@allowNegativeQuantity = allowNegativeQuantity
|
1217
|
+
@quantity = quantity
|
1218
|
+
@itemSaleSource = itemSaleSource
|
1219
|
+
@sKU = sKU
|
1220
|
+
@title = title
|
1221
|
+
@buyerUserID = buyerUserID
|
1222
|
+
@buyerFeedbackRating = buyerFeedbackRating
|
1223
|
+
@salesSourceID = salesSourceID
|
1224
|
+
@vATRate = vATRate
|
1225
|
+
@taxCost = taxCost
|
1226
|
+
@shippingCost = shippingCost
|
1227
|
+
@shippingTaxCost = shippingTaxCost
|
1228
|
+
@giftWrapCost = giftWrapCost
|
1229
|
+
@giftWrapTaxCost = giftWrapTaxCost
|
1230
|
+
@giftMessage = giftMessage
|
1231
|
+
@giftWrapLevel = giftWrapLevel
|
1232
|
+
@unitWeight = unitWeight
|
1233
|
+
@warehouseLocation = warehouseLocation
|
1234
|
+
@userName = userName
|
1235
|
+
end
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderLineItemPromo
|
1239
|
+
# lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
|
1240
|
+
# unitPrice - SOAP::SOAPDecimal
|
1241
|
+
# promoCode - SOAP::SOAPString
|
1242
|
+
class OrderLineItemPromo < OrderLineItemBase
|
1243
|
+
attr_accessor :lineItemType
|
1244
|
+
attr_accessor :unitPrice
|
1245
|
+
attr_accessor :promoCode
|
1246
|
+
|
1247
|
+
def initialize(lineItemType = nil, unitPrice = nil, promoCode = nil)
|
1248
|
+
@lineItemType = lineItemType
|
1249
|
+
@unitPrice = unitPrice
|
1250
|
+
@promoCode = promoCode
|
1251
|
+
end
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderLineItemInvoice
|
1255
|
+
# lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
|
1256
|
+
# unitPrice - SOAP::SOAPDecimal
|
1257
|
+
class OrderLineItemInvoice < OrderLineItemBase
|
1258
|
+
attr_accessor :lineItemType
|
1259
|
+
attr_accessor :unitPrice
|
1260
|
+
|
1261
|
+
def initialize(lineItemType = nil, unitPrice = nil)
|
1262
|
+
@lineItemType = lineItemType
|
1263
|
+
@unitPrice = unitPrice
|
1264
|
+
end
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ItemWeight
|
1268
|
+
# xmlattr_UnitOfMeasure - SOAP::SOAPString
|
1269
|
+
class ItemWeight < ::String
|
1270
|
+
AttrUnitOfMeasure = XSD::QName.new(nil, "UnitOfMeasure")
|
1271
|
+
|
1272
|
+
def __xmlattr
|
1273
|
+
@__xmlattr ||= {}
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
def xmlattr_UnitOfMeasure
|
1277
|
+
__xmlattr[AttrUnitOfMeasure]
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
def xmlattr_UnitOfMeasure=(value)
|
1281
|
+
__xmlattr[AttrUnitOfMeasure] = value
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
def initialize(*arg)
|
1285
|
+
super
|
1286
|
+
@__xmlattr = {}
|
1287
|
+
end
|
1288
|
+
end
|
1289
|
+
|
1290
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ArrayOfOrderLineItemInvoice
|
1291
|
+
class ArrayOfOrderLineItemInvoice < ::Array
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ArrayOfOrderLineItemPromo
|
1295
|
+
class ArrayOfOrderLineItemPromo < ::Array
|
1296
|
+
end
|
1297
|
+
|
1298
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ArrayOfCustomValue
|
1299
|
+
class ArrayOfCustomValue < ::Array
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
# {http://api.channeladvisor.com/datacontracts/orders}CustomValue
|
1303
|
+
# iD - SOAP::SOAPInt
|
1304
|
+
# value - SOAP::SOAPString
|
1305
|
+
class CustomValue
|
1306
|
+
attr_accessor :iD
|
1307
|
+
attr_accessor :value
|
1308
|
+
|
1309
|
+
def initialize(iD = nil, value = nil)
|
1310
|
+
@iD = iD
|
1311
|
+
@value = value
|
1312
|
+
end
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
# {http://api.channeladvisor.com/datacontracts/orders}Order
|
1316
|
+
# abstract
|
1317
|
+
# orderTimeGMT - SOAP::SOAPDateTime
|
1318
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
1319
|
+
# orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
|
1320
|
+
# buyerEmailAddress - SOAP::SOAPString
|
1321
|
+
# emailOptIn - SOAP::SOAPBoolean
|
1322
|
+
# resellerID - SOAP::SOAPString
|
1323
|
+
# billingInfo - ChannelAdvisor::OrderServiceSOAP::BillingInfo
|
1324
|
+
# paymentInfo - ChannelAdvisor::OrderServiceSOAP::PaymentInfo
|
1325
|
+
# shoppingCart - ChannelAdvisor::OrderServiceSOAP::OrderCart
|
1326
|
+
# customValueList - ChannelAdvisor::OrderServiceSOAP::ArrayOfCustomValue
|
1327
|
+
class Order
|
1328
|
+
attr_accessor :orderTimeGMT
|
1329
|
+
attr_accessor :clientOrderIdentifier
|
1330
|
+
attr_accessor :orderStatus
|
1331
|
+
attr_accessor :buyerEmailAddress
|
1332
|
+
attr_accessor :emailOptIn
|
1333
|
+
attr_accessor :resellerID
|
1334
|
+
attr_accessor :billingInfo
|
1335
|
+
attr_accessor :paymentInfo
|
1336
|
+
attr_accessor :shoppingCart
|
1337
|
+
attr_accessor :customValueList
|
1338
|
+
|
1339
|
+
def initialize(orderTimeGMT = nil, clientOrderIdentifier = nil, orderStatus = nil, buyerEmailAddress = nil, emailOptIn = nil, resellerID = nil, billingInfo = nil, paymentInfo = nil, shoppingCart = nil, customValueList = nil)
|
1340
|
+
@orderTimeGMT = orderTimeGMT
|
1341
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
1342
|
+
@orderStatus = orderStatus
|
1343
|
+
@buyerEmailAddress = buyerEmailAddress
|
1344
|
+
@emailOptIn = emailOptIn
|
1345
|
+
@resellerID = resellerID
|
1346
|
+
@billingInfo = billingInfo
|
1347
|
+
@paymentInfo = paymentInfo
|
1348
|
+
@shoppingCart = shoppingCart
|
1349
|
+
@customValueList = customValueList
|
1350
|
+
end
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderSubmit
|
1354
|
+
# orderTimeGMT - SOAP::SOAPDateTime
|
1355
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
1356
|
+
# orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
|
1357
|
+
# buyerEmailAddress - SOAP::SOAPString
|
1358
|
+
# emailOptIn - SOAP::SOAPBoolean
|
1359
|
+
# resellerID - SOAP::SOAPString
|
1360
|
+
# billingInfo - ChannelAdvisor::OrderServiceSOAP::BillingInfo
|
1361
|
+
# paymentInfo - ChannelAdvisor::OrderServiceSOAP::PaymentInfo
|
1362
|
+
# shoppingCart - ChannelAdvisor::OrderServiceSOAP::OrderCart
|
1363
|
+
# customValueList - ChannelAdvisor::OrderServiceSOAP::ArrayOfCustomValue
|
1364
|
+
# shippingInfo - ChannelAdvisor::OrderServiceSOAP::ShippingInfoSubmit
|
1365
|
+
class OrderSubmit < Order
|
1366
|
+
attr_accessor :orderTimeGMT
|
1367
|
+
attr_accessor :clientOrderIdentifier
|
1368
|
+
attr_accessor :orderStatus
|
1369
|
+
attr_accessor :buyerEmailAddress
|
1370
|
+
attr_accessor :emailOptIn
|
1371
|
+
attr_accessor :resellerID
|
1372
|
+
attr_accessor :billingInfo
|
1373
|
+
attr_accessor :paymentInfo
|
1374
|
+
attr_accessor :shoppingCart
|
1375
|
+
attr_accessor :customValueList
|
1376
|
+
attr_accessor :shippingInfo
|
1377
|
+
|
1378
|
+
def initialize(orderTimeGMT = nil, clientOrderIdentifier = nil, orderStatus = nil, buyerEmailAddress = nil, emailOptIn = nil, resellerID = nil, billingInfo = nil, paymentInfo = nil, shoppingCart = nil, customValueList = nil, shippingInfo = nil)
|
1379
|
+
@orderTimeGMT = orderTimeGMT
|
1380
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
1381
|
+
@orderStatus = orderStatus
|
1382
|
+
@buyerEmailAddress = buyerEmailAddress
|
1383
|
+
@emailOptIn = emailOptIn
|
1384
|
+
@resellerID = resellerID
|
1385
|
+
@billingInfo = billingInfo
|
1386
|
+
@paymentInfo = paymentInfo
|
1387
|
+
@shoppingCart = shoppingCart
|
1388
|
+
@customValueList = customValueList
|
1389
|
+
@shippingInfo = shippingInfo
|
1390
|
+
end
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderRefundHistoryResponse
|
1394
|
+
# orderID - SOAP::SOAPInt
|
1395
|
+
# clientOrderIdentifier - SOAP::SOAPString
|
1396
|
+
# refundStatus - ChannelAdvisor::OrderServiceSOAP::OrderRefundStatusCode
|
1397
|
+
# lineItemRefunds - ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderLineItemRefundHistoryResponse
|
1398
|
+
class OrderRefundHistoryResponse
|
1399
|
+
attr_accessor :orderID
|
1400
|
+
attr_accessor :clientOrderIdentifier
|
1401
|
+
attr_accessor :refundStatus
|
1402
|
+
attr_accessor :lineItemRefunds
|
1403
|
+
|
1404
|
+
def initialize(orderID = nil, clientOrderIdentifier = nil, refundStatus = nil, lineItemRefunds = nil)
|
1405
|
+
@orderID = orderID
|
1406
|
+
@clientOrderIdentifier = clientOrderIdentifier
|
1407
|
+
@refundStatus = refundStatus
|
1408
|
+
@lineItemRefunds = lineItemRefunds
|
1409
|
+
end
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ArrayOfOrderLineItemRefundHistoryResponse
|
1413
|
+
class ArrayOfOrderLineItemRefundHistoryResponse < ::Array
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
# {http://api.channeladvisor.com/webservices/}ResultStatus
|
1417
|
+
class ResultStatus < ::String
|
1418
|
+
Failure = ResultStatus.new("Failure")
|
1419
|
+
Success = ResultStatus.new("Success")
|
1420
|
+
end
|
1421
|
+
|
1422
|
+
# {http://api.channeladvisor.com/datacontracts/orders}RefundAdjustmentReason
|
1423
|
+
class RefundAdjustmentReason < ::String
|
1424
|
+
AlternateItemProvied = RefundAdjustmentReason.new("AlternateItemProvied")
|
1425
|
+
BuyerCancelled = RefundAdjustmentReason.new("BuyerCancelled")
|
1426
|
+
CouldNotShip = RefundAdjustmentReason.new("CouldNotShip")
|
1427
|
+
CustomerExchange = RefundAdjustmentReason.new("CustomerExchange")
|
1428
|
+
CustomerReturnedItem = RefundAdjustmentReason.new("CustomerReturnedItem")
|
1429
|
+
GeneralAdjustment = RefundAdjustmentReason.new("GeneralAdjustment")
|
1430
|
+
ItemNotAvailable = RefundAdjustmentReason.new("ItemNotAvailable")
|
1431
|
+
MerchandiseNotReceived = RefundAdjustmentReason.new("MerchandiseNotReceived")
|
1432
|
+
ShippingAddressUndeliverable = RefundAdjustmentReason.new("ShippingAddressUndeliverable")
|
1433
|
+
end
|
1434
|
+
|
1435
|
+
# {http://api.channeladvisor.com/datacontracts/orders}SiteToken
|
1436
|
+
class SiteToken < ::String
|
1437
|
+
AMAZON_AUCTIONS = SiteToken.new("AMAZON_AUCTIONS")
|
1438
|
+
AMAZON_MARKETPLACE = SiteToken.new("AMAZON_MARKETPLACE")
|
1439
|
+
AMAZON_MERCHANTSAT = SiteToken.new("AMAZON_MERCHANTSAT")
|
1440
|
+
AMAZON_UK = SiteToken.new("AMAZON_UK")
|
1441
|
+
AMAZON_US = SiteToken.new("AMAZON_US")
|
1442
|
+
BUY_DOT_COM = SiteToken.new("BUY_DOT_COM")
|
1443
|
+
CHANNELADVISOR_STORE = SiteToken.new("CHANNELADVISOR_STORE")
|
1444
|
+
DEMANDWARE_STORE = SiteToken.new("DEMANDWARE_STORE")
|
1445
|
+
DIRECT_SALE = SiteToken.new("DIRECT_SALE")
|
1446
|
+
EBAY_AU = SiteToken.new("EBAY_AU")
|
1447
|
+
EBAY_CA = SiteToken.new("EBAY_CA")
|
1448
|
+
EBAY_DE = SiteToken.new("EBAY_DE")
|
1449
|
+
EBAY_ES = SiteToken.new("EBAY_ES")
|
1450
|
+
EBAY_FR = SiteToken.new("EBAY_FR")
|
1451
|
+
EBAY_IE = SiteToken.new("EBAY_IE")
|
1452
|
+
EBAY_IT = SiteToken.new("EBAY_IT")
|
1453
|
+
EBAY_MOTORS = SiteToken.new("EBAY_MOTORS")
|
1454
|
+
EBAY_MOTORS_FIXED_PRICE = SiteToken.new("EBAY_MOTORS_FIXED_PRICE")
|
1455
|
+
EBAY_STORES = SiteToken.new("EBAY_STORES")
|
1456
|
+
EBAY_UK = SiteToken.new("EBAY_UK")
|
1457
|
+
EBAY_US = SiteToken.new("EBAY_US")
|
1458
|
+
OVERSTOCK = SiteToken.new("OVERSTOCK")
|
1459
|
+
OVERSTOCK_SHOPPING = SiteToken.new("OVERSTOCK_SHOPPING")
|
1460
|
+
PIXMANIA = SiteToken.new("PIXMANIA")
|
1461
|
+
STOREADVISOR_PREMIUM = SiteToken.new("STOREADVISOR_PREMIUM")
|
1462
|
+
TRADING_POST = SiteToken.new("TRADING_POST")
|
1463
|
+
UNKNOWN = SiteToken.new("UNKNOWN")
|
1464
|
+
YAHOO = SiteToken.new("YAHOO")
|
1465
|
+
YAHOO_STORES = SiteToken.new("YAHOO_STORES")
|
1466
|
+
end
|
1467
|
+
|
1468
|
+
# {http://api.channeladvisor.com/datacontracts/orders}AsyncStatusCode
|
1469
|
+
class AsyncStatusCode < ::String
|
1470
|
+
AcknowledgedPostProcessingNotComplete = AsyncStatusCode.new("AcknowledgedPostProcessingNotComplete")
|
1471
|
+
Error = AsyncStatusCode.new("Error")
|
1472
|
+
NoChange = AsyncStatusCode.new("NoChange")
|
1473
|
+
PostProcessingComplete = AsyncStatusCode.new("PostProcessingComplete")
|
1474
|
+
ProcessedNotAcknowledged = AsyncStatusCode.new("ProcessedNotAcknowledged")
|
1475
|
+
SubmittedNotProcessed = AsyncStatusCode.new("SubmittedNotProcessed")
|
1476
|
+
end
|
1477
|
+
|
1478
|
+
# {http://api.channeladvisor.com/datacontracts/orders}DetailLevelType
|
1479
|
+
class DetailLevelType < ::String
|
1480
|
+
Complete = DetailLevelType.new("Complete")
|
1481
|
+
High = DetailLevelType.new("High")
|
1482
|
+
Low = DetailLevelType.new("Low")
|
1483
|
+
Medium = DetailLevelType.new("Medium")
|
1484
|
+
end
|
1485
|
+
|
1486
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ExportStateType
|
1487
|
+
class ExportStateType < ::String
|
1488
|
+
NotExported = ExportStateType.new("NotExported")
|
1489
|
+
Unknown = ExportStateType.new("Unknown")
|
1490
|
+
end
|
1491
|
+
|
1492
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderStateCode
|
1493
|
+
class OrderStateCode < ::String
|
1494
|
+
Active = OrderStateCode.new("Active")
|
1495
|
+
Archived = OrderStateCode.new("Archived")
|
1496
|
+
Cancelled = OrderStateCode.new("Cancelled")
|
1497
|
+
end
|
1498
|
+
|
1499
|
+
# {http://api.channeladvisor.com/datacontracts/orders}PaymentStatusCode
|
1500
|
+
class PaymentStatusCode < ::String
|
1501
|
+
Cleared = PaymentStatusCode.new("Cleared")
|
1502
|
+
Deposited = PaymentStatusCode.new("Deposited")
|
1503
|
+
Failed = PaymentStatusCode.new("Failed")
|
1504
|
+
NoChange = PaymentStatusCode.new("NoChange")
|
1505
|
+
NotSubmitted = PaymentStatusCode.new("NotSubmitted")
|
1506
|
+
Submitted = PaymentStatusCode.new("Submitted")
|
1507
|
+
end
|
1508
|
+
|
1509
|
+
# {http://api.channeladvisor.com/datacontracts/orders}CheckoutStatusCode
|
1510
|
+
class CheckoutStatusCode < ::String
|
1511
|
+
Cancelled = CheckoutStatusCode.new("Cancelled")
|
1512
|
+
Completed = CheckoutStatusCode.new("Completed")
|
1513
|
+
CompletedOffline = CheckoutStatusCode.new("CompletedOffline")
|
1514
|
+
NoChange = CheckoutStatusCode.new("NoChange")
|
1515
|
+
NotVisited = CheckoutStatusCode.new("NotVisited")
|
1516
|
+
OnHold = CheckoutStatusCode.new("OnHold")
|
1517
|
+
Visited = CheckoutStatusCode.new("Visited")
|
1518
|
+
end
|
1519
|
+
|
1520
|
+
# {http://api.channeladvisor.com/datacontracts/orders}ShippingStatusCode
|
1521
|
+
class ShippingStatusCode < ::String
|
1522
|
+
NoChange = ShippingStatusCode.new("NoChange")
|
1523
|
+
PartiallyShipped = ShippingStatusCode.new("PartiallyShipped")
|
1524
|
+
Shipped = ShippingStatusCode.new("Shipped")
|
1525
|
+
Unshipped = ShippingStatusCode.new("Unshipped")
|
1526
|
+
end
|
1527
|
+
|
1528
|
+
# {http://api.channeladvisor.com/datacontracts/orders}OrderRefundStatusCode
|
1529
|
+
class OrderRefundStatusCode < ::String
|
1530
|
+
FailedAttemptsOnly = OrderRefundStatusCode.new("FailedAttemptsOnly")
|
1531
|
+
LineItemLevel = OrderRefundStatusCode.new("LineItemLevel")
|
1532
|
+
NoRefunds = OrderRefundStatusCode.new("NoRefunds")
|
1533
|
+
OrderAndLineItemLevel = OrderRefundStatusCode.new("OrderAndLineItemLevel")
|
1534
|
+
OrderLevel = OrderRefundStatusCode.new("OrderLevel")
|
1535
|
+
end
|
1536
|
+
|
1537
|
+
# {http://api.channeladvisor.com/datacontracts/orders}CheckoutSourceType
|
1538
|
+
class CheckoutSourceType < ::String
|
1539
|
+
CA_Checkout = CheckoutSourceType.new("CA_Checkout")
|
1540
|
+
Demandware_Checkout = CheckoutSourceType.new("Demandware_Checkout")
|
1541
|
+
Google_Checkout = CheckoutSourceType.new("Google_Checkout")
|
1542
|
+
Overstock_Shopping = CheckoutSourceType.new("Overstock_Shopping")
|
1543
|
+
PayPal = CheckoutSourceType.new("PayPal")
|
1544
|
+
Site_Checkout = CheckoutSourceType.new("Site_Checkout")
|
1545
|
+
Unspecified = CheckoutSourceType.new("Unspecified")
|
1546
|
+
YahooStores_Checkout = CheckoutSourceType.new("YahooStores_Checkout")
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
# {http://api.channeladvisor.com/datacontracts/orders}VAT_Calculation_Type
|
1550
|
+
class VAT_Calculation_Type < ::String
|
1551
|
+
Unspecified = VAT_Calculation_Type.new("Unspecified")
|
1552
|
+
VAT_EXCLUSIVE = VAT_Calculation_Type.new("VAT_EXCLUSIVE")
|
1553
|
+
VAT_INCLUSIVE = VAT_Calculation_Type.new("VAT_INCLUSIVE")
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
# {http://api.channeladvisor.com/datacontracts/orders}LineItemTypeCode
|
1557
|
+
class LineItemTypeCode < ::String
|
1558
|
+
AdditionalCostOrDiscount = LineItemTypeCode.new("AdditionalCostOrDiscount")
|
1559
|
+
BuyerOptInIncentive = LineItemTypeCode.new("BuyerOptInIncentive")
|
1560
|
+
GiftWrap = LineItemTypeCode.new("GiftWrap")
|
1561
|
+
Listing = LineItemTypeCode.new("Listing")
|
1562
|
+
Promotion = LineItemTypeCode.new("Promotion")
|
1563
|
+
SKU = LineItemTypeCode.new("SKU")
|
1564
|
+
SalesTax = LineItemTypeCode.new("SalesTax")
|
1565
|
+
Shipping = LineItemTypeCode.new("Shipping")
|
1566
|
+
ShippingInsurance = LineItemTypeCode.new("ShippingInsurance")
|
1567
|
+
VATGiftWrap = LineItemTypeCode.new("VATGiftWrap")
|
1568
|
+
VATShipping = LineItemTypeCode.new("VATShipping")
|
1569
|
+
end
|
1570
|
+
|
1571
|
+
# {http://api.channeladvisor.com/webservices/}SubmitAmazonFullRefund
|
1572
|
+
# accountID - SOAP::SOAPString
|
1573
|
+
# orderID - SOAP::SOAPString
|
1574
|
+
# reason - ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason
|
1575
|
+
class SubmitAmazonFullRefund
|
1576
|
+
attr_accessor :accountID
|
1577
|
+
attr_accessor :orderID
|
1578
|
+
attr_accessor :reason
|
1579
|
+
|
1580
|
+
def initialize(accountID = nil, orderID = nil, reason = nil)
|
1581
|
+
@accountID = accountID
|
1582
|
+
@orderID = orderID
|
1583
|
+
@reason = reason
|
1584
|
+
end
|
1585
|
+
end
|
1586
|
+
|
1587
|
+
# {http://api.channeladvisor.com/webservices/}SubmitAmazonFullRefundResponse
|
1588
|
+
# submitAmazonFullRefundResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfRefundItemResponse
|
1589
|
+
class SubmitAmazonFullRefundResponse
|
1590
|
+
attr_accessor :submitAmazonFullRefundResult
|
1591
|
+
|
1592
|
+
def initialize(submitAmazonFullRefundResult = nil)
|
1593
|
+
@submitAmazonFullRefundResult = submitAmazonFullRefundResult
|
1594
|
+
end
|
1595
|
+
end
|
1596
|
+
|
1597
|
+
# {http://api.channeladvisor.com/webservices/}SetOrdersExportStatus
|
1598
|
+
# accountID - SOAP::SOAPString
|
1599
|
+
# clientOrderIdentifiers - ChannelAdvisor::OrderServiceSOAP::ArrayOfString
|
1600
|
+
# markAsExported - SOAP::SOAPBoolean
|
1601
|
+
class SetOrdersExportStatus
|
1602
|
+
attr_accessor :accountID
|
1603
|
+
attr_accessor :clientOrderIdentifiers
|
1604
|
+
attr_accessor :markAsExported
|
1605
|
+
|
1606
|
+
def initialize(accountID = nil, clientOrderIdentifiers = nil, markAsExported = nil)
|
1607
|
+
@accountID = accountID
|
1608
|
+
@clientOrderIdentifiers = clientOrderIdentifiers
|
1609
|
+
@markAsExported = markAsExported
|
1610
|
+
end
|
1611
|
+
end
|
1612
|
+
|
1613
|
+
# {http://api.channeladvisor.com/webservices/}SetOrdersExportStatusResponse
|
1614
|
+
# setOrdersExportStatusResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfArrayOfBoolean
|
1615
|
+
class SetOrdersExportStatusResponse
|
1616
|
+
attr_accessor :setOrdersExportStatusResult
|
1617
|
+
|
1618
|
+
def initialize(setOrdersExportStatusResult = nil)
|
1619
|
+
@setOrdersExportStatusResult = setOrdersExportStatusResult
|
1620
|
+
end
|
1621
|
+
end
|
1622
|
+
|
1623
|
+
# {http://api.channeladvisor.com/webservices/}SubmitAmazonPartialRefund
|
1624
|
+
# accountID - SOAP::SOAPString
|
1625
|
+
# request - ChannelAdvisor::OrderServiceSOAP::RefundItemRequest
|
1626
|
+
class SubmitAmazonPartialRefund
|
1627
|
+
attr_accessor :accountID
|
1628
|
+
attr_accessor :request
|
1629
|
+
|
1630
|
+
def initialize(accountID = nil, request = nil)
|
1631
|
+
@accountID = accountID
|
1632
|
+
@request = request
|
1633
|
+
end
|
1634
|
+
end
|
1635
|
+
|
1636
|
+
# {http://api.channeladvisor.com/webservices/}SubmitAmazonPartialRefundResponse
|
1637
|
+
# submitAmazonPartialRefundResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfRefundItemResponse
|
1638
|
+
class SubmitAmazonPartialRefundResponse
|
1639
|
+
attr_accessor :submitAmazonPartialRefundResult
|
1640
|
+
|
1641
|
+
def initialize(submitAmazonPartialRefundResult = nil)
|
1642
|
+
@submitAmazonPartialRefundResult = submitAmazonPartialRefundResult
|
1643
|
+
end
|
1644
|
+
end
|
1645
|
+
|
1646
|
+
# {http://api.channeladvisor.com/webservices/}SubmitOrderRefund
|
1647
|
+
# accountID - SOAP::SOAPString
|
1648
|
+
# request - ChannelAdvisor::OrderServiceSOAP::RefundOrderRequest
|
1649
|
+
class SubmitOrderRefund
|
1650
|
+
attr_accessor :accountID
|
1651
|
+
attr_accessor :request
|
1652
|
+
|
1653
|
+
def initialize(accountID = nil, request = nil)
|
1654
|
+
@accountID = accountID
|
1655
|
+
@request = request
|
1656
|
+
end
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
# {http://api.channeladvisor.com/webservices/}SubmitOrderRefundResponse
|
1660
|
+
# submitOrderRefundResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfRefundOrderResponse
|
1661
|
+
class SubmitOrderRefundResponse
|
1662
|
+
attr_accessor :submitOrderRefundResult
|
1663
|
+
|
1664
|
+
def initialize(submitOrderRefundResult = nil)
|
1665
|
+
@submitOrderRefundResult = submitOrderRefundResult
|
1666
|
+
end
|
1667
|
+
end
|
1668
|
+
|
1669
|
+
# {http://api.channeladvisor.com/webservices/}GetOrderList
|
1670
|
+
# accountID - SOAP::SOAPString
|
1671
|
+
# orderCriteria - ChannelAdvisor::OrderServiceSOAP::OrderCriteria
|
1672
|
+
class GetOrderList
|
1673
|
+
attr_accessor :accountID
|
1674
|
+
attr_accessor :orderCriteria
|
1675
|
+
|
1676
|
+
def initialize(accountID = nil, orderCriteria = nil)
|
1677
|
+
@accountID = accountID
|
1678
|
+
@orderCriteria = orderCriteria
|
1679
|
+
end
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
# {http://api.channeladvisor.com/webservices/}GetOrderListResponse
|
1683
|
+
# getOrderListResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfArrayOfOrderResponseItem
|
1684
|
+
class GetOrderListResponse
|
1685
|
+
attr_accessor :getOrderListResult
|
1686
|
+
|
1687
|
+
def initialize(getOrderListResult = nil)
|
1688
|
+
@getOrderListResult = getOrderListResult
|
1689
|
+
end
|
1690
|
+
end
|
1691
|
+
|
1692
|
+
# {http://api.channeladvisor.com/webservices/}SubmitOrder
|
1693
|
+
# accountID - SOAP::SOAPString
|
1694
|
+
# order - ChannelAdvisor::OrderServiceSOAP::OrderSubmit
|
1695
|
+
class SubmitOrder
|
1696
|
+
attr_accessor :accountID
|
1697
|
+
attr_accessor :order
|
1698
|
+
|
1699
|
+
def initialize(accountID = nil, order = nil)
|
1700
|
+
@accountID = accountID
|
1701
|
+
@order = order
|
1702
|
+
end
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
# {http://api.channeladvisor.com/webservices/}SubmitOrderResponse
|
1706
|
+
# submitOrderResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfInt32
|
1707
|
+
class SubmitOrderResponse
|
1708
|
+
attr_accessor :submitOrderResult
|
1709
|
+
|
1710
|
+
def initialize(submitOrderResult = nil)
|
1711
|
+
@submitOrderResult = submitOrderResult
|
1712
|
+
end
|
1713
|
+
end
|
1714
|
+
|
1715
|
+
# {http://api.channeladvisor.com/webservices/}SetSellerOrderID
|
1716
|
+
# accountID - SOAP::SOAPString
|
1717
|
+
# orderIDList - ChannelAdvisor::OrderServiceSOAP::ArrayOfInt
|
1718
|
+
# sellerOrderIDList - ChannelAdvisor::OrderServiceSOAP::ArrayOfString
|
1719
|
+
class SetSellerOrderID
|
1720
|
+
attr_accessor :accountID
|
1721
|
+
attr_accessor :orderIDList
|
1722
|
+
attr_accessor :sellerOrderIDList
|
1723
|
+
|
1724
|
+
def initialize(accountID = nil, orderIDList = nil, sellerOrderIDList = nil)
|
1725
|
+
@accountID = accountID
|
1726
|
+
@orderIDList = orderIDList
|
1727
|
+
@sellerOrderIDList = sellerOrderIDList
|
1728
|
+
end
|
1729
|
+
end
|
1730
|
+
|
1731
|
+
# {http://api.channeladvisor.com/webservices/}SetSellerOrderIDResponse
|
1732
|
+
# setSellerOrderIDResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfArrayOfInt32
|
1733
|
+
class SetSellerOrderIDResponse
|
1734
|
+
attr_accessor :setSellerOrderIDResult
|
1735
|
+
|
1736
|
+
def initialize(setSellerOrderIDResult = nil)
|
1737
|
+
@setSellerOrderIDResult = setSellerOrderIDResult
|
1738
|
+
end
|
1739
|
+
end
|
1740
|
+
|
1741
|
+
# {http://api.channeladvisor.com/webservices/}GetOrderRefundHistory
|
1742
|
+
# accountID - SOAP::SOAPString
|
1743
|
+
# orderID - SOAP::SOAPInt
|
1744
|
+
class GetOrderRefundHistory
|
1745
|
+
attr_accessor :accountID
|
1746
|
+
attr_accessor :orderID
|
1747
|
+
|
1748
|
+
def initialize(accountID = nil, orderID = nil)
|
1749
|
+
@accountID = accountID
|
1750
|
+
@orderID = orderID
|
1751
|
+
end
|
1752
|
+
end
|
1753
|
+
|
1754
|
+
# {http://api.channeladvisor.com/webservices/}GetOrderRefundHistoryResponse
|
1755
|
+
# getOrderRefundHistoryResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfOrderRefundHistoryResponse
|
1756
|
+
class GetOrderRefundHistoryResponse
|
1757
|
+
attr_accessor :getOrderRefundHistoryResult
|
1758
|
+
|
1759
|
+
def initialize(getOrderRefundHistoryResult = nil)
|
1760
|
+
@getOrderRefundHistoryResult = getOrderRefundHistoryResult
|
1761
|
+
end
|
1762
|
+
end
|
1763
|
+
|
1764
|
+
# {http://api.channeladvisor.com/webservices/}Ping
|
1765
|
+
class Ping
|
1766
|
+
def initialize
|
1767
|
+
end
|
1768
|
+
end
|
1769
|
+
|
1770
|
+
# {http://api.channeladvisor.com/webservices/}PingResponse
|
1771
|
+
# pingResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfString
|
1772
|
+
class PingResponse
|
1773
|
+
attr_accessor :pingResult
|
1774
|
+
|
1775
|
+
def initialize(pingResult = nil)
|
1776
|
+
@pingResult = pingResult
|
1777
|
+
end
|
1778
|
+
end
|
1779
|
+
|
1780
|
+
|
1781
|
+
end; end
|