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
  module DefaultMappingRegistry
@@ -131,6 +132,34 @@ module DefaultMappingRegistry
131
132
  ]
132
133
  )
133
134
 
135
+ EncodedRegistry.register(
136
+ :class => ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderUpdateSubmit,
137
+ :schema_type => XSD::QName.new(NsWebservices, "ArrayOfOrderUpdateSubmit"),
138
+ :schema_element => [
139
+ ["orderUpdateSubmit", ["ChannelAdvisor::OrderServiceSOAP::OrderUpdateSubmit[]", XSD::QName.new(NsWebservices, "OrderUpdateSubmit")], [0, nil]]
140
+ ]
141
+ )
142
+
143
+ EncodedRegistry.register(
144
+ :class => ChannelAdvisor::OrderServiceSOAP::OrderUpdateSubmit,
145
+ :schema_type => XSD::QName.new(NsWebservices, "OrderUpdateSubmit"),
146
+ :schema_element => [
147
+ ["orderID", ["SOAP::SOAPInt", XSD::QName.new(NsWebservices, "OrderID")]],
148
+ ["flagStyle", ["ChannelAdvisor::OrderServiceSOAP::FlagType", XSD::QName.new(NsWebservices, "FlagStyle")]],
149
+ ["flagDescription", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "FlagDescription")], [0, 1]],
150
+ ["transactionNotes", ["ChannelAdvisor::OrderServiceSOAP::TransactionNoteSubmit", XSD::QName.new(NsWebservices, "TransactionNotes")], [0, 1]]
151
+ ]
152
+ )
153
+
154
+ EncodedRegistry.register(
155
+ :class => ChannelAdvisor::OrderServiceSOAP::TransactionNoteSubmit,
156
+ :schema_type => XSD::QName.new(NsWebservices, "TransactionNoteSubmit"),
157
+ :schema_element => [
158
+ ["note", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Note")], [0, 1]],
159
+ ["shouldOverwrite", ["SOAP::SOAPBoolean", XSD::QName.new(NsWebservices, "ShouldOverwrite")]]
160
+ ]
161
+ )
162
+
134
163
  EncodedRegistry.register(
135
164
  :class => ChannelAdvisor::OrderServiceSOAP::APIResultOfString,
136
165
  :schema_type => XSD::QName.new(NsWebservices, "APIResultOfString"),
@@ -175,7 +204,8 @@ module DefaultMappingRegistry
175
204
  ["refundRequestID", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "RefundRequestID")]],
176
205
  ["refundRequested", ["SOAP::SOAPBoolean", XSD::QName.new(NsOrders, "RefundRequested")]],
177
206
  ["restockQuantity", ["SOAP::SOAPBoolean", XSD::QName.new(NsOrders, "RestockQuantity")]],
178
- ["adjustmentReason", ["ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason", XSD::QName.new(NsOrders, "AdjustmentReason")]]
207
+ ["adjustmentReason", ["ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason", XSD::QName.new(NsOrders, "AdjustmentReason")]],
208
+ ["sellerRefundID", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "SellerRefundID")], [0, 1]]
179
209
  ]
180
210
  )
181
211
 
@@ -196,6 +226,7 @@ module DefaultMappingRegistry
196
226
  ["refundRequested", ["SOAP::SOAPBoolean", XSD::QName.new(NsOrders, "RefundRequested")]],
197
227
  ["restockQuantity", ["SOAP::SOAPBoolean", XSD::QName.new(NsOrders, "RestockQuantity")]],
198
228
  ["adjustmentReason", ["ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason", XSD::QName.new(NsOrders, "AdjustmentReason")]],
229
+ ["sellerRefundID", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "SellerRefundID")], [0, 1]],
199
230
  ["invoiceItemID", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "InvoiceItemID")]],
200
231
  ["itemSaleSource", ["ChannelAdvisor::OrderServiceSOAP::SiteToken", XSD::QName.new(NsOrders, "ItemSaleSource")]],
201
232
  ["refundRequestStatus", ["ChannelAdvisor::OrderServiceSOAP::AsyncStatusCode", XSD::QName.new(NsOrders, "RefundRequestStatus")]],
@@ -234,6 +265,7 @@ module DefaultMappingRegistry
234
265
  ["orderID", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "OrderID")]],
235
266
  ["amount", ["SOAP::SOAPDecimal", XSD::QName.new(NsOrders, "Amount")]],
236
267
  ["adjustmentReason", ["ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason", XSD::QName.new(NsOrders, "AdjustmentReason")]],
268
+ ["sellerRefundID", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "SellerRefundID")], [0, 1]],
237
269
  ["refundItems", ["ChannelAdvisor::OrderServiceSOAP::ArrayOfRefundItem", XSD::QName.new(NsOrders, "RefundItems")], [0, 1]]
238
270
  ]
239
271
  )
