Subversion Repositories SmartDukaan

Rev

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

Rev 7096 Rev 7109
Line 178... Line 178...
178
  print '   getRechargeTransactions(i64 storeId)'
178
  print '   getRechargeTransactions(i64 storeId)'
179
  print '  RechargeTransaction getRechargeTransaction(i64 rechargeId)'
179
  print '  RechargeTransaction getRechargeTransaction(i64 rechargeId)'
180
  print '   getFRCs(i64 circleId, i64 operatorId)'
180
  print '   getFRCs(i64 circleId, i64 operatorId)'
181
  print '  HotspotStore getHotspotStore(i64 id, string hotspotid)'
181
  print '  HotspotStore getHotspotStore(i64 id, string hotspotid)'
182
  print '  TelecomCircle getTelecomCircle(i64 id, string code)'
182
  print '  TelecomCircle getTelecomCircle(i64 id, string code)'
-
 
183
  print '  string retrieveHotspotRechargeInvoice(i64 rechargeId)'
183
  print ''
184
  print ''
184
  sys.exit(0)
185
  sys.exit(0)
185
 
186
 
186
pp = pprint.PrettyPrinter(indent = 2)
187
pp = pprint.PrettyPrinter(indent = 2)
187
host = 'localhost'
188
host = 'localhost'
Line 1182... Line 1183...
1182
  if len(args) != 2:
1183
  if len(args) != 2:
1183
    print 'getTelecomCircle requires 2 args'
1184
    print 'getTelecomCircle requires 2 args'
1184
    sys.exit(1)
1185
    sys.exit(1)
1185
  pp.pprint(client.getTelecomCircle(eval(args[0]),args[1],))
1186
  pp.pprint(client.getTelecomCircle(eval(args[0]),args[1],))
1186
 
1187
 
-
 
1188
elif cmd == 'retrieveHotspotRechargeInvoice':
-
 
1189
  if len(args) != 1:
-
 
1190
    print 'retrieveHotspotRechargeInvoice requires 1 args'
-
 
1191
    sys.exit(1)
-
 
1192
  pp.pprint(client.retrieveHotspotRechargeInvoice(eval(args[0]),))
-
 
1193
 
1187
else:
1194
else:
1188
  print 'Unrecognized method %s' % cmd
1195
  print 'Unrecognized method %s' % cmd
1189
  sys.exit(1)
1196
  sys.exit(1)
1190
 
1197
 
1191
transport.close()
1198
transport.close()