Model
PaymentConfigSmartButtons
Magento\PaymentServicesPaypal\Model\Api\Data\PaymentConfigSmartButtons
What it does
This model manages configuration data for PayPal Smart Buttons in Magento 2, storing display settings and styling options for both payment buttons and promotional messages.
Developers use this class when configuring PayPal Smart Buttons checkout experience, including whether to display Venmo options, payment messages, and customizing button/message appearance through style configurations.
Public Methods
- hasDisplayMessage()
- setHasDisplayMessage()
- hasDisplayVenmo()
- setHasDisplayVenmo()
- getMessageStyles()
- setMessageStyles()
- getButtonStyles()
- setButtonStyles()