public interface PisAuthorisationServiceBase
| Modifier and Type | Method and Description |
|---|---|
Optional<CreatePisAuthorisationResponse> |
createAuthorization(String paymentId,
CreatePisAuthorisationRequest request)
Creates payment authorization
|
Optional<CreatePisAuthorisationResponse> |
createAuthorizationCancellation(String paymentId,
CreatePisAuthorisationRequest pisAuthorisationRequest)
Creates payment authorization cancellation
|
Optional<List<String>> |
getAuthorisationsByPaymentId(String paymentId,
de.adorsys.psd2.xs2a.core.pis.PaymentAuthorisationType authorisationType)
Gets list of payment authorisation IDs by payment ID and authorisation type
|
Optional<de.adorsys.psd2.xs2a.core.sca.AuthorisationScaApproachResponse> |
getAuthorisationScaApproach(String authorisationId,
de.adorsys.psd2.xs2a.core.pis.PaymentAuthorisationType authorisationType)
Gets SCA approach from the authorisation by authorisation ID and authorisation type
|
Optional<de.adorsys.psd2.xs2a.core.sca.ScaStatus> |
getAuthorisationScaStatus(String paymentId,
String authorisationId,
de.adorsys.psd2.xs2a.core.pis.PaymentAuthorisationType authorisationType)
Gets SCA status of the authorisation by payment ID, authorisation ID and authorisation type
|
Optional<GetPisAuthorisationResponse> |
getPisAuthorisationById(String authorisationId)
Get information about Authorisation by authorisation identifier
|
Optional<GetPisAuthorisationResponse> |
getPisCancellationAuthorisationById(String cancellationId)
Get information about Authorisation by cancellation identifier
|
boolean |
isAuthenticationMethodDecoupled(String authorisationId,
String authenticationMethodId)
Checks if requested authentication method is decoupled.
|
boolean |
saveAuthenticationMethods(String authorisationId,
List<CmsScaMethod> methods)
Saves authentication methods in provided authorisation
|
Optional<UpdatePisCommonPaymentPsuDataResponse> |
updatePisAuthorisation(String authorisationId,
UpdatePisCommonPaymentPsuDataRequest request)
Updates payment authorization
|
boolean |
updatePisAuthorisationStatus(String authorisationId,
de.adorsys.psd2.xs2a.core.sca.ScaStatus scaStatus)
Updates a specific payment authorisation's status
|
Optional<UpdatePisCommonPaymentPsuDataResponse> |
updatePisCancellationAuthorisation(String authorizationId,
UpdatePisCommonPaymentPsuDataRequest request)
Updates payment cancellation authorization
|
boolean |
updateScaApproach(String authorisationId,
de.adorsys.psd2.xs2a.core.profile.ScaApproach scaApproach)
Updates pis sca approach
|
Optional<CreatePisAuthorisationResponse> createAuthorization(String paymentId, CreatePisAuthorisationRequest request)
paymentId - String representation of the payment identifierrequest - PIS authorisation requestOptional<CreatePisAuthorisationResponse> createAuthorizationCancellation(String paymentId, CreatePisAuthorisationRequest pisAuthorisationRequest)
paymentId - String representation of the payment identifierpisAuthorisationRequest - PIS authorisation requestOptional<UpdatePisCommonPaymentPsuDataResponse> updatePisAuthorisation(String authorisationId, UpdatePisCommonPaymentPsuDataRequest request)
authorisationId - String representation of the authorisation identifierrequest - Incoming request for updating authorizationboolean updatePisAuthorisationStatus(String authorisationId, de.adorsys.psd2.xs2a.core.sca.ScaStatus scaStatus)
authorisationId - String representation of the authorisation identifierscaStatus - The to be updated statusOptional<UpdatePisCommonPaymentPsuDataResponse> updatePisCancellationAuthorisation(String authorizationId, UpdatePisCommonPaymentPsuDataRequest request)
authorizationId - String representation of the authorisation identifierrequest - Incoming request for updating authorizationOptional<GetPisAuthorisationResponse> getPisAuthorisationById(String authorisationId)
authorisationId - String representation of the authorisation identifierOptional<GetPisAuthorisationResponse> getPisCancellationAuthorisationById(String cancellationId)
cancellationId - String representation of the cancellation identifierOptional<List<String>> getAuthorisationsByPaymentId(String paymentId, de.adorsys.psd2.xs2a.core.pis.PaymentAuthorisationType authorisationType)
paymentId - String representation of the payment identifierauthorisationType - Type of authorisationOptional<de.adorsys.psd2.xs2a.core.sca.ScaStatus> getAuthorisationScaStatus(String paymentId, String authorisationId, de.adorsys.psd2.xs2a.core.pis.PaymentAuthorisationType authorisationType)
paymentId - String representation of the payment identifierauthorisationId - String representation of the authorisation identifierauthorisationType - Type of authorisationboolean isAuthenticationMethodDecoupled(String authorisationId, String authenticationMethodId)
authorisationId - String representation of the authorisation identifierauthenticationMethodId - String representation of the available authentication method identifiertrue, if authentication method is decoupled and false otherwise.boolean saveAuthenticationMethods(String authorisationId, List<CmsScaMethod> methods)
authorisationId - String representation of the authorisation identifiermethods - List of authentication methods to be savedtrue if authorisation was found and updated, false otherwiseboolean updateScaApproach(String authorisationId, de.adorsys.psd2.xs2a.core.profile.ScaApproach scaApproach)
authorisationId - String representation of the authorisation identifierscaApproach - chosen sca approachtrue if authorisation was found and sca approach updated, false otherwiseOptional<de.adorsys.psd2.xs2a.core.sca.AuthorisationScaApproachResponse> getAuthorisationScaApproach(String authorisationId, de.adorsys.psd2.xs2a.core.pis.PaymentAuthorisationType authorisationType)
authorisationId - String representation of the authorisation identifierauthorisationType - Type of authorisationCopyright © 2020. All rights reserved.