| Line 35... |
Line 35... |
| 35 |
print ' getSuccessfulPaymentsAmountRange()'
|
35 |
print ' getSuccessfulPaymentsAmountRange()'
|
| 36 |
print ' string initializeHdfcPayment(i64 merchantPaymentId)'
|
36 |
print ' string initializeHdfcPayment(i64 merchantPaymentId)'
|
| 37 |
print ' string doHdfcPaymentForDigitalOrder(i64 merchantPaymentId, i64 rechargeOrderId, string phone)'
|
37 |
print ' string doHdfcPaymentForDigitalOrder(i64 merchantPaymentId, i64 rechargeOrderId, string phone)'
|
| 38 |
print ' string initializeHdfcEmiPayment(i64 merchantPaymentId)'
|
38 |
print ' string initializeHdfcEmiPayment(i64 merchantPaymentId)'
|
| 39 |
print ' i64 createRefund(i64 orderId, i64 merchantTxnId, double amount)'
|
39 |
print ' i64 createRefund(i64 orderId, i64 merchantTxnId, double amount)'
|
| 40 |
print ' bool capturePayment(i64 merchantTxnId)'
|
40 |
print ' bool capturePayment(i64 merchantTxnId, bool isDigital)'
|
| 41 |
print ' bool refundPayment(i64 merchantTxnId, double amount, bool isDigital)'
|
41 |
print ' bool refundPayment(i64 merchantTxnId, double amount, bool isDigital)'
|
| 42 |
print ' bool partiallyCapturePayment(i64 merchantTxnId, double amount, string xferBy, string xferTxnId, i64 xferDate)'
|
42 |
print ' bool partiallyCapturePayment(i64 merchantTxnId, double amount, string xferBy, string xferTxnId, i64 xferDate)'
|
| 43 |
print ' getPaymentsRequiringExtraProcessing(ExtraPaymentProcessingType category)'
|
43 |
print ' getPaymentsRequiringExtraProcessing(ExtraPaymentProcessingType category)'
|
| 44 |
print ' void markPaymentAsProcessed(i64 paymentId, ExtraPaymentProcessingType category)'
|
44 |
print ' void markPaymentAsProcessed(i64 paymentId, ExtraPaymentProcessingType category)'
|
| 45 |
print ''
|
45 |
print ''
|
| Line 187... |
Line 187... |
| 187 |
print 'createRefund requires 3 args'
|
187 |
print 'createRefund requires 3 args'
|
| 188 |
sys.exit(1)
|
188 |
sys.exit(1)
|
| 189 |
pp.pprint(client.createRefund(eval(args[0]),eval(args[1]),eval(args[2]),))
|
189 |
pp.pprint(client.createRefund(eval(args[0]),eval(args[1]),eval(args[2]),))
|
| 190 |
|
190 |
|
| 191 |
elif cmd == 'capturePayment':
|
191 |
elif cmd == 'capturePayment':
|
| 192 |
if len(args) != 1:
|
192 |
if len(args) != 2:
|
| 193 |
print 'capturePayment requires 1 args'
|
193 |
print 'capturePayment requires 2 args'
|
| 194 |
sys.exit(1)
|
194 |
sys.exit(1)
|
| 195 |
pp.pprint(client.capturePayment(eval(args[0]),))
|
195 |
pp.pprint(client.capturePayment(eval(args[0]),eval(args[1]),))
|
| 196 |
|
196 |
|
| 197 |
elif cmd == 'refundPayment':
|
197 |
elif cmd == 'refundPayment':
|
| 198 |
if len(args) != 3:
|
198 |
if len(args) != 3:
|
| 199 |
print 'refundPayment requires 3 args'
|
199 |
print 'refundPayment requires 3 args'
|
| 200 |
sys.exit(1)
|
200 |
sys.exit(1)
|