Subversion Repositories SmartDukaan

Rev

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

Rev 9776 Rev 9841
Line 158... Line 158...
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)'
161
  print '  MarketplaceItems getMarketplacedetailsForItem(i64 itemId, i64 sourceId)'
162
  print '  bool updateMarketplaceAttributesForItem(MarketplaceItems marketPlaceItem)'
162
  print '  bool updateMarketplaceAttributesForItem(MarketplaceItems marketPlaceItem)'
-
 
163
  print '  MarketplacePercentage getCostingForMarketplace(i64 source, i64 item_id)'
163
  print '   getMarketPlaceItemsForPriceUpdate(i64 source)'
164
  print '   getMarketPlaceItemsForPriceUpdate(i64 source)'
164
  print '  void updateMarketPlacePriceUpdateStatus( skulist, i64 timestamp)'
165
  print '  void updateMarketPlacePriceUpdateStatus( skulist, i64 timestamp, i64 source)'
165
  print ''
166
  print ''
166
  sys.exit(0)
167
  sys.exit(0)
167
 
168
 
168
pp = pprint.PrettyPrinter(indent = 2)
169
pp = pprint.PrettyPrinter(indent = 2)
169
host = 'localhost'
170
host = 'localhost'
Line 1044... Line 1045...
1044
  if len(args) != 1:
1045
  if len(args) != 1:
1045
    print 'updateMarketplaceAttributesForItem requires 1 args'
1046
    print 'updateMarketplaceAttributesForItem requires 1 args'
1046
    sys.exit(1)
1047
    sys.exit(1)
1047
  pp.pprint(client.updateMarketplaceAttributesForItem(eval(args[0]),))
1048
  pp.pprint(client.updateMarketplaceAttributesForItem(eval(args[0]),))
1048
 
1049
 
-
 
1050
elif cmd == 'getCostingForMarketplace':
-
 
1051
  if len(args) != 2:
-
 
1052
    print 'getCostingForMarketplace requires 2 args'
-
 
1053
    sys.exit(1)
-
 
1054
  pp.pprint(client.getCostingForMarketplace(eval(args[0]),eval(args[1]),))
-
 
1055
 
1049
elif cmd == 'getMarketPlaceItemsForPriceUpdate':
1056
elif cmd == 'getMarketPlaceItemsForPriceUpdate':
1050
  if len(args) != 1:
1057
  if len(args) != 1:
1051
    print 'getMarketPlaceItemsForPriceUpdate requires 1 args'
1058
    print 'getMarketPlaceItemsForPriceUpdate requires 1 args'
1052
    sys.exit(1)
1059
    sys.exit(1)
1053
  pp.pprint(client.getMarketPlaceItemsForPriceUpdate(eval(args[0]),))
1060
  pp.pprint(client.getMarketPlaceItemsForPriceUpdate(eval(args[0]),))
1054
 
1061
 
1055
elif cmd == 'updateMarketPlacePriceUpdateStatus':
1062
elif cmd == 'updateMarketPlacePriceUpdateStatus':
1056
  if len(args) != 2:
1063
  if len(args) != 3:
1057
    print 'updateMarketPlacePriceUpdateStatus requires 2 args'
1064
    print 'updateMarketPlacePriceUpdateStatus requires 3 args'
1058
    sys.exit(1)
1065
    sys.exit(1)
1059
  pp.pprint(client.updateMarketPlacePriceUpdateStatus(eval(args[0]),eval(args[1]),))
1066
  pp.pprint(client.updateMarketPlacePriceUpdateStatus(eval(args[0]),eval(args[1]),eval(args[2]),))
1060
 
1067
 
1061
else:
1068
else:
1062
  print 'Unrecognized method %s' % cmd
1069
  print 'Unrecognized method %s' % cmd
1063
  sys.exit(1)
1070
  sys.exit(1)
1064
 
1071