@Service public class CancelPaymentService extends Object
| Constructor and Description |
|---|
CancelPaymentService() |
| Modifier and Type | Method and Description |
|---|---|
ResponseObject<CancelPaymentResponse> |
initiatePaymentCancellation(SpiPayment payment,
String encryptedPaymentId,
Boolean tppExplicitAuthorisationPreferred,
TppRedirectUri tppRedirectUri)
Cancels payment with or without performing strong customer authentication
|
public ResponseObject<CancelPaymentResponse> initiatePaymentCancellation(SpiPayment payment, String encryptedPaymentId, Boolean tppExplicitAuthorisationPreferred, TppRedirectUri tppRedirectUri)
payment - Payment to be cancelledencryptedPaymentId - encrypted identifier of the paymenttppExplicitAuthorisationPreferred - value of TPP's choice of authorisation methodtppRedirectUri - TPP's redirect URIsCopyright © 2019. All rights reserved.