Model
PaymentConfigButtonStyles
Magento\PaymentServicesPaypal\Model\Api\Data\PaymentConfigButtonStyles
What it does
This class is a data model that stores and manages the visual styling configuration for PayPal payment buttons in Magento 2.
Developers use this class to get and set button appearance properties like layout, color, shape, label, height, and tagline visibility when configuring PayPal payment buttons for their store's checkout or product pages.
Public Methods
- getLayout()
- setLayout()
- getColor()
- setColor()
- getShape()
- setShape()
- getLabel()
- setLabel()
- hasTagline()
- setHasTagline()
- getHeight()
- setHeight()
- getUseDefaultHeight()
- setUseDefaultHeight()