@@ -258,6 +290,7 @@ module DefaultMappingRegistry
258
290
  ["orderCreationFilterEndTimeGMT", ["SOAP::SOAPDateTime", XSD::QName.new(NsOrders, "OrderCreationFilterEndTimeGMT")]],
259
291
  ["statusUpdateFilterBeginTimeGMT", ["SOAP::SOAPDateTime", XSD::QName.new(NsOrders, "StatusUpdateFilterBeginTimeGMT")]],
260
292
  ["statusUpdateFilterEndTimeGMT", ["SOAP::SOAPDateTime", XSD::QName.new(NsOrders, "StatusUpdateFilterEndTimeGMT")]],
293
+ ["joinDateFiltersWithOr", ["SOAP::SOAPBoolean", XSD::QName.new(NsOrders, "JoinDateFiltersWithOr")]],
261
294
  ["detailLevel", ["ChannelAdvisor::OrderServiceSOAP::DetailLevelType", XSD::QName.new(NsOrders, "DetailLevel")]],
262
295
  ["exportState", ["ChannelAdvisor::OrderServiceSOAP::ExportStateType", XSD::QName.new(NsOrders, "ExportState")], [0, 1]],
263
296
  ["orderIDList", ["ChannelAdvisor::OrderServiceSOAP::ArrayOfInt_", XSD::QName.new(NsOrders, "OrderIDList")], [0, 1]],
@@ -265,6 +298,7 @@ module DefaultMappingRegistry
265
298
  ["paymentStatusFilter", ["ChannelAdvisor::OrderServiceSOAP::PaymentStatusCode", XSD::QName.new(NsOrders, "PaymentStatusFilter")]],
266
299
  ["checkoutStatusFilter", ["ChannelAdvisor::OrderServiceSOAP::CheckoutStatusCode", XSD::QName.new(NsOrders, "CheckoutStatusFilter")]],
267
300
  ["shippingStatusFilter", ["ChannelAdvisor::OrderServiceSOAP::ShippingStatusCode", XSD::QName.new(NsOrders, "ShippingStatusFilter")]],
301
+ ["distributionCenterCode", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "DistributionCenterCode")], [0, 1]],
268
302
  ["pageNumberFilter", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "PageNumberFilter")]],
269
303
  ["pageSize", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "PageSize")]]
270
304
  ]
@@ -291,6 +325,7 @@ module DefaultMappingRegistry
291
325
  ["dateCancelledGMT", ["SOAP::SOAPDateTime", XSD::QName.new(NsOrders, "DateCancelledGMT")]],
292
326
  ["orderID", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "OrderID")]],
293
327
  ["clientOrderIdentifier", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "ClientOrderIdentifier")], [0, 1]],
328
+ ["flagStyle", ["ChannelAdvisor::OrderServiceSOAP::FlagType", XSD::QName.new(NsOrders, "FlagStyle")]],
294
329
  ["orderStatus", ["ChannelAdvisor::OrderServiceSOAP::OrderStatus", XSD::QName.new(NsOrders, "OrderStatus")], [0, 1]]
295
330
  ]
296
331
  )
@@ -322,13 +357,15 @@ module DefaultMappingRegistry
322
357
  ["dateCancelledGMT", ["SOAP::SOAPDateTime", XSD::QName.new(NsOrders, "DateCancelledGMT")]],
323
358
  ["orderID", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "OrderID")]],
324
359
  ["clientOrderIdentifier", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "ClientOrderIdentifier")], [0, 1]],
360
+ ["flagStyle", ["ChannelAdvisor::OrderServiceSOAP::FlagType", XSD::QName.new(NsOrders, "FlagStyle")]],
325
361
  ["orderStatus", ["ChannelAdvisor::OrderServiceSOAP::OrderStatus", XSD::QName.new(NsOrders, "OrderStatus")], [0, 1]],
326
362
  ["resellerID", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "ResellerID")], [0, 1]],
327
363
  ["buyerEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "BuyerEmailAddress")], [0, 1]],
328
364
  ["emailOptIn", ["SOAP::SOAPBoolean", XSD::QName.new(NsOrders, "EmailOptIn")]],
329
365
  ["paymentInfo", ["ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse", XSD::QName.new(NsOrders, "PaymentInfo")], [0, 1]],
330
366
  ["shippingInfo", ["ChannelAdvisor::OrderServiceSOAP::ShippingInfoResponse", XSD::QName.new(NsOrders, "ShippingInfo")], [0, 1]],
331
- ["billingInfo", ["ChannelAdvisor::OrderServiceSOAP::BillingInfo", XSD::QName.new(NsOrders, "BillingInfo")], [0, 1]]
367
+ ["billingInfo", ["ChannelAdvisor::OrderServiceSOAP::BillingInfo", XSD::QName.new(NsOrders, "BillingInfo")], [0, 1]],
368
+ ["flagDescription", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "FlagDescription")], [0, 1]]
332
369
  ]
