| 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 ' DeviceNumberInfo getServiceProviderForDevice(RechargeType rechargeType, string deviceNumber)'
|
160 |
print ' DeviceNumberInfo getServiceProviderForDevice(RechargeType rechargeType, string deviceNumber)'
|
| 161 |
print ' string validateRecharge(RechargeType rechargeType, string deviceNumber, string circleCode, i64 userSelectedProviderId)'
|
161 |
print ' string validateRecharge(RechargeType rechargeType, string deviceNumber, i64 userSelectedProviderId)'
|
| 162 |
print ' getRechargeOrdersForDevice(string deviceNumber)'
|
162 |
print ' getRechargeOrdersForDevice(string deviceNumber)'
|
| 163 |
print ' void addAmountToWallet(i64 userId, i64 orderId, i64 amount)'
|
163 |
print ' void addAmountToWallet(i64 userId, i64 orderId, i64 amount)'
|
| 164 |
print ' RechargeStatistics getRechargeStatistics()'
|
164 |
print ' RechargeStatistics getRechargeStatistics()'
|
| 165 |
print ' getRechargeOrdersForStatus(i64 status)'
|
165 |
print ' getRechargeOrdersForStatus(i64 status)'
|
| 166 |
print ' getPlansForOperator(i64 operatorId)'
|
166 |
print ' getPlansForOperator(i64 operatorId)'
|
| Line 1036... |
Line 1036... |
| 1036 |
print 'getServiceProviderForDevice requires 2 args'
|
1036 |
print 'getServiceProviderForDevice requires 2 args'
|
| 1037 |
sys.exit(1)
|
1037 |
sys.exit(1)
|
| 1038 |
pp.pprint(client.getServiceProviderForDevice(eval(args[0]),args[1],))
|
1038 |
pp.pprint(client.getServiceProviderForDevice(eval(args[0]),args[1],))
|
| 1039 |
|
1039 |
|
| 1040 |
elif cmd == 'validateRecharge':
|
1040 |
elif cmd == 'validateRecharge':
|
| 1041 |
if len(args) != 4:
|
1041 |
if len(args) != 3:
|
| 1042 |
print 'validateRecharge requires 4 args'
|
1042 |
print 'validateRecharge requires 3 args'
|
| 1043 |
sys.exit(1)
|
1043 |
sys.exit(1)
|
| 1044 |
pp.pprint(client.validateRecharge(eval(args[0]),args[1],args[2],eval(args[3]),))
|
1044 |
pp.pprint(client.validateRecharge(eval(args[0]),args[1],eval(args[2]),))
|
| 1045 |
|
1045 |
|
| 1046 |
elif cmd == 'getRechargeOrdersForDevice':
|
1046 |
elif cmd == 'getRechargeOrdersForDevice':
|
| 1047 |
if len(args) != 1:
|
1047 |
if len(args) != 1:
|
| 1048 |
print 'getRechargeOrdersForDevice requires 1 args'
|
1048 |
print 'getRechargeOrdersForDevice requires 1 args'
|
| 1049 |
sys.exit(1)
|
1049 |
sys.exit(1)
|