Subversion Repositories SmartDukaan

Rev

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

Rev 22749 Rev 22754
Line 342... Line 342...
342
  print '   getStatsForAssociates(string associateEmail)'
342
  print '   getStatsForAssociates(string associateEmail)'
343
  print '  Pmsa getmypmsaprofile(string associateEmail)'
343
  print '  Pmsa getmypmsaprofile(string associateEmail)'
344
  print '  bool creditUserWallet(i64 userId, i64 amount, double cash_back, string shortDesc)'
344
  print '  bool creditUserWallet(i64 userId, i64 amount, double cash_back, string shortDesc)'
345
  print '   getPaginatedRechargeOrders(i64 userId, i32 offset, i32 limit)'
345
  print '   getPaginatedRechargeOrders(i64 userId, i32 offset, i32 limit)'
346
  print '  bool markOrderForRegisteredGstInvoice( tranasction_ids)'
346
  print '  bool markOrderForRegisteredGstInvoice( tranasction_ids)'
347
  print '  bool isShipmentCod(i64 logisticsTransactionId)'
347
  print '  bool isShipmentCod(string logisticsTransactionId)'
348
  print ''
348
  print ''
349
  sys.exit(0)
349
  sys.exit(0)
350
 
350
 
351
pp = pprint.PrettyPrinter(indent = 2)
351
pp = pprint.PrettyPrinter(indent = 2)
352
host = 'localhost'
352
host = 'localhost'
Line 2335... Line 2335...
2335
 
2335
 
2336
elif cmd == 'isShipmentCod':
2336
elif cmd == 'isShipmentCod':
2337
  if len(args) != 1:
2337
  if len(args) != 1:
2338
    print 'isShipmentCod requires 1 args'
2338
    print 'isShipmentCod requires 1 args'
2339
    sys.exit(1)
2339
    sys.exit(1)
2340
  pp.pprint(client.isShipmentCod(eval(args[0]),))
2340
  pp.pprint(client.isShipmentCod(args[0],))
2341
 
2341
 
2342
else:
2342
else:
2343
  print 'Unrecognized method %s' % cmd
2343
  print 'Unrecognized method %s' % cmd
2344
  sys.exit(1)
2344
  sys.exit(1)
2345
 
2345