Model
PaymentTokenRepository
Magento\Vault\Model\PaymentTokenRepository
What it does
This repository class manages CRUD operations for payment tokens in Magento's Vault system, which stores customer payment information for reuse.
Developers use this class to retrieve, save, or delete stored payment tokens, such as saved credit cards, and to search for tokens using various criteria.
The delete method marks tokens as inactive rather than permanently removing them.
Public Methods
- getList()
- getById()
- delete()
- save()