Log in
Model

PaymentConfigGooglePayButtonStyles

Magento\PaymentServicesPaypal\Model\Api\Data\PaymentConfigGooglePayButtonStyles

What it does

This class is a data transfer object (DTO) that stores and manages the styling configuration for Google Pay payment buttons in Magento's Payment Services PayPal integration.

Developers use this class to get and set button style properties like color, height, and type when configuring how Google Pay buttons appear in the checkout or product pages.

Public Methods

  • getColor()
  • setColor()
  • getHeight()
  • setHeight()
  • setType()
  • getType()