channel_advisor 0.0.8 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. data/.rspec +2 -0
  2. data/Gemfile +15 -0
  3. data/Gemfile.lock +103 -0
  4. data/LICENSE +20 -0
  5. data/README +2 -0
  6. data/Rakefile +107 -0
  7. data/VERSION +1 -0
  8. data/artifacts.yml +5 -0
  9. data/channel_advisor.gemspec +142 -0
  10. data/lib/channel_advisor/admin_service/client.rb +2 -1
  11. data/lib/channel_advisor/admin_service/mapping_registry.rb +1 -0
  12. data/lib/channel_advisor/admin_service/types.rb +1 -0
  13. data/lib/channel_advisor/cart_service/client.rb +2 -1
  14. data/lib/channel_advisor/cart_service/mapping_registry.rb +1 -0
  15. data/lib/channel_advisor/cart_service/types.rb +3 -0
  16. data/lib/channel_advisor/inventory_service/client.rb +6 -5
  17. data/lib/channel_advisor/inventory_service/mapping_registry.rb +74 -43
  18. data/lib/channel_advisor/inventory_service/types.rb +96 -36
  19. data/lib/channel_advisor/listing_service/client.rb +2 -1
  20. data/lib/channel_advisor/listing_service/mapping_registry.rb +1 -0
  21. data/lib/channel_advisor/listing_service/types.rb +1 -0
  22. data/lib/channel_advisor/marketplace_ad_service/client.rb +2 -1
  23. data/lib/channel_advisor/marketplace_ad_service/mapping_registry.rb +1 -0
  24. data/lib/channel_advisor/marketplace_ad_service/types.rb +1 -0
  25. data/lib/channel_advisor/order_service/client.rb +18 -1
  26. data/lib/channel_advisor/order_service/mapping_registry.rb +153 -22
  27. data/lib/channel_advisor/order_service/types.rb +170 -20
  28. data/lib/channel_advisor/shipping_service/client.rb +2 -1
  29. data/lib/channel_advisor/shipping_service/mapping_registry.rb +7 -1
  30. data/lib/channel_advisor/shipping_service/types.rb +13 -3
  31. data/lib/channel_advisor/store_service/client.rb +2 -1
  32. data/lib/channel_advisor/store_service/mapping_registry.rb +1 -0
  33. data/lib/channel_advisor/store_service/types.rb +1 -0
  34. data/lib/channel_advisor/tax_service/client.rb +2 -1
  35. data/lib/channel_advisor/tax_service/mapping_registry.rb +21 -20
  36. data/lib/channel_advisor/tax_service/types.rb +20 -19
  37. data/spec/spec_helper.rb +1 -2
  38. metadata +135 -38
@@ -1,3 +1,4 @@
1
+
1
2
  module ChannelAdvisor; module OrderServiceSOAP
2
3
 
3
4
 
@@ -184,6 +185,42 @@ class APIResultOfOrderRefundHistoryResponse
184
185
  end
185
186
  end
186
187
 
188
+ # {http://api.channeladvisor.com/webservices/}ArrayOfOrderUpdateSubmit
189
+ class ArrayOfOrderUpdateSubmit < ::Array
190
+ end
191
+
192
+ # {http://api.channeladvisor.com/webservices/}OrderUpdateSubmit
193
+ # orderID - SOAP::SOAPInt
194
+ # flagStyle - ChannelAdvisor::OrderServiceSOAP::FlagType
195
+ # flagDescription - SOAP::SOAPString
196
+ # transactionNotes - ChannelAdvisor::OrderServiceSOAP::TransactionNoteSubmit
197
+ class OrderUpdateSubmit
198
+ attr_accessor :orderID
199
+ attr_accessor :flagStyle
200
+ attr_accessor :flagDescription
201
+ attr_accessor :transactionNotes
202
+
203
+ def initialize(orderID = nil, flagStyle = nil, flagDescription = nil, transactionNotes = nil)
204
+ @orderID = orderID
205
+ @flagStyle = flagStyle
206
+ @flagDescription = flagDescription
207
+ @transactionNotes = transactionNotes
208
+ end
209
+ end
210
+
211
+ # {http://api.channeladvisor.com/webservices/}TransactionNoteSubmit
212
+ # note - SOAP::SOAPString
213
+ # shouldOverwrite - SOAP::SOAPBoolean
214
+ class TransactionNoteSubmit
215
+ attr_accessor :note
216
+ attr_accessor :shouldOverwrite
217
+
218
+ def initialize(note = nil, shouldOverwrite = nil)
219
+ @note = note
220
+ @shouldOverwrite = shouldOverwrite
221
+ end
222
+ end
223
+
187
224
  # {http://api.channeladvisor.com/webservices/}APIResultOfString
188
225
  # status - ChannelAdvisor::OrderServiceSOAP::ResultStatus
189
226
  # messageCode - SOAP::SOAPInt
@@ -236,6 +273,7 @@ end
236
273
  # refundRequested - SOAP::SOAPBoolean
237
274
  # restockQuantity - SOAP::SOAPBoolean
238
275
  # adjustmentReason - ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason
276
+ # sellerRefundID - SOAP::SOAPString
239
277
  class RefundItem
