@Service public class DecoupledPisScaAuthorisationService extends Object implements PisScaAuthorisationService
| Constructor and Description |
|---|
DecoupledPisScaAuthorisationService() |
public Optional<Xs2aCreatePisAuthorisationResponse> createCommonPaymentAuthorisation(String paymentId, PaymentType paymentType, 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 Optional<Xs2aCreatePisCancellationAuthorisationResponse> createCommonPaymentCancellationAuthorisation(String paymentId, PaymentType paymentType, 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<ScaStatus> getAuthorisationScaStatus(String paymentId, String authorisationId)
PisScaAuthorisationServicegetAuthorisationScaStatus in interface PisScaAuthorisationServicepaymentId - ASPSP identifier of the payment, associated with the authorisationauthorisationId - authorisation identifierpublic Optional<ScaStatus> getCancellationAuthorisationScaStatus(String paymentId, String cancellationId)
PisScaAuthorisationServicegetCancellationAuthorisationScaStatus in interface PisScaAuthorisationServicepaymentId - ASPSP identifier of the payment, associated with the authorisationcancellationId - cancellation authorisation identifierpublic ScaApproach getScaApproachServiceType()
ScaApproachServiceTypeProvidergetScaApproachServiceType in interface ScaApproachServiceTypeProviderCopyright © 2019. All rights reserved.