Log in
Interface

PaymentConfigButtonStylesInterface

Magento\PaymentServicesPaypal\Api\Data\PaymentConfigButtonStylesInterface

What it does

This interface defines the contract for managing PayPal button styling configuration in Magento's Payment Services.

Developers use this to get and set visual properties of PayPal payment buttons including layout, color, shape, label, height, and whether to show a tagline.

It ensures consistent styling configuration across the payment integration.

Public Methods

  • getLayout()
  • setLayout()
  • getColor()
  • setColor()
  • getShape()
  • setShape()
  • getLabel()
  • setLabel()
  • hasTagline()
  • setHasTagline()
  • getHeight()
  • setHeight()
  • getUseDefaultHeight()
  • setUseDefaultHeight()