333
370
  )
334
371
 
@@ -457,6 +494,7 @@ module DefaultMappingRegistry
457
494
  ["dateCancelledGMT", ["SOAP::SOAPDateTime", XSD::QName.new(NsOrders, "DateCancelledGMT")]],
458
495
  ["orderID", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "OrderID")]],
459
496
  ["clientOrderIdentifier", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "ClientOrderIdentifier")], [0, 1]],
497
+ ["flagStyle", ["ChannelAdvisor::OrderServiceSOAP::FlagType", XSD::QName.new(NsOrders, "FlagStyle")]],
460
498
  ["orderStatus", ["ChannelAdvisor::OrderServiceSOAP::OrderStatus", XSD::QName.new(NsOrders, "OrderStatus")], [0, 1]],
461
499
  ["resellerID", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "ResellerID")], [0, 1]],
462
500
  ["buyerEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "BuyerEmailAddress")], [0, 1]],
@@ -464,6 +502,7 @@ module DefaultMappingRegistry
464
502
  ["paymentInfo", ["ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse", XSD::QName.new(NsOrders, "PaymentInfo")], [0, 1]],
465
503
  ["shippingInfo", ["ChannelAdvisor::OrderServiceSOAP::ShippingInfoResponse", XSD::QName.new(NsOrders, "ShippingInfo")], [0, 1]],
466
504
  ["billingInfo", ["ChannelAdvisor::OrderServiceSOAP::BillingInfo", XSD::QName.new(NsOrders, "BillingInfo")], [0, 1]],
505
+ ["flagDescription", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "FlagDescription")], [0, 1]],
467
506
  ["shoppingCart", ["ChannelAdvisor::OrderServiceSOAP::OrderCart", XSD::QName.new(NsOrders, "ShoppingCart")], [0, 1]]
468
507
  ]
469
508
  )
@@ -519,23 +558,23 @@ module DefaultMappingRegistry
519
558
  )
520
559
 
521
560
  EncodedRegistry.register(
522
- :class => ChannelAdvisor::OrderServiceSOAP::OrderLineItemPromo,
523
- :schema_type => XSD::QName.new(NsOrders, "OrderLineItemPromo"),
561
+ :class => ChannelAdvisor::OrderServiceSOAP::OrderLineItemInvoice,
562
+ :schema_type => XSD::QName.new(NsOrders, "OrderLineItemInvoice"),
524
563
  :schema_basetype => XSD::QName.new(NsOrders, "OrderLineItemBase"),
525
564
  :schema_element => [
526
565
  ["lineItemType", ["ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode", XSD::QName.new(NsOrders, "LineItemType")]],
527
- ["unitPrice", ["SOAP::SOAPDecimal", XSD::QName.new(NsOrders, "UnitPrice")]],
528
- ["promoCode", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "PromoCode")], [0, 1]]
566
+ ["unitPrice", ["SOAP::SOAPDecimal", XSD::QName.new(NsOrders, "UnitPrice")]]
529
567
  ]
530
568
  )
531
569
 
532
570
  EncodedRegistry.register(
533
- :class => ChannelAdvisor::OrderServiceSOAP::OrderLineItemInvoice,
534
- :schema_type => XSD::QName.new(NsOrders, "OrderLineItemInvoice"),
571
+ :class => ChannelAdvisor::OrderServiceSOAP::OrderLineItemPromo,
572
+ :schema_type => XSD::QName.new(NsOrders, "OrderLineItemPromo"),
535
573
  :schema_basetype => XSD::QName.new(NsOrders, "OrderLineItemBase"),
536
574
  :schema_element => [
537
575
  ["lineItemType", ["ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode", XSD::QName.new(NsOrders, "LineItemType")]],
538
- ["unitPrice", ["SOAP::SOAPDecimal", XSD::QName.new(NsOrders, "UnitPrice")]]
576
+ ["unitPrice", ["SOAP::SOAPDecimal", XSD::QName.new(NsOrders, "UnitPrice")]],
577
+ ["promoCode", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "PromoCode")], [0, 1]]
539
578
  ]
540
579
  )
541
580
 
@@ -565,7 +604,8 @@ module DefaultMappingRegistry
565
604
  ["giftWrapLevel", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "GiftWrapLevel")], [0, 1]],
566
605
  ["unitWeight", ["ChannelAdvisor::OrderServiceSOAP::ItemWeight", XSD::QName.new(NsOrders, "UnitWeight")], [0, 1]],
567
606
  ["warehouseLocation", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "WarehouseLocation")], [0, 1]],
568
- ["userName", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "UserName")], [0, 1]]
607
+ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "UserName")], [0, 1]],
608
+ ["distributionCenterCode", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "DistributionCenterCode")], [0, 1]]
569
609
  ]
570
610
  )
571
611
 
