secondrotation-channel_advisor 0.0.3 → 0.0.4

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.
Files changed (27) hide show
  1. data/README +35 -1
  2. data/lib/channel_advisor/admin_service.rb +14 -0
  3. data/lib/channel_advisor/admin_service/client.rb +63 -0
  4. data/lib/channel_advisor/admin_service/mapping_registry.rb +218 -0
  5. data/lib/channel_advisor/admin_service/types.rb +245 -0
  6. data/lib/channel_advisor/inventory_service/client.rb +32 -16
  7. data/lib/channel_advisor/inventory_service/mapping_registry.rb +234 -137
  8. data/lib/channel_advisor/inventory_service/types.rb +253 -115
  9. data/lib/channel_advisor/marketplace_ad_service/mapping_registry.rb +3 -3
  10. data/lib/channel_advisor/order_service/client.rb +8 -0
  11. data/lib/channel_advisor/order_service/mapping_registry.rb +103 -14
  12. data/lib/channel_advisor/order_service/types.rb +98 -9
  13. data/lib/channel_advisor/store_service/mapping_registry.rb +1 -1
  14. data/spec/lib/channel_advisor/admin_service_spec.rb +12 -0
  15. data/{test → spec}/lib/channel_advisor/auth_handler_spec.rb +0 -0
  16. data/{test → spec}/lib/channel_advisor/cart_service_spec.rb +0 -0
  17. data/{test → spec}/lib/channel_advisor/inventory_service_spec.rb +0 -0
  18. data/{test → spec}/lib/channel_advisor/marketplace_ad_service_spec.rb +0 -0
  19. data/{test → spec}/lib/channel_advisor/message_code_spec.rb +0 -0
  20. data/{test → spec}/lib/channel_advisor/order_service_spec.rb +0 -0
  21. data/{test → spec}/lib/channel_advisor/service_proxy_spec.rb +0 -0
  22. data/{test → spec}/lib/channel_advisor/shipping_service_spec.rb +0 -0
  23. data/{test → spec}/lib/channel_advisor/store_service_spec.rb +0 -0
  24. data/{test → spec}/lib/channel_advisor/tax_service_spec.rb +0 -0
  25. data/{test → spec}/spec.opts +0 -0
  26. data/{test → spec}/spec_helper.rb +0 -0
  27. metadata +40 -32
@@ -122,6 +122,11 @@ end
122
122
  # flagDescription - SOAP::SOAPString
123
123
  # isBlocked - SOAP::SOAPBoolean
124
124
  # blockComment - SOAP::SOAPString
125
+ # aSIN - SOAP::SOAPString
126
+ # iSBN - SOAP::SOAPString
127
+ # uPC - SOAP::SOAPString
128
+ # mPN - SOAP::SOAPString
129
+ # eAN - SOAP::SOAPString
125
130
  # quantityInfo - ChannelAdvisor::InventoryServiceSOAP::QuantityInfoResponse
126
131
  # priceInfo - ChannelAdvisor::InventoryServiceSOAP::PriceInfo
127
132
  # classificationInfo - ChannelAdvisor::InventoryServiceSOAP::ClassificationInfo
@@ -144,6 +149,11 @@ class InventoryItemResponse
144
149
  attr_accessor :flagDescription
145
150
  attr_accessor :isBlocked
146
151
  attr_accessor :blockComment
152
+ attr_accessor :aSIN
153
+ attr_accessor :iSBN
154
+ attr_accessor :uPC
155
+ attr_accessor :mPN
156
+ attr_accessor :eAN
147
157
  attr_accessor :quantityInfo
148
158
  attr_accessor :priceInfo
149
159
  attr_accessor :classificationInfo
@@ -153,7 +163,7 @@ class InventoryItemResponse
153
163
  attr_accessor :shippingInfo
154
164
  attr_accessor :metaDescription
155
165
 