240
278
  attr_accessor :sKU
241
279
  attr_accessor :amount
@@ -249,8 +287,9 @@ class RefundItem
249
287
  attr_accessor :refundRequested
250
288
  attr_accessor :restockQuantity
251
289
  attr_accessor :adjustmentReason
290
+ attr_accessor :sellerRefundID
252
291
 
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)
292
+ 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, sellerRefundID = nil)
254
293
  @sKU = sKU
255
294
  @amount = amount
256
295
  @shippingAmount = shippingAmount
@@ -263,6 +302,7 @@ class RefundItem
263
302
  @refundRequested = refundRequested
264
303
  @restockQuantity = restockQuantity
265
304
  @adjustmentReason = adjustmentReason
305
+ @sellerRefundID = sellerRefundID
266
306
  end
267
307
  end
268
308
 
@@ -279,6 +319,7 @@ end
279
319
  # refundRequested - SOAP::SOAPBoolean
280
320
  # restockQuantity - SOAP::SOAPBoolean
281
321
  # adjustmentReason - ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason
322
+ # sellerRefundID - SOAP::SOAPString
282
323
  # invoiceItemID - SOAP::SOAPInt
283
324
  # itemSaleSource - ChannelAdvisor::OrderServiceSOAP::SiteToken
284
325
  # refundRequestStatus - ChannelAdvisor::OrderServiceSOAP::AsyncStatusCode
@@ -298,6 +339,7 @@ class OrderLineItemRefundHistoryResponse < RefundItem
298
339
  attr_accessor :refundRequested
299
340
  attr_accessor :restockQuantity
300
341
  attr_accessor :adjustmentReason
342
+ attr_accessor :sellerRefundID
301
343
  attr_accessor :invoiceItemID
302
344
  attr_accessor :itemSaleSource
303
345
  attr_accessor :refundRequestStatus
@@ -305,7 +347,7 @@ class OrderLineItemRefundHistoryResponse < RefundItem
305
347
  attr_accessor :restockStatus
306
348
  attr_accessor :refundCreateDateGMT
307
349
 
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)
350
+ 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, sellerRefundID = nil, invoiceItemID = nil, itemSaleSource = nil, refundRequestStatus = nil, refundPaymentInfo = nil, restockStatus = nil, refundCreateDateGMT = nil)
309
351
  @sKU = sKU
310
352
  @amount = amount
311
353
  @shippingAmount = shippingAmount
@@ -318,6 +360,7 @@ class OrderLineItemRefundHistoryResponse < RefundItem
318
360
  @refundRequested = refundRequested
319
361
  @restockQuantity = restockQuantity
320
362
  @adjustmentReason = adjustmentReason
363
+ @sellerRefundID = sellerRefundID
321
364
  @invoiceItemID = invoiceItemID
322
365
  @itemSaleSource = itemSaleSource
323
366
  @refundRequestStatus = refundRequestStatus
@@ -389,19 +432,22 @@ end
389
432
  # orderID - SOAP::SOAPInt
390
433
  # amount - SOAP::SOAPDecimal
391
434
  # adjustmentReason - ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason
435
+ # sellerRefundID - SOAP::SOAPString
392
436
  # refundItems - ChannelAdvisor::OrderServiceSOAP::ArrayOfRefundItem
393
437
  class RefundOrderRequest
394
438
  attr_accessor :clientOrderIdentifier
395
439
  attr_accessor :orderID
396
440
  attr_accessor :amount
397
441
  attr_accessor :adjustmentReason
442
+ attr_accessor :sellerRefundID
398
443
  attr_accessor :refundItems
399
444
 
400
- def initialize(clientOrderIdentifier = nil, orderID = nil, amount = nil, adjustmentReason = nil, refundItems = nil)
445
+ def initialize(clientOrderIdentifier = nil, orderID = nil, amount = nil, adjustmentReason = nil, sellerRefundID = nil, refundItems = nil)
401
446
  @clientOrderIdentifier = clientOrderIdentifier
402
447
  @orderID = orderID
403
448
  @amount = amount
404
449
  @adjustmentReason = adjustmentReason
450
+ @sellerRefundID = sellerRefundID
405
451
  @refundItems = refundItems
406
452
  end
407
453
  end
@@ -433,6 +479,7 @@ end
433
479
  # orderCreationFilterEndTimeGMT - SOAP::SOAPDateTime
434
480
  # statusUpdateFilterBeginTimeGMT - SOAP::SOAPDateTime
435
481
  # statusUpdateFilterEndTimeGMT - SOAP::SOAPDateTime
482
+ # joinDateFiltersWithOr - SOAP::SOAPBoolean
436
483
  # detailLevel - ChannelAdvisor::OrderServiceSOAP::DetailLevelType
437
484
  # exportState - ChannelAdvisor::OrderServiceSOAP::ExportStateType
438
485
  # orderIDList - ChannelAdvisor::OrderServiceSOAP::ArrayOfInt_
@@ -440,6 +487,7 @@ end
440
487
  # paymentStatusFilter - ChannelAdvisor::OrderServiceSOAP::PaymentStatusCode
441
488
  # checkoutStatusFilter - ChannelAdvisor::OrderServiceSOAP::CheckoutStatusCode
