@Service public class DecoupledPisScaAuthorisationService extends Object implements PisScaAuthorisationService
| Constructor and Description |
|---|
DecoupledPisScaAuthorisationService() |
| Modifier and Type | Method and Description |
|---|---|
Optional<Xs2aCreatePisAuthorisationResponse> |
createCommonPaymentAuthorisation(String paymentId,
de.adorsys.psd2.xs2a.core.profile.PaymentType paymentType,
de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData)
Creates authorisation for a payment
|
Optional<Xs2aCreatePisCancellationAuthorisationResponse> |
createCommonPaymentCancellationAuthorisation(String paymentId,
de.adorsys.psd2.xs2a.core.profile.PaymentType paymentType,
de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData)
Creates authorisation cancellation for the payment
|
Optional<de.adorsys.psd2.xs2a.core.sca.ScaStatus> |
getAuthorisationScaStatus(String paymentId,
String authorisationId)
Gets SCA status of authorisation
|
Optional<Xs2aAuthorisationSubResources> |
getAuthorisationSubResources(String paymentId)
Gets authorisation sub resources
|
Optional<de.adorsys.psd2.xs2a.core.sca.ScaStatus> |
getCancellationAuthorisationScaStatus(String paymentId,
String cancellationId)
Gets SCA status of cancellation authorisation
|
Optional<Xs2aPaymentCancellationAuthorisationSubResource> |
getCancellationAuthorisationSubResources(String paymentId)
Gets authorisation cancellation sub resources
|
de.adorsys.psd2.xs2a.core.profile.ScaApproach |
getScaApproachServiceType()
Gets SCA approach used in current service
|
void |
updateAuthorisation(UpdateAuthorisationRequest request,
AuthorisationProcessorResponse response) |
void |
updateCancellationAuthorisation(UpdateAuthorisationRequest request,
AuthorisationProcessorResponse response) |
Xs2aUpdatePisCommonPaymentPsuDataResponse |
updateCommonPaymentCancellationPsuData(Xs2aUpdatePisCommonPaymentPsuDataRequest request)
Updates cancellation authorisation for the payment
|
Xs2aUpdatePisCommonPaymentPsuDataResponse |
updateCommonPaymentPsuData(Xs2aUpdatePisCommonPaymentPsuDataRequest request)
Updates authorisation for the payment
|
public Optional<Xs2aCreatePisAuthorisationResponse> createCommonPaymentAuthorisation(String paymentId, de.adorsys.psd2.xs2a.core.profile.PaymentType paymentType, de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData)
PisScaAuthorisationServicecreateCommonPaymentAuthorisation in interface PisScaAuthorisationServicepaymentId - ASPSP identifier of a paymentpaymentType - Type of paymentpsuData - PsuIdData container of authorisation data about PSUpublic Xs2aUpdatePisCommonPaymentPsuDataResponse updateCommonPaymentPsuData(Xs2aUpdatePisCommonPaymentPsuDataRequest request)
PisScaAuthorisationServiceupdateCommonPaymentPsuData in interface PisScaAuthorisationServicerequest - Provides transporting data when updating consent psu datapublic void updateAuthorisation(UpdateAuthorisationRequest request, AuthorisationProcessorResponse response)
updateAuthorisation in interface PisScaAuthorisationServicepublic void updateCancellationAuthorisation(UpdateAuthorisationRequest request, AuthorisationProcessorResponse response)
updateCancellationAuthorisation in interface PisScaAuthorisationServicepublic Optional<Xs2aCreatePisCancellationAuthorisationResponse> createCommonPaymentCancellationAuthorisation(String paymentId, de.adorsys.psd2.xs2a.core.profile.PaymentType paymentType, de.adorsys.psd2.xs2a.core.psu.PsuIdData psuData)
PisScaAuthorisationServicecreateCommonPaymentCancellationAuthorisation in interface PisScaAuthorisationServicepaymentId - ASPSP identifier of a paymentpaymentType - Type of paymentpsuData - PsuIdData container of authorisation data about PSUpublic Optional<Xs2aPaymentCancellationAuthorisationSubResource> getCancellationAuthorisationSubResources(String paymentId)
PisScaAuthorisationServicegetCancellationAuthorisationSubResources in interface PisScaAuthorisationServicepaymentId - ASPSP identifier of a paymentpublic Xs2aUpdatePisCommonPaymentPsuDataResponse updateCommonPaymentCancellationPsuData(Xs2aUpdatePisCommonPaymentPsuDataRequest request)
PisScaAuthorisationServiceupdateCommonPaymentCancellationPsuData in interface PisScaAuthorisationServicerequest - Provides transporting data when updating payment psu datapublic Optional<Xs2aAuthorisationSubResources> getAuthorisationSubResources(String paymentId)
PisScaAuthorisationServicegetAuthorisationSubResources in interface PisScaAuthorisationServicepaymentId - ASPSP identifier of a paymentpublic Optional<de.adorsys.psd2.xs2a.core.sca.ScaStatus> getAuthorisationScaStatus(String paymentId, String authorisationId)
PisScaAuthorisationServicegetAuthorisationScaStatus in interface PisScaAuthorisationServicepaymentId - ASPSP identifier of the payment, associated with the authorisationauthorisationId - authorisation identifierpublic Optional<de.adorsys.psd2.xs2a.core.sca.ScaStatus> getCancellationAuthorisationScaStatus(String paymentId, String cancellationId)
PisScaAuthorisationServicegetCancellationAuthorisationScaStatus in interface PisScaAuthorisationServicepaymentId - ASPSP identifier of the payment, associated with the authorisationcancellationId - cancellation authorisation identifierpublic de.adorsys.psd2.xs2a.core.profile.ScaApproach getScaApproachServiceType()
ScaApproachServiceTypeProvidergetScaApproachServiceType in interface ScaApproachServiceTypeProviderCopyright © 2020. All rights reserved.