Subversion Repositories SmartDukaan

Rev

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

Rev 13691 Rev 13941
Line 160... Line 160...
160
  print '   getServiceProviders(RechargeType rechargeType, bool onlyActive)'
160
  print '   getServiceProviders(RechargeType rechargeType, bool onlyActive)'
161
  print '  DeviceNumberInfo getServiceProviderForDevice(RechargeType rechargeType, string deviceNumber)'
161
  print '  DeviceNumberInfo getServiceProviderForDevice(RechargeType rechargeType, string deviceNumber)'
162
  print '  string validateRecharge(RechargeType rechargeType, string deviceNumber, i64 userSelectedProviderId, string clientAddress)'
162
  print '  string validateRecharge(RechargeType rechargeType, string deviceNumber, i64 userSelectedProviderId, string clientAddress)'
163
  print '   getRechargeOrdersForDevice(string deviceNumber)'
163
  print '   getRechargeOrdersForDevice(string deviceNumber)'
164
  print '  void addAmountToWallet(i64 userId, i64 orderId, i64 amount)'
164
  print '  void addAmountToWallet(i64 userId, i64 orderId, i64 amount)'
-
 
165
  print '  void creditBatch(i64 batchId, string userAmount)'
165
  print '  RechargeStatistics getRechargeStatistics()'
166
  print '  RechargeStatistics getRechargeStatistics()'
166
  print '   getRechargeOrdersForStatus(i64 status)'
167
  print '   getRechargeOrdersForStatus(i64 status)'
167
  print '   getPlansForOperator(i64 operatorId)'
168
  print '   getPlansForOperator(i64 operatorId)'
168
  print '   getRechargeDenominations(i64 operatorId, string circleCode, DenominationType denominationType)'
169
  print '   getRechargeDenominations(i64 operatorId, string circleCode, DenominationType denominationType)'
169
  print '  void updateAvailabilityStatus(i64 operatorId, i64 circleId, bool isAvailable)'
170
  print '  void updateAvailabilityStatus(i64 operatorId, i64 circleId, bool isAvailable)'
Line 1163... Line 1164...
1163
  if len(args) != 3:
1164
  if len(args) != 3:
1164
    print 'addAmountToWallet requires 3 args'
1165
    print 'addAmountToWallet requires 3 args'
1165
    sys.exit(1)
1166
    sys.exit(1)
1166
  pp.pprint(client.addAmountToWallet(eval(args[0]),eval(args[1]),eval(args[2]),))
1167
  pp.pprint(client.addAmountToWallet(eval(args[0]),eval(args[1]),eval(args[2]),))
1167
 
1168
 
-
 
1169
elif cmd == 'creditBatch':
-
 
1170
  if len(args) != 2:
-
 
1171
    print 'creditBatch requires 2 args'
-
 
1172
    sys.exit(1)
-
 
1173
  pp.pprint(client.creditBatch(eval(args[0]),args[1],))
-
 
1174
 
1168
elif cmd == 'getRechargeStatistics':
1175
elif cmd == 'getRechargeStatistics':
1169
  if len(args) != 0:
1176
  if len(args) != 0:
1170
    print 'getRechargeStatistics requires 0 args'
1177
    print 'getRechargeStatistics requires 0 args'
1171
    sys.exit(1)
1178
    sys.exit(1)
1172
  pp.pprint(client.getRechargeStatistics())
1179
  pp.pprint(client.getRechargeStatistics())