@Service public class PaymentAuthorisationServiceImpl extends Object implements PaymentAuthorisationService
| Constructor and Description |
|---|
PaymentAuthorisationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ResponseObject<Xs2aCreatePisAuthorisationResponse> |
createPisAuthorization(String paymentId,
PaymentType paymentType,
String paymentProduct,
PsuIdData psuData)
Creates authorisation for payment request if given psu data is valid
|
ResponseObject<Xs2aAuthorisationSubResources> |
getPaymentInitiationAuthorisations(String paymentId)
Gets authorisations for current payment
|
ResponseObject<ScaStatus> |
getPaymentInitiationAuthorisationScaStatus(String paymentId,
String authorisationId)
Gets SCA status of payment initiation authorisation
|
ResponseObject<Xs2aUpdatePisCommonPaymentPsuDataResponse> |
updatePisCommonPaymentPsuData(Xs2aUpdatePisCommonPaymentPsuDataRequest request)
Update psu data for payment request if psu data and password are valid
|
public ResponseObject<Xs2aCreatePisAuthorisationResponse> createPisAuthorization(String paymentId, PaymentType paymentType, String paymentProduct, PsuIdData psuData)
createPisAuthorization in interface PaymentAuthorisationServicepaymentId - String representation of payment identificationpsuData - Contains authorisation data about PSUpaymentType - Payment type supported by aspsppaymentProduct - payment product used for payment creation (e.g. sepa-credit-transfers, instant-sepa-credit-transfers...)public ResponseObject<Xs2aUpdatePisCommonPaymentPsuDataResponse> updatePisCommonPaymentPsuData(Xs2aUpdatePisCommonPaymentPsuDataRequest request)
updatePisCommonPaymentPsuData in interface PaymentAuthorisationServicerequest - update psu data request, which contains paymentId, authorisationId, psuData, password, authenticationMethodId, scaStatus, paymentService and scaAuthenticationDatapublic ResponseObject<Xs2aAuthorisationSubResources> getPaymentInitiationAuthorisations(String paymentId)
getPaymentInitiationAuthorisations in interface PaymentAuthorisationServicepaymentId - ASPSP identifier of the payment, associated with the authorisationpublic ResponseObject<ScaStatus> getPaymentInitiationAuthorisationScaStatus(String paymentId, String authorisationId)
getPaymentInitiationAuthorisationScaStatus in interface PaymentAuthorisationServicepaymentId - ASPSP identifier of the payment, associated with the authorisationauthorisationId - authorisation identifierCopyright © 2019. All rights reserved.