| Line 155... |
Line 155... |
| 155 |
print ' getRechargeOrders(i64 userId)'
|
155 |
print ' getRechargeOrders(i64 userId)'
|
| 156 |
print ' bool updateRechargeOrderStatus(i64 rechargeOrderId, RechargeOrderStatus rechargeOrderStatus)'
|
156 |
print ' bool updateRechargeOrderStatus(i64 rechargeOrderId, RechargeOrderStatus rechargeOrderStatus)'
|
| 157 |
print ' bool activateRechargeTxn(i64 rechargeOrderId)'
|
157 |
print ' bool activateRechargeTxn(i64 rechargeOrderId)'
|
| 158 |
print ' UserWallet getUserWallet(i64 userId)'
|
158 |
print ' UserWallet getUserWallet(i64 userId)'
|
| 159 |
print ' getUserWalletHistory(i64 userId)'
|
159 |
print ' getUserWalletHistory(i64 userId)'
|
| - |
|
160 |
print ' getLatestUserWalletHistory(i64 userId, i64 offset, i64 limit)'
|
| 160 |
print ' RechargeOrder getRechargeOrdersForTransaction(i64 txnId)'
|
161 |
print ' RechargeOrder getRechargeOrdersForTransaction(i64 txnId)'
|
| 161 |
print ' getServiceProviders(RechargeType rechargeType, bool onlyActive)'
|
162 |
print ' getServiceProviders(RechargeType rechargeType, bool onlyActive)'
|
| 162 |
print ' DeviceNumberInfo getServiceProviderForDevice(RechargeType rechargeType, string deviceNumber)'
|
163 |
print ' DeviceNumberInfo getServiceProviderForDevice(RechargeType rechargeType, string deviceNumber)'
|
| 163 |
print ' string validateRecharge(RechargeType rechargeType, string deviceNumber, i64 userSelectedProviderId, string clientAddress)'
|
164 |
print ' string validateRecharge(RechargeType rechargeType, string deviceNumber, i64 userSelectedProviderId, string clientAddress)'
|
| 164 |
print ' getRechargeOrdersForDevice(string deviceNumber)'
|
165 |
print ' getRechargeOrdersForDevice(string deviceNumber)'
|
| Line 338... |
Line 339... |
| 338 |
print ' string updatePmsaUser(Pmsa pmsa, string associateEmail)'
|
339 |
print ' string updatePmsaUser(Pmsa pmsa, string associateEmail)'
|
| 339 |
print ' getPmsaUsers(string associateEmail)'
|
340 |
print ' getPmsaUsers(string associateEmail)'
|
| 340 |
print ' getPendingAssociates(string associateEmail)'
|
341 |
print ' getPendingAssociates(string associateEmail)'
|
| 341 |
print ' getStatsForAssociates(string associateEmail)'
|
342 |
print ' getStatsForAssociates(string associateEmail)'
|
| 342 |
print ' Pmsa getmypmsaprofile(string associateEmail)'
|
343 |
print ' Pmsa getmypmsaprofile(string associateEmail)'
|
| 343 |
print ' bool creditUserWallet(i64 userId, i64 amount, double cash_back)'
|
344 |
print ' bool creditUserWallet(i64 userId, i64 amount, double cash_back, string shortDesc)'
|
| 344 |
print ' getPaginatedRechargeOrders(i64 userId, i32 offset, i32 limit)'
|
345 |
print ' getPaginatedRechargeOrders(i64 userId, i32 offset, i32 limit)'
|
| 345 |
print ''
|
346 |
print ''
|
| 346 |
sys.exit(0)
|
347 |
sys.exit(0)
|
| 347 |
|
348 |
|
| 348 |
pp = pprint.PrettyPrinter(indent = 2)
|
349 |
pp = pprint.PrettyPrinter(indent = 2)
|
| Line 1206... |
Line 1207... |
| 1206 |
if len(args) != 1:
|
1207 |
if len(args) != 1:
|
| 1207 |
print 'getUserWalletHistory requires 1 args'
|
1208 |
print 'getUserWalletHistory requires 1 args'
|
| 1208 |
sys.exit(1)
|
1209 |
sys.exit(1)
|
| 1209 |
pp.pprint(client.getUserWalletHistory(eval(args[0]),))
|
1210 |
pp.pprint(client.getUserWalletHistory(eval(args[0]),))
|
| 1210 |
|
1211 |
|
| - |
|
1212 |
elif cmd == 'getLatestUserWalletHistory':
|
| - |
|
1213 |
if len(args) != 3:
|
| - |
|
1214 |
print 'getLatestUserWalletHistory requires 3 args'
|
| - |
|
1215 |
sys.exit(1)
|
| - |
|
1216 |
pp.pprint(client.getLatestUserWalletHistory(eval(args[0]),eval(args[1]),eval(args[2]),))
|
| - |
|
1217 |
|
| 1211 |
elif cmd == 'getRechargeOrdersForTransaction':
|
1218 |
elif cmd == 'getRechargeOrdersForTransaction':
|
| 1212 |
if len(args) != 1:
|
1219 |
if len(args) != 1:
|
| 1213 |
print 'getRechargeOrdersForTransaction requires 1 args'
|
1220 |
print 'getRechargeOrdersForTransaction requires 1 args'
|
| 1214 |
sys.exit(1)
|
1221 |
sys.exit(1)
|
| 1215 |
pp.pprint(client.getRechargeOrdersForTransaction(eval(args[0]),))
|
1222 |
pp.pprint(client.getRechargeOrdersForTransaction(eval(args[0]),))
|
| Line 2305... |
Line 2312... |
| 2305 |
print 'getmypmsaprofile requires 1 args'
|
2312 |
print 'getmypmsaprofile requires 1 args'
|
| 2306 |
sys.exit(1)
|
2313 |
sys.exit(1)
|
| 2307 |
pp.pprint(client.getmypmsaprofile(args[0],))
|
2314 |
pp.pprint(client.getmypmsaprofile(args[0],))
|
| 2308 |
|
2315 |
|
| 2309 |
elif cmd == 'creditUserWallet':
|
2316 |
elif cmd == 'creditUserWallet':
|
| 2310 |
if len(args) != 3:
|
2317 |
if len(args) != 4:
|
| 2311 |
print 'creditUserWallet requires 3 args'
|
2318 |
print 'creditUserWallet requires 4 args'
|
| 2312 |
sys.exit(1)
|
2319 |
sys.exit(1)
|
| 2313 |
pp.pprint(client.creditUserWallet(eval(args[0]),eval(args[1]),eval(args[2]),))
|
2320 |
pp.pprint(client.creditUserWallet(eval(args[0]),eval(args[1]),eval(args[2]),args[3],))
|
| 2314 |
|
2321 |
|
| 2315 |
elif cmd == 'getPaginatedRechargeOrders':
|
2322 |
elif cmd == 'getPaginatedRechargeOrders':
|
| 2316 |
if len(args) != 3:
|
2323 |
if len(args) != 3:
|
| 2317 |
print 'getPaginatedRechargeOrders requires 3 args'
|
2324 |
print 'getPaginatedRechargeOrders requires 3 args'
|
| 2318 |
sys.exit(1)
|
2325 |
sys.exit(1)
|