Keeping up with recent changes in Drupal core.
Issue #2333591 by Xano: Added Payment method configuration entities should implement \Drupal\Core\Config\Entity\ThirdPartySettingsInterface.