Subversion Repositories SmartDukaan

Rev

Rev 8274 | Rev 8914 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8274 Rev 8907
Line 61... Line 61...
61
 	'2000' : 'HDFC-VISA/VISA Electron Debit Card'
61
 	'2000' : 'HDFC-VISA/VISA Electron Debit Card'
62
	'2008' : 'HDFC-VISA'
62
	'2008' : 'HDFC-VISA'
63
	'2017' : 'HDFC-MasterCard Credit Card'
63
	'2017' : 'HDFC-MasterCard Credit Card'
64
	'2018' : 'HDFC-MasterCard Debit Card'
64
	'2018' : 'HDFC-MasterCard Debit Card'
65
	'3000' : 'COD'
65
	'3000' : 'COD'
-
 
66
	'3001' : 'Coupon'
66
	'2001' : 'Cheque'
67
	'2001' : 'Cheque'
67
	'1026' : 'EBS-ICICI Bank Debit Card'
68
	'1026' : 'EBS-ICICI Bank Debit Card'
68
    '1027' : 'EBS-SBI Debit Card'
69
    '1027' : 'EBS-SBI Debit Card'
69
    '2020' : 'HDFC Credit Card 3-month EMI'
70
    '2020' : 'HDFC Credit Card 3-month EMI'
70
    '5001' : 'HDFC Credit Card 3-month EMI'
71
    '5001' : 'HDFC Credit Card 3-month EMI'
Line 276... Line 277...
276
	transaction. If the capture attempt failed, the payment is marked as failed. PaymentException with error 
277
	transaction. If the capture attempt failed, the payment is marked as failed. PaymentException with error 
277
	code 104 is	thrown in case no payments are found for the transaction id passed. PaymentException is also
278
	code 104 is	thrown in case no payments are found for the transaction id passed. PaymentException is also
278
	thrown with error code 106 in case capture was not possible due to connection
279
	thrown with error code 106 in case capture was not possible due to connection
279
	issue. 
280
	issue. 
280
	*/
281
	*/
281
	bool capturePayment(1:i64 merchantTxnId) throws (1:PaymentException pe),
282
	bool capturePayment(1:i64 merchantTxnId, 2:bool isDigital) throws (1:PaymentException pe),
282
	
283
	
283
	/**
284
	/**
284
	Refund the payment for the given merchant transaction id. It processes the last payment for the given
285
	Refund the payment for the given merchant transaction id. It processes the last payment for the given
285
	transaction. If refund will be failed nothing will be updated in database.
286
	transaction. If refund will be failed nothing will be updated in database.
286
	*/
287
	*/
Line 309... Line 310...
309
    /**
310
    /**
310
     * Marks a particular payment as processed for a particular cateogory.
311
     * Marks a particular payment as processed for a particular cateogory.
311
     * It essentially deletes the payment if it is processed for a particular
312
     * It essentially deletes the payment if it is processed for a particular
312
     * category. This is currently used by CRM application.
313
     * category. This is currently used by CRM application.
313
     */
314
     */
314
    void markPaymentAsProcessed(1:i64 paymentId, 2:ExtraPaymentProcessingType category)
315
    void markPaymentAsProcessed(1:i64 paymentId, 2:ExtraPaymentProcessingType category),
-
 
316
    
-
 
317
    bool validatePaymentAtGateway(1:i64 merchantTxnId, 2:double amount, 3:bool isDigital) throws (1:PaymentException pe)
315
}
318
}
316
319