@kayue Typehint on `Sylius\Component\Payment\Model\PaymentInterface` then in method check if `instanceof Sylius\Component\Core\Model\PaymentInterface` and throw `UnexpectedTypeException` if not.