A payment method class should implement the \Magento\Payment\Model\MethodInterface

\Magento\Payment\Model\MethodInterface