@@ -606,6 +646,7 @@ module DefaultMappingRegistry
606
646
  ["dateCancelledGMT", ["SOAP::SOAPDateTime", XSD::QName.new(NsOrders, "DateCancelledGMT")]],
607
647
  ["orderID", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "OrderID")]],
608
648
  ["clientOrderIdentifier", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "ClientOrderIdentifier")], [0, 1]],
649
+ ["flagStyle", ["ChannelAdvisor::OrderServiceSOAP::FlagType", XSD::QName.new(NsOrders, "FlagStyle")]],
609
650
  ["orderStatus", ["ChannelAdvisor::OrderServiceSOAP::OrderStatus", XSD::QName.new(NsOrders, "OrderStatus")], [0, 1]],
610
651
  ["resellerID", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "ResellerID")], [0, 1]],
611
652
  ["buyerEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "BuyerEmailAddress")], [0, 1]],
@@ -613,9 +654,11 @@ module DefaultMappingRegistry
613
654
  ["paymentInfo", ["ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse", XSD::QName.new(NsOrders, "PaymentInfo")], [0, 1]],
614
655
  ["shippingInfo", ["ChannelAdvisor::OrderServiceSOAP::ShippingInfoResponse", XSD::QName.new(NsOrders, "ShippingInfo")], [0, 1]],
615
656
  ["billingInfo", ["ChannelAdvisor::OrderServiceSOAP::BillingInfo", XSD::QName.new(NsOrders, "BillingInfo")], [0, 1]],
657
+ ["flagDescription", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "FlagDescription")], [0, 1]],
616
658
  ["shoppingCart", ["ChannelAdvisor::OrderServiceSOAP::OrderCart", XSD::QName.new(NsOrders, "ShoppingCart")], [0, 1]],
617
659
  ["customValueList", ["ChannelAdvisor::OrderServiceSOAP::ArrayOfCustomValue", XSD::QName.new(NsOrders, "CustomValueList")], [0, 1]],
618
- ["buyerIpAddress", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "BuyerIpAddress")], [0, 1]]
660
+ ["buyerIpAddress", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "BuyerIpAddress")], [0, 1]],
661
+ ["transactionNotes", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "TransactionNotes")], [0, 1]]
619
662
  ]
620
663
  )
621
664
 
@@ -748,6 +791,11 @@ module DefaultMappingRegistry
748
791
  :schema_type => XSD::QName.new(NsOrders, "ShippingStatusCode")
749
792
  )
750
793
 
794
+ EncodedRegistry.register(
795
+ :class => ChannelAdvisor::OrderServiceSOAP::FlagType,
796
+ :schema_type => XSD::QName.new(NsOrders, "FlagType")
797
+ )
798
+
751
799
  EncodedRegistry.register(
752
800
  :class => ChannelAdvisor::OrderServiceSOAP::OrderRefundStatusCode,
753
801
  :schema_type => XSD::QName.new(NsOrders, "OrderRefundStatusCode")
@@ -893,6 +941,34 @@ module DefaultMappingRegistry
893
941
  ]
894
942
  )
895
943
 
944
+ LiteralRegistry.register(
945
+ :class => ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderUpdateSubmit,
946
+ :schema_type => XSD::QName.new(NsWebservices, "ArrayOfOrderUpdateSubmit"),
947
+ :schema_element => [
948
+ ["orderUpdateSubmit", ["ChannelAdvisor::OrderServiceSOAP::OrderUpdateSubmit[]", XSD::QName.new(NsWebservices, "OrderUpdateSubmit")], [0, nil]]
949
+ ]
950
+ )
951
+
952
+ LiteralRegistry.register(
953
+ :class => ChannelAdvisor::OrderServiceSOAP::OrderUpdateSubmit,
954
+ :schema_type => XSD::QName.new(NsWebservices, "OrderUpdateSubmit"),
955
+ :schema_element => [
956
+ ["orderID", ["SOAP::SOAPInt", XSD::QName.new(NsWebservices, "OrderID")]],
957
+ ["flagStyle", ["ChannelAdvisor::OrderServiceSOAP::FlagType", XSD::QName.new(NsWebservices, "FlagStyle")]],
958
+ ["flagDescription", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "FlagDescription")], [0, 1]],
959
+ ["transactionNotes", ["ChannelAdvisor::OrderServiceSOAP::TransactionNoteSubmit", XSD::QName.new(NsWebservices, "TransactionNotes")], [0, 1]]
960
+ ]
961
+ )
962
+
963
+ LiteralRegistry.register(
964
+ :class => ChannelAdvisor::OrderServiceSOAP::TransactionNoteSubmit,
965
+ :schema_type => XSD::QName.new(NsWebservices, "TransactionNoteSubmit"),
966
+ :schema_element => [
967
+ ["note", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Note")], [0, 1]],
968
+ ["shouldOverwrite", ["SOAP::SOAPBoolean", XSD::QName.new(NsWebservices, "ShouldOverwrite")]]
969
+ ]
970
+ )
971
+
896
972
  LiteralRegistry.register(
897
973
  :class => ChannelAdvisor::OrderServiceSOAP::APIResultOfString,
898
974
  :schema_type => XSD::QName.new(NsWebservices, "APIResultOfString"),
@@ -937,7 +1013,8 @@ module DefaultMappingRegistry
937
1013
  ["refundRequestID", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "RefundRequestID")]],
