Log in
Interface

RuleLabelInterface

Magento\SalesRule\Api\Data\RuleLabelInterface

What it does

This interface defines the contract for managing store-specific labels for sales rules (cart price rules) in Magento 2.

Developers use this to get or set the label text that will be displayed to customers for a promotion in different store views, enabling multi-store and multi-language support for promotional rule names.

Public Methods

  • getStoreId()
  • setStoreId()
  • getStoreLabel()
  • setStoreLabel()
  • getExtensionAttributes()
  • setExtensionAttributes()