Subversion Repositories SmartDukaan

Rev

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

Rev 21838 Rev 22566
Line 222... Line 222...
222
  print '   getWarrantyInfoForItem(i64 catalogItemId, ItemCondition itemCondition)'
222
  print '   getWarrantyInfoForItem(i64 catalogItemId, ItemCondition itemCondition)'
223
  print '   getWarrantyInfoForItemList( catalogItemIds, ItemCondition itemCondition)'
223
  print '   getWarrantyInfoForItemList( catalogItemIds, ItemCondition itemCondition)'
224
  print '  StateGstRates getGstRatesByState(i64 stateId)'
224
  print '  StateGstRates getGstRatesByState(i64 stateId)'
225
  print '   getInterStateGstRates()'
225
  print '   getInterStateGstRates()'
226
  print '   getHsnCodesByCategory(i64 categoryId)'
226
  print '   getHsnCodesByCategory(i64 categoryId)'
-
 
227
  print '   getAllFofoDeals( itemIds,  tagIds)'
227
  print ''
228
  print ''
228
  sys.exit(0)
229
  sys.exit(0)
229
 
230
 
230
pp = pprint.PrettyPrinter(indent = 2)
231
pp = pprint.PrettyPrinter(indent = 2)
231
host = 'localhost'
232
host = 'localhost'
Line 1490... Line 1491...
1490
  if len(args) != 1:
1491
  if len(args) != 1:
1491
    print 'getHsnCodesByCategory requires 1 args'
1492
    print 'getHsnCodesByCategory requires 1 args'
1492
    sys.exit(1)
1493
    sys.exit(1)
1493
  pp.pprint(client.getHsnCodesByCategory(eval(args[0]),))
1494
  pp.pprint(client.getHsnCodesByCategory(eval(args[0]),))
1494
 
1495
 
-
 
1496
elif cmd == 'getAllFofoDeals':
-
 
1497
  if len(args) != 2:
-
 
1498
    print 'getAllFofoDeals requires 2 args'
-
 
1499
    sys.exit(1)
-
 
1500
  pp.pprint(client.getAllFofoDeals(eval(args[0]),eval(args[1]),))
-
 
1501
 
1495
else:
1502
else:
1496
  print 'Unrecognized method %s' % cmd
1503
  print 'Unrecognized method %s' % cmd
1497
  sys.exit(1)
1504
  sys.exit(1)
1498
 
1505
 
1499
transport.close()
1506
transport.close()