channel_advisor 0.0.8 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.rspec +2 -0
- data/Gemfile +15 -0
- data/Gemfile.lock +103 -0
- data/LICENSE +20 -0
- data/README +2 -0
- data/Rakefile +107 -0
- data/VERSION +1 -0
- data/artifacts.yml +5 -0
- data/channel_advisor.gemspec +142 -0
- data/lib/channel_advisor/admin_service/client.rb +2 -1
- data/lib/channel_advisor/admin_service/mapping_registry.rb +1 -0
- data/lib/channel_advisor/admin_service/types.rb +1 -0
- data/lib/channel_advisor/cart_service/client.rb +2 -1
- data/lib/channel_advisor/cart_service/mapping_registry.rb +1 -0
- data/lib/channel_advisor/cart_service/types.rb +3 -0
- data/lib/channel_advisor/inventory_service/client.rb +6 -5
- data/lib/channel_advisor/inventory_service/mapping_registry.rb +74 -43
- data/lib/channel_advisor/inventory_service/types.rb +96 -36
- data/lib/channel_advisor/listing_service/client.rb +2 -1
- data/lib/channel_advisor/listing_service/mapping_registry.rb +1 -0
- data/lib/channel_advisor/listing_service/types.rb +1 -0
- data/lib/channel_advisor/marketplace_ad_service/client.rb +2 -1
- data/lib/channel_advisor/marketplace_ad_service/mapping_registry.rb +1 -0
- data/lib/channel_advisor/marketplace_ad_service/types.rb +1 -0
- data/lib/channel_advisor/order_service/client.rb +18 -1
- data/lib/channel_advisor/order_service/mapping_registry.rb +153 -22
- data/lib/channel_advisor/order_service/types.rb +170 -20
- data/lib/channel_advisor/shipping_service/client.rb +2 -1
- data/lib/channel_advisor/shipping_service/mapping_registry.rb +7 -1
- data/lib/channel_advisor/shipping_service/types.rb +13 -3
- data/lib/channel_advisor/store_service/client.rb +2 -1
- data/lib/channel_advisor/store_service/mapping_registry.rb +1 -0
- data/lib/channel_advisor/store_service/types.rb +1 -0
- data/lib/channel_advisor/tax_service/client.rb +2 -1
- data/lib/channel_advisor/tax_service/mapping_registry.rb +21 -20
- data/lib/channel_advisor/tax_service/types.rb +20 -19
- data/spec/spec_helper.rb +1 -2
- metadata +135 -38
@@ -1,3 +1,4 @@
|
|
1
|
+
|
1
2
|
module ChannelAdvisor; module InventoryServiceSOAP
|
2
3
|
|
3
4
|
module DefaultMappingRegistry
|
@@ -106,9 +107,21 @@ module DefaultMappingRegistry
|
|
106
107
|
["uPC", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "UPC")], [0, 1]],
|
107
108
|
["mPN", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "MPN")], [0, 1]],
|
108
109
|
["eAN", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "EAN")], [0, 1]],
|
110
|
+
["manufacturer", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Manufacturer")], [0, 1]],
|
111
|
+
["brand", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Brand")], [0, 1]],
|
112
|
+
["condition", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Condition")], [0, 1]],
|
113
|
+
["warranty", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Warranty")], [0, 1]],
|
114
|
+
["productMargin", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "ProductMargin")]],
|
115
|
+
["supplierPO", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "SupplierPO")], [0, 1]],
|
116
|
+
["receivedInInventory", ["SOAP::SOAPDateTime", XSD::QName.new(NsWebservices, "ReceivedInInventory")]],
|
117
|
+
["harmonizedCode", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "HarmonizedCode")], [0, 1]],
|
118
|
+
["height", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "Height")]],
|
119
|
+
["length", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "Length")]],
|
120
|
+
["width", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "Width")]],
|
121
|
+
["classification", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Classification")], [0, 1]],
|
109
122
|
["quantityInfo", ["ChannelAdvisor::InventoryServiceSOAP::QuantityInfoResponse", XSD::QName.new(NsWebservices, "QuantityInfo")], [0, 1]],
|
110
123
|
["priceInfo", ["ChannelAdvisor::InventoryServiceSOAP::PriceInfo", XSD::QName.new(NsWebservices, "PriceInfo")], [0, 1]],
|
111
|
-
["
|
124
|
+
["attributeList", ["ChannelAdvisor::InventoryServiceSOAP::ArrayOfAttributeInfo", XSD::QName.new(NsWebservices, "AttributeList")], [0, 1]],
|
112
125
|
["variationInfo", ["ChannelAdvisor::InventoryServiceSOAP::VariationInfo", XSD::QName.new(NsWebservices, "VariationInfo")], [0, 1]],
|
113
126
|
["storeInfo", ["ChannelAdvisor::InventoryServiceSOAP::StoreInfo", XSD::QName.new(NsWebservices, "StoreInfo")], [0, 1]],
|
114
127
|
["imageList", ["ChannelAdvisor::InventoryServiceSOAP::ArrayOfImageInfoResponse", XSD::QName.new(NsWebservices, "ImageList")], [0, 1]],
|
@@ -151,25 +164,16 @@ module DefaultMappingRegistry
|
|
151
164
|
)
|
152
165
|
|
153
166
|
EncodedRegistry.register(
|
154
|
-
:class => ChannelAdvisor::InventoryServiceSOAP::
|
155
|
-
:schema_type => XSD::QName.new(NsWebservices, "
|
156
|
-
:schema_element => [
|
157
|
-
["name", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Name")], [0, 1]],
|
158
|
-
["attributeList", ["ChannelAdvisor::InventoryServiceSOAP::ArrayOfClassificationAttributeInfo", XSD::QName.new(NsWebservices, "AttributeList")], [0, 1]]
|
159
|
-
]
|
160
|
-
)
|
161
|
-
|
162
|
-
EncodedRegistry.register(
|
163
|
-
:class => ChannelAdvisor::InventoryServiceSOAP::ArrayOfClassificationAttributeInfo,
|
164
|
-
:schema_type => XSD::QName.new(NsWebservices, "ArrayOfClassificationAttributeInfo"),
|
167
|
+
:class => ChannelAdvisor::InventoryServiceSOAP::ArrayOfAttributeInfo,
|
168
|
+
:schema_type => XSD::QName.new(NsWebservices, "ArrayOfAttributeInfo"),
|
165
169
|
:schema_element => [
|
166
|
-
["
|
170
|
+
["attributeInfo", ["ChannelAdvisor::InventoryServiceSOAP::AttributeInfo[]", XSD::QName.new(NsWebservices, "AttributeInfo")], [0, nil]]
|
167
171
|
]
|
168
172
|
)
|
169
173
|
|
170
174
|
EncodedRegistry.register(
|
171
|
-
:class => ChannelAdvisor::InventoryServiceSOAP::
|
172
|
-
:schema_type => XSD::QName.new(NsWebservices, "
|
175
|
+
:class => ChannelAdvisor::InventoryServiceSOAP::AttributeInfo,
|
176
|
+
:schema_type => XSD::QName.new(NsWebservices, "AttributeInfo"),
|
173
177
|
:schema_element => [
|
174
178
|
["name", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Name")], [0, 1]],
|
175
179
|
["value", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Value")], [0, 1]]
|
@@ -384,14 +388,14 @@ module DefaultMappingRegistry
|
|
384
388
|
)
|
385
389
|
|
386
390
|
EncodedRegistry.register(
|
387
|
-
:class => ChannelAdvisor::InventoryServiceSOAP::
|
388
|
-
:schema_type => XSD::QName.new(NsWebservices, "
|
391
|
+
:class => ChannelAdvisor::InventoryServiceSOAP::APIResultOfArrayOfAttributeInfo,
|
392
|
+
:schema_type => XSD::QName.new(NsWebservices, "APIResultOfArrayOfAttributeInfo"),
|
389
393
|
:schema_element => [
|
390
394
|
["status", ["ChannelAdvisor::InventoryServiceSOAP::ResultStatus", XSD::QName.new(NsWebservices, "Status")]],
|
391
395
|
["messageCode", ["SOAP::SOAPInt", XSD::QName.new(NsWebservices, "MessageCode")]],
|
392
396
|
["message", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Message")], [0, 1]],
|
393
397
|
["data", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Data")], [0, 1]],
|
394
|
-
["resultData", ["ChannelAdvisor::InventoryServiceSOAP::
|
398
|
+
["resultData", ["ChannelAdvisor::InventoryServiceSOAP::ArrayOfAttributeInfo", XSD::QName.new(NsWebservices, "ResultData")], [0, 1]]
|
395
399
|
]
|
396
400
|
)
|
397
401
|
|
@@ -496,9 +500,21 @@ module DefaultMappingRegistry
|
|
496
500
|
["uPC", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "UPC")], [0, 1]],
|
497
501
|
["mPN", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "MPN")], [0, 1]],
|
498
502
|
["eAN", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "EAN")], [0, 1]],
|
503
|
+
["manufacturer", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Manufacturer")], [0, 1]],
|
504
|
+
["brand", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Brand")], [0, 1]],
|
505
|
+
["condition", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Condition")], [0, 1]],
|
506
|
+
["warranty", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Warranty")], [0, 1]],
|
507
|
+
["productMargin", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "ProductMargin")]],
|
508
|
+
["supplierPO", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "SupplierPO")], [0, 1]],
|
509
|
+
["receivedInInventory", ["SOAP::SOAPDateTime", XSD::QName.new(NsWebservices, "ReceivedInInventory")]],
|
510
|
+
["harmonizedCode", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "HarmonizedCode")], [0, 1]],
|
511
|
+
["height", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "Height")]],
|
512
|
+
["length", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "Length")]],
|
513
|
+
["width", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "Width")]],
|
514
|
+
["classification", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Classification")], [0, 1]],
|
499
515
|
["quantityInfo", ["ChannelAdvisor::InventoryServiceSOAP::QuantityInfoSubmit", XSD::QName.new(NsWebservices, "QuantityInfo")], [0, 1]],
|
500
516
|
["priceInfo", ["ChannelAdvisor::InventoryServiceSOAP::PriceInfo", XSD::QName.new(NsWebservices, "PriceInfo")], [0, 1]],
|
501
|
-
["
|
517
|
+
["attributeList", ["ChannelAdvisor::InventoryServiceSOAP::ArrayOfAttributeInfo", XSD::QName.new(NsWebservices, "AttributeList")], [0, 1]],
|
502
518
|
["variationInfo", ["ChannelAdvisor::InventoryServiceSOAP::VariationInfo", XSD::QName.new(NsWebservices, "VariationInfo")], [0, 1]],
|
503
519
|
["storeInfo", ["ChannelAdvisor::InventoryServiceSOAP::StoreInfo", XSD::QName.new(NsWebservices, "StoreInfo")], [0, 1]],
|
504
520
|
["imageList", ["ChannelAdvisor::InventoryServiceSOAP::ArrayOfImageInfoSubmit", XSD::QName.new(NsWebservices, "ImageList")], [0, 1]],
|
@@ -789,9 +805,21 @@ module DefaultMappingRegistry
|
|
789
805
|
["uPC", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "UPC")], [0, 1]],
|
790
806
|
["mPN", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "MPN")], [0, 1]],
|
791
807
|
["eAN", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "EAN")], [0, 1]],
|
808
|
+
["manufacturer", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Manufacturer")], [0, 1]],
|
809
|
+
["brand", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Brand")], [0, 1]],
|
810
|
+
["condition", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Condition")], [0, 1]],
|
811
|
+
["warranty", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Warranty")], [0, 1]],
|
812
|
+
["productMargin", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "ProductMargin")]],
|
813
|
+
["supplierPO", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "SupplierPO")], [0, 1]],
|
814
|
+
["receivedInInventory", ["SOAP::SOAPDateTime", XSD::QName.new(NsWebservices, "ReceivedInInventory")]],
|
815
|
+
["harmonizedCode", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "HarmonizedCode")], [0, 1]],
|
816
|
+
["height", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "Height")]],
|
817
|
+
["length", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "Length")]],
|
818
|
+
["width", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "Width")]],
|
819
|
+
["classification", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Classification")], [0, 1]],
|
792
820
|
["quantityInfo", ["ChannelAdvisor::InventoryServiceSOAP::QuantityInfoResponse", XSD::QName.new(NsWebservices, "QuantityInfo")], [0, 1]],
|
793
821
|
["priceInfo", ["ChannelAdvisor::InventoryServiceSOAP::PriceInfo", XSD::QName.new(NsWebservices, "PriceInfo")], [0, 1]],
|
794
|
-
["
|
822
|
+
["attributeList", ["ChannelAdvisor::InventoryServiceSOAP::ArrayOfAttributeInfo", XSD::QName.new(NsWebservices, "AttributeList")], [0, 1]],
|
795
823
|
["variationInfo", ["ChannelAdvisor::InventoryServiceSOAP::VariationInfo", XSD::QName.new(NsWebservices, "VariationInfo")], [0, 1]],
|
796
824
|
["storeInfo", ["ChannelAdvisor::InventoryServiceSOAP::StoreInfo", XSD::QName.new(NsWebservices, "StoreInfo")], [0, 1]],
|
797
825
|
["imageList", ["ChannelAdvisor::InventoryServiceSOAP::ArrayOfImageInfoResponse", XSD::QName.new(NsWebservices, "ImageList")], [0, 1]],
|
@@ -834,25 +862,16 @@ module DefaultMappingRegistry
|
|
834
862
|
)
|
835
863
|
|
836
864
|
LiteralRegistry.register(
|
837
|
-
:class => ChannelAdvisor::InventoryServiceSOAP::
|
838
|
-
:schema_type => XSD::QName.new(NsWebservices, "
|
839
|
-
:schema_element => [
|
840
|
-
["name", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Name")], [0, 1]],
|
841
|
-
["attributeList", ["ChannelAdvisor::InventoryServiceSOAP::ArrayOfClassificationAttributeInfo", XSD::QName.new(NsWebservices, "AttributeList")], [0, 1]]
|
842
|
-
]
|
843
|
-
)
|
844
|
-
|
845
|
-
LiteralRegistry.register(
|
846
|
-
:class => ChannelAdvisor::InventoryServiceSOAP::ArrayOfClassificationAttributeInfo,
|
847
|
-
:schema_type => XSD::QName.new(NsWebservices, "ArrayOfClassificationAttributeInfo"),
|
865
|
+
:class => ChannelAdvisor::InventoryServiceSOAP::ArrayOfAttributeInfo,
|
866
|
+
:schema_type => XSD::QName.new(NsWebservices, "ArrayOfAttributeInfo"),
|
848
867
|
:schema_element => [
|
849
|
-
["
|
868
|
+
["attributeInfo", ["ChannelAdvisor::InventoryServiceSOAP::AttributeInfo[]", XSD::QName.new(NsWebservices, "AttributeInfo")], [0, nil]]
|
850
869
|
]
|
851
870
|
)
|
852
871
|
|
853
872
|
LiteralRegistry.register(
|
854
|
-
:class => ChannelAdvisor::InventoryServiceSOAP::
|
855
|
-
:schema_type => XSD::QName.new(NsWebservices, "
|
873
|
+
:class => ChannelAdvisor::InventoryServiceSOAP::AttributeInfo,
|
874
|
+
:schema_type => XSD::QName.new(NsWebservices, "AttributeInfo"),
|
856
875
|
:schema_element => [
|
857
876
|
["name", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Name")], [0, 1]],
|
858
877
|
["value", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Value")], [0, 1]]
|
@@ -1067,14 +1086,14 @@ module DefaultMappingRegistry
|
|
1067
1086
|
)
|
1068
1087
|
|
1069
1088
|
LiteralRegistry.register(
|
1070
|
-
:class => ChannelAdvisor::InventoryServiceSOAP::
|
1071
|
-
:schema_type => XSD::QName.new(NsWebservices, "
|
1089
|
+
:class => ChannelAdvisor::InventoryServiceSOAP::APIResultOfArrayOfAttributeInfo,
|
1090
|
+
:schema_type => XSD::QName.new(NsWebservices, "APIResultOfArrayOfAttributeInfo"),
|
1072
1091
|
:schema_element => [
|
1073
1092
|
["status", ["ChannelAdvisor::InventoryServiceSOAP::ResultStatus", XSD::QName.new(NsWebservices, "Status")]],
|
1074
1093
|
["messageCode", ["SOAP::SOAPInt", XSD::QName.new(NsWebservices, "MessageCode")]],
|
1075
1094
|
["message", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Message")], [0, 1]],
|
1076
1095
|
["data", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Data")], [0, 1]],
|
1077
|
-
["resultData", ["ChannelAdvisor::InventoryServiceSOAP::
|
1096
|
+
["resultData", ["ChannelAdvisor::InventoryServiceSOAP::ArrayOfAttributeInfo", XSD::QName.new(NsWebservices, "ResultData")], [0, 1]]
|
1078
1097
|
]
|
1079
1098
|
)
|
1080
1099
|
|
@@ -1179,9 +1198,21 @@ module DefaultMappingRegistry
|
|
1179
1198
|
["uPC", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "UPC")], [0, 1]],
|
1180
1199
|
["mPN", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "MPN")], [0, 1]],
|
1181
1200
|
["eAN", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "EAN")], [0, 1]],
|
1201
|
+
["manufacturer", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Manufacturer")], [0, 1]],
|
1202
|
+
["brand", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Brand")], [0, 1]],
|
1203
|
+
["condition", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Condition")], [0, 1]],
|
1204
|
+
["warranty", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Warranty")], [0, 1]],
|
1205
|
+
["productMargin", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "ProductMargin")]],
|
1206
|
+
["supplierPO", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "SupplierPO")], [0, 1]],
|
1207
|
+
["receivedInInventory", ["SOAP::SOAPDateTime", XSD::QName.new(NsWebservices, "ReceivedInInventory")]],
|
1208
|
+
["harmonizedCode", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "HarmonizedCode")], [0, 1]],
|
1209
|
+
["height", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "Height")]],
|
1210
|
+
["length", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "Length")]],
|
1211
|
+
["width", ["SOAP::SOAPDecimal", XSD::QName.new(NsWebservices, "Width")]],
|
1212
|
+
["classification", ["SOAP::SOAPString", XSD::QName.new(NsWebservices, "Classification")], [0, 1]],
|
1182
1213
|
["quantityInfo", ["ChannelAdvisor::InventoryServiceSOAP::QuantityInfoSubmit", XSD::QName.new(NsWebservices, "QuantityInfo")], [0, 1]],
|
1183
1214
|
["priceInfo", ["ChannelAdvisor::InventoryServiceSOAP::PriceInfo", XSD::QName.new(NsWebservices, "PriceInfo")], [0, 1]],
|
1184
|
-
["
|
1215
|
+
["attributeList", ["ChannelAdvisor::InventoryServiceSOAP::ArrayOfAttributeInfo", XSD::QName.new(NsWebservices, "AttributeList")], [0, 1]],
|
1185
1216
|
["variationInfo", ["ChannelAdvisor::InventoryServiceSOAP::VariationInfo", XSD::QName.new(NsWebservices, "VariationInfo")], [0, 1]],
|
1186
1217
|
["storeInfo", ["ChannelAdvisor::InventoryServiceSOAP::StoreInfo", XSD::QName.new(NsWebservices, "StoreInfo")], [0, 1]],
|
1187
1218
|
["imageList", ["ChannelAdvisor::InventoryServiceSOAP::ArrayOfImageInfoSubmit", XSD::QName.new(NsWebservices, "ImageList")], [0, 1]],
|
@@ -1530,8 +1561,8 @@ module DefaultMappingRegistry
|
|
1530
1561
|
)
|
1531
1562
|
|
1532
1563
|
LiteralRegistry.register(
|
1533
|
-
:class => ChannelAdvisor::InventoryServiceSOAP::
|
1534
|
-
:schema_name => XSD::QName.new(NsWebservices, "
|
1564
|
+
:class => ChannelAdvisor::InventoryServiceSOAP::GetInventoryItemAttributeList,
|
1565
|
+
:schema_name => XSD::QName.new(NsWebservices, "GetInventoryItemAttributeList"),
|
1535
1566
|
:schema_element => [
|
1536
1567
|
["accountID", "SOAP::SOAPString"],
|
1537
1568
|
["sku", "SOAP::SOAPString", [0, 1]]
|
@@ -1539,10 +1570,10 @@ module DefaultMappingRegistry
|
|
1539
1570
|
)
|
1540
1571
|
|
1541
1572
|
LiteralRegistry.register(
|
1542
|
-
:class => ChannelAdvisor::InventoryServiceSOAP::
|
1543
|
-
:schema_name => XSD::QName.new(NsWebservices, "
|
1573
|
+
:class => ChannelAdvisor::InventoryServiceSOAP::GetInventoryItemAttributeListResponse,
|
1574
|
+
:schema_name => XSD::QName.new(NsWebservices, "GetInventoryItemAttributeListResponse"),
|
1544
1575
|
:schema_element => [
|
1545
|
-
["
|
1576
|
+
["getInventoryItemAttributeListResult", ["ChannelAdvisor::InventoryServiceSOAP::APIResultOfArrayOfAttributeInfo", XSD::QName.new(NsWebservices, "GetInventoryItemAttributeListResult")], [0, 1]]
|
1546
1577
|
]
|
1547
1578
|
)
|
1548
1579
|
|
@@ -1,3 +1,4 @@
|
|
1
|
+
|
1
2
|
module ChannelAdvisor; module InventoryServiceSOAP
|
2
3
|
|
3
4
|
|
@@ -127,9 +128,21 @@ end
|
|
127
128
|
# uPC - SOAP::SOAPString
|
128
129
|
# mPN - SOAP::SOAPString
|
129
130
|
# eAN - SOAP::SOAPString
|
131
|
+
# manufacturer - SOAP::SOAPString
|
132
|
+
# brand - SOAP::SOAPString
|
133
|
+
# condition - SOAP::SOAPString
|
134
|
+
# warranty - SOAP::SOAPString
|
135
|
+
# productMargin - SOAP::SOAPDecimal
|
136
|
+
# supplierPO - SOAP::SOAPString
|
137
|
+
# receivedInInventory - SOAP::SOAPDateTime
|
138
|
+
# harmonizedCode - SOAP::SOAPString
|
139
|
+
# height - SOAP::SOAPDecimal
|
140
|
+
# length - SOAP::SOAPDecimal
|
141
|
+
# width - SOAP::SOAPDecimal
|
142
|
+
# classification - SOAP::SOAPString
|
130
143
|
# quantityInfo - ChannelAdvisor::InventoryServiceSOAP::QuantityInfoResponse
|
131
144
|
# priceInfo - ChannelAdvisor::InventoryServiceSOAP::PriceInfo
|
132
|
-
#
|
145
|
+
# attributeList - ChannelAdvisor::InventoryServiceSOAP::ArrayOfAttributeInfo
|
133
146
|
# variationInfo - ChannelAdvisor::InventoryServiceSOAP::VariationInfo
|
134
147
|
# storeInfo - ChannelAdvisor::InventoryServiceSOAP::StoreInfo
|
135
148
|
# imageList - ChannelAdvisor::InventoryServiceSOAP::ArrayOfImageInfoResponse
|
@@ -154,16 +167,28 @@ class InventoryItemResponse
|
|
154
167
|
attr_accessor :uPC
|
155
168
|
attr_accessor :mPN
|
156
169
|
attr_accessor :eAN
|
170
|
+
attr_accessor :manufacturer
|
171
|
+
attr_accessor :brand
|
172
|
+
attr_accessor :condition
|
173
|
+
attr_accessor :warranty
|
174
|
+
attr_accessor :productMargin
|
175
|
+
attr_accessor :supplierPO
|
176
|
+
attr_accessor :receivedInInventory
|
177
|
+
attr_accessor :harmonizedCode
|
178
|
+
attr_accessor :height
|
179
|
+
attr_accessor :length
|
180
|
+
attr_accessor :width
|
181
|
+
attr_accessor :classification
|
157
182
|
attr_accessor :quantityInfo
|
158
183
|
attr_accessor :priceInfo
|
159
|
-
attr_accessor :
|
184
|
+
attr_accessor :attributeList
|
160
185
|
attr_accessor :variationInfo
|
161
186
|
attr_accessor :storeInfo
|
162
187
|
attr_accessor :imageList
|
163
188
|
attr_accessor :shippingInfo
|
164
189
|
attr_accessor :metaDescription
|
165
190
|
|
166
|
-
def initialize(sku = nil, title = nil, subtitle = nil, shortDescription = nil, description = nil, weight = nil, supplierCode = nil, warehouseLocation = nil, taxProductCode = nil, flagStyle = nil, flagDescription = nil, isBlocked = nil, blockComment = nil, aSIN = nil, iSBN = nil, uPC = nil, mPN = nil, eAN = nil, quantityInfo = nil, priceInfo = nil,
|
191
|
+
def initialize(sku = nil, title = nil, subtitle = nil, shortDescription = nil, description = nil, weight = nil, supplierCode = nil, warehouseLocation = nil, taxProductCode = nil, flagStyle = nil, flagDescription = nil, isBlocked = nil, blockComment = nil, aSIN = nil, iSBN = nil, uPC = nil, mPN = nil, eAN = nil, manufacturer = nil, brand = nil, condition = nil, warranty = nil, productMargin = nil, supplierPO = nil, receivedInInventory = nil, harmonizedCode = nil, height = nil, length = nil, width = nil, classification = nil, quantityInfo = nil, priceInfo = nil, attributeList = nil, variationInfo = nil, storeInfo = nil, imageList = nil, shippingInfo = nil, metaDescription = nil)
|
167
192
|
@sku = sku
|
168
193
|
@title = title
|
169
194
|
@subtitle = subtitle
|
@@ -182,9 +207,21 @@ class InventoryItemResponse
|
|
182
207
|
@uPC = uPC
|
183
208
|
@mPN = mPN
|
184
209
|
@eAN = eAN
|
210
|
+
@manufacturer = manufacturer
|
211
|
+
@brand = brand
|
212
|
+
@condition = condition
|
213
|
+
@warranty = warranty
|
214
|
+
@productMargin = productMargin
|
215
|
+
@supplierPO = supplierPO
|
216
|
+
@receivedInInventory = receivedInInventory
|
217
|
+
@harmonizedCode = harmonizedCode
|
218
|
+
@height = height
|
219
|
+
@length = length
|
220
|
+
@width = width
|
221
|
+
@classification = classification
|
185
222
|
@quantityInfo = quantityInfo
|
186
223
|
@priceInfo = priceInfo
|
187
|
-
@
|
224
|
+
@attributeList = attributeList
|
188
225
|
@variationInfo = variationInfo
|
189
226
|
@storeInfo = storeInfo
|
190
227
|
@imageList = imageList
|
@@ -264,27 +301,14 @@ class PriceInfo
|
|
264
301
|
end
|
265
302
|
end
|
266
303
|
|
267
|
-
# {http://api.channeladvisor.com/webservices/}
|
268
|
-
|
269
|
-
# attributeList - ChannelAdvisor::InventoryServiceSOAP::ArrayOfClassificationAttributeInfo
|
270
|
-
class ClassificationInfo
|
271
|
-
attr_accessor :name
|
272
|
-
attr_accessor :attributeList
|
273
|
-
|
274
|
-
def initialize(name = nil, attributeList = nil)
|
275
|
-
@name = name
|
276
|
-
@attributeList = attributeList
|
277
|
-
end
|
278
|
-
end
|
279
|
-
|
280
|
-
# {http://api.channeladvisor.com/webservices/}ArrayOfClassificationAttributeInfo
|
281
|
-
class ArrayOfClassificationAttributeInfo < ::Array
|
304
|
+
# {http://api.channeladvisor.com/webservices/}ArrayOfAttributeInfo
|
305
|
+
class ArrayOfAttributeInfo < ::Array
|
282
306
|
end
|
283
307
|
|
284
|
-
# {http://api.channeladvisor.com/webservices/}
|
308
|
+
# {http://api.channeladvisor.com/webservices/}AttributeInfo
|
285
309
|
# name - SOAP::SOAPString
|
286
310
|
# value - SOAP::SOAPString
|
287
|
-
class
|
311
|
+
class AttributeInfo
|
288
312
|
attr_accessor :name
|
289
313
|
attr_accessor :value
|
290
314
|
|
@@ -619,13 +643,13 @@ class ClassificationConfigurationInformationAttribute
|
|
619
643
|
end
|
620
644
|
end
|
621
645
|
|
622
|
-
# {http://api.channeladvisor.com/webservices/}
|
646
|
+
# {http://api.channeladvisor.com/webservices/}APIResultOfArrayOfAttributeInfo
|
623
647
|
# status - ChannelAdvisor::InventoryServiceSOAP::ResultStatus
|
624
648
|
# messageCode - SOAP::SOAPInt
|
625
649
|
# message - SOAP::SOAPString
|
626
650
|
# data - SOAP::SOAPString
|
627
|
-
# resultData - ChannelAdvisor::InventoryServiceSOAP::
|
628
|
-
class
|
651
|
+
# resultData - ChannelAdvisor::InventoryServiceSOAP::ArrayOfAttributeInfo
|
652
|
+
class APIResultOfArrayOfAttributeInfo
|
629
653
|
attr_accessor :status
|
630
654
|
attr_accessor :messageCode
|
631
655
|
attr_accessor :message
|
@@ -793,9 +817,21 @@ end
|
|
793
817
|
# uPC - SOAP::SOAPString
|
794
818
|
# mPN - SOAP::SOAPString
|
795
819
|
# eAN - SOAP::SOAPString
|
820
|
+
# manufacturer - SOAP::SOAPString
|
821
|
+
# brand - SOAP::SOAPString
|
822
|
+
# condition - SOAP::SOAPString
|
823
|
+
# warranty - SOAP::SOAPString
|
824
|
+
# productMargin - SOAP::SOAPDecimal
|
825
|
+
# supplierPO - SOAP::SOAPString
|
826
|
+
# receivedInInventory - SOAP::SOAPDateTime
|
827
|
+
# harmonizedCode - SOAP::SOAPString
|
828
|
+
# height - SOAP::SOAPDecimal
|
829
|
+
# length - SOAP::SOAPDecimal
|
830
|
+
# width - SOAP::SOAPDecimal
|
831
|
+
# classification - SOAP::SOAPString
|
796
832
|
# quantityInfo - ChannelAdvisor::InventoryServiceSOAP::QuantityInfoSubmit
|
797
833
|
# priceInfo - ChannelAdvisor::InventoryServiceSOAP::PriceInfo
|
798
|
-
#
|
834
|
+
# attributeList - ChannelAdvisor::InventoryServiceSOAP::ArrayOfAttributeInfo
|
799
835
|
# variationInfo - ChannelAdvisor::InventoryServiceSOAP::VariationInfo
|
800
836
|
# storeInfo - ChannelAdvisor::InventoryServiceSOAP::StoreInfo
|
801
837
|
# imageList - ChannelAdvisor::InventoryServiceSOAP::ArrayOfImageInfoSubmit
|
@@ -821,9 +857,21 @@ class InventoryItemSubmit
|
|
821
857
|
attr_accessor :uPC
|
822
858
|
attr_accessor :mPN
|
823
859
|
attr_accessor :eAN
|
860
|
+
attr_accessor :manufacturer
|
861
|
+
attr_accessor :brand
|
862
|
+
attr_accessor :condition
|
863
|
+
attr_accessor :warranty
|
864
|
+
attr_accessor :productMargin
|
865
|
+
attr_accessor :supplierPO
|
866
|
+
attr_accessor :receivedInInventory
|
867
|
+
attr_accessor :harmonizedCode
|
868
|
+
attr_accessor :height
|
869
|
+
attr_accessor :length
|
870
|
+
attr_accessor :width
|
871
|
+
attr_accessor :classification
|
824
872
|
attr_accessor :quantityInfo
|
825
873
|
attr_accessor :priceInfo
|
826
|
-
attr_accessor :
|
874
|
+
attr_accessor :attributeList
|
827
875
|
attr_accessor :variationInfo
|
828
876
|
attr_accessor :storeInfo
|
829
877
|
attr_accessor :imageList
|
@@ -831,7 +879,7 @@ class InventoryItemSubmit
|
|
831
879
|
attr_accessor :labelList
|
832
880
|
attr_accessor :metaDescription
|
833
881
|
|
834
|
-
def initialize(sku = nil, title = nil, subtitle = nil, shortDescription = nil, description = nil, weight = nil, supplierCode = nil, warehouseLocation = nil, taxProductCode = nil, flagStyle = nil, flagDescription = nil, isBlocked = nil, blockComment = nil, aSIN = nil, iSBN = nil, uPC = nil, mPN = nil, eAN = nil, quantityInfo = nil, priceInfo = nil,
|
882
|
+
def initialize(sku = nil, title = nil, subtitle = nil, shortDescription = nil, description = nil, weight = nil, supplierCode = nil, warehouseLocation = nil, taxProductCode = nil, flagStyle = nil, flagDescription = nil, isBlocked = nil, blockComment = nil, aSIN = nil, iSBN = nil, uPC = nil, mPN = nil, eAN = nil, manufacturer = nil, brand = nil, condition = nil, warranty = nil, productMargin = nil, supplierPO = nil, receivedInInventory = nil, harmonizedCode = nil, height = nil, length = nil, width = nil, classification = nil, quantityInfo = nil, priceInfo = nil, attributeList = nil, variationInfo = nil, storeInfo = nil, imageList = nil, shippingInfo = nil, labelList = nil, metaDescription = nil)
|
835
883
|
@sku = sku
|
836
884
|
@title = title
|
837
885
|
@subtitle = subtitle
|
@@ -850,9 +898,21 @@ class InventoryItemSubmit
|
|
850
898
|
@uPC = uPC
|
851
899
|
@mPN = mPN
|
852
900
|
@eAN = eAN
|
901
|
+
@manufacturer = manufacturer
|
902
|
+
@brand = brand
|
903
|
+
@condition = condition
|
904
|
+
@warranty = warranty
|
905
|
+
@productMargin = productMargin
|
906
|
+
@supplierPO = supplierPO
|
907
|
+
@receivedInInventory = receivedInInventory
|
908
|
+
@harmonizedCode = harmonizedCode
|
909
|
+
@height = height
|
910
|
+
@length = length
|
911
|
+
@width = width
|
912
|
+
@classification = classification
|
853
913
|
@quantityInfo = quantityInfo
|
854
914
|
@priceInfo = priceInfo
|
855
|
-
@
|
915
|
+
@attributeList = attributeList
|
856
916
|
@variationInfo = variationInfo
|
857
917
|
@storeInfo = storeInfo
|
858
918
|
@imageList = imageList
|
@@ -1384,10 +1444,10 @@ class GetClassificationConfigurationInformationResponse
|
|
1384
1444
|
end
|
1385
1445
|
end
|
1386
1446
|
|
1387
|
-
# {http://api.channeladvisor.com/webservices/}
|
1447
|
+
# {http://api.channeladvisor.com/webservices/}GetInventoryItemAttributeList
|
1388
1448
|
# accountID - SOAP::SOAPString
|
1389
1449
|
# sku - SOAP::SOAPString
|
1390
|
-
class
|
1450
|
+
class GetInventoryItemAttributeList
|
1391
1451
|
attr_accessor :accountID
|
1392
1452
|
attr_accessor :sku
|
1393
1453
|
|
@@ -1397,13 +1457,13 @@ class GetInventoryItemClassificationAttributeList
|
|
1397
1457
|
end
|
1398
1458
|
end
|
1399
1459
|
|
1400
|
-
# {http://api.channeladvisor.com/webservices/}
|
1401
|
-
#
|
1402
|
-
class
|
1403
|
-
attr_accessor :
|
1460
|
+
# {http://api.channeladvisor.com/webservices/}GetInventoryItemAttributeListResponse
|
1461
|
+
# getInventoryItemAttributeListResult - ChannelAdvisor::InventoryServiceSOAP::APIResultOfArrayOfAttributeInfo
|
1462
|
+
class GetInventoryItemAttributeListResponse
|
1463
|
+
attr_accessor :getInventoryItemAttributeListResult
|
1404
1464
|
|
1405
|
-
def initialize(
|
1406
|
-
@
|
1465
|
+
def initialize(getInventoryItemAttributeListResult = nil)
|
1466
|
+
@getInventoryItemAttributeListResult = getInventoryItemAttributeListResult
|
1407
1467
|
end
|
1408
1468
|
end
|
1409
1469
|
|
@@ -1,7 +1,8 @@
|
|
1
|
+
|
1
2
|
module ChannelAdvisor::ListingServiceSOAP
|
2
3
|
|
3
4
|
class ListingServiceSoap < ::SOAP::RPC::Driver
|
4
|
-
DefaultEndpointUrl = "https://api.channeladvisor.com/ChannelAdvisorAPI/
|
5
|
+
DefaultEndpointUrl = "https://api.channeladvisor.com/ChannelAdvisorAPI/v3/ListingService.asmx"
|
5
6
|
|
6
7
|
Methods = [
|
7
8
|
[ "http://api.channeladvisor.com/webservices/WithdrawListings",
|
@@ -1,7 +1,8 @@
|
|
1
|
+
|
1
2
|
module ChannelAdvisor::MarketplaceAdServiceSOAP
|
2
3
|
|
3
4
|
class MarketplaceAdServiceSoap < ::SOAP::RPC::Driver
|
4
|
-
DefaultEndpointUrl = "https://api.channeladvisor.com/ChannelAdvisorAPI/
|
5
|
+
DefaultEndpointUrl = "https://api.channeladvisor.com/ChannelAdvisorAPI/v3/MarketplaceAdService.asmx"
|
5
6
|
|
6
7
|
Methods = [
|
7
8
|
[ "http://api.channeladvisor.com/webservices/AddMarketplaceAd",
|
@@ -1,7 +1,8 @@
|
|
1
|
+
|
1
2
|
module ChannelAdvisor::OrderServiceSOAP
|
2
3
|
|
3
4
|
class OrderServiceSoap < ::SOAP::RPC::Driver
|
4
|
-
DefaultEndpointUrl = "https://api.channeladvisor.com/ChannelAdvisorAPI/
|
5
|
+
DefaultEndpointUrl = "https://api.channeladvisor.com/ChannelAdvisorAPI/v3/OrderService.asmx"
|
5
6
|
|
6
7
|
Methods = [
|
7
8
|
[ "http://api.channeladvisor.com/webservices/SubmitAmazonFullRefund",
|
@@ -60,6 +61,14 @@ class OrderServiceSoap < ::SOAP::RPC::Driver
|
|
60
61
|
:response_style => :document, :response_use => :literal,
|
61
62
|
:faults => {} }
|
62
63
|
],
|
64
|
+
[ "http://api.channeladvisor.com/webservices/SetSellerOrderItemIDList",
|
65
|
+
"setSellerOrderItemIDList",
|
66
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "SetSellerOrderItemIDList"]],
|
67
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "SetSellerOrderItemIDListResponse"]] ],
|
68
|
+
{ :request_style => :document, :request_use => :literal,
|
69
|
+
:response_style => :document, :response_use => :literal,
|
70
|
+
:faults => {} }
|
71
|
+
],
|
63
72
|
[ "http://api.channeladvisor.com/webservices/GetOrderRefundHistory",
|
64
73
|
"getOrderRefundHistory",
|
65
74
|
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "GetOrderRefundHistory"]],
|
@@ -68,6 +77,14 @@ class OrderServiceSoap < ::SOAP::RPC::Driver
|
|
68
77
|
:response_style => :document, :response_use => :literal,
|
69
78
|
:faults => {} }
|
70
79
|
],
|
80
|
+
[ "http://api.channeladvisor.com/webservices/UpdateOrderList",
|
81
|
+
"updateOrderList",
|
82
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "UpdateOrderList"]],
|
83
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "UpdateOrderListResponse"]] ],
|
84
|
+
{ :request_style => :document, :request_use => :literal,
|
85
|
+
:response_style => :document, :response_use => :literal,
|
86
|
+
:faults => {} }
|
87
|
+
],
|
71
88
|
[ "http://api.channeladvisor.com/webservices/Ping",
|
72
89
|
"ping",
|
73
90
|
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://api.channeladvisor.com/webservices/", "Ping"]],
|