Subversion Repositories SmartDukaan

Rev

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

Rev 4421 Rev 4600
Line 146... Line 146...
146
	
146
	
147
	/** 
147
	/** 
148
	Get the gateway for the given id. 
148
	Get the gateway for the given id. 
149
	*/
149
	*/
150
	PaymentGateway getPaymentGateway(1:i64 id) throws (1:PaymentException pe),
150
	PaymentGateway getPaymentGateway(1:i64 id) throws (1:PaymentException pe),
151
 
151
	
-
 
152
	/**
-
 
153
	 *Get all active Payment Gateways
-
 
154
	 **/
-
 
155
	list<PaymentGateway> getActivePaymentGateways() throws (1:PaymentException pe),
-
 
156
	
152
	/** 
157
	/** 
153
	* Get a particular payment info
158
	* Get a particular payment info
154
	**/
159
	**/
155
	Payment getPayment(1:i64 id) throws (1:PaymentException pe),
160
	Payment getPayment(1:i64 id) throws (1:PaymentException pe),
156
 
161
 
157
 
162
 
158
	/** 
163
	/** 
159
	* Get a particular payment for a transaction. Will raise exception.
164
	* Get payments for a transaction. Will raise exception.
160
	**/
165
	**/
161
	list<Payment> getPaymentForTxnId(1:i64 txnId) throws (1:PaymentException pe),
166
	list<Payment> getPaymentForTxnId(1:i64 txnId) throws (1:PaymentException pe),
162
	
167
	
-
 
168
	/** 
-
 
169
	* Get successful payment for a transaction. Will raise exception.
-
 
170
	**/
-
 
171
	Payment getSuccessfulPaymentForTxnId(1:i64 txnId) throws (1:PaymentException pe),
-
 
172
	
163
	/**
173
	/**
164
	* mark payment successful and store parameters
174
	* mark payment successful and store parameters
165
	**/
175
	**/
166
	bool updatePaymentDetails(1:i64 id, 2:string gatewayPaymentId, 3:string sessionId, 4:string gatewayTxnStatus, 5:string  description, 6:string gatewayTxnId, 7:string authCode, 8:string referenceCode, 9:string errorCode, 10:PaymentStatus  status, 11:string gatewayTxnDate, 12:list<Attribute> attributes) throws (1:PaymentException pe),
176
	bool updatePaymentDetails(1:i64 id, 2:string gatewayPaymentId, 3:string sessionId, 4:string gatewayTxnStatus, 5:string  description, 6:string gatewayTxnId, 7:string authCode, 8:string referenceCode, 9:string errorCode, 10:PaymentStatus  status, 11:string gatewayTxnDate, 12:list<Attribute> attributes) throws (1:PaymentException pe),
167
	
177