| Line 31... |
Line 31... |
| 31 |
print ' getPaymentForTxnId(i64 txnId)'
|
31 |
print ' getPaymentForTxnId(i64 txnId)'
|
| 32 |
print ' Payment getSuccessfulPaymentForTxnId(i64 txnId)'
|
32 |
print ' Payment getSuccessfulPaymentForTxnId(i64 txnId)'
|
| 33 |
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)'
|
33 |
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)'
|
| 34 |
print ' getSuccessfulPaymentsAmountRange()'
|
34 |
print ' getSuccessfulPaymentsAmountRange()'
|
| 35 |
print ' string initializeHdfcPayment(i64 merchantPaymentId)'
|
35 |
print ' string initializeHdfcPayment(i64 merchantPaymentId)'
|
| 36 |
print ' string doHdfcPaymentForDigitalOrder(i64 merchantPaymentId, i64 rechargeOrderId)'
|
36 |
print ' string doHdfcPaymentForDigitalOrder(i64 merchantPaymentId, i64 rechargeOrderId, string phone)'
|
| 37 |
print ' string initializeHdfcEmiPayment(i64 merchantPaymentId)'
|
37 |
print ' string initializeHdfcEmiPayment(i64 merchantPaymentId)'
|
| 38 |
print ' i64 createRefund(i64 orderId, i64 merchantTxnId, double amount)'
|
38 |
print ' i64 createRefund(i64 orderId, i64 merchantTxnId, double amount)'
|
| 39 |
print ' bool capturePayment(i64 merchantTxnId)'
|
39 |
print ' bool capturePayment(i64 merchantTxnId)'
|
| 40 |
print ' bool partiallyCapturePayment(i64 merchantTxnId, double amount, string xferBy, string xferTxnId, i64 xferDate)'
|
40 |
print ' bool partiallyCapturePayment(i64 merchantTxnId, double amount, string xferBy, string xferTxnId, i64 xferDate)'
|
| 41 |
print ' getPaymentsRequiringExtraProcessing(ExtraPaymentProcessingType category)'
|
41 |
print ' getPaymentsRequiringExtraProcessing(ExtraPaymentProcessingType category)'
|
| Line 161... |
Line 161... |
| 161 |
print 'initializeHdfcPayment requires 1 args'
|
161 |
print 'initializeHdfcPayment requires 1 args'
|
| 162 |
sys.exit(1)
|
162 |
sys.exit(1)
|
| 163 |
pp.pprint(client.initializeHdfcPayment(eval(args[0]),))
|
163 |
pp.pprint(client.initializeHdfcPayment(eval(args[0]),))
|
| 164 |
|
164 |
|
| 165 |
elif cmd == 'doHdfcPaymentForDigitalOrder':
|
165 |
elif cmd == 'doHdfcPaymentForDigitalOrder':
|
| 166 |
if len(args) != 2:
|
166 |
if len(args) != 3:
|
| 167 |
print 'doHdfcPaymentForDigitalOrder requires 2 args'
|
167 |
print 'doHdfcPaymentForDigitalOrder requires 3 args'
|
| 168 |
sys.exit(1)
|
168 |
sys.exit(1)
|
| 169 |
pp.pprint(client.doHdfcPaymentForDigitalOrder(eval(args[0]),eval(args[1]),))
|
169 |
pp.pprint(client.doHdfcPaymentForDigitalOrder(eval(args[0]),eval(args[1]),args[2],))
|
| 170 |
|
170 |
|
| 171 |
elif cmd == 'initializeHdfcEmiPayment':
|
171 |
elif cmd == 'initializeHdfcEmiPayment':
|
| 172 |
if len(args) != 1:
|
172 |
if len(args) != 1:
|
| 173 |
print 'initializeHdfcEmiPayment requires 1 args'
|
173 |
print 'initializeHdfcEmiPayment requires 1 args'
|
| 174 |
sys.exit(1)
|
174 |
sys.exit(1)
|