938
1014
  ["refundRequested", ["SOAP::SOAPBoolean", XSD::QName.new(NsOrders, "RefundRequested")]],
939
1015
  ["restockQuantity", ["SOAP::SOAPBoolean", XSD::QName.new(NsOrders, "RestockQuantity")]],
940
- ["adjustmentReason", ["ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason", XSD::QName.new(NsOrders, "AdjustmentReason")]]
1016
+ ["adjustmentReason", ["ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason", XSD::QName.new(NsOrders, "AdjustmentReason")]],
1017
+ ["sellerRefundID", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "SellerRefundID")], [0, 1]]
941
1018
  ]
942
1019
  )
943
1020
 
@@ -958,6 +1035,7 @@ module DefaultMappingRegistry
958
1035
  ["refundRequested", ["SOAP::SOAPBoolean", XSD::QName.new(NsOrders, "RefundRequested")]],
959
1036
  ["restockQuantity", ["SOAP::SOAPBoolean", XSD::QName.new(NsOrders, "RestockQuantity")]],
960
1037
  ["adjustmentReason", ["ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason", XSD::QName.new(NsOrders, "AdjustmentReason")]],
1038
+ ["sellerRefundID", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "SellerRefundID")], [0, 1]],
961
1039
  ["invoiceItemID", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "InvoiceItemID")]],
962
1040
  ["itemSaleSource", ["ChannelAdvisor::OrderServiceSOAP::SiteToken", XSD::QName.new(NsOrders, "ItemSaleSource")]],
963
1041
  ["refundRequestStatus", ["ChannelAdvisor::OrderServiceSOAP::AsyncStatusCode", XSD::QName.new(NsOrders, "RefundRequestStatus")]],
@@ -996,6 +1074,7 @@ module DefaultMappingRegistry
996
1074
  ["orderID", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "OrderID")]],
997
1075
  ["amount", ["SOAP::SOAPDecimal", XSD::QName.new(NsOrders, "Amount")]],
998
1076
  ["adjustmentReason", ["ChannelAdvisor::OrderServiceSOAP::RefundAdjustmentReason", XSD::QName.new(NsOrders, "AdjustmentReason")]],
1077
+ ["sellerRefundID", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "SellerRefundID")], [0, 1]],
999
1078
  ["refundItems", ["ChannelAdvisor::OrderServiceSOAP::ArrayOfRefundItem", XSD::QName.new(NsOrders, "RefundItems")], [0, 1]]
1000
1079
  ]
1001
1080
  )
@@ -1020,6 +1099,7 @@ module DefaultMappingRegistry
1020
1099
  ["orderCreationFilterEndTimeGMT", ["SOAP::SOAPDateTime", XSD::QName.new(NsOrders, "OrderCreationFilterEndTimeGMT")]],
1021
1100
  ["statusUpdateFilterBeginTimeGMT", ["SOAP::SOAPDateTime", XSD::QName.new(NsOrders, "StatusUpdateFilterBeginTimeGMT")]],
1022
1101
  ["statusUpdateFilterEndTimeGMT", ["SOAP::SOAPDateTime", XSD::QName.new(NsOrders, "StatusUpdateFilterEndTimeGMT")]],
1102
+ ["joinDateFiltersWithOr", ["SOAP::SOAPBoolean", XSD::QName.new(NsOrders, "JoinDateFiltersWithOr")]],
1023
1103
  ["detailLevel", ["ChannelAdvisor::OrderServiceSOAP::DetailLevelType", XSD::QName.new(NsOrders, "DetailLevel")]],
1024
1104
  ["exportState", ["ChannelAdvisor::OrderServiceSOAP::ExportStateType", XSD::QName.new(NsOrders, "ExportState")], [0, 1]],
1025
1105
  ["orderIDList", ["ChannelAdvisor::OrderServiceSOAP::ArrayOfInt_", XSD::QName.new(NsOrders, "OrderIDList")], [0, 1]],
@@ -1027,6 +1107,7 @@ module DefaultMappingRegistry
1027
1107
  ["paymentStatusFilter", ["ChannelAdvisor::OrderServiceSOAP::PaymentStatusCode", XSD::QName.new(NsOrders, "PaymentStatusFilter")]],
1028
1108
  ["checkoutStatusFilter", ["ChannelAdvisor::OrderServiceSOAP::CheckoutStatusCode", XSD::QName.new(NsOrders, "CheckoutStatusFilter")]],
