Subversion Repositories SmartDukaan

Rev

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

Rev 6756 Rev 6903
Line 167... Line 167...
167
  print '   getRechargeDenominations(i64 operatorId, string circleCode, DenominationType denominationType)'
167
  print '   getRechargeDenominations(i64 operatorId, string circleCode, DenominationType denominationType)'
168
  print '  void updateAvailabilityStatus(i64 operatorId, i64 circleId, bool isAvailable)'
168
  print '  void updateAvailabilityStatus(i64 operatorId, i64 circleId, bool isAvailable)'
169
  print '   getAvailableEmiSchemes()'
169
  print '   getAvailableEmiSchemes()'
170
  print '   getMiscCharges(i64 transactionId)'
170
  print '   getMiscCharges(i64 transactionId)'
171
  print '  bool refundRechargeOrder(i64 rechargeOrderId)'
171
  print '  bool refundRechargeOrder(i64 rechargeOrderId)'
-
 
172
  print '   getPhysicalOrders(i64 fromDate, i64 toDate)'
172
  print ''
173
  print ''
173
  sys.exit(0)
174
  sys.exit(0)
174
 
175
 
175
pp = pprint.PrettyPrinter(indent = 2)
176
pp = pprint.PrettyPrinter(indent = 2)
176
host = 'localhost'
177
host = 'localhost'
Line 1105... Line 1106...
1105
  if len(args) != 1:
1106
  if len(args) != 1:
1106
    print 'refundRechargeOrder requires 1 args'
1107
    print 'refundRechargeOrder requires 1 args'
1107
    sys.exit(1)
1108
    sys.exit(1)
1108
  pp.pprint(client.refundRechargeOrder(eval(args[0]),))
1109
  pp.pprint(client.refundRechargeOrder(eval(args[0]),))
1109
 
1110
 
-
 
1111
elif cmd == 'getPhysicalOrders':
-
 
1112
  if len(args) != 2:
-
 
1113
    print 'getPhysicalOrders requires 2 args'
-
 
1114
    sys.exit(1)
-
 
1115
  pp.pprint(client.getPhysicalOrders(eval(args[0]),eval(args[1]),))
-
 
1116
 
1110
else:
1117
else:
1111
  print 'Unrecognized method %s' % cmd
1118
  print 'Unrecognized method %s' % cmd
1112
  sys.exit(1)
1119
  sys.exit(1)
1113
 
1120
 
1114
transport.close()
1121
transport.close()