@Service public class PisAuthorisationService extends Object
| Constructor and Description |
|---|
PisAuthorisationService() |
public CreatePisAuthorisationResponse createPisAuthorisation(String paymentId, PsuIdData psuData)
paymentId - String representation of identifier of stored paymentpsuData - PsuIdData container of authorisation data about PSUpublic Xs2aUpdatePisCommonPaymentPsuDataResponse updatePisAuthorisation(Xs2aUpdatePisCommonPaymentPsuDataRequest request, ScaApproach scaApproach)
request - Provides transporting data when updating pis authorisationscaApproach - current SCA approach, preferred by the serverpublic Xs2aUpdatePisCommonPaymentPsuDataResponse updatePisCancellationAuthorisation(Xs2aUpdatePisCommonPaymentPsuDataRequest request, ScaApproach scaApproach)
request - Provides transporting data when updating pis cancellation authorisationscaApproach - current SCA approach, preferred by the serverpublic void doUpdatePisAuthorisation(UpdatePisCommonPaymentPsuDataRequest request)
public void doUpdatePisCancellationAuthorisation(UpdatePisCommonPaymentPsuDataRequest request)
public CreatePisAuthorisationResponse createPisAuthorisationCancellation(String paymentId, PsuIdData psuData)
paymentId - String representation of identifier of payment IDpsuData - PsuIdData container of authorisation data about PSUpublic Optional<List<String>> getCancellationAuthorisationSubResources(String paymentId)
paymentId - String representation of identifier of payment IDpublic Optional<List<String>> getAuthorisationSubResources(String paymentId)
paymentId - String representation of identifier of payment IDpublic Optional<ScaStatus> getAuthorisationScaStatus(String paymentId, String authorisationId)
paymentId - String representation of the payment identifierauthorisationId - String representation of the authorisation identifierpublic Optional<ScaStatus> getCancellationAuthorisationScaStatus(String paymentId, String cancellationId)
paymentId - String representation of the payment identifiercancellationId - String representation of the cancellation authorisation identifierpublic Optional<AuthorisationScaApproachResponse> getAuthorisationScaApproach(String authorisationId, PaymentAuthorisationType authorisationType)
authorisationId - String representation of the authorisation identifierauthorisationType - Type of authorisationpublic void updateAuthorisation(UpdateAuthorisationRequest request, AuthorisationProcessorResponse response)
public void updateCancellationAuthorisation(UpdateAuthorisationRequest request, AuthorisationProcessorResponse response)
Copyright © 2019. All rights reserved.