Interface AuthorisationProcessorService
-
- All Known Implementing Classes:
AisAuthorisationProcessorServiceImpl,PisAuthorisationProcessorServiceImpl,PisCancellationAuthorisationProcessorServiceImpl
public interface AuthorisationProcessorServiceImplementations of this interface contain the business logic, needed to perform embedded and decoupled SCA
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthorisationProcessorResponsedoScaExempted(AuthorisationProcessorRequest request)Contains business logic to perform at the `exempted` status of authorisationAuthorisationProcessorResponsedoScaFailed(AuthorisationProcessorRequest request)Contains business logic to perform at the `failed` status of authorisationAuthorisationProcessorResponsedoScaFinalised(AuthorisationProcessorRequest request)Contains business logic to perform at the `finalised` status of authorisationAuthorisationProcessorResponsedoScaMethodSelected(AuthorisationProcessorRequest request)Contains business logic to perform at the `scaMethodSelected` status of authorisationAuthorisationProcessorResponsedoScaPsuAuthenticated(AuthorisationProcessorRequest request)Contains business logic to perform at the `psuAuthenticated` status of authorisationAuthorisationProcessorResponsedoScaPsuIdentified(AuthorisationProcessorRequest request)Contains business logic to perform at the `psuIdentified` status of authorisationAuthorisationProcessorResponsedoScaReceived(AuthorisationProcessorRequest request)Contains business logic to perform at the `received` status of authorisationAuthorisationProcessorResponsedoScaStarted(AuthorisationProcessorRequest request)Contains business logic to perform at the `started` status of authorisationvoidupdateAuthorisation(AuthorisationProcessorRequest request, AuthorisationProcessorResponse response)Updates authorisation in the CMS after each successful authorisation step execution
-
-
-
Method Detail
-
updateAuthorisation
void updateAuthorisation(AuthorisationProcessorRequest request, AuthorisationProcessorResponse response)
Updates authorisation in the CMS after each successful authorisation step execution- Parameters:
request- the request object, containing incoming data from controller and authorisation data from CMSresponse-AuthorisationProcessorResponsethe response object
-
doScaReceived
AuthorisationProcessorResponse doScaReceived(AuthorisationProcessorRequest request)
Contains business logic to perform at the `received` status of authorisation- Parameters:
request- the request object, containing incoming data from controller and authorisation data from CMS- Returns:
- the result object, containing the successful result of authorisation or the error response
-
doScaPsuIdentified
AuthorisationProcessorResponse doScaPsuIdentified(AuthorisationProcessorRequest request)
Contains business logic to perform at the `psuIdentified` status of authorisation- Parameters:
request- the request object, containing incoming data from controller and authorisation data from CMS- Returns:
- the result object, containing the successful result of authorisation or the error response
-
doScaPsuAuthenticated
AuthorisationProcessorResponse doScaPsuAuthenticated(AuthorisationProcessorRequest request)
Contains business logic to perform at the `psuAuthenticated` status of authorisation- Parameters:
request- the request object, containing incoming data from controller and authorisation data from CMS- Returns:
- the result object, containing the successful result of authorisation or the error response
-
doScaMethodSelected
AuthorisationProcessorResponse doScaMethodSelected(AuthorisationProcessorRequest request)
Contains business logic to perform at the `scaMethodSelected` status of authorisation- Parameters:
request- the request object, containing incoming data from controller and authorisation data from CMS- Returns:
- the result object, containing the successful result of authorisation or the error response
-
doScaStarted
AuthorisationProcessorResponse doScaStarted(AuthorisationProcessorRequest request)
Contains business logic to perform at the `started` status of authorisation- Parameters:
request- the request object, containing incoming data from controller and authorisation data from CMS- Returns:
- the result object, containing the successful result of authorisation or the error response
-
doScaFinalised
AuthorisationProcessorResponse doScaFinalised(AuthorisationProcessorRequest request)
Contains business logic to perform at the `finalised` status of authorisation- Parameters:
request- the request object, containing incoming data from controller and authorisation data from CMS- Returns:
- the result object, containing the successful result of authorisation or the error response
-
doScaFailed
AuthorisationProcessorResponse doScaFailed(AuthorisationProcessorRequest request)
Contains business logic to perform at the `failed` status of authorisation- Parameters:
request- the request object, containing incoming data from controller and authorisation data from CMS- Returns:
- the result object, containing the successful result of authorisation or the error response
-
doScaExempted
AuthorisationProcessorResponse doScaExempted(AuthorisationProcessorRequest request)
Contains business logic to perform at the `exempted` status of authorisation- Parameters:
request- the request object, containing incoming data from controller and authorisation data from CMS- Returns:
- the result object, containing the successful result of authorisation or the error response
-
-