Model
VaultTokenFormatter
Magento\PaymentServicesPaypal\Model\Vault\VaultTokenFormatter
What it does
This class transforms raw payment token data from PayPal's vault API into structured data objects that Magento 2 can use.
Developers use this when processing stored credit card information (vault tokens) to convert the API response into typed objects containing card details, billing address, and cardholder information for display or processing.
Public Methods
- buildVaultPaymentSourceDetails()