Subversion Repositories SmartDukaan

Rev

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

Rev 7363 Rev 7370
Line 196... Line 196...
196
  print '   getAmazonOrdersShipped(i64 interval)'
196
  print '   getAmazonOrdersShipped(i64 interval)'
197
  print '   getAmazonOrdersCancelled(i64 interval)'
197
  print '   getAmazonOrdersCancelled(i64 interval)'
198
  print '  AmazonOrder getAmazonOrder(i64 orderId)'
198
  print '  AmazonOrder getAmazonOrder(i64 orderId)'
199
  print '   getOrdersForStore(i64 id, i64 storeId, i64 startDate, i64 endDate,  statuses)'
199
  print '   getOrdersForStore(i64 id, i64 storeId, i64 startDate, i64 endDate,  statuses)'
200
  print '  string getStoreOrderAdvanceInvoice(i64 orderId)'
200
  print '  string getStoreOrderAdvanceInvoice(i64 orderId)'
-
 
201
  print '  bool addFrc(i64 circleId, i64 operatorId, i64 denomination, i64 maxDiscount)'
201
  print ''
202
  print ''
202
  sys.exit(0)
203
  sys.exit(0)
203
 
204
 
204
pp = pprint.PrettyPrinter(indent = 2)
205
pp = pprint.PrettyPrinter(indent = 2)
205
host = 'localhost'
206
host = 'localhost'
Line 1308... Line 1309...
1308
  if len(args) != 1:
1309
  if len(args) != 1:
1309
    print 'getStoreOrderAdvanceInvoice requires 1 args'
1310
    print 'getStoreOrderAdvanceInvoice requires 1 args'
1310
    sys.exit(1)
1311
    sys.exit(1)
1311
  pp.pprint(client.getStoreOrderAdvanceInvoice(eval(args[0]),))
1312
  pp.pprint(client.getStoreOrderAdvanceInvoice(eval(args[0]),))
1312
 
1313
 
-
 
1314
elif cmd == 'addFrc':
-
 
1315
  if len(args) != 4:
-
 
1316
    print 'addFrc requires 4 args'
-
 
1317
    sys.exit(1)
-
 
1318
  pp.pprint(client.addFrc(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),))
-
 
1319
 
1313
else:
1320
else:
1314
  print 'Unrecognized method %s' % cmd
1321
  print 'Unrecognized method %s' % cmd
1315
  sys.exit(1)
1322
  sys.exit(1)
1316
 
1323
 
1317
transport.close()
1324
transport.close()