Repository
PaymentTokenRepositoryInterface
Magento\Vault\Api\PaymentTokenRepositoryInterface
What it does
This repository interface defines methods for managing stored payment tokens in Magento's Vault system, which securely stores customer payment information for future use.
Developers use this interface to retrieve, save, delete, or search for saved payment tokens (like credit cards or PayPal accounts) that customers have chosen to store for faster checkout.
Public Methods
- getList()
- getById()
- delete()
- save()