Interface PisScaAuthorisationService
-
- All Superinterfaces:
ScaApproachServiceTypeProvider
- All Known Implementing Classes:
AbstractPisScaAuthorisationService,DecoupledPisScaAuthorisationService,EmbeddedPisScaAuthorisationService,RedirectPisScaAuthorisationService
public interface PisScaAuthorisationService extends ScaApproachServiceTypeProvider
-
-
Method Summary
-
Methods inherited from interface de.adorsys.psd2.xs2a.service.authorization.ScaApproachServiceTypeProvider
getScaApproachServiceType
-
-
-
-
Method Detail
-
createCommonPaymentAuthorisation
Optional<Xs2aCreatePisAuthorisationResponse> createCommonPaymentAuthorisation(Xs2aCreateAuthorisationRequest createAuthorisationRequest, de.adorsys.psd2.xs2a.core.profile.PaymentType paymentType)
Creates authorisation for a payment- Parameters:
createAuthorisationRequest- create authorisation requestpaymentType- Type of payment- Returns:
- create payment authorisation response
-
updateCommonPaymentPsuData
Xs2aUpdatePisCommonPaymentPsuDataResponse updateCommonPaymentPsuData(PaymentAuthorisationParameters request)
Updates authorisation for the payment- Parameters:
request- Provides transporting data when updating consent psu data- Returns:
- update payment authorisation response
-
updateAuthorisation
void updateAuthorisation(CommonAuthorisationParameters request, AuthorisationProcessorResponse response)
-
updateCancellationAuthorisation
void updateCancellationAuthorisation(CommonAuthorisationParameters request, AuthorisationProcessorResponse response)
-
createCommonPaymentCancellationAuthorisation
Optional<Xs2aCreatePisCancellationAuthorisationResponse> createCommonPaymentCancellationAuthorisation(Xs2aCreateAuthorisationRequest createAuthorisationRequest, de.adorsys.psd2.xs2a.core.profile.PaymentType paymentType)
Creates authorisation cancellation for the payment- Parameters:
createAuthorisationRequest- create Authorisation RequestpaymentType- Type of payment- 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(PaymentAuthorisationParameters 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 authorisationId)
Gets SCA status of cancellation authorisation- Parameters:
paymentId- ASPSP identifier of the payment, associated with the authorisationauthorisationId- authorisation identifier- Returns:
- SCA status
-
-