156
- 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, quantityInfo = nil, priceInfo = nil, classificationInfo = nil, variationInfo = nil, storeInfo = nil, imageList = nil, shippingInfo = nil, metaDescription = nil)
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, classificationInfo = nil, variationInfo = nil, storeInfo = nil, imageList = nil, shippingInfo = nil, metaDescription = nil)
157
167
  @sku = sku
158
168
  @title = title
159
169
  @subtitle = subtitle
@@ -167,6 +177,11 @@ class InventoryItemResponse
167
177
  @flagDescription = flagDescription
168
178
  @isBlocked = isBlocked
169
179
  @blockComment = blockComment
180
+ @aSIN = aSIN
181
+ @iSBN = iSBN
182
+ @uPC = uPC
183
+ @mPN = mPN
184
+ @eAN = eAN
170
185
  @quantityInfo = quantityInfo
171
186
  @priceInfo = priceInfo
172
187
  @classificationInfo = classificationInfo
@@ -186,6 +201,11 @@ end
186
201
  # pendingPayment - SOAP::SOAPInt
187
202
  # pendingShipment - SOAP::SOAPInt
188
203
  # isScheduled - SOAP::SOAPBoolean
204
+ # openPooled - SOAP::SOAPInt
205
+ # pendingCheckoutPooled - SOAP::SOAPInt
206
+ # pendingPaymentPooled - SOAP::SOAPInt
207
+ # pendingShipmentPooled - SOAP::SOAPInt
208
+ # totalPooled - SOAP::SOAPInt
189
209
  class QuantityInfoResponse
190
210
  attr_accessor :total
191
211
  attr_accessor :available
@@ -194,8 +214,13 @@ class QuantityInfoResponse
194
214
  attr_accessor :pendingPayment
195
215
  attr_accessor :pendingShipment
196
216
  attr_accessor :isScheduled
217
+ attr_accessor :openPooled
218
+ attr_accessor :pendingCheckoutPooled
219
+ attr_accessor :pendingPaymentPooled
220
+ attr_accessor :pendingShipmentPooled
221
+ attr_accessor :totalPooled
197
222
 
198
- def initialize(total = nil, available = nil, open = nil, pendingCheckout = nil, pendingPayment = nil, pendingShipment = nil, isScheduled = nil)
223
+ def initialize(total = nil, available = nil, open = nil, pendingCheckout = nil, pendingPayment = nil, pendingShipment = nil, isScheduled = nil, openPooled = nil, pendingCheckoutPooled = nil, pendingPaymentPooled = nil, pendingShipmentPooled = nil, totalPooled = nil)
199
224
  @total = total
200
225
  @available = available
201
226
  @open = open
@@ -203,6 +228,11 @@ class QuantityInfoResponse
203
228
  @pendingPayment = pendingPayment
204
229
  @pendingShipment = pendingShipment
205
230
  @isScheduled = isScheduled
231
+ @openPooled = openPooled
232
+ @pendingCheckoutPooled = pendingCheckoutPooled
233
+ @pendingPaymentPooled = pendingPaymentPooled
234
+ @pendingShipmentPooled = pendingShipmentPooled
235
+ @totalPooled = totalPooled
206
236
  end
207
237
  end
208
238
 
@@ -411,6 +441,9 @@ end
411
441
  # skuEndsWith - SOAP::SOAPString
412
442
  # classificationName - SOAP::SOAPString
413
443
  # labelName - SOAP::SOAPString
444
+ # quantityCheckField - ChannelAdvisor::InventoryServiceSOAP::InventoryItemQuantityField
445
+ # quantityCheckType - ChannelAdvisor::InventoryServiceSOAP::NumericFilterType
446
+ # quantityCheckValue - SOAP::SOAPInt
414
447
  # pageNumber - SOAP::SOAPInt
415
448
  # pageSize - SOAP::SOAPInt
416
449
  class InventoryItemCriteria
@@ -422,10 +455,13 @@ class InventoryItemCriteria
422
455
  attr_accessor :skuEndsWith
423
456
  attr_accessor :classificationName
424
457
  attr_accessor :labelName
458
+ attr_accessor :quantityCheckField
459
+ attr_accessor :quantityCheckType
460
+ attr_accessor :quantityCheckValue
425
461
  attr_accessor :pageNumber
