public interface MiddlewarePaymentService
<T> SCAPaymentResponseTO initiatePayment(ScaInfoTO scaInfoTO, T payment, PaymentTypeTO paymentType)
This call sets the status RCVD
scaInfoTO - : SCA informationpayment - : the payment objectpaymentType - : the payment typeSCAPaymentResponseTO authorizePayment(ScaInfoTO scaInfoTO, String paymentId)
This is called when the user enters the received code.
scaInfoTO - : SCA informationpaymentId - : the payment idTransactionStatusTO getPaymentStatusById(String paymentId)
Read the status of a payment. Can be called repetitively after initiation of a payment.
paymentId - : the payment idObject getPaymentById(String paymentId)
paymentId - : the payment idSCAPaymentResponseTO initiatePaymentCancellation(ScaInfoTO scaInfoTO, String paymentId)
scaInfoTO - : SCA informationpaymentId - : the payment idSCAPaymentResponseTO loadSCAForPaymentData(ScaInfoTO scaInfoTO, String paymentId)
SCAPaymentResponseTO selectSCAMethodForPayment(ScaInfoTO scaInfoTO, String paymentId)
SCAPaymentResponseTO loadSCAForCancelPaymentData(ScaInfoTO scaInfoTO, String paymentId, String cancellationId)
SCAPaymentResponseTO selectSCAMethodForCancelPayment(ScaInfoTO scaInfoTO, String paymentId, String cancellationId)
SCAPaymentResponseTO authorizeCancelPayment(ScaInfoTO scaInfoTO, String paymentId, String cancellationId)
Copyright © 2019. All rights reserved.