1029
1109
  ["shippingStatusFilter", ["ChannelAdvisor::OrderServiceSOAP::ShippingStatusCode", XSD::QName.new(NsOrders, "ShippingStatusFilter")]],
1110
+ ["distributionCenterCode", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "DistributionCenterCode")], [0, 1]],
1030
1111
  ["pageNumberFilter", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "PageNumberFilter")]],
1031
1112
  ["pageSize", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "PageSize")]]
1032
1113
  ]
@@ -1053,6 +1134,7 @@ module DefaultMappingRegistry
1053
1134
  ["dateCancelledGMT", ["SOAP::SOAPDateTime", XSD::QName.new(NsOrders, "DateCancelledGMT")]],
1054
1135
  ["orderID", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "OrderID")]],
1055
1136
  ["clientOrderIdentifier", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "ClientOrderIdentifier")], [0, 1]],
1137
+ ["flagStyle", ["ChannelAdvisor::OrderServiceSOAP::FlagType", XSD::QName.new(NsOrders, "FlagStyle")]],
1056
1138
  ["orderStatus", ["ChannelAdvisor::OrderServiceSOAP::OrderStatus", XSD::QName.new(NsOrders, "OrderStatus")], [0, 1]]
1057
1139
  ]
1058
1140
  )
@@ -1084,13 +1166,15 @@ module DefaultMappingRegistry
1084
1166
  ["dateCancelledGMT", ["SOAP::SOAPDateTime", XSD::QName.new(NsOrders, "DateCancelledGMT")]],
1085
1167
  ["orderID", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "OrderID")]],
1086
1168
  ["clientOrderIdentifier", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "ClientOrderIdentifier")], [0, 1]],
1169
+ ["flagStyle", ["ChannelAdvisor::OrderServiceSOAP::FlagType", XSD::QName.new(NsOrders, "FlagStyle")]],
1087
1170
  ["orderStatus", ["ChannelAdvisor::OrderServiceSOAP::OrderStatus", XSD::QName.new(NsOrders, "OrderStatus")], [0, 1]],
1088
1171
  ["resellerID", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "ResellerID")], [0, 1]],
1089
1172
  ["buyerEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "BuyerEmailAddress")], [0, 1]],
1090
1173
  ["emailOptIn", ["SOAP::SOAPBoolean", XSD::QName.new(NsOrders, "EmailOptIn")]],
1091
1174
  ["paymentInfo", ["ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse", XSD::QName.new(NsOrders, "PaymentInfo")], [0, 1]],
1092
1175
  ["shippingInfo", ["ChannelAdvisor::OrderServiceSOAP::ShippingInfoResponse", XSD::QName.new(NsOrders, "ShippingInfo")], [0, 1]],
1093
- ["billingInfo", ["ChannelAdvisor::OrderServiceSOAP::BillingInfo", XSD::QName.new(NsOrders, "BillingInfo")], [0, 1]]
1176
+ ["billingInfo", ["ChannelAdvisor::OrderServiceSOAP::BillingInfo", XSD::QName.new(NsOrders, "BillingInfo")], [0, 1]],
1177
+ ["flagDescription", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "FlagDescription")], [0, 1]]
1094
1178
  ]
1095
1179
  )
1096
1180
 
@@ -1219,6 +1303,7 @@ module DefaultMappingRegistry
1219
1303
  ["dateCancelledGMT", ["SOAP::SOAPDateTime", XSD::QName.new(NsOrders, "DateCancelledGMT")]],
1220
1304
  ["orderID", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "OrderID")]],
1221
1305
  ["clientOrderIdentifier", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "ClientOrderIdentifier")], [0, 1]],
1306
+ ["flagStyle", ["ChannelAdvisor::OrderServiceSOAP::FlagType", XSD::QName.new(NsOrders, "FlagStyle")]],
1222
1307
  ["orderStatus", ["ChannelAdvisor::OrderServiceSOAP::OrderStatus", XSD::QName.new(NsOrders, "OrderStatus")], [0, 1]],
1223
1308
  ["resellerID", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "ResellerID")], [0, 1]],
1224
1309
  ["buyerEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "BuyerEmailAddress")], [0, 1]],
@@ -1226,6 +1311,7 @@ module DefaultMappingRegistry
1226
1311
  ["paymentInfo", ["ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse", XSD::QName.new(NsOrders, "PaymentInfo")], [0, 1]],
1227
1312
  ["shippingInfo", ["ChannelAdvisor::OrderServiceSOAP::ShippingInfoResponse", XSD::QName.new(NsOrders, "ShippingInfo")], [0, 1]],
1228
1313
  ["billingInfo", ["ChannelAdvisor::OrderServiceSOAP::BillingInfo", XSD::QName.new(NsOrders, "BillingInfo")], [0, 1]],
1314
+ ["flagDescription", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "FlagDescription")], [0, 1]],
1229
1315
  ["shoppingCart", ["ChannelAdvisor::OrderServiceSOAP::OrderCart", XSD::QName.new(NsOrders, "ShoppingCart")], [0, 1]]
