VaultCardDetails
Magento\PaymentServicesPaypal\Model\Api\Data\VaultCardDetails
What it does
This class represents the data structure for storing and managing vaulted (saved) credit card details in PayPal payment services.
Developers use this class to handle saved card information including brand, type, last four digits, expiry date, billing address, and cardholder name when implementing payment vault functionality.
It provides getter and setter methods for all card-related properties and supports JSON serialization for API responses.
Public Methods
- getBrand()
- setBrand()
- getType()
- setType()
- getLastDigits()
- setLastDigits()
- getExpiry()
- setExpiry()
- getBillingAddress()
- setBillingAddress()
- getCardholderName()
- setCardholderName()
- jsonSerialize()