Factory
AccountPaymentTokenFactory
Magento\Vault\Model\AccountPaymentTokenFactory
What it does
This factory class creates payment tokens specifically for account-based payment methods in Magento's Vault system.
Developers would use this when implementing payment methods that store account information (like bank accounts or e-wallets) rather than credit cards.
Note that this class is deprecated and should be replaced with PaymentTokenFactoryInterface.
Public Methods
- getType()