Subversion Repositories SmartDukaan

Rev

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

Rev 7256 Rev 7567
Line 37... Line 37...
37
  print '   getAllPickupStores()'
37
  print '   getAllPickupStores()'
38
  print '  PickupStore getPickupStore(i64 storeId)'
38
  print '  PickupStore getPickupStore(i64 storeId)'
39
  print '  PickupStore getPickupStoreByHotspotId(string hotspotId)'
39
  print '  PickupStore getPickupStoreByHotspotId(string hotspotId)'
40
  print '  void addPincode(i64 providerId, string pincode, string destCode, bool exp, bool cod, i32 stationType, bool otgAvailable)'
40
  print '  void addPincode(i64 providerId, string pincode, string destCode, bool exp, bool cod, i32 stationType, bool otgAvailable)'
41
  print '  void updatePincode(i64 providerId, string pincode, bool exp, bool cod, bool otgAvailable)'
41
  print '  void updatePincode(i64 providerId, string pincode, bool exp, bool cod, bool otgAvailable)'
-
 
42
  print '  bool addNewAwbs(i64 providerId, bool cod,  awbs)'
42
  print ''
43
  print ''
43
  sys.exit(0)
44
  sys.exit(0)
44
 
45
 
45
pp = pprint.PrettyPrinter(indent = 2)
46
pp = pprint.PrettyPrinter(indent = 2)
46
host = 'localhost'
47
host = 'localhost'
Line 195... Line 196...
195
  if len(args) != 5:
196
  if len(args) != 5:
196
    print 'updatePincode requires 5 args'
197
    print 'updatePincode requires 5 args'
197
    sys.exit(1)
198
    sys.exit(1)
198
  pp.pprint(client.updatePincode(eval(args[0]),args[1],eval(args[2]),eval(args[3]),eval(args[4]),))
199
  pp.pprint(client.updatePincode(eval(args[0]),args[1],eval(args[2]),eval(args[3]),eval(args[4]),))
199
 
200
 
-
 
201
elif cmd == 'addNewAwbs':
-
 
202
  if len(args) != 3:
-
 
203
    print 'addNewAwbs requires 3 args'
-
 
204
    sys.exit(1)
-
 
205
  pp.pprint(client.addNewAwbs(eval(args[0]),eval(args[1]),eval(args[2]),))
-
 
206
 
200
else:
207
else:
201
  print 'Unrecognized method %s' % cmd
208
  print 'Unrecognized method %s' % cmd
202
  sys.exit(1)
209
  sys.exit(1)
203
 
210
 
204
transport.close()
211
transport.close()