| Line 28... |
Line 28... |
| 28 |
print ' Payment getPayment(i64 id)'
|
28 |
print ' Payment getPayment(i64 id)'
|
| 29 |
print ' getPaymentForTxnId(i64 txnId)'
|
29 |
print ' getPaymentForTxnId(i64 txnId)'
|
| 30 |
print ' bool updatePaymentDetails(i64 id, string gatewayPaymentId, string sessionId, string gatewayTxnStatus, string description, string gatewayTxnId, string authCode, string referenceCode, string errorCode, PaymentStatus status, string gatewayTxnDate, attributes)'
|
30 |
print ' bool updatePaymentDetails(i64 id, string gatewayPaymentId, string sessionId, string gatewayTxnStatus, string description, string gatewayTxnId, string authCode, string referenceCode, string errorCode, PaymentStatus status, string gatewayTxnDate, attributes)'
|
| 31 |
print ' getSuccessfulPaymentsAmountRange()'
|
31 |
print ' getSuccessfulPaymentsAmountRange()'
|
| 32 |
print ' string initializeHdfcPayment(i64 merchantPaymentId)'
|
32 |
print ' string initializeHdfcPayment(i64 merchantPaymentId)'
|
| - |
|
33 |
print ' string initializeHdfcEmiPayment(i64 merchantPaymentId)'
|
| 33 |
print ' i64 createRefund(i64 orderId, i64 merchantTxnId, double amount)'
|
34 |
print ' i64 createRefund(i64 orderId, i64 merchantTxnId, double amount)'
|
| 34 |
print ' bool capturePayment(i64 merchantTxnId)'
|
35 |
print ' bool capturePayment(i64 merchantTxnId)'
|
| 35 |
print ''
|
36 |
print ''
|
| 36 |
sys.exit(0)
|
37 |
sys.exit(0)
|
| 37 |
|
38 |
|
| Line 134... |
Line 135... |
| 134 |
if len(args) != 1:
|
135 |
if len(args) != 1:
|
| 135 |
print 'initializeHdfcPayment requires 1 args'
|
136 |
print 'initializeHdfcPayment requires 1 args'
|
| 136 |
sys.exit(1)
|
137 |
sys.exit(1)
|
| 137 |
pp.pprint(client.initializeHdfcPayment(eval(args[0]),))
|
138 |
pp.pprint(client.initializeHdfcPayment(eval(args[0]),))
|
| 138 |
|
139 |
|
| - |
|
140 |
elif cmd == 'initializeHdfcEmiPayment':
|
| - |
|
141 |
if len(args) != 1:
|
| - |
|
142 |
print 'initializeHdfcEmiPayment requires 1 args'
|
| - |
|
143 |
sys.exit(1)
|
| - |
|
144 |
pp.pprint(client.initializeHdfcEmiPayment(eval(args[0]),))
|
| - |
|
145 |
|
| 139 |
elif cmd == 'createRefund':
|
146 |
elif cmd == 'createRefund':
|
| 140 |
if len(args) != 3:
|
147 |
if len(args) != 3:
|
| 141 |
print 'createRefund requires 3 args'
|
148 |
print 'createRefund requires 3 args'
|
| 142 |
sys.exit(1)
|
149 |
sys.exit(1)
|
| 143 |
pp.pprint(client.createRefund(eval(args[0]),eval(args[1]),eval(args[2]),))
|
150 |
pp.pprint(client.createRefund(eval(args[0]),eval(args[1]),eval(args[2]),))
|