Subversion Repositories SmartDukaan

Rev

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

Rev 18977 Rev 19182
Line 109... Line 109...
109
  print '  string validateCartNew(i64 cartId, string pinCode, i64 sourceId)'
109
  print '  string validateCartNew(i64 cartId, string pinCode, i64 sourceId)'
110
  print '  bool isAddressEditableForCounter(i64 userId)'
110
  print '  bool isAddressEditableForCounter(i64 userId)'
111
  print '  Address getBillingAddressForUser(i64 userId)'
111
  print '  Address getBillingAddressForUser(i64 userId)'
112
  print '  bool isCreditorAssigned(i64 userId)'
112
  print '  bool isCreditorAssigned(i64 userId)'
113
  print '  bool isTaxInvoiceEnabledUser(i64 userId)'
113
  print '  bool isTaxInvoiceEnabledUser(i64 userId)'
-
 
114
  print '  bool taxInvoiceAvailable(i64 addressId)'
114
  print '   getCartByValue( cartIds)'
115
  print '   getCartByValue( cartIds)'
115
  print ''
116
  print ''
116
  sys.exit(0)
117
  sys.exit(0)
117
 
118
 
118
pp = pprint.PrettyPrinter(indent = 2)
119
pp = pprint.PrettyPrinter(indent = 2)
Line 700... Line 701...
700
  if len(args) != 1:
701
  if len(args) != 1:
701
    print 'isTaxInvoiceEnabledUser requires 1 args'
702
    print 'isTaxInvoiceEnabledUser requires 1 args'
702
    sys.exit(1)
703
    sys.exit(1)
703
  pp.pprint(client.isTaxInvoiceEnabledUser(eval(args[0]),))
704
  pp.pprint(client.isTaxInvoiceEnabledUser(eval(args[0]),))
704
 
705
 
-
 
706
elif cmd == 'taxInvoiceAvailable':
-
 
707
  if len(args) != 1:
-
 
708
    print 'taxInvoiceAvailable requires 1 args'
-
 
709
    sys.exit(1)
-
 
710
  pp.pprint(client.taxInvoiceAvailable(eval(args[0]),))
-
 
711
 
705
elif cmd == 'getCartByValue':
712
elif cmd == 'getCartByValue':
706
  if len(args) != 1:
713
  if len(args) != 1:
707
    print 'getCartByValue requires 1 args'
714
    print 'getCartByValue requires 1 args'
708
    sys.exit(1)
715
    sys.exit(1)
709
  pp.pprint(client.getCartByValue(eval(args[0]),))
716
  pp.pprint(client.getCartByValue(eval(args[0]),))