class PaymentCancellationAspect {

    @AfterReturning(pointcut = "execution(* de.adorsys.psd2.xs2a.service.PaymentService.cancelPayment(..)) && args(paymentCancellationRequest)", returning = "result", argNames = "result,paymentCancellationRequest")
    public ResponseObject<CancelPaymentResponse> cancelPayment(ResponseObject<CancelPaymentResponse> result, PisPaymentCancellationRequest paymentCancellationRequest) {
        return paymentCancellationAspectService.cancelPayment(result, paymentCancellationRequest);
    }

    public  PaymentCancellationAspect(PaymentCancellationAspectService paymentCancellationAspectService);

}