426
462
  attr_accessor :pageSize
427
463
 
428
- def initialize(dateRangeField = nil, dateRangeStartGMT = nil, dateRangeEndGMT = nil, partialSku = nil, skuStartsWith = nil, skuEndsWith = nil, classificationName = nil, labelName = nil, pageNumber = nil, pageSize = nil)
464
+ def initialize(dateRangeField = nil, dateRangeStartGMT = nil, dateRangeEndGMT = nil, partialSku = nil, skuStartsWith = nil, skuEndsWith = nil, classificationName = nil, labelName = nil, quantityCheckField = nil, quantityCheckType = nil, quantityCheckValue = nil, pageNumber = nil, pageSize = nil)
429
465
  @dateRangeField = dateRangeField
430
466
  @dateRangeStartGMT = dateRangeStartGMT
431
467
  @dateRangeEndGMT = dateRangeEndGMT
@@ -434,6 +470,9 @@ class InventoryItemCriteria
434
470
  @skuEndsWith = skuEndsWith
435
471
  @classificationName = classificationName
436
472
  @labelName = labelName
473
+ @quantityCheckField = quantityCheckField
474
+ @quantityCheckType = quantityCheckType
475
+ @quantityCheckValue = quantityCheckValue
437
476
  @pageNumber = pageNumber
438
477
  @pageSize = pageSize
439
478
  end
@@ -682,6 +721,11 @@ end
682
721
  # flagDescription - SOAP::SOAPString
683
722
  # isBlocked - SOAP::SOAPBoolean
684
723
  # blockComment - SOAP::SOAPString
724
+ # aSIN - SOAP::SOAPString
725
+ # iSBN - SOAP::SOAPString
726
+ # uPC - SOAP::SOAPString
727
+ # mPN - SOAP::SOAPString
728
+ # eAN - SOAP::SOAPString
685
729
  # quantityInfo - ChannelAdvisor::InventoryServiceSOAP::QuantityInfoSubmit
686
730
  # priceInfo - ChannelAdvisor::InventoryServiceSOAP::PriceInfo
687
731
  # classificationInfo - ChannelAdvisor::InventoryServiceSOAP::ClassificationInfo
@@ -689,6 +733,7 @@ end
689
733
  # storeInfo - ChannelAdvisor::InventoryServiceSOAP::StoreInfo
690
734
  # imageList - ChannelAdvisor::InventoryServiceSOAP::ArrayOfImageInfoSubmit
691
735
  # shippingInfo - ChannelAdvisor::InventoryServiceSOAP::ShippingInfo
736
+ # labelList - ChannelAdvisor::InventoryServiceSOAP::ArrayOfString
692
737
  # metaDescription - SOAP::SOAPString
693
738
  class InventoryItemSubmit
694
739
  attr_accessor :sku
@@ -704,6 +749,11 @@ class InventoryItemSubmit
704
749
  attr_accessor :flagDescription
705
750
  attr_accessor :isBlocked
706
751
  attr_accessor :blockComment
752
+ attr_accessor :aSIN
753
+ attr_accessor :iSBN
754
+ attr_accessor :uPC
755
+ attr_accessor :mPN
756
+ attr_accessor :eAN
707
757
  attr_accessor :quantityInfo
708
758
  attr_accessor :priceInfo
709
759
  attr_accessor :classificationInfo
@@ -711,9 +761,10 @@ class InventoryItemSubmit
711
761
  attr_accessor :storeInfo
712
762
  attr_accessor :imageList
713
763
  attr_accessor :shippingInfo
764
+ attr_accessor :labelList
714
765
  attr_accessor :metaDescription
715
766
 
716
- 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, quantityInfo = nil, priceInfo = nil, classificationInfo = nil, variationInfo = nil, storeInfo = nil, imageList = nil, shippingInfo = nil, metaDescription = nil)
767
+ 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, classificationInfo = nil, variationInfo = nil, storeInfo = nil, imageList = nil, shippingInfo = nil, labelList = nil, metaDescription = nil)
717
768
  @sku = sku
