| Line 156... |
Line 156... |
| 156 |
print ' UserWallet getUserWallet(i64 userId)'
|
156 |
print ' UserWallet getUserWallet(i64 userId)'
|
| 157 |
print ' getUserWalletHistory(i64 userId)'
|
157 |
print ' getUserWalletHistory(i64 userId)'
|
| 158 |
print ' RechargeOrder getRechargeOrdersForTransaction(i64 txnId)'
|
158 |
print ' RechargeOrder getRechargeOrdersForTransaction(i64 txnId)'
|
| 159 |
print ' getServiceProviders(RechargeType rechargeType, bool onlyActive)'
|
159 |
print ' getServiceProviders(RechargeType rechargeType, bool onlyActive)'
|
| 160 |
print ' i64 getServiceProviderForDevice(RechargeType rechargeType, string deviceNumber)'
|
160 |
print ' i64 getServiceProviderForDevice(RechargeType rechargeType, string deviceNumber)'
|
| - |
|
161 |
print ' string validateRecharge(RechargeType rechargeType, string deviceNumber)'
|
| 161 |
print ' getRechargeOrdersForDevice(string deviceNumber)'
|
162 |
print ' getRechargeOrdersForDevice(string deviceNumber)'
|
| 162 |
print ' void addAmountToWallet(i64 userId, i64 orderId, i64 amount)'
|
163 |
print ' void addAmountToWallet(i64 userId, i64 orderId, i64 amount)'
|
| 163 |
print ' RechargeStatistics getRechargeStatistics()'
|
164 |
print ' RechargeStatistics getRechargeStatistics()'
|
| 164 |
print ' getRechargeOrdersForStatus(i64 status)'
|
165 |
print ' getRechargeOrdersForStatus(i64 status)'
|
| 165 |
print ' getPlansForOperator(i64 operatorId)'
|
166 |
print ' getPlansForOperator(i64 operatorId)'
|
| Line 1033... |
Line 1034... |
| 1033 |
if len(args) != 2:
|
1034 |
if len(args) != 2:
|
| 1034 |
print 'getServiceProviderForDevice requires 2 args'
|
1035 |
print 'getServiceProviderForDevice requires 2 args'
|
| 1035 |
sys.exit(1)
|
1036 |
sys.exit(1)
|
| 1036 |
pp.pprint(client.getServiceProviderForDevice(eval(args[0]),args[1],))
|
1037 |
pp.pprint(client.getServiceProviderForDevice(eval(args[0]),args[1],))
|
| 1037 |
|
1038 |
|
| - |
|
1039 |
elif cmd == 'validateRecharge':
|
| - |
|
1040 |
if len(args) != 2:
|
| - |
|
1041 |
print 'validateRecharge requires 2 args'
|
| - |
|
1042 |
sys.exit(1)
|
| - |
|
1043 |
pp.pprint(client.validateRecharge(eval(args[0]),args[1],))
|
| - |
|
1044 |
|
| 1038 |
elif cmd == 'getRechargeOrdersForDevice':
|
1045 |
elif cmd == 'getRechargeOrdersForDevice':
|
| 1039 |
if len(args) != 1:
|
1046 |
if len(args) != 1:
|
| 1040 |
print 'getRechargeOrdersForDevice requires 1 args'
|
1047 |
print 'getRechargeOrdersForDevice requires 1 args'
|
| 1041 |
sys.exit(1)
|
1048 |
sys.exit(1)
|
| 1042 |
pp.pprint(client.getRechargeOrdersForDevice(args[0],))
|
1049 |
pp.pprint(client.getRechargeOrdersForDevice(args[0],))
|