| Line 180... |
Line 180... |
| 180 |
print ' RechargeTransaction getRechargeTransaction(i64 rechargeId)'
|
180 |
print ' RechargeTransaction getRechargeTransaction(i64 rechargeId)'
|
| 181 |
print ' getFRCs(i64 circleId, i64 operatorId)'
|
181 |
print ' getFRCs(i64 circleId, i64 operatorId)'
|
| 182 |
print ' HotspotStore getHotspotStore(i64 id, string hotspotid)'
|
182 |
print ' HotspotStore getHotspotStore(i64 id, string hotspotid)'
|
| 183 |
print ' TelecomCircle getTelecomCircle(i64 id, string code)'
|
183 |
print ' TelecomCircle getTelecomCircle(i64 id, string code)'
|
| 184 |
print ' string retrieveHotspotRechargeInvoice(i64 rechargeId)'
|
184 |
print ' string retrieveHotspotRechargeInvoice(i64 rechargeId)'
|
| 185 |
print ' getRechargeTransactionsByNumber(string number)'
|
185 |
print ' getRechargeTransactionsByNumber(string number, i64 storeId)'
|
| 186 |
print ' bool updateHotspotStorePassword(i64 storeId, string password)'
|
186 |
print ' bool updateHotspotStorePassword(i64 storeId, string password)'
|
| 187 |
print ''
|
187 |
print ''
|
| 188 |
sys.exit(0)
|
188 |
sys.exit(0)
|
| 189 |
|
189 |
|
| 190 |
pp = pprint.PrettyPrinter(indent = 2)
|
190 |
pp = pprint.PrettyPrinter(indent = 2)
|
| Line 1199... |
Line 1199... |
| 1199 |
print 'retrieveHotspotRechargeInvoice requires 1 args'
|
1199 |
print 'retrieveHotspotRechargeInvoice requires 1 args'
|
| 1200 |
sys.exit(1)
|
1200 |
sys.exit(1)
|
| 1201 |
pp.pprint(client.retrieveHotspotRechargeInvoice(eval(args[0]),))
|
1201 |
pp.pprint(client.retrieveHotspotRechargeInvoice(eval(args[0]),))
|
| 1202 |
|
1202 |
|
| 1203 |
elif cmd == 'getRechargeTransactionsByNumber':
|
1203 |
elif cmd == 'getRechargeTransactionsByNumber':
|
| 1204 |
if len(args) != 1:
|
1204 |
if len(args) != 2:
|
| 1205 |
print 'getRechargeTransactionsByNumber requires 1 args'
|
1205 |
print 'getRechargeTransactionsByNumber requires 2 args'
|
| 1206 |
sys.exit(1)
|
1206 |
sys.exit(1)
|
| 1207 |
pp.pprint(client.getRechargeTransactionsByNumber(args[0],))
|
1207 |
pp.pprint(client.getRechargeTransactionsByNumber(args[0],eval(args[1]),))
|
| 1208 |
|
1208 |
|
| 1209 |
elif cmd == 'updateHotspotStorePassword':
|
1209 |
elif cmd == 'updateHotspotStorePassword':
|
| 1210 |
if len(args) != 2:
|
1210 |
if len(args) != 2:
|
| 1211 |
print 'updateHotspotStorePassword requires 2 args'
|
1211 |
print 'updateHotspotStorePassword requires 2 args'
|
| 1212 |
sys.exit(1)
|
1212 |
sys.exit(1)
|