| Line 27... |
Line 27... |
| 27 |
print ' PaymentGateway getPaymentGateway(i64 id)'
|
27 |
print ' PaymentGateway getPaymentGateway(i64 id)'
|
| 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 ' captureEbsPayment(i64 merchantPaymentId)'
|
- |
|
| 33 |
print ' captureHdfcPayment(i64 merchantPaymentId)'
|
- |
|
| 34 |
print ' string initializeHdfcPayment(i64 merchantPaymentId)'
|
32 |
print ' string initializeHdfcPayment(i64 merchantPaymentId)'
|
| 35 |
print ' i64 createRefund(i64 orderId, i64 merchantTxnId, double amount)'
|
33 |
print ' i64 createRefund(i64 orderId, i64 merchantTxnId, double amount)'
|
| 36 |
print ' bool capturePayment(i64 merchantTxnId)'
|
34 |
print ' bool capturePayment(i64 merchantTxnId)'
|
| 37 |
print ''
|
35 |
print ''
|
| 38 |
sys.exit(0)
|
36 |
sys.exit(0)
|
| Line 130... |
Line 128... |
| 130 |
if len(args) != 0:
|
128 |
if len(args) != 0:
|
| 131 |
print 'getSuccessfulPaymentsAmountRange requires 0 args'
|
129 |
print 'getSuccessfulPaymentsAmountRange requires 0 args'
|
| 132 |
sys.exit(1)
|
130 |
sys.exit(1)
|
| 133 |
pp.pprint(client.getSuccessfulPaymentsAmountRange())
|
131 |
pp.pprint(client.getSuccessfulPaymentsAmountRange())
|
| 134 |
|
132 |
|
| 135 |
elif cmd == 'captureEbsPayment':
|
- |
|
| 136 |
if len(args) != 1:
|
- |
|
| 137 |
print 'captureEbsPayment requires 1 args'
|
- |
|
| 138 |
sys.exit(1)
|
- |
|
| 139 |
pp.pprint(client.captureEbsPayment(eval(args[0]),))
|
- |
|
| 140 |
|
- |
|
| 141 |
elif cmd == 'captureHdfcPayment':
|
- |
|
| 142 |
if len(args) != 1:
|
- |
|
| 143 |
print 'captureHdfcPayment requires 1 args'
|
- |
|
| 144 |
sys.exit(1)
|
- |
|
| 145 |
pp.pprint(client.captureHdfcPayment(eval(args[0]),))
|
- |
|
| 146 |
|
- |
|
| 147 |
elif cmd == 'initializeHdfcPayment':
|
133 |
elif cmd == 'initializeHdfcPayment':
|
| 148 |
if len(args) != 1:
|
134 |
if len(args) != 1:
|
| 149 |
print 'initializeHdfcPayment requires 1 args'
|
135 |
print 'initializeHdfcPayment requires 1 args'
|
| 150 |
sys.exit(1)
|
136 |
sys.exit(1)
|
| 151 |
pp.pprint(client.initializeHdfcPayment(eval(args[0]),))
|
137 |
pp.pprint(client.initializeHdfcPayment(eval(args[0]),))
|