718
769
  @title = title
719
770
  @subtitle = subtitle
@@ -727,6 +778,11 @@ class InventoryItemSubmit
727
778
  @flagDescription = flagDescription
728
779
  @isBlocked = isBlocked
729
780
  @blockComment = blockComment
781
+ @aSIN = aSIN
782
+ @iSBN = iSBN
783
+ @uPC = uPC
784
+ @mPN = mPN
785
+ @eAN = eAN
730
786
  @quantityInfo = quantityInfo
731
787
  @priceInfo = priceInfo
732
788
  @classificationInfo = classificationInfo
@@ -734,6 +790,7 @@ class InventoryItemSubmit
734
790
  @storeInfo = storeInfo
735
791
  @imageList = imageList
736
792
  @shippingInfo = shippingInfo
793
+ @labelList = labelList
737
794
  @metaDescription = metaDescription
738
795
  end
739
796
  end
@@ -771,6 +828,73 @@ class ImageInfoSubmit
771
828
  end
772
829
  end
773
830
 
831
+ # {http://api.channeladvisor.com/webservices/}APIResultOfInt32
832
+ # status - ChannelAdvisor::InventoryServiceSOAP::ResultStatus
833
+ # messageCode - SOAP::SOAPInt
834
+ # message - SOAP::SOAPString
835
+ # data - SOAP::SOAPString
836
+ # resultData - SOAP::SOAPInt
837
+ class APIResultOfInt32
838
+ attr_accessor :status
839
+ attr_accessor :messageCode
840
+ attr_accessor :message
841
+ attr_accessor :data
842
+ attr_accessor :resultData
843
+
844
+ def initialize(status = nil, messageCode = nil, message = nil, data = nil, resultData = nil)
845
+ @status = status
846
+ @messageCode = messageCode
847
+ @message = message
848
+ @data = data
849
+ @resultData = resultData
850
+ end
851
+ end
852
+
853
+ # {http://api.channeladvisor.com/webservices/}APIResultOfArrayOfInventoryQuantityResponse
854
+ # status - ChannelAdvisor::InventoryServiceSOAP::ResultStatus
855
+ # messageCode - SOAP::SOAPInt
856
+ # message - SOAP::SOAPString
857
+ # data - SOAP::SOAPString
858
+ # resultData - ChannelAdvisor::InventoryServiceSOAP::ArrayOfInventoryQuantityResponse
859
+ class APIResultOfArrayOfInventoryQuantityResponse
860
+ attr_accessor :status
861
+ attr_accessor :messageCode
862
+ attr_accessor :message
863
+ attr_accessor :data
864
+ attr_accessor :resultData
865
+
866
+ def initialize(status = nil, messageCode = nil, message = nil, data = nil, resultData = nil)
867
+ @status = status
868
+ @messageCode = messageCode
869
+ @message = message
870
+ @data = data
871
+ @resultData = resultData
872
+ end
873
+ end
874
+
875
+ # {http://api.channeladvisor.com/webservices/}ArrayOfInventoryQuantityResponse
876
+ class ArrayOfInventoryQuantityResponse < ::Array
877
+ end
878
+
879
+ # {http://api.channeladvisor.com/webservices/}InventoryQuantityResponse
880
+ # sKU - SOAP::SOAPString
881
+ # quantity - SOAP::SOAPInt
882
+ # messageCode - ChannelAdvisor::InventoryServiceSOAP::ErrorCode
883
+ # message - SOAP::SOAPString
884
+ class InventoryQuantityResponse
885
+ attr_accessor :sKU
886
+ attr_accessor :quantity
887
+ attr_accessor :messageCode
888
+ attr_accessor :message
889
+
890
+ def initialize(sKU = nil, quantity = nil, messageCode = nil, message = nil)
891
+ @sKU = sKU
892
+ @quantity = quantity
893
+ @messageCode = messageCode
894
+ @message = message
895
+ end
896
+ end
897
+
774
898
  # {http://api.channeladvisor.com/webservices/}ArrayOfInventoryItemSubmit
