Subversion Repositories SmartDukaan

Rev

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

Rev 23306 Rev 23310
Line 219... Line 219...
219
  print '   getCartByValue( cartIds)'
219
  print '   getCartByValue( cartIds)'
220
  print '  bool updateItemPricing( itemPricingList)'
220
  print '  bool updateItemPricing( itemPricingList)'
221
  print '  void bulkUpdateCatalog( bulkUploadCatalog)'
221
  print '  void bulkUpdateCatalog( bulkUploadCatalog)'
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)'
-
 
225
  print '   getStateTaxRate( itemIds, i64 stateId)'
224
  print '   getStateTaxRate( itemIds, i64 stateId)'
226
  print '   getIgstTaxRate( itemIds)'
225
  print '   getIgstTaxRate( itemIds)'
227
  print '  void persistStateGstRate(StateGstRate stateGstRate)'
226
  print '  void persistStateGstRate(StateGstRate stateGstRate)'
228
  print '   getInterStateGstRates()'
-
 
229
  print '   getHsnCodesByCategory(i64 categoryId)'
227
  print '   getHsnCodesByCategory(i64 categoryId)'
230
  print '   getAllFofoDeals( itemIds,  tagIds)'
228
  print '   getAllFofoDeals( itemIds,  tagIds)'
231
  print ''
229
  print ''
232
  sys.exit(0)
230
  sys.exit(0)
233
 
231
 
Line 1476... Line 1474...
1476
  if len(args) != 2:
1474
  if len(args) != 2:
1477
    print 'getWarrantyInfoForItemList requires 2 args'
1475
    print 'getWarrantyInfoForItemList requires 2 args'
1478
    sys.exit(1)
1476
    sys.exit(1)
1479
  pp.pprint(client.getWarrantyInfoForItemList(eval(args[0]),eval(args[1]),))
1477
  pp.pprint(client.getWarrantyInfoForItemList(eval(args[0]),eval(args[1]),))
1480
 
1478
 
1481
elif cmd == 'getGstRatesByState':
-
 
1482
  if len(args) != 1:
-
 
1483
    print 'getGstRatesByState requires 1 args'
-
 
1484
    sys.exit(1)
-
 
1485
  pp.pprint(client.getGstRatesByState(eval(args[0]),))
-
 
1486
 
-
 
1487
elif cmd == 'getStateTaxRate':
1479
elif cmd == 'getStateTaxRate':
1488
  if len(args) != 2:
1480
  if len(args) != 2:
1489
    print 'getStateTaxRate requires 2 args'
1481
    print 'getStateTaxRate requires 2 args'
1490
    sys.exit(1)
1482
    sys.exit(1)
1491
  pp.pprint(client.getStateTaxRate(eval(args[0]),eval(args[1]),))
1483
  pp.pprint(client.getStateTaxRate(eval(args[0]),eval(args[1]),))
Line 1500... Line 1492...
1500
  if len(args) != 1:
1492
  if len(args) != 1:
1501
    print 'persistStateGstRate requires 1 args'
1493
    print 'persistStateGstRate requires 1 args'
1502
    sys.exit(1)
1494
    sys.exit(1)
1503
  pp.pprint(client.persistStateGstRate(eval(args[0]),))
1495
  pp.pprint(client.persistStateGstRate(eval(args[0]),))
1504
 
1496
 
1505
elif cmd == 'getInterStateGstRates':
-
 
1506
  if len(args) != 0:
-
 
1507
    print 'getInterStateGstRates requires 0 args'
-
 
1508
    sys.exit(1)
-
 
1509
  pp.pprint(client.getInterStateGstRates())
-
 
1510
 
-
 
1511
elif cmd == 'getHsnCodesByCategory':
1497
elif cmd == 'getHsnCodesByCategory':
1512
  if len(args) != 1:
1498
  if len(args) != 1:
1513
    print 'getHsnCodesByCategory requires 1 args'
1499
    print 'getHsnCodesByCategory requires 1 args'
1514
    sys.exit(1)
1500
    sys.exit(1)
1515
  pp.pprint(client.getHsnCodesByCategory(eval(args[0]),))
1501
  pp.pprint(client.getHsnCodesByCategory(eval(args[0]),))