| Line 40... |
Line 40... |
| 40 |
print ' bool forgotPassword(string email, string newPassword)'
|
40 |
print ' bool forgotPassword(string email, string newPassword)'
|
| 41 |
print ' getAllAddressesForUser(i64 userId)'
|
41 |
print ' getAllAddressesForUser(i64 userId)'
|
| 42 |
print ' i64 getDefaultAddressId(i64 userId)'
|
42 |
print ' i64 getDefaultAddressId(i64 userId)'
|
| 43 |
print ' string getDefaultPincode(i64 userId)'
|
43 |
print ' string getDefaultPincode(i64 userId)'
|
| 44 |
print ' bool saveUserCommunication(i64 userId, string replyTo, i64 communicationType, i64 orderId, string airwaybillNo, string productName, string subject, string message)'
|
44 |
print ' bool saveUserCommunication(i64 userId, string replyTo, i64 communicationType, i64 orderId, string airwaybillNo, string productName, string subject, string message)'
|
| - |
|
45 |
print ' UserCommunication getUserCommunicationById(i64 id)'
|
| - |
|
46 |
print ' getUserCommunicationByUser(i64 userId)'
|
| - |
|
47 |
print ' getAllUserCommunications()'
|
| 45 |
print ' i64 createCart(i64 userId)'
|
48 |
print ' i64 createCart(i64 userId)'
|
| 46 |
print ' Cart getCurrentCart(i64 userId)'
|
49 |
print ' Cart getCurrentCart(i64 userId)'
|
| 47 |
print ' Cart getCart(i64 cartId)'
|
50 |
print ' Cart getCart(i64 cartId)'
|
| 48 |
print ' getCartsForUser(i64 userId, CartStatus status)'
|
51 |
print ' getCartsForUser(i64 userId, CartStatus status)'
|
| 49 |
print ' getCartsByStatus(CartStatus status)'
|
52 |
print ' getCartsByStatus(CartStatus status)'
|
| Line 237... |
Line 240... |
| 237 |
if len(args) != 8:
|
240 |
if len(args) != 8:
|
| 238 |
print 'saveUserCommunication requires 8 args'
|
241 |
print 'saveUserCommunication requires 8 args'
|
| 239 |
sys.exit(1)
|
242 |
sys.exit(1)
|
| 240 |
pp.pprint(client.saveUserCommunication(eval(args[0]),args[1],eval(args[2]),eval(args[3]),args[4],args[5],args[6],args[7],))
|
243 |
pp.pprint(client.saveUserCommunication(eval(args[0]),args[1],eval(args[2]),eval(args[3]),args[4],args[5],args[6],args[7],))
|
| 241 |
|
244 |
|
| - |
|
245 |
elif cmd == 'getUserCommunicationById':
|
| - |
|
246 |
if len(args) != 1:
|
| - |
|
247 |
print 'getUserCommunicationById requires 1 args'
|
| - |
|
248 |
sys.exit(1)
|
| - |
|
249 |
pp.pprint(client.getUserCommunicationById(eval(args[0]),))
|
| - |
|
250 |
|
| - |
|
251 |
elif cmd == 'getUserCommunicationByUser':
|
| - |
|
252 |
if len(args) != 1:
|
| - |
|
253 |
print 'getUserCommunicationByUser requires 1 args'
|
| - |
|
254 |
sys.exit(1)
|
| - |
|
255 |
pp.pprint(client.getUserCommunicationByUser(eval(args[0]),))
|
| - |
|
256 |
|
| - |
|
257 |
elif cmd == 'getAllUserCommunications':
|
| - |
|
258 |
if len(args) != 0:
|
| - |
|
259 |
print 'getAllUserCommunications requires 0 args'
|
| - |
|
260 |
sys.exit(1)
|
| - |
|
261 |
pp.pprint(client.getAllUserCommunications())
|
| - |
|
262 |
|
| 242 |
elif cmd == 'createCart':
|
263 |
elif cmd == 'createCart':
|
| 243 |
if len(args) != 1:
|
264 |
if len(args) != 1:
|
| 244 |
print 'createCart requires 1 args'
|
265 |
print 'createCart requires 1 args'
|
| 245 |
sys.exit(1)
|
266 |
sys.exit(1)
|
| 246 |
pp.pprint(client.createCart(eval(args[0]),))
|
267 |
pp.pprint(client.createCart(eval(args[0]),))
|