@Service public class PaymentCancellationAuthorisationServiceImpl extends Object implements PaymentCancellationAuthorisationService
| Constructor and Description |
|---|
PaymentCancellationAuthorisationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ResponseObject<Xs2aCreatePisCancellationAuthorisationResponse> |
createPisCancellationAuthorization(String paymentId,
PsuIdData psuData,
PaymentType paymentType,
String paymentProduct)
Creates authorisation for payment cancellation request if given psu data is valid
|
ResponseObject<ScaStatus> |
getPaymentCancellationAuthorisationScaStatus(String paymentId,
String authorisationId)
Gets SCA status of payment cancellation authorisation
|
ResponseObject<Xs2aPaymentCancellationAuthorisationSubResource> |
getPaymentInitiationCancellationAuthorisationInformation(String paymentId)
Gets list of cancellation identifiers
|
ResponseObject<Xs2aUpdatePisCommonPaymentPsuDataResponse> |
updatePisCancellationPsuData(Xs2aUpdatePisCommonPaymentPsuDataRequest request)
Update psu data for payment cancellation request if psu data and password are valid
|
public PaymentCancellationAuthorisationServiceImpl()
public ResponseObject<Xs2aCreatePisCancellationAuthorisationResponse> createPisCancellationAuthorization(String paymentId, PsuIdData psuData, PaymentType paymentType, String paymentProduct)
createPisCancellationAuthorization in interface PaymentCancellationAuthorisationServicepaymentId - String representation of payment identificationpsuData - Contains authorisation data about PSUpaymentType - Payment type supported by aspsppaymentProduct - payment product used for payment creation (e.g. sepa-credit-transfers, instant-sepa-credit-transfers...)public ResponseObject<Xs2aUpdatePisCommonPaymentPsuDataResponse> updatePisCancellationPsuData(Xs2aUpdatePisCommonPaymentPsuDataRequest request)
updatePisCancellationPsuData in interface PaymentCancellationAuthorisationServicerequest - update psu data request, which contains paymentId, authorisationId, psuData, password, authenticationMethodId, scaStatus, paymentService and scaAuthenticationDatapublic ResponseObject<Xs2aPaymentCancellationAuthorisationSubResource> getPaymentInitiationCancellationAuthorisationInformation(String paymentId)
getPaymentInitiationCancellationAuthorisationInformation in interface PaymentCancellationAuthorisationServicepaymentId - ASPSP identifier of the payment, associated with the authorisationpublic ResponseObject<ScaStatus> getPaymentCancellationAuthorisationScaStatus(String paymentId, String authorisationId)
getPaymentCancellationAuthorisationScaStatus in interface PaymentCancellationAuthorisationServicepaymentId - ASPSP identifier of the payment, associated with the authorisationauthorisationId - cancellation authorisation identifierCopyright © 2019. All rights reserved.