Subversion Repositories SmartDukaan

Rev

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

Rev 7263 Rev 7267
Line 184... Line 184...
184
  print '  string retrieveHotspotRechargeInvoice(i64 rechargeId)'
184
  print '  string retrieveHotspotRechargeInvoice(i64 rechargeId)'
185
  print '  Order splitFreebieOrder(i64 orderId, string splitReason, i64 shippingDate)'
185
  print '  Order splitFreebieOrder(i64 orderId, string splitReason, i64 shippingDate)'
186
  print '   getRechargeTransactionsByNumber(string number, i64 storeId)'
186
  print '   getRechargeTransactionsByNumber(string number, i64 storeId)'
187
  print '  bool updateHotspotStorePassword(i64 storeId, string password)'
187
  print '  bool updateHotspotStorePassword(i64 storeId, string password)'
188
  print '  SourceDetail getSourceDetail(i64 source)'
188
  print '  SourceDetail getSourceDetail(i64 source)'
-
 
189
  print '   getAllCircles()'
-
 
190
  print '  bool deleteFrcs( frcIdsToDelete)'
189
  print ''
191
  print ''
190
  sys.exit(0)
192
  sys.exit(0)
191
 
193
 
192
pp = pprint.PrettyPrinter(indent = 2)
194
pp = pprint.PrettyPrinter(indent = 2)
193
host = 'localhost'
195
host = 'localhost'
Line 1224... Line 1226...
1224
  if len(args) != 1:
1226
  if len(args) != 1:
1225
    print 'getSourceDetail requires 1 args'
1227
    print 'getSourceDetail requires 1 args'
1226
    sys.exit(1)
1228
    sys.exit(1)
1227
  pp.pprint(client.getSourceDetail(eval(args[0]),))
1229
  pp.pprint(client.getSourceDetail(eval(args[0]),))
1228
 
1230
 
-
 
1231
elif cmd == 'getAllCircles':
-
 
1232
  if len(args) != 0:
-
 
1233
    print 'getAllCircles requires 0 args'
-
 
1234
    sys.exit(1)
-
 
1235
  pp.pprint(client.getAllCircles())
-
 
1236
 
-
 
1237
elif cmd == 'deleteFrcs':
-
 
1238
  if len(args) != 1:
-
 
1239
    print 'deleteFrcs requires 1 args'
-
 
1240
    sys.exit(1)
-
 
1241
  pp.pprint(client.deleteFrcs(eval(args[0]),))
-
 
1242
 
1229
else:
1243
else:
1230
  print 'Unrecognized method %s' % cmd
1244
  print 'Unrecognized method %s' % cmd
1231
  sys.exit(1)
1245
  sys.exit(1)
1232
 
1246
 
1233
transport.close()
1247
transport.close()