Interface MiddlewarePaymentService
-
public interface MiddlewarePaymentService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SCAPaymentResponseTOauthorizeCancelPayment(ScaInfoTO scaInfoTO, String paymentId)SCAPaymentResponseTOauthorizePayment(ScaInfoTO scaInfoTO, String paymentId)PROC: 02cSCAPaymentResponseTOexecutePayment(ScaInfoTO scaInfoTO, String paymentId)Executes a paymentPaymentTOgetPaymentById(String paymentId)Reads and return a payment.TransactionStatusTOgetPaymentStatusById(String paymentId)PROC: 04List<PaymentTO>getPendingPeriodicPayments(ScaInfoTO scaInfoTO)CustomPageImpl<PaymentTO>getPendingPeriodicPaymentsPaged(ScaInfoTO scaInfo, CustomPageableImpl pageable)SCAPaymentResponseTOinitiatePayment(ScaInfoTO scaInfoTO, PaymentTO payment)PROC:01 Initiates a payment.SCAPaymentResponseTOinitiatePaymentCancellation(ScaInfoTO scaInfoTO, String paymentId)Checks the possibility of payment cancellation
-
-
-
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)
-
-