Class CancelPaymentService
- java.lang.Object
-
- de.adorsys.psd2.xs2a.service.payment.CancelPaymentService
-
@Service public class CancelPaymentService extends Object
-
-
Constructor Summary
Constructors Constructor Description CancelPaymentService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseObject<CancelPaymentResponse>initiatePaymentCancellation(de.adorsys.psd2.xs2a.spi.service.SpiPayment payment, String encryptedPaymentId, Boolean tppExplicitAuthorisationPreferred, de.adorsys.psd2.xs2a.core.tpp.TppRedirectUri tppRedirectUri)Cancels payment with or without performing strong customer authentication
-
-
-
Method Detail
-
initiatePaymentCancellation
public ResponseObject<CancelPaymentResponse> initiatePaymentCancellation(de.adorsys.psd2.xs2a.spi.service.SpiPayment payment, String encryptedPaymentId, Boolean tppExplicitAuthorisationPreferred, de.adorsys.psd2.xs2a.core.tpp.TppRedirectUri tppRedirectUri)
Cancels payment with or without performing strong customer authentication- Parameters:
payment- Payment to be cancelledencryptedPaymentId- encrypted identifier of the paymenttppExplicitAuthorisationPreferred- value of TPP's choice of authorisation methodtppRedirectUri- TPP's redirect URIs- Returns:
- Response containing information about cancelled payment or corresponding error
-
-