775
899
  class ArrayOfInventoryItemSubmit < ::Array
776
900
  end
@@ -879,73 +1003,6 @@ class UpdateInventoryItemResponse
879
1003
  end
880
1004
  end
881
1005
 
882
- # {http://api.channeladvisor.com/webservices/}APIResultOfInt32
883
- # status - ChannelAdvisor::InventoryServiceSOAP::ResultStatus
884
- # messageCode - SOAP::SOAPInt
885
- # message - SOAP::SOAPString
886
- # data - SOAP::SOAPString
887
- # resultData - SOAP::SOAPInt
888
- class APIResultOfInt32
889
- attr_accessor :status
890
- attr_accessor :messageCode
891
- attr_accessor :message
892
- attr_accessor :data
893
- attr_accessor :resultData
894
-
895
- def initialize(status = nil, messageCode = nil, message = nil, data = nil, resultData = nil)
896
- @status = status
897
- @messageCode = messageCode
898
- @message = message
899
- @data = data
900
- @resultData = resultData
901
- end
902
- end
903
-
904
- # {http://api.channeladvisor.com/webservices/}APIResultOfArrayOfInventoryQuantityResponse
905
- # status - ChannelAdvisor::InventoryServiceSOAP::ResultStatus
906
- # messageCode - SOAP::SOAPInt
907
- # message - SOAP::SOAPString
908
- # data - SOAP::SOAPString
909
- # resultData - ChannelAdvisor::InventoryServiceSOAP::ArrayOfInventoryQuantityResponse
910
- class APIResultOfArrayOfInventoryQuantityResponse
911
- attr_accessor :status
912
- attr_accessor :messageCode
913
- attr_accessor :message
914
- attr_accessor :data
915
- attr_accessor :resultData
916
-
917
- def initialize(status = nil, messageCode = nil, message = nil, data = nil, resultData = nil)
918
- @status = status
919
- @messageCode = messageCode
920
- @message = message
921
- @data = data
922
- @resultData = resultData
923
- end
924
- end
925
-
926
- # {http://api.channeladvisor.com/webservices/}ArrayOfInventoryQuantityResponse
927
- class ArrayOfInventoryQuantityResponse < ::Array
928
- end
929
-
930
- # {http://api.channeladvisor.com/webservices/}InventoryQuantityResponse
931
- # sKU - SOAP::SOAPString
932
- # quantity - SOAP::SOAPInt
933
- # messageCode - ChannelAdvisor::InventoryServiceSOAP::ErrorCode
934
- # message - SOAP::SOAPString
935
- class InventoryQuantityResponse
936
- attr_accessor :sKU
937
- attr_accessor :quantity
938
- attr_accessor :messageCode
939
- attr_accessor :message
940
-
941
- def initialize(sKU = nil, quantity = nil, messageCode = nil, message = nil)
942
- @sKU = sKU
943
- @quantity = quantity
944
- @messageCode = messageCode
945
- @message = message
946
- end
947
- end
948
-
949
1006
  # {http://api.channeladvisor.com/webservices/}APIResultOfString
950
1007
  # status - ChannelAdvisor::InventoryServiceSOAP::ResultStatus
951
1008
  # messageCode - SOAP::SOAPInt
@@ -1007,6 +1064,25 @@ class InventoryItemDateRangeField < ::String
1007
1064
  LastUpdateDate = InventoryItemDateRangeField.new("LastUpdateDate")
1008
1065
  end
1009
1066
 
