Subversion Repositories SmartDukaan

Rev

Rev 9621 | Rev 9841 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9621 Rev 9776
Line 156... Line 156...
156
  print '  ProductFeedSubmit getProductFeedSubmit(i64 catalogItemId)'
156
  print '  ProductFeedSubmit getProductFeedSubmit(i64 catalogItemId)'
157
  print '  bool addProductFeedSubmit(ProductFeedSubmit productFeedSubmit)'
157
  print '  bool addProductFeedSubmit(ProductFeedSubmit productFeedSubmit)'
158
  print '  bool updateProductFeedSubmit(ProductFeedSubmit productFeedSubmit)'
158
  print '  bool updateProductFeedSubmit(ProductFeedSubmit productFeedSubmit)'
159
  print '  bool deleteProductFeedSubmit(i64 catalogItemId)'
159
  print '  bool deleteProductFeedSubmit(i64 catalogItemId)'
160
  print '   getAllProductFeedSubmit()'
160
  print '   getAllProductFeedSubmit()'
-
 
161
  print '  MarketplaceItems getMarketplacedetailsForItem(i64 itemId, i64 sourceId)'
-
 
162
  print '  bool updateMarketplaceAttributesForItem(MarketplaceItems marketPlaceItem)'
-
 
163
  print '   getMarketPlaceItemsForPriceUpdate(i64 source)'
-
 
164
  print '  void updateMarketPlacePriceUpdateStatus( skulist, i64 timestamp)'
161
  print ''
165
  print ''
162
  sys.exit(0)
166
  sys.exit(0)
163
 
167
 
164
pp = pprint.PrettyPrinter(indent = 2)
168
pp = pprint.PrettyPrinter(indent = 2)
165
host = 'localhost'
169
host = 'localhost'
Line 1028... Line 1032...
1028
  if len(args) != 0:
1032
  if len(args) != 0:
1029
    print 'getAllProductFeedSubmit requires 0 args'
1033
    print 'getAllProductFeedSubmit requires 0 args'
1030
    sys.exit(1)
1034
    sys.exit(1)
1031
  pp.pprint(client.getAllProductFeedSubmit())
1035
  pp.pprint(client.getAllProductFeedSubmit())
1032
 
1036
 
-
 
1037
elif cmd == 'getMarketplacedetailsForItem':
-
 
1038
  if len(args) != 2:
-
 
1039
    print 'getMarketplacedetailsForItem requires 2 args'
-
 
1040
    sys.exit(1)
-
 
1041
  pp.pprint(client.getMarketplacedetailsForItem(eval(args[0]),eval(args[1]),))
-
 
1042
 
-
 
1043
elif cmd == 'updateMarketplaceAttributesForItem':
-
 
1044
  if len(args) != 1:
-
 
1045
    print 'updateMarketplaceAttributesForItem requires 1 args'
-
 
1046
    sys.exit(1)
-
 
1047
  pp.pprint(client.updateMarketplaceAttributesForItem(eval(args[0]),))
-
 
1048
 
-
 
1049
elif cmd == 'getMarketPlaceItemsForPriceUpdate':
-
 
1050
  if len(args) != 1:
-
 
1051
    print 'getMarketPlaceItemsForPriceUpdate requires 1 args'
-
 
1052
    sys.exit(1)
-
 
1053
  pp.pprint(client.getMarketPlaceItemsForPriceUpdate(eval(args[0]),))
-
 
1054
 
-
 
1055
elif cmd == 'updateMarketPlacePriceUpdateStatus':
-
 
1056
  if len(args) != 2:
-
 
1057
    print 'updateMarketPlacePriceUpdateStatus requires 2 args'
-
 
1058
    sys.exit(1)
-
 
1059
  pp.pprint(client.updateMarketPlacePriceUpdateStatus(eval(args[0]),eval(args[1]),))
-
 
1060
 
1033
else:
1061
else:
1034
  print 'Unrecognized method %s' % cmd
1062
  print 'Unrecognized method %s' % cmd
1035
  sys.exit(1)
1063
  sys.exit(1)
1036
 
1064
 
1037
transport.close()
1065
transport.close()