Log in
Interface

PaymentConfigSmartButtonsInterface

Magento\PaymentServicesPaypal\Api\Data\PaymentConfigSmartButtonsInterface

What it does

This interface defines the contract for configuring PayPal Smart Buttons and payment messaging display options in Magento's Payment Services.

Developers use this to control whether to show payment messages and Venmo options, and to customize the visual styling of both the buttons and promotional messages on the storefront.

Public Methods

  • hasDisplayMessage()
  • setHasDisplayMessage()
  • hasDisplayVenmo()
  • setHasDisplayVenmo()
  • getMessageStyles()
  • setMessageStyles()
  • getButtonStyles()
  • setButtonStyles()