Class GetPaymentByIdValidator

    • Constructor Detail

      • GetPaymentByIdValidator

        public GetPaymentByIdValidator​(OauthPaymentValidator oauthPaymentValidator)
    • Method Detail

      • executeBusinessValidation

        protected de.adorsys.psd2.xs2a.core.service.validator.ValidationResult executeBusinessValidation​(GetPaymentByIdPO paymentObject)
        Validates get payment by ID request by checking whether:
        • given payment's type and product are valid for the payment
        Specified by:
        executeBusinessValidation in class AbstractPisValidator<GetPaymentByIdPO>
        Parameters:
        paymentObject - payment information object
        Returns:
        valid result if the payment is valid, invalid result with appropriate error otherwise