| Line 31... |
Line 31... |
| 31 |
print ' getPaymentForTxnId(i64 txnId)'
|
31 |
print ' getPaymentForTxnId(i64 txnId)'
|
| 32 |
print ' getPaymentForRechargeTxnId(i64 txnId)'
|
32 |
print ' getPaymentForRechargeTxnId(i64 txnId)'
|
| 33 |
print ' Payment getSuccessfulPaymentForTxnId(i64 txnId)'
|
33 |
print ' Payment getSuccessfulPaymentForTxnId(i64 txnId)'
|
| 34 |
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 ' 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)'
|
| 35 |
print ' getSuccessfulPaymentsAmountRange()'
|
35 |
print ' getSuccessfulPaymentsAmountRange()'
|
| 36 |
print ' string initializeHdfcPayment(i64 merchantPaymentId)'
|
36 |
print ' string initializeHdfcPayment(i64 merchantPaymentId, bool isMobile)'
|
| 37 |
print ' string doHdfcPaymentForDigitalOrder(i64 merchantPaymentId, i64 rechargeOrderId, string phone)'
|
37 |
print ' string doHdfcPaymentForDigitalOrder(i64 merchantPaymentId, i64 rechargeOrderId, string phone, bool isMobile)'
|
| 38 |
print ' string initializeHdfcEmiPayment(i64 merchantPaymentId)'
|
38 |
print ' string initializeHdfcEmiPayment(i64 merchantPaymentId, bool isMobile)'
|
| 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, bool isDigital)'
|
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)'
|
| Line 164... |
Line 164... |
| 164 |
print 'getSuccessfulPaymentsAmountRange requires 0 args'
|
164 |
print 'getSuccessfulPaymentsAmountRange requires 0 args'
|
| 165 |
sys.exit(1)
|
165 |
sys.exit(1)
|
| 166 |
pp.pprint(client.getSuccessfulPaymentsAmountRange())
|
166 |
pp.pprint(client.getSuccessfulPaymentsAmountRange())
|
| 167 |
|
167 |
|
| 168 |
elif cmd == 'initializeHdfcPayment':
|
168 |
elif cmd == 'initializeHdfcPayment':
|
| 169 |
if len(args) != 1:
|
169 |
if len(args) != 2:
|
| 170 |
print 'initializeHdfcPayment requires 1 args'
|
170 |
print 'initializeHdfcPayment requires 2 args'
|
| 171 |
sys.exit(1)
|
171 |
sys.exit(1)
|
| 172 |
pp.pprint(client.initializeHdfcPayment(eval(args[0]),))
|
172 |
pp.pprint(client.initializeHdfcPayment(eval(args[0]),eval(args[1]),))
|
| 173 |
|
173 |
|
| 174 |
elif cmd == 'doHdfcPaymentForDigitalOrder':
|
174 |
elif cmd == 'doHdfcPaymentForDigitalOrder':
|
| 175 |
if len(args) != 3:
|
175 |
if len(args) != 4:
|
| 176 |
print 'doHdfcPaymentForDigitalOrder requires 3 args'
|
176 |
print 'doHdfcPaymentForDigitalOrder requires 4 args'
|
| 177 |
sys.exit(1)
|
177 |
sys.exit(1)
|
| 178 |
pp.pprint(client.doHdfcPaymentForDigitalOrder(eval(args[0]),eval(args[1]),args[2],))
|
178 |
pp.pprint(client.doHdfcPaymentForDigitalOrder(eval(args[0]),eval(args[1]),args[2],eval(args[3]),))
|
| 179 |
|
179 |
|
| 180 |
elif cmd == 'initializeHdfcEmiPayment':
|
180 |
elif cmd == 'initializeHdfcEmiPayment':
|
| 181 |
if len(args) != 1:
|
181 |
if len(args) != 2:
|
| 182 |
print 'initializeHdfcEmiPayment requires 1 args'
|
182 |
print 'initializeHdfcEmiPayment requires 2 args'
|
| 183 |
sys.exit(1)
|
183 |
sys.exit(1)
|
| 184 |
pp.pprint(client.initializeHdfcEmiPayment(eval(args[0]),))
|
184 |
pp.pprint(client.initializeHdfcEmiPayment(eval(args[0]),eval(args[1]),))
|
| 185 |
|
185 |
|
| 186 |
elif cmd == 'createRefund':
|
186 |
elif cmd == 'createRefund':
|
| 187 |
if len(args) != 3:
|
187 |
if len(args) != 3:
|
| 188 |
print 'createRefund requires 3 args'
|
188 |
print 'createRefund requires 3 args'
|
| 189 |
sys.exit(1)
|
189 |
sys.exit(1)
|