How is Magento\Vault\Api\PaymentTokenManagementInterface::getByPaymentId() implemented and used?

Interface

Implementation

Usages

1. Magento\Vault\Model\Ui\Adminhtml\TokensConfigProvider::getPaymentTokenEntityId()

2. Magento\Vault\Plugin\PaymentVaultAttributesLoad::afterGetExtensionAttributes