Subversion Repositories SmartDukaan

Rev

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

Rev 2747 Rev 3010
Line 159... Line 159...
159
	List contains two double values, first minimum and second maximum amount.
159
	List contains two double values, first minimum and second maximum amount.
160
	*/
160
	*/
161
	list<double> getSuccessfulPaymentsAmountRange(),
161
	list<double> getSuccessfulPaymentsAmountRange(),
162
	
162
	
163
	/**
163
	/**
164
	Update the authorization attributes of the payment and attempt to capture it in case it was authorized.
-
 
165
	If either the authorization failed or the capture attempt failed, the payment is marked as failed.
-
 
166
	*/
-
 
167
	Payment updateAndCaptureEbsPayment(1:map<string, string> paymentParams) throws (1:PaymentException pe),
-
 
168
	
-
 
169
	/**
-
 
170
	Captures an already authorized EBS Payment and returns a map containing the details of the captured transaction
164
	Captures an already authorized EBS Payment and returns a map containing the details of the captured transaction
171
	*/
165
	*/
172
	map<string, string> captureEbsPayment(1:i64 merchantPaymentId) throws (1:PaymentException pe),
166
	map<string, string> captureEbsPayment(1:i64 merchantPaymentId) throws (1:PaymentException pe),
173
	
167
	
174
	/**
168
	/**
Line 176... Line 170...
176
	*/
170
	*/
177
	map<string, string> captureHdfcPayment(1:i64 merchantPaymentId) throws (1:PaymentException pe),
171
	map<string, string> captureHdfcPayment(1:i64 merchantPaymentId) throws (1:PaymentException pe),
178
	
172
	
179
	/**
173
	/**
180
	Initialize the payment pipe for a HDFC payment. The URL the user should be redirected to is returned.
174
	Initialize the payment pipe for a HDFC payment. The URL the user should be redirected to is returned.
181
	In case of any processing error, an exception is raised. 
175
	In case of any processing error, an exception is raised.
182
	*/
176
	*/
183
	string initializeHdfcPayment(1:i64 merchantPaymentId) throws (1:PaymentException pe),
177
	string initializeHdfcPayment(1:i64 merchantPaymentId) throws (1:PaymentException pe),
184
	
178
	
185
	/**
179
	/**
186
	Create a refund of the given amount corresponding to the given order to be processed through the same
180
	Create a refund of the given amount corresponding to the given order to be processed through the same
187
	payment gateway which processed the payment for the corresponding transaction.
181
	payment gateway which processed the payment for the corresponding transaction.
188
	Returns the id of the newly created Refund.
182
	Returns the id of the newly created Refund.
189
	*/	
183
	*/	
190
	i64 createRefund(1:i64 orderId, 2:i64 merchantTxnId, 3:double amount) throws (1:PaymentException pe)
184
	i64 createRefund(1:i64 orderId, 2:i64 merchantTxnId, 3:double amount) throws (1:PaymentException pe),
-
 
185
	
-
 
186
	/**
-
 
187
	Capture the payment for the given merchant transaction id. It processes the last payment for the given
-
 
188
	transaction. If the capture attempt failed, the payment is marked as failed.
-
 
189
	*/
-
 
190
	bool capturePayment(1:i64 merchantTxnId) throws (1:PaymentException pe)
191
}
191
}
192
192