1067
+ # {http://api.channeladvisor.com/webservices/}InventoryItemQuantityField
1068
+ class InventoryItemQuantityField < ::String
1069
+ Available = InventoryItemQuantityField.new("Available")
1070
+ Open = InventoryItemQuantityField.new("Open")
1071
+ PendingCheckout = InventoryItemQuantityField.new("PendingCheckout")
1072
+ PendingPayment = InventoryItemQuantityField.new("PendingPayment")
1073
+ PendingShipment = InventoryItemQuantityField.new("PendingShipment")
1074
+ Total = InventoryItemQuantityField.new("Total")
1075
+ end
1076
+
1077
+ # {http://api.channeladvisor.com/webservices/}NumericFilterType
1078
+ class NumericFilterType < ::String
1079
+ EqualTo = NumericFilterType.new("EqualTo")
1080
+ GreaterThan = NumericFilterType.new("GreaterThan")
1081
+ GreaterThanOrEqualTo = NumericFilterType.new("GreaterThanOrEqualTo")
1082
+ LessThan = NumericFilterType.new("LessThan")
1083
+ LessThanOrEqualTo = NumericFilterType.new("LessThanOrEqualTo")
1084
+ end
1085
+
1010
1086
  # {http://api.channeladvisor.com/webservices/}InventoryItemSortField
1011
1087
  class InventoryItemSortField < ::String
1012
1088
  Sku = InventoryItemSortField.new("Sku")
@@ -1059,6 +1135,7 @@ class ErrorCode < ::String
1059
1135
  Invalid_FirstNameLength = ErrorCode.new("Invalid_FirstNameLength")
1060
1136
  Invalid_JobTitleLength = ErrorCode.new("Invalid_JobTitleLength")
1061
1137
  Invalid_LastNameLength = ErrorCode.new("Invalid_LastNameLength")
1138
+ Invalid_OrderId = ErrorCode.new("Invalid_OrderId")
1062
1139
  Invalid_OrderNumberLength = ErrorCode.new("Invalid_OrderNumberLength")
1063
1140
  Invalid_OrderStatus = ErrorCode.new("Invalid_OrderStatus")
1064
1141
  Invalid_PhoneLength = ErrorCode.new("Invalid_PhoneLength")
@@ -1131,29 +1208,6 @@ class DoesSkuExistListResponse
1131
1208
  end
1132
1209
  end
1133
1210
 
1134
- # {http://api.channeladvisor.com/webservices/}DeleteInventoryItem
1135
- # accountID - SOAP::SOAPString
1136
- # sku - SOAP::SOAPString
1137
- class DeleteInventoryItem
1138
- attr_accessor :accountID
1139
- attr_accessor :sku
1140
-
1141
- def initialize(accountID = nil, sku = nil)
1142
- @accountID = accountID
1143
- @sku = sku
1144
- end
1145
- end
1146
-
1147
- # {http://api.channeladvisor.com/webservices/}DeleteInventoryItemResponse
1148
- # deleteInventoryItemResult - ChannelAdvisor::InventoryServiceSOAP::APIResultOfBoolean
1149
- class DeleteInventoryItemResponse
1150
- attr_accessor :deleteInventoryItemResult
1151
-
1152
- def initialize(deleteInventoryItemResult = nil)
1153
- @deleteInventoryItemResult = deleteInventoryItemResult
1154
- end
1155
- end
1156
-
1157
1211
  # {http://api.channeladvisor.com/webservices/}GetInventoryItemList
1158
1212
  # accountID - SOAP::SOAPString
1159
1213
  # skuList - ChannelAdvisor::InventoryServiceSOAP::ArrayOfString
@@ -1409,6 +1463,75 @@ class SynchInventoryItem
1409
1463
  end
1410
1464
  end
1411
1465
 