1230
1316
  ]
1231
1317
  )
@@ -1281,23 +1367,23 @@ module DefaultMappingRegistry
1281
1367
  )
1282
1368
 
1283
1369
  LiteralRegistry.register(
1284
- :class => ChannelAdvisor::OrderServiceSOAP::OrderLineItemPromo,
1285
- :schema_type => XSD::QName.new(NsOrders, "OrderLineItemPromo"),
1370
+ :class => ChannelAdvisor::OrderServiceSOAP::OrderLineItemInvoice,
1371
+ :schema_type => XSD::QName.new(NsOrders, "OrderLineItemInvoice"),
1286
1372
  :schema_basetype => XSD::QName.new(NsOrders, "OrderLineItemBase"),
1287
1373
  :schema_element => [
1288
1374
  ["lineItemType", ["ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode", XSD::QName.new(NsOrders, "LineItemType")]],
1289
- ["unitPrice", ["SOAP::SOAPDecimal", XSD::QName.new(NsOrders, "UnitPrice")]],
1290
- ["promoCode", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "PromoCode")], [0, 1]]
1375
+ ["unitPrice", ["SOAP::SOAPDecimal", XSD::QName.new(NsOrders, "UnitPrice")]]
1291
1376
  ]
1292
1377
  )
1293
1378
 
1294
1379
  LiteralRegistry.register(
1295
- :class => ChannelAdvisor::OrderServiceSOAP::OrderLineItemInvoice,
1296
- :schema_type => XSD::QName.new(NsOrders, "OrderLineItemInvoice"),
1380
+ :class => ChannelAdvisor::OrderServiceSOAP::OrderLineItemPromo,
1381
+ :schema_type => XSD::QName.new(NsOrders, "OrderLineItemPromo"),
1297
1382
  :schema_basetype => XSD::QName.new(NsOrders, "OrderLineItemBase"),
1298
1383
  :schema_element => [
1299
1384
  ["lineItemType", ["ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode", XSD::QName.new(NsOrders, "LineItemType")]],
1300
- ["unitPrice", ["SOAP::SOAPDecimal", XSD::QName.new(NsOrders, "UnitPrice")]]
1385
+ ["unitPrice", ["SOAP::SOAPDecimal", XSD::QName.new(NsOrders, "UnitPrice")]],
1386
+ ["promoCode", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "PromoCode")], [0, 1]]
1301
1387
  ]
1302
1388
  )
1303
1389
 
@@ -1327,7 +1413,8 @@ module DefaultMappingRegistry
1327
1413
  ["giftWrapLevel", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "GiftWrapLevel")], [0, 1]],
1328
1414
  ["unitWeight", ["ChannelAdvisor::OrderServiceSOAP::ItemWeight", XSD::QName.new(NsOrders, "UnitWeight")], [0, 1]],
1329
1415
  ["warehouseLocation", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "WarehouseLocation")], [0, 1]],
1330
- ["userName", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "UserName")], [0, 1]]
1416
+ ["userName", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "UserName")], [0, 1]],
1417
+ ["distributionCenterCode", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "DistributionCenterCode")], [0, 1]]
1331
1418
  ]
1332
1419
  )
1333
1420
 
@@ -1368,6 +1455,7 @@ module DefaultMappingRegistry
1368
1455
  ["dateCancelledGMT", ["SOAP::SOAPDateTime", XSD::QName.new(NsOrders, "DateCancelledGMT")]],
1369
1456
  ["orderID", ["SOAP::SOAPInt", XSD::QName.new(NsOrders, "OrderID")]],
1370
1457
  ["clientOrderIdentifier", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "ClientOrderIdentifier")], [0, 1]],
1458
+ ["flagStyle", ["ChannelAdvisor::OrderServiceSOAP::FlagType", XSD::QName.new(NsOrders, "FlagStyle")]],
1371
1459
  ["orderStatus", ["ChannelAdvisor::OrderServiceSOAP::OrderStatus", XSD::QName.new(NsOrders, "OrderStatus")], [0, 1]],
1372
1460
  ["resellerID", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "ResellerID")], [0, 1]],
1373
1461
  ["buyerEmailAddress", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "BuyerEmailAddress")], [0, 1]],
@@ -1375,9 +1463,11 @@ module DefaultMappingRegistry
1375
1463
  ["paymentInfo", ["ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse", XSD::QName.new(NsOrders, "PaymentInfo")], [0, 1]],
1376
1464
  ["shippingInfo", ["ChannelAdvisor::OrderServiceSOAP::ShippingInfoResponse", XSD::QName.new(NsOrders, "ShippingInfo")], [0, 1]],
1377
1465
  ["billingInfo", ["ChannelAdvisor::OrderServiceSOAP::BillingInfo", XSD::QName.new(NsOrders, "BillingInfo")], [0, 1]],
