Subversion Repositories SmartDukaan

Rev

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

Rev 22452 Rev 22749
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 ''
348
  print ''
348
  sys.exit(0)
349
  sys.exit(0)
349
 
350
 
350
pp = pprint.PrettyPrinter(indent = 2)
351
pp = pprint.PrettyPrinter(indent = 2)
351
host = 'localhost'
352
host = 'localhost'
Line 2330... Line 2331...
2330
  if len(args) != 1:
2331
  if len(args) != 1:
2331
    print 'markOrderForRegisteredGstInvoice requires 1 args'
2332
    print 'markOrderForRegisteredGstInvoice requires 1 args'
2332
    sys.exit(1)
2333
    sys.exit(1)
2333
  pp.pprint(client.markOrderForRegisteredGstInvoice(eval(args[0]),))
2334
  pp.pprint(client.markOrderForRegisteredGstInvoice(eval(args[0]),))
2334
 
2335
 
-
 
2336
elif cmd == 'isShipmentCod':
-
 
2337
  if len(args) != 1:
-
 
2338
    print 'isShipmentCod requires 1 args'
-
 
2339
    sys.exit(1)
-
 
2340
  pp.pprint(client.isShipmentCod(eval(args[0]),))
-
 
2341
 
2335
else:
2342
else:
2336
  print 'Unrecognized method %s' % cmd
2343
  print 'Unrecognized method %s' % cmd
2337
  sys.exit(1)
2344
  sys.exit(1)
2338
 
2345
 
2339
transport.close()
2346
transport.close()