1466
+ # {http://api.channeladvisor.com/webservices/}GetInventoryQuantity
1467
+ # accountID - SOAP::SOAPString
1468
+ # sku - SOAP::SOAPString
1469
+ class GetInventoryQuantity
1470
+ attr_accessor :accountID
1471
+ attr_accessor :sku
1472
+
1473
+ def initialize(accountID = nil, sku = nil)
1474
+ @accountID = accountID
1475
+ @sku = sku
1476
+ end
1477
+ end
1478
+
1479
+ # {http://api.channeladvisor.com/webservices/}GetInventoryQuantityResponse
1480
+ # getInventoryQuantityResult - ChannelAdvisor::InventoryServiceSOAP::APIResultOfInt32
1481
+ class GetInventoryQuantityResponse
1482
+ attr_accessor :getInventoryQuantityResult
1483
+
1484
+ def initialize(getInventoryQuantityResult = nil)
1485
+ @getInventoryQuantityResult = getInventoryQuantityResult
1486
+ end
1487
+ end
1488
+
1489
+ # {http://api.channeladvisor.com/webservices/}GetInventoryQuantityList
1490
+ # accountID - SOAP::SOAPString
1491
+ # skuList - ChannelAdvisor::InventoryServiceSOAP::ArrayOfString
1492
+ class GetInventoryQuantityList
1493
+ attr_accessor :accountID
1494
+ attr_accessor :skuList
1495
+
1496
+ def initialize(accountID = nil, skuList = nil)
1497
+ @accountID = accountID
1498
+ @skuList = skuList
1499
+ end
1500
+ end
1501
+
1502
+ # {http://api.channeladvisor.com/webservices/}GetInventoryQuantityListResponse
1503
+ # getInventoryQuantityListResult - ChannelAdvisor::InventoryServiceSOAP::APIResultOfArrayOfInventoryQuantityResponse
1504
+ class GetInventoryQuantityListResponse
1505
+ attr_accessor :getInventoryQuantityListResult
1506
+
1507
+ def initialize(getInventoryQuantityListResult = nil)
1508
+ @getInventoryQuantityListResult = getInventoryQuantityListResult
1509
+ end
1510
+ end
1511
+
1512
+ # {http://api.channeladvisor.com/webservices/}DeleteInventoryItem
1513
+ # accountID - SOAP::SOAPString
1514
+ # sku - SOAP::SOAPString
1515
+ class DeleteInventoryItem
1516
+ attr_accessor :accountID
1517
+ attr_accessor :sku
1518
+
1519
+ def initialize(accountID = nil, sku = nil)
1520
+ @accountID = accountID
1521
+ @sku = sku
1522
+ end
1523
+ end
1524
+
1525
+ # {http://api.channeladvisor.com/webservices/}DeleteInventoryItemResponse
1526
+ # deleteInventoryItemResult - ChannelAdvisor::InventoryServiceSOAP::APIResultOfBoolean
1527
+ class DeleteInventoryItemResponse
1528
+ attr_accessor :deleteInventoryItemResult
1529
+
1530
+ def initialize(deleteInventoryItemResult = nil)
1531
+ @deleteInventoryItemResult = deleteInventoryItemResult
1532
+ end
1533
+ end
1534
+
1412
1535
  # {http://api.channeladvisor.com/webservices/}SynchInventoryItemList
1413
1536
  # accountID - SOAP::SOAPString
1414
1537
  # itemList - ChannelAdvisor::InventoryServiceSOAP::ArrayOfInventoryItemSubmit
@@ -1478,49 +1601,64 @@ class UpdateInventoryItemQuantityAndPriceListResponse
1478
1601
  end
1479
1602
  end
1480
1603
 
1481
- # {http://api.channeladvisor.com/webservices/}GetInventoryQuantity
1604
+ # {http://api.channeladvisor.com/webservices/}AssignLabelListToInventoryItemList
1482
1605
  # accountID - SOAP::SOAPString
1483
- # sku - SOAP::SOAPString
1484
- class GetInventoryQuantity
1606
+ # labelList - ChannelAdvisor::InventoryServiceSOAP::ArrayOfString
1607
+ # createLabelIfNotExist - SOAP::SOAPBoolean
1608
+ # skuList - ChannelAdvisor::InventoryServiceSOAP::ArrayOfString
1609
+ # assignReasonDesc - SOAP::SOAPString
1610
+ class AssignLabelListToInventoryItemList
1485
1611
  attr_accessor :accountID
1486
- attr_accessor :sku
1612
+ attr_accessor :labelList
1613
+ attr_accessor :createLabelIfNotExist
1614
+ attr_accessor :skuList
1615
+ attr_accessor :assignReasonDesc
1487
1616
 
