Interface PisScaAuthorisationService
-
- All Superinterfaces:
ScaApproachServiceTypeProvider
- All Known Implementing Classes:
DecoupledPisScaAuthorisationService,EmbeddedPisScaAuthorisationService,OauthPisScaAuthorisationService,RedirectPisScaAuthorisationService
public interface PisScaAuthorisationService extends ScaApproachServiceTypeProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 paymentOptional<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 paymentOptional<de.adorsys.psd2.xs2a.core.sca.ScaStatus>getAuthorisationScaStatus(String paymentId, String authorisationId)Gets SCA status of authorisationOptional<Xs2aAuthorisationSubResources>getAuthorisationSubResources(String paymentId)Gets authorisation sub resourcesOptional<de.adorsys.psd2.xs2a.core.sca.ScaStatus>getCancellationAuthorisationScaStatus(String paymentId, String cancellationId)Gets SCA status of cancellation authorisationOptional<Xs2aPaymentCancellationAuthorisationSubResource>getCancellationAuthorisationSubResources(String paymentId)Gets authorisation cancellation sub resourcesvoidupdateAuthorisation(UpdateAuthorisationRequest request, AuthorisationProcessorResponse response)voidupdateCancellationAuthorisation(UpdateAuthorisationRequest request, AuthorisationProcessorResponse response)Xs2aUpdatePisCommonPaymentPsuDataResponseupdateCommonPaymentCancellationPsuData(Xs2aUpdatePisCommonPaymentPsuDataRequest request)Updates cancellation authorisation for the paymentXs2aUpdatePisCommonPaymentPsuDataResponseupdateCommonPaymentPsuData(Xs2aUpdatePisCommonPaymentPsuDataRequest request)Updates authorisation for the payment-
Methods inherited from interface de.adorsys.psd2.xs2a.service.authorization.ScaApproachServiceTypeProvider
getScaApproachServiceType
-
-
-
-
Method Detail
-
createCommonPaymentAuthorisation
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- Parameters:
paymentId- ASPSP identifier of a paymentpaymentType- Type of paymentpsuData- PsuIdData container of authorisation data about PSU- Returns:
- create payment authorisation response
-
updateCommonPaymentPsuData
Xs2aUpdatePisCommonPaymentPsuDataResponse updateCommonPaymentPsuData(Xs2aUpdatePisCommonPaymentPsuDataRequest request)
Updates authorisation for the payment- Parameters:
request- Provides transporting data when updating consent psu data- Returns:
- update payment authorisation response
-
updateAuthorisation
void updateAuthorisation(UpdateAuthorisationRequest request, AuthorisationProcessorResponse response)
-
updateCancellationAuthorisation
void updateCancellationAuthorisation(UpdateAuthorisationRequest request, AuthorisationProcessorResponse response)
-
createCommonPaymentCancellationAuthorisation
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- Parameters:
paymentId- ASPSP identifier of a paymentpaymentType- Type of paymentpsuData- PsuIdData container of authorisation data about PSU- Returns:
- create payment cancellation authorisation response
-
getCancellationAuthorisationSubResources
Optional<Xs2aPaymentCancellationAuthorisationSubResource> getCancellationAuthorisationSubResources(String paymentId)
Gets authorisation cancellation sub resources- Parameters:
paymentId- ASPSP identifier of a payment- Returns:
- authorisation cancellation sub resources
-
updateCommonPaymentCancellationPsuData
Xs2aUpdatePisCommonPaymentPsuDataResponse updateCommonPaymentCancellationPsuData(Xs2aUpdatePisCommonPaymentPsuDataRequest request)
Updates cancellation authorisation for the payment- Parameters:
request- Provides transporting data when updating payment psu data- Returns:
- update consent authorisation response
-
getAuthorisationSubResources
Optional<Xs2aAuthorisationSubResources> getAuthorisationSubResources(String paymentId)
Gets authorisation sub resources- Parameters:
paymentId- ASPSP identifier of a payment- Returns:
- authorisation sub resources
-
getAuthorisationScaStatus
Optional<de.adorsys.psd2.xs2a.core.sca.ScaStatus> getAuthorisationScaStatus(String paymentId, String authorisationId)
Gets SCA status of authorisation- Parameters:
paymentId- ASPSP identifier of the payment, associated with the authorisationauthorisationId- authorisation identifier- Returns:
- SCA status
-
getCancellationAuthorisationScaStatus
Optional<de.adorsys.psd2.xs2a.core.sca.ScaStatus> getCancellationAuthorisationScaStatus(String paymentId, String cancellationId)
Gets SCA status of cancellation authorisation- Parameters:
paymentId- ASPSP identifier of the payment, associated with the authorisationcancellationId- cancellation authorisation identifier- Returns:
- SCA status
-
-