@Service public class CancelPaymentService extends Object
| Constructor and Description |
|---|
CancelPaymentService() |
| Modifier and Type | Method and 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
|
public ResponseObject<CancelPaymentResponse> initiatePaymentCancellation(de.adorsys.psd2.xs2a.spi.service.SpiPayment payment, String encryptedPaymentId, Boolean tppExplicitAuthorisationPreferred, de.adorsys.psd2.xs2a.core.tpp.TppRedirectUri tppRedirectUri)
payment - Payment to be cancelledencryptedPaymentId - encrypted identifier of the paymenttppExplicitAuthorisationPreferred - value of TPP's choice of authorisation methodtppRedirectUri - TPP's redirect URIsCopyright © 2020. All rights reserved.