442
489
  # shippingStatusFilter - ChannelAdvisor::OrderServiceSOAP::ShippingStatusCode
490
+ # distributionCenterCode - SOAP::SOAPString
443
491
  # pageNumberFilter - SOAP::SOAPInt
444
492
  # pageSize - SOAP::SOAPInt
445
493
  class OrderCriteria
@@ -447,6 +495,7 @@ class OrderCriteria
447
495
  attr_accessor :orderCreationFilterEndTimeGMT
448
496
  attr_accessor :statusUpdateFilterBeginTimeGMT
449
497
  attr_accessor :statusUpdateFilterEndTimeGMT
498
+ attr_accessor :joinDateFiltersWithOr
450
499
  attr_accessor :detailLevel
451
500
  attr_accessor :exportState
452
501
  attr_accessor :orderIDList
@@ -454,14 +503,16 @@ class OrderCriteria
454
503
  attr_accessor :paymentStatusFilter
455
504
  attr_accessor :checkoutStatusFilter
456
505
  attr_accessor :shippingStatusFilter
506
+ attr_accessor :distributionCenterCode
457
507
  attr_accessor :pageNumberFilter
458
508
  attr_accessor :pageSize
459
509
 
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)
510
+ def initialize(orderCreationFilterBeginTimeGMT = nil, orderCreationFilterEndTimeGMT = nil, statusUpdateFilterBeginTimeGMT = nil, statusUpdateFilterEndTimeGMT = nil, joinDateFiltersWithOr = nil, detailLevel = nil, exportState = nil, orderIDList = nil, orderStateFilter = nil, paymentStatusFilter = nil, checkoutStatusFilter = nil, shippingStatusFilter = nil, distributionCenterCode = nil, pageNumberFilter = nil, pageSize = nil)
461
511
  @orderCreationFilterBeginTimeGMT = orderCreationFilterBeginTimeGMT
462
512
  @orderCreationFilterEndTimeGMT = orderCreationFilterEndTimeGMT
463
513
  @statusUpdateFilterBeginTimeGMT = statusUpdateFilterBeginTimeGMT
464
514
  @statusUpdateFilterEndTimeGMT = statusUpdateFilterEndTimeGMT
515
+ @joinDateFiltersWithOr = joinDateFiltersWithOr
465
516
  @detailLevel = detailLevel
466
517
  @exportState = exportState
467
518
  @orderIDList = orderIDList
@@ -469,6 +520,7 @@ class OrderCriteria
469
520
  @paymentStatusFilter = paymentStatusFilter
470
521
  @checkoutStatusFilter = checkoutStatusFilter
471
522
  @shippingStatusFilter = shippingStatusFilter
523
+ @distributionCenterCode = distributionCenterCode
472
524
  @pageNumberFilter = pageNumberFilter
473
525
  @pageSize = pageSize
474
526
  end
@@ -488,6 +540,7 @@ end
488
540
  # dateCancelledGMT - SOAP::SOAPDateTime
489
541
  # orderID - SOAP::SOAPInt
490
542
  # clientOrderIdentifier - SOAP::SOAPString
543
+ # flagStyle - ChannelAdvisor::OrderServiceSOAP::FlagType
491
544
  class OrderResponseItem
492
545
  attr_accessor :numberOfMatches
493
546
  attr_accessor :orderTimeGMT
@@ -497,8 +550,9 @@ class OrderResponseItem
497
550
  attr_accessor :dateCancelledGMT
498
551
  attr_accessor :orderID
499
552
  attr_accessor :clientOrderIdentifier
553
+ attr_accessor :flagStyle
500
554
 
501
- def initialize(numberOfMatches = nil, orderTimeGMT = nil, lastUpdateDate = nil, totalOrderAmount = nil, orderState = nil, dateCancelledGMT = nil, orderID = nil, clientOrderIdentifier = nil)
555
+ def initialize(numberOfMatches = nil, orderTimeGMT = nil, lastUpdateDate = nil, totalOrderAmount = nil, orderState = nil, dateCancelledGMT = nil, orderID = nil, clientOrderIdentifier = nil, flagStyle = nil)
502
556
  @numberOfMatches = numberOfMatches
503
557
  @orderTimeGMT = orderTimeGMT
504
558
  @lastUpdateDate = lastUpdateDate
@@ -507,6 +561,7 @@ class OrderResponseItem
507
561
  @dateCancelledGMT = dateCancelledGMT
508
562
  @orderID = orderID
509
563
  @clientOrderIdentifier = clientOrderIdentifier
564
+ @flagStyle = flagStyle
510
565
  end
511
566
  end
512
567
 
@@ -519,6 +574,7 @@ end
519
574
  # dateCancelledGMT - SOAP::SOAPDateTime
520
575
  # orderID - SOAP::SOAPInt
521
576
  # clientOrderIdentifier - SOAP::SOAPString
577
+ # flagStyle - ChannelAdvisor::OrderServiceSOAP::FlagType
522
578
  # orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
523
579
  class OrderResponseDetailLow < OrderResponseItem
524
580
  attr_accessor :numberOfMatches