1488
- def initialize(accountID = nil, sku = nil)
1617
+ def initialize(accountID = nil, labelList = nil, createLabelIfNotExist = nil, skuList = nil, assignReasonDesc = nil)
1489
1618
  @accountID = accountID
1490
- @sku = sku
1619
+ @labelList = labelList
1620
+ @createLabelIfNotExist = createLabelIfNotExist
1621
+ @skuList = skuList
1622
+ @assignReasonDesc = assignReasonDesc
1491
1623
  end
1492
1624
  end
1493
1625
 
1494
- # {http://api.channeladvisor.com/webservices/}GetInventoryQuantityResponse
1495
- # getInventoryQuantityResult - ChannelAdvisor::InventoryServiceSOAP::APIResultOfInt32
1496
- class GetInventoryQuantityResponse
1497
- attr_accessor :getInventoryQuantityResult
1626
+ # {http://api.channeladvisor.com/webservices/}AssignLabelListToInventoryItemListResponse
1627
+ # assignLabelListToInventoryItemListResult - ChannelAdvisor::InventoryServiceSOAP::APIResultOfBoolean
1628
+ class AssignLabelListToInventoryItemListResponse
1629
+ attr_accessor :assignLabelListToInventoryItemListResult
1498
1630
 
1499
- def initialize(getInventoryQuantityResult = nil)
1500
- @getInventoryQuantityResult = getInventoryQuantityResult
1631
+ def initialize(assignLabelListToInventoryItemListResult = nil)
1632
+ @assignLabelListToInventoryItemListResult = assignLabelListToInventoryItemListResult
1501
1633
  end
1502
1634
  end
1503
1635
 
1504
- # {http://api.channeladvisor.com/webservices/}GetInventoryQuantityList
1636
+ # {http://api.channeladvisor.com/webservices/}RemoveLabelListFromInventoryItemList
1505
1637
  # accountID - SOAP::SOAPString
1638
+ # labelList - ChannelAdvisor::InventoryServiceSOAP::ArrayOfString
1506
1639
  # skuList - ChannelAdvisor::InventoryServiceSOAP::ArrayOfString
1507
- class GetInventoryQuantityList
1640
+ # removeReasonDesc - SOAP::SOAPString
1641
+ class RemoveLabelListFromInventoryItemList
1508
1642
  attr_accessor :accountID
1643
+ attr_accessor :labelList
1509
1644
  attr_accessor :skuList
1645
+ attr_accessor :removeReasonDesc
1510
1646
 
1511
- def initialize(accountID = nil, skuList = nil)
1647
+ def initialize(accountID = nil, labelList = nil, skuList = nil, removeReasonDesc = nil)
1512
1648
  @accountID = accountID
1649
+ @labelList = labelList
1513
1650
  @skuList = skuList
1651
+ @removeReasonDesc = removeReasonDesc
1514
1652
  end
1515
1653
  end
1516
1654
 
1517
- # {http://api.channeladvisor.com/webservices/}GetInventoryQuantityListResponse
1518
- # getInventoryQuantityListResult - ChannelAdvisor::InventoryServiceSOAP::APIResultOfArrayOfInventoryQuantityResponse
1519
- class GetInventoryQuantityListResponse
1520
- attr_accessor :getInventoryQuantityListResult
1655
+ # {http://api.channeladvisor.com/webservices/}RemoveLabelListFromInventoryItemListResponse
1656
+ # removeLabelListFromInventoryItemListResult - ChannelAdvisor::InventoryServiceSOAP::APIResultOfBoolean
1657
+ class RemoveLabelListFromInventoryItemListResponse
1658
+ attr_accessor :removeLabelListFromInventoryItemListResult
1521
1659
 
1522
- def initialize(getInventoryQuantityListResult = nil)
1523
- @getInventoryQuantityListResult = getInventoryQuantityListResult
1660
+ def initialize(removeLabelListFromInventoryItemListResult = nil)
1661
+ @removeLabelListFromInventoryItemListResult = removeLabelListFromInventoryItemListResult
1524
1662
  end
1525
1663
  end
1526
1664