Interface MiddlewarePaymentService
-
public interface MiddlewarePaymentService
-
-
Method Summary
-
-
-
Method Detail
-
initiatePayment
SCAPaymentResponseTO initiatePayment(ScaInfoTO scaInfoTO, PaymentTO payment)
PROC:01 Initiates a payment. Called by the channel layer.This call sets the status RCVD
- Parameters:
scaInfoTO- : SCA informationpayment- : the payment object- Returns:
- : the sca response object.
-
executePayment
SCAPaymentResponseTO executePayment(ScaInfoTO scaInfoTO, String paymentId)
Executes a payment- Parameters:
scaInfoTO- : SCA informationpaymentId- : payment identifier- Returns:
- : the sca response object.
-
authorizePayment
SCAPaymentResponseTO authorizePayment(ScaInfoTO scaInfoTO, String paymentId)
PROC: 02cThis is called when the user enters the received code.
- Parameters:
scaInfoTO- : SCA informationpaymentId- : the payment id- Returns:
- : auth response.
-
getPaymentStatusById
TransactionStatusTO getPaymentStatusById(String paymentId)
PROC: 04Read the status of a payment. Can be called repetitively after initiation of a payment.
- Parameters:
paymentId- : the payment id- Returns:
- : the transaction status
-
getPaymentById
PaymentTO getPaymentById(String paymentId)
Reads and return a payment.- Parameters:
paymentId- : the payment id- Returns:
- the payment
-
initiatePaymentCancellation
SCAPaymentResponseTO initiatePaymentCancellation(ScaInfoTO scaInfoTO, String paymentId)
Checks the possibility of payment cancellation- Parameters:
scaInfoTO- : SCA informationpaymentId- : the payment id- Returns:
- : the auth response object.
-
authorizeCancelPayment
SCAPaymentResponseTO authorizeCancelPayment(ScaInfoTO scaInfoTO, String paymentId)
-
getPendingPeriodicPaymentsPaged
CustomPageImpl<PaymentTO> getPendingPeriodicPaymentsPaged(ScaInfoTO scaInfo, CustomPageableImpl pageable)
-
getAllPaymentsPaged
CustomPageImpl<PaymentTO> getAllPaymentsPaged(ScaInfoTO scaInfo, CustomPageableImpl pageable)
-
-