@@ -529,9 +585,10 @@ class OrderResponseDetailLow < OrderResponseItem
529
585
  attr_accessor :dateCancelledGMT
530
586
  attr_accessor :orderID
531
587
  attr_accessor :clientOrderIdentifier
588
+ attr_accessor :flagStyle
532
589
  attr_accessor :orderStatus
533
590
 
534
- def initialize(numberOfMatches = nil, orderTimeGMT = nil, lastUpdateDate = nil, totalOrderAmount = nil, orderState = nil, dateCancelledGMT = nil, orderID = nil, clientOrderIdentifier = nil, orderStatus = nil)
591
+ def initialize(numberOfMatches = nil, orderTimeGMT = nil, lastUpdateDate = nil, totalOrderAmount = nil, orderState = nil, dateCancelledGMT = nil, orderID = nil, clientOrderIdentifier = nil, flagStyle = nil, orderStatus = nil)
535
592
  @numberOfMatches = numberOfMatches
536
593
  @orderTimeGMT = orderTimeGMT
537
594
  @lastUpdateDate = lastUpdateDate
@@ -540,6 +597,7 @@ class OrderResponseDetailLow < OrderResponseItem
540
597
  @dateCancelledGMT = dateCancelledGMT
541
598
  @orderID = orderID
542
599
  @clientOrderIdentifier = clientOrderIdentifier
600
+ @flagStyle = flagStyle
543
601
  @orderStatus = orderStatus
544
602
  end
545
603
  end
@@ -553,6 +611,7 @@ end
553
611
  # dateCancelledGMT - SOAP::SOAPDateTime
554
612
  # orderID - SOAP::SOAPInt
555
613
  # clientOrderIdentifier - SOAP::SOAPString
614
+ # flagStyle - ChannelAdvisor::OrderServiceSOAP::FlagType
556
615
  # orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
557
616
  # resellerID - SOAP::SOAPString
558
617
  # buyerEmailAddress - SOAP::SOAPString
@@ -560,6 +619,7 @@ end
560
619
  # paymentInfo - ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse
561
620
  # shippingInfo - ChannelAdvisor::OrderServiceSOAP::ShippingInfoResponse
562
621
  # billingInfo - ChannelAdvisor::OrderServiceSOAP::BillingInfo
622
+ # flagDescription - SOAP::SOAPString
563
623
  class OrderResponseDetailMedium < OrderResponseDetailLow
564
624
  attr_accessor :numberOfMatches
565
625
  attr_accessor :orderTimeGMT
@@ -569,6 +629,7 @@ class OrderResponseDetailMedium < OrderResponseDetailLow
569
629
  attr_accessor :dateCancelledGMT
570
630
  attr_accessor :orderID
571
631
  attr_accessor :clientOrderIdentifier
632
+ attr_accessor :flagStyle
572
633
  attr_accessor :orderStatus
573
634
  attr_accessor :resellerID
574
635
  attr_accessor :buyerEmailAddress
@@ -576,8 +637,9 @@ class OrderResponseDetailMedium < OrderResponseDetailLow
576
637
  attr_accessor :paymentInfo
577
638
  attr_accessor :shippingInfo
578
639
  attr_accessor :billingInfo
640
+ attr_accessor :flagDescription
579
641
 
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)
642
+ def initialize(numberOfMatches = nil, orderTimeGMT = nil, lastUpdateDate = nil, totalOrderAmount = nil, orderState = nil, dateCancelledGMT = nil, orderID = nil, clientOrderIdentifier = nil, flagStyle = nil, orderStatus = nil, resellerID = nil, buyerEmailAddress = nil, emailOptIn = nil, paymentInfo = nil, shippingInfo = nil, billingInfo = nil, flagDescription = nil)
581
643
  @numberOfMatches = numberOfMatches
582
644
  @orderTimeGMT = orderTimeGMT
583
645
  @lastUpdateDate = lastUpdateDate
@@ -586,6 +648,7 @@ class OrderResponseDetailMedium < OrderResponseDetailLow
586
648
  @dateCancelledGMT = dateCancelledGMT
587
649
  @orderID = orderID
588
650
  @clientOrderIdentifier = clientOrderIdentifier
651
+ @flagStyle = flagStyle
589
652
  @orderStatus = orderStatus
590
653
  @resellerID = resellerID
591
654
  @buyerEmailAddress = buyerEmailAddress
@@ -593,6 +656,7 @@ class OrderResponseDetailMedium < OrderResponseDetailLow
593
656
  @paymentInfo = paymentInfo
594
657
  @shippingInfo = shippingInfo
595
658
  @billingInfo = billingInfo
659
+ @flagDescription = flagDescription
596
660
  end
597
661
  end
598
662
 
@@ -605,6 +669,7 @@ end
605
669
  # dateCancelledGMT - SOAP::SOAPDateTime
606
670
  # orderID - SOAP::SOAPInt
607
671
  # clientOrderIdentifier - SOAP::SOAPString
672
+ # flagStyle - ChannelAdvisor::OrderServiceSOAP::FlagType
608
673
  # orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
609
674
  # resellerID - SOAP::SOAPString
610
675
  # buyerEmailAddress - SOAP::SOAPString
@@ -612,6 +677,7 @@ end
612
677
  # paymentInfo - ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse
613
678
  # shippingInfo - ChannelAdvisor::OrderServiceSOAP::ShippingInfoResponse
614
679
  # billingInfo - ChannelAdvisor::OrderServiceSOAP::BillingInfo
680
+ # flagDescription - SOAP::SOAPString
615
681
  # shoppingCart - ChannelAdvisor::OrderServiceSOAP::OrderCart
616
682
  class OrderResponseDetailHigh < OrderResponseDetailMedium
617
683
  attr_accessor :numberOfMatches
@@ -622,6 +688,7 @@ class OrderResponseDetailHigh < OrderResponseDetailMedium
622
688
  attr_accessor :dateCancelledGMT
623
689
  attr_accessor :orderID
624
690
  attr_accessor :clientOrderIdentifier
691
+ attr_accessor :flagStyle
625
692
  attr_accessor :orderStatus
626
693
  attr_accessor :resellerID
627
694
  attr_accessor :buyerEmailAddress
@@ -629,9 +696,10 @@ class OrderResponseDetailHigh < OrderResponseDetailMedium
629
696
  attr_accessor :paymentInfo
630
697
  attr_accessor :shippingInfo
631
698
  attr_accessor :billingInfo
699
+ attr_accessor :flagDescription
632
700
  attr_accessor :shoppingCart
633
701
 
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)
702
+ def initialize(numberOfMatches = nil, orderTimeGMT = nil, lastUpdateDate = nil, totalOrderAmount = nil, orderState = nil, dateCancelledGMT = nil, orderID = nil, clientOrderIdentifier = nil, flagStyle = nil, orderStatus = nil, resellerID = nil, buyerEmailAddress = nil, emailOptIn = nil, paymentInfo = nil, shippingInfo = nil, billingInfo = nil, flagDescription = nil, shoppingCart = nil)
635
703
  @numberOfMatches = numberOfMatches
636
704
  @orderTimeGMT = orderTimeGMT
637
705
  @lastUpdateDate = lastUpdateDate
@@ -640,6 +708,7 @@ class OrderResponseDetailHigh < OrderResponseDetailMedium
640
708
  @dateCancelledGMT = dateCancelledGMT
641
709
  @orderID = orderID
642
710
  @clientOrderIdentifier = clientOrderIdentifier
711
+ @flagStyle = flagStyle
643
712
  @orderStatus = orderStatus
644
713
  @resellerID = resellerID
645
714
  @buyerEmailAddress = buyerEmailAddress
@@ -647,6 +716,7 @@ class OrderResponseDetailHigh < OrderResponseDetailMedium
647
716
  @paymentInfo = paymentInfo
648
717
  @shippingInfo = shippingInfo
649
718
  @billingInfo = billingInfo
719
+ @flagDescription = flagDescription
650
720
  @shoppingCart = shoppingCart
651
721
  end
652
722
  end
@@ -660,6 +730,7 @@ end
660
730
  # dateCancelledGMT - SOAP::SOAPDateTime
661
731
  # orderID - SOAP::SOAPInt
662
732
  # clientOrderIdentifier - SOAP::SOAPString
733
+ # flagStyle - ChannelAdvisor::OrderServiceSOAP::FlagType
663
734
  # orderStatus - ChannelAdvisor::OrderServiceSOAP::OrderStatus
664
735
  # resellerID - SOAP::SOAPString
665
736
  # buyerEmailAddress - SOAP::SOAPString
@@ -667,9 +738,11 @@ end
667
738
  # paymentInfo - ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse
668
739
  # shippingInfo - ChannelAdvisor::OrderServiceSOAP::ShippingInfoResponse
669
740
  # billingInfo - ChannelAdvisor::OrderServiceSOAP::BillingInfo
741
+ # flagDescription - SOAP::SOAPString
670
742
  # shoppingCart - ChannelAdvisor::OrderServiceSOAP::OrderCart
671
743
  # customValueList - ChannelAdvisor::OrderServiceSOAP::ArrayOfCustomValue
672
744
  # buyerIpAddress - SOAP::SOAPString
745
+ # transactionNotes - SOAP::SOAPString
673
746
  class OrderResponseDetailComplete < OrderResponseDetailHigh
674
747
  attr_accessor :numberOfMatches
675
748
  attr_accessor :orderTimeGMT
@@ -679,6 +752,7 @@ class OrderResponseDetailComplete < OrderResponseDetailHigh
679
752
  attr_accessor :dateCancelledGMT
680
753
  attr_accessor :orderID
681
754
  attr_accessor :clientOrderIdentifier
755
+ attr_accessor :flagStyle
682
756
  attr_accessor :orderStatus
683
757
  attr_accessor :resellerID
684
758
  attr_accessor :buyerEmailAddress
@@ -686,11 +760,13 @@ class OrderResponseDetailComplete < OrderResponseDetailHigh
686
760
  attr_accessor :paymentInfo
687
761
  attr_accessor :shippingInfo
688
762
  attr_accessor :billingInfo
763
+ attr_accessor :flagDescription
689
764
  attr_accessor :shoppingCart
690
765
  attr_accessor :customValueList
691
766
  attr_accessor :buyerIpAddress
767
+ attr_accessor :transactionNotes
692
768
 
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)
769
+ def initialize(numberOfMatches = nil, orderTimeGMT = nil, lastUpdateDate = nil, totalOrderAmount = nil, orderState = nil, dateCancelledGMT = nil, orderID = nil, clientOrderIdentifier = nil, flagStyle = nil, orderStatus = nil, resellerID = nil, buyerEmailAddress = nil, emailOptIn = nil, paymentInfo = nil, shippingInfo = nil, billingInfo = nil, flagDescription = nil, shoppingCart = nil, customValueList = nil, buyerIpAddress = nil, transactionNotes = nil)
694
770
  @numberOfMatches = numberOfMatches
695
771
  @orderTimeGMT = orderTimeGMT
696
772
  @lastUpdateDate = lastUpdateDate
@@ -699,6 +775,7 @@ class OrderResponseDetailComplete < OrderResponseDetailHigh
699
775
  @dateCancelledGMT = dateCancelledGMT
700
776
  @orderID = orderID
701
777
  @clientOrderIdentifier = clientOrderIdentifier
778
+ @flagStyle = flagStyle
702
779
  @orderStatus = orderStatus
703
780
  @resellerID = resellerID
704
781
  @buyerEmailAddress = buyerEmailAddress
@@ -706,9 +783,11 @@ class OrderResponseDetailComplete < OrderResponseDetailHigh
706
783
  @paymentInfo = paymentInfo
707
784
  @shippingInfo = shippingInfo
708
785
  @billingInfo = billingInfo
786
+ @flagDescription = flagDescription
709
787
  @shoppingCart = shoppingCart
710
788
  @customValueList = customValueList
711
789
  @buyerIpAddress = buyerIpAddress
790
+ @transactionNotes = transactionNotes
712
791
  end
713
792
  end
714
793
 
@@ -1185,6 +1264,7 @@ end
1185
1264
  # unitWeight - ChannelAdvisor::OrderServiceSOAP::ItemWeight
1186
1265
  # warehouseLocation - SOAP::SOAPString
1187
1266
  # userName - SOAP::SOAPString
1267
+ # distributionCenterCode - SOAP::SOAPString
1188
1268
  class OrderLineItemItemResponse < OrderLineItemItem
1189
1269
  attr_accessor :lineItemType
1190
1270
  attr_accessor :unitPrice
@@ -1208,8 +1288,9 @@ class OrderLineItemItemResponse < OrderLineItemItem
1208
1288
  attr_accessor :unitWeight
1209
1289
  attr_accessor :warehouseLocation
1210
1290
  attr_accessor :userName
1291
+ attr_accessor :distributionCenterCode
1211
1292
 
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)
1293
+ 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, distributionCenterCode = nil)
1213
1294
  @lineItemType = lineItemType
1214
1295
  @unitPrice = unitPrice
1215
1296
  @lineItemID = lineItemID
@@ -1232,35 +1313,36 @@ class OrderLineItemItemResponse < OrderLineItemItem
1232
1313
  @unitWeight = unitWeight
1233
1314
  @warehouseLocation = warehouseLocation
1234
1315
  @userName = userName
1316
+ @distributionCenterCode = distributionCenterCode
1235
1317
  end
1236
1318
  end
1237
1319
 
1238
- # {http://api.channeladvisor.com/datacontracts/orders}OrderLineItemPromo
1320
+ # {http://api.channeladvisor.com/datacontracts/orders}OrderLineItemInvoice
1239
1321
  # lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
1240
1322
  # unitPrice - SOAP::SOAPDecimal
1241
- # promoCode - SOAP::SOAPString
1242
- class OrderLineItemPromo < OrderLineItemBase
1323
+ class OrderLineItemInvoice < OrderLineItemBase
1243
1324
  attr_accessor :lineItemType
1244
1325
  attr_accessor :unitPrice
1245
- attr_accessor :promoCode
1246
1326
 
1247
- def initialize(lineItemType = nil, unitPrice = nil, promoCode = nil)
1327
+ def initialize(lineItemType = nil, unitPrice = nil)
1248
1328
  @lineItemType = lineItemType
1249
1329
  @unitPrice = unitPrice
1250
- @promoCode = promoCode
1251
1330
  end
1252
1331
  end
1253
1332
 
1254
- # {http://api.channeladvisor.com/datacontracts/orders}OrderLineItemInvoice
1333
+ # {http://api.channeladvisor.com/datacontracts/orders}OrderLineItemPromo
1255
1334
  # lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
1256
1335
  # unitPrice - SOAP::SOAPDecimal
1257
- class OrderLineItemInvoice < OrderLineItemBase
1336
+ # promoCode - SOAP::SOAPString
1337
+ class OrderLineItemPromo < OrderLineItemBase
1258
1338
  attr_accessor :lineItemType
1259
1339
  attr_accessor :unitPrice
1340
+ attr_accessor :promoCode
1260
1341
 
1261
- def initialize(lineItemType = nil, unitPrice = nil)
1342
+ def initialize(lineItemType = nil, unitPrice = nil, promoCode = nil)
1262
1343
  @lineItemType = lineItemType
1263
1344
  @unitPrice = unitPrice
1345
+ @promoCode = promoCode
1264
1346
  end
1265
1347
  end
1266
1348
 
@@ -1421,7 +1503,7 @@ end
1421
1503
 
1422
1504
  # {http://api.channeladvisor.com/datacontracts/orders}RefundAdjustmentReason
1423
1505
  class RefundAdjustmentReason < ::String
1424
- AlternateItemProvied = RefundAdjustmentReason.new("AlternateItemProvied")
1506
+ AlternateItemProvided = RefundAdjustmentReason.new("AlternateItemProvided")
1425
1507
  BuyerCancelled = RefundAdjustmentReason.new("BuyerCancelled")
1426
1508
  CouldNotShip = RefundAdjustmentReason.new("CouldNotShip")
1427
1509
  CustomerExchange = RefundAdjustmentReason.new("CustomerExchange")
@@ -1435,6 +1517,8 @@ end
1435
1517
  # {http://api.channeladvisor.com/datacontracts/orders}SiteToken
1436
1518
  class SiteToken < ::String
1437
1519
  AMAZON_AUCTIONS = SiteToken.new("AMAZON_AUCTIONS")
1520
+ AMAZON_DE = SiteToken.new("AMAZON_DE")
1521
+ AMAZON_FR = SiteToken.new("AMAZON_FR")
1438
1522
  AMAZON_MARKETPLACE = SiteToken.new("AMAZON_MARKETPLACE")
1439
1523
  AMAZON_MERCHANTSAT = SiteToken.new("AMAZON_MERCHANTSAT")
1440
1524
  AMAZON_UK = SiteToken.new("AMAZON_UK")
@@ -1525,6 +1609,20 @@ class ShippingStatusCode < ::String
1525
1609
  Unshipped = ShippingStatusCode.new("Unshipped")
1526
1610
  end
1527
1611
 
1612
+ # {http://api.channeladvisor.com/datacontracts/orders}FlagType
1613
+ class FlagType < ::String
1614
+ BlueFlag = FlagType.new("BlueFlag")
1615
+ ExclamationPoint = FlagType.new("ExclamationPoint")
1616
+ GreenFlag = FlagType.new("GreenFlag")
1617
+ ItemCopied = FlagType.new("ItemCopied")
1618
+ NoFlag = FlagType.new("NoFlag")
1619
+ NotAvailable = FlagType.new("NotAvailable")
1620
+ Price = FlagType.new("Price")
1621
+ QuestionMark = FlagType.new("QuestionMark")
1622
+ RedFlag = FlagType.new("RedFlag")
1623
+ YellowFlag = FlagType.new("YellowFlag")
1624
+ end
1625
+
1528
1626
  # {http://api.channeladvisor.com/datacontracts/orders}OrderRefundStatusCode
1529
1627
  class OrderRefundStatusCode < ::String
1530
1628
  FailedAttemptsOnly = OrderRefundStatusCode.new("FailedAttemptsOnly")
@@ -1738,6 +1836,35 @@ class SetSellerOrderIDResponse
1738
1836
  end
1739
1837
  end
1740
1838
 
1839
+ # {http://api.channeladvisor.com/webservices/}SetSellerOrderItemIDList
1840
+ # accountID - SOAP::SOAPString
1841
+ # orderID - SOAP::SOAPInt
1842
+ # lineItemIDList - ChannelAdvisor::OrderServiceSOAP::ArrayOfInt
1843
+ # sellerOrderItemIDList - ChannelAdvisor::OrderServiceSOAP::ArrayOfString
1844
+ class SetSellerOrderItemIDList
1845
+ attr_accessor :accountID
1846
+ attr_accessor :orderID
1847
+ attr_accessor :lineItemIDList
1848
+ attr_accessor :sellerOrderItemIDList
1849
+
1850
+ def initialize(accountID = nil, orderID = nil, lineItemIDList = nil, sellerOrderItemIDList = nil)
1851
+ @accountID = accountID
1852
+ @orderID = orderID
1853
+ @lineItemIDList = lineItemIDList
1854
+ @sellerOrderItemIDList = sellerOrderItemIDList
1855
+ end
1856
+ end
1857
+
1858
+ # {http://api.channeladvisor.com/webservices/}SetSellerOrderItemIDListResponse
1859
+ # setSellerOrderItemIDListResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfArrayOfBoolean
1860
+ class SetSellerOrderItemIDListResponse
1861
+ attr_accessor :setSellerOrderItemIDListResult
1862
+
1863
+ def initialize(setSellerOrderItemIDListResult = nil)
1864
+ @setSellerOrderItemIDListResult = setSellerOrderItemIDListResult
1865
+ end
1866
+ end
1867
+
1741
1868
  # {http://api.channeladvisor.com/webservices/}GetOrderRefundHistory
1742
1869
  # accountID - SOAP::SOAPString
1743
1870
  # orderID - SOAP::SOAPInt
@@ -1761,6 +1888,29 @@ class GetOrderRefundHistoryResponse
1761
1888
  end
1762
1889
  end
1763
1890
 
1891
+ # {http://api.channeladvisor.com/webservices/}UpdateOrderList
1892
+ # accountID - SOAP::SOAPString
1893
+ # updateOrderSubmitList - ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderUpdateSubmit
1894
+ class UpdateOrderList
1895
+ attr_accessor :accountID
1896
+ attr_accessor :updateOrderSubmitList
1897
+
1898
+ def initialize(accountID = nil, updateOrderSubmitList = nil)
1899
+ @accountID = accountID
1900
+ @updateOrderSubmitList = updateOrderSubmitList
1901
+ end
1902
+ end
1903
+
1904
+ # {http://api.channeladvisor.com/webservices/}UpdateOrderListResponse
1905
+ # updateOrderListResult - ChannelAdvisor::OrderServiceSOAP::APIResultOfArrayOfBoolean
1906
+ class UpdateOrderListResponse
1907
+ attr_accessor :updateOrderListResult
1908
+
1909
+ def initialize(updateOrderListResult = nil)
1910
+ @updateOrderListResult = updateOrderListResult
1911
+ end
1912
+ end
1913
+
1764
1914
  # {http://api.channeladvisor.com/webservices/}Ping
1765
1915
  class Ping
1766
1916
  def initialize
@@ -1,7 +1,8 @@
1
+
1
2
  module ChannelAdvisor::ShippingServiceSOAP
2
3
 
3
4
  class ShippingServiceSoap < ::SOAP::RPC::Driver
4
- DefaultEndpointUrl = "https://api.channeladvisor.com/ChannelAdvisorAPI/v1/ShippingService.asmx"
5
+ DefaultEndpointUrl = "https://api.channeladvisor.com/ChannelAdvisorAPI/v3/ShippingService.asmx"
5
6
 
6
7
  Methods = [
7
8
  [ "http://api.channeladvisor.com/webservices/GetShippingRateList",
@@ -1,3 +1,4 @@
1
+
1
2
  module ChannelAdvisor; module ShippingServiceSOAP
2
3
 
3
4
  module DefaultMappingRegistry
@@ -134,6 +135,7 @@ module DefaultMappingRegistry
134
135
  ["carrierCode", "SOAP::SOAPString", [0, 1]],
135
136
  ["classCode", "SOAP::SOAPString", [0, 1]],
136
137
  ["trackingNumber", "SOAP::SOAPString", [0, 1]],
138
+ ["sellerFulfillmentID", "SOAP::SOAPString", [0, 1]],
137
139
  ["shipmentCost", "SOAP::SOAPDecimal"],
138
140
  ["shipmentTaxCost", "SOAP::SOAPDecimal"],
139
141
  ["insuranceCost", "SOAP::SOAPDecimal"]
@@ -173,6 +175,7 @@ module DefaultMappingRegistry
173
175
  ["carrierCode", "SOAP::SOAPString", [0, 1]],
174
176
  ["classCode", "SOAP::SOAPString", [0, 1]],
175
177
  ["trackingNumber", "SOAP::SOAPString", [0, 1]],
178
+ ["sellerFulfillmentID", "SOAP::SOAPString", [0, 1]],
176
179
  ["shipmentCost", "SOAP::SOAPDecimal"],
177
180
  ["shipmentTaxCost", "SOAP::SOAPDecimal"],
178
181
  ["insuranceCost", "SOAP::SOAPDecimal"]
@@ -330,6 +333,7 @@ module DefaultMappingRegistry
330
333
  ["carrierCode", "SOAP::SOAPString", [0, 1]],
331
334
  ["classCode", "SOAP::SOAPString", [0, 1]],
332
335
  ["trackingNumber", "SOAP::SOAPString", [0, 1]],
336
+ ["sellerFulfillmentID", "SOAP::SOAPString", [0, 1]],
333
337
  ["shipmentCost", "SOAP::SOAPDecimal"],
334
338
  ["shipmentTaxCost", "SOAP::SOAPDecimal"],
335
339
  ["insuranceCost", "SOAP::SOAPDecimal"]
@@ -369,6 +373,7 @@ module DefaultMappingRegistry
369
373
  ["carrierCode", "SOAP::SOAPString", [0, 1]],
370
374
  ["classCode", "SOAP::SOAPString", [0, 1]],
371
375
  ["trackingNumber", "SOAP::SOAPString", [0, 1]],
376
+ ["sellerFulfillmentID", "SOAP::SOAPString", [0, 1]],
372
377
  ["shipmentCost", "SOAP::SOAPDecimal"],
373
378
  ["shipmentTaxCost", "SOAP::SOAPDecimal"],
374
379
  ["insuranceCost", "SOAP::SOAPDecimal"]
@@ -453,7 +458,8 @@ module DefaultMappingRegistry
453
458
  ["dateShippedGMT", "SOAP::SOAPDateTime"],
454
459
  ["carrierCode", "SOAP::SOAPString", [0, 1]],
455
460
  ["classCode", "SOAP::SOAPString", [0, 1]],
456
- ["trackingNumber", "SOAP::SOAPString", [0, 1]]
461
+ ["trackingNumber", "SOAP::SOAPString", [0, 1]],
462
+ ["sellerFulfillmentID", "SOAP::SOAPString", [0, 1]]
457
463
  ]
458
464
  )
459
465