@Service public class Xs2aPisCommonPaymentService extends Object
| Constructor and Description |
|---|
Xs2aPisCommonPaymentService() |
public CreatePisCommonPaymentResponse createCommonPayment(PaymentInitiationParameters parameters, TppInfo tppInfo)
parameters - Payment request parameters to get needed payment infotppInfo - information about TPPpublic CreatePisCommonPaymentResponse createCommonPayment(PisPaymentInfo request)
public CreatePisCommonPaymentResponse createCommonPayment(PaymentInitiationParameters parameters, TppInfo tppInfo, byte[] paymentData)
public Optional<PisCommonPaymentResponse> getPisCommonPaymentById(String paymentId)
public void updateSinglePaymentInCommonPayment(SinglePayment singlePayment, PaymentInitiationParameters paymentInitiationParameters, String paymentId)
public void updatePeriodicPaymentInCommonPayment(PeriodicPayment periodicPayment, PaymentInitiationParameters paymentInitiationParameters, String paymentId)
public void updateBulkPaymentInCommonPayment(BulkPayment bulkPayment, PaymentInitiationParameters paymentInitiationParameters, String paymentId)
public boolean isAuthenticationMethodDecoupled(String authorisationId, String authenticationMethodId)
authorisationId - String representation of the authorisation identifierauthenticationMethodId - String representation of the available authentication method identifiertrue, if authentication method is decoupled and false otherwise.public boolean saveAuthenticationMethods(String authorisationId, List<Xs2aAuthenticationObject> methods)
authorisationId - String representation of the authorisation identifiermethods - List of authentication methods to be savedtrue if authorisation was found and updated, false otherwisepublic void updateScaApproach(String authorisationId, ScaApproach scaApproach)
authorisationId - String representation of the authorisation identifierscaApproach - sca approachCopyright © 2019. All rights reserved.