1466
+ ["flagDescription", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "FlagDescription")], [0, 1]],
1378
1467
  ["shoppingCart", ["ChannelAdvisor::OrderServiceSOAP::OrderCart", XSD::QName.new(NsOrders, "ShoppingCart")], [0, 1]],
1379
1468
  ["customValueList", ["ChannelAdvisor::OrderServiceSOAP::ArrayOfCustomValue", XSD::QName.new(NsOrders, "CustomValueList")], [0, 1]],
1380
- ["buyerIpAddress", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "BuyerIpAddress")], [0, 1]]
1469
+ ["buyerIpAddress", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "BuyerIpAddress")], [0, 1]],
1470
+ ["transactionNotes", ["SOAP::SOAPString", XSD::QName.new(NsOrders, "TransactionNotes")], [0, 1]]
1381
1471
  ]
1382
1472
  )
1383
1473
 
@@ -1510,6 +1600,11 @@ module DefaultMappingRegistry
1510
1600
  :schema_type => XSD::QName.new(NsOrders, "ShippingStatusCode")
1511
1601
  )
1512
1602
 
1603
+ LiteralRegistry.register(
1604
+ :class => ChannelAdvisor::OrderServiceSOAP::FlagType,
1605
+ :schema_type => XSD::QName.new(NsOrders, "FlagType")
1606
+ )
1607
+
1513
1608
  LiteralRegistry.register(
1514
1609
  :class => ChannelAdvisor::OrderServiceSOAP::OrderRefundStatusCode,
1515
1610
  :schema_type => XSD::QName.new(NsOrders, "OrderRefundStatusCode")
@@ -1661,6 +1756,25 @@ module DefaultMappingRegistry
1661
1756
  ]
1662
1757
  )
1663
1758
 
1759
+ LiteralRegistry.register(
1760
+ :class => ChannelAdvisor::OrderServiceSOAP::SetSellerOrderItemIDList,
1761
+ :schema_name => XSD::QName.new(NsWebservices, "SetSellerOrderItemIDList"),
1762
+ :schema_element => [
1763
+ ["accountID", "SOAP::SOAPString", [0, 1]],
1764
+ ["orderID", "SOAP::SOAPInt"],
1765
+ ["lineItemIDList", "ChannelAdvisor::OrderServiceSOAP::ArrayOfInt", [0, 1]],
1766
+ ["sellerOrderItemIDList", "ChannelAdvisor::OrderServiceSOAP::ArrayOfString", [0, 1]]
1767
+ ]
1768
+ )
1769
+
1770
+ LiteralRegistry.register(
1771
+ :class => ChannelAdvisor::OrderServiceSOAP::SetSellerOrderItemIDListResponse,
1772
+ :schema_name => XSD::QName.new(NsWebservices, "SetSellerOrderItemIDListResponse"),
1773
+ :schema_element => [
1774
+ ["setSellerOrderItemIDListResult", ["ChannelAdvisor::OrderServiceSOAP::APIResultOfArrayOfBoolean", XSD::QName.new(NsWebservices, "SetSellerOrderItemIDListResult")], [0, 1]]
1775
+ ]
1776
+ )
1777
+
1664
1778
  LiteralRegistry.register(
1665
1779
  :class => ChannelAdvisor::OrderServiceSOAP::GetOrderRefundHistory,
1666
1780
  :schema_name => XSD::QName.new(NsWebservices, "GetOrderRefundHistory"),
@@ -1678,6 +1792,23 @@ module DefaultMappingRegistry
1678
1792
  ]
1679
1793
  )
1680
1794
 
1795
+ LiteralRegistry.register(
1796
+ :class => ChannelAdvisor::OrderServiceSOAP::UpdateOrderList,
1797
+ :schema_name => XSD::QName.new(NsWebservices, "UpdateOrderList"),
1798
+ :schema_element => [
1799
+ ["accountID", "SOAP::SOAPString", [0, 1]],
1800
+ ["updateOrderSubmitList", "ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderUpdateSubmit", [0, 1]]
1801
+ ]
1802
+ )
1803
+
1804
+ LiteralRegistry.register(
1805
+ :class => ChannelAdvisor::OrderServiceSOAP::UpdateOrderListResponse,
1806
+ :schema_name => XSD::QName.new(NsWebservices, "UpdateOrderListResponse"),
1807
+ :schema_element => [
1808
+ ["updateOrderListResult", ["ChannelAdvisor::OrderServiceSOAP::APIResultOfArrayOfBoolean", XSD::QName.new(NsWebservices, "UpdateOrderListResult")], [0, 1]]
1809
+ ]
1810
+ )
1811
+
1681
1812
  LiteralRegistry.register(
1682
1813
  :class => ChannelAdvisor::OrderServiceSOAP::Ping,
1683
1814
  :schema_name => XSD::QName.new(NsWebservices, "Ping"),