Subversion Repositories SmartDukaan

Rev

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

Rev 6389 Rev 6507
Line 166... Line 166...
166
  print '   getPlansForOperator(i64 operatorId)'
166
  print '   getPlansForOperator(i64 operatorId)'
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 ''
172
  print ''
172
  sys.exit(0)
173
  sys.exit(0)
173
 
174
 
174
pp = pprint.PrettyPrinter(indent = 2)
175
pp = pprint.PrettyPrinter(indent = 2)
175
host = 'localhost'
176
host = 'localhost'
Line 1098... Line 1099...
1098
  if len(args) != 1:
1099
  if len(args) != 1:
1099
    print 'getMiscCharges requires 1 args'
1100
    print 'getMiscCharges requires 1 args'
1100
    sys.exit(1)
1101
    sys.exit(1)
1101
  pp.pprint(client.getMiscCharges(eval(args[0]),))
1102
  pp.pprint(client.getMiscCharges(eval(args[0]),))
1102
 
1103
 
-
 
1104
elif cmd == 'refundRechargeOrder':
-
 
1105
  if len(args) != 1:
-
 
1106
    print 'refundRechargeOrder requires 1 args'
-
 
1107
    sys.exit(1)
-
 
1108
  pp.pprint(client.refundRechargeOrder(eval(args[0]),))
-
 
1109
 
1103
else:
1110
else:
1104
  print 'Unrecognized method %s' % cmd
1111
  print 'Unrecognized method %s' % cmd
1105
  sys.exit(1)
1112
  sys.exit(1)
1106
 
1113
 
1107
transport.close()
1114
transport.close()