Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RuleLabel.php
Go to the documentation of this file.
1 <?php
9 
17 {
18  const KEY_STORE_ID = 'store_id';
19  const KEY_STORE_LABEL = 'store_label';
20 
26  public function getStoreId()
27  {
28  return $this->_get(self::KEY_STORE_ID);
29  }
30 
37  public function setStoreId($storeId)
38  {
39  return $this->setData(self::KEY_STORE_ID, $storeId);
40  }
41 
47  public function getStoreLabel()
48  {
49  return $this->_get(self::KEY_STORE_LABEL);
50  }
51 
58  public function setStoreLabel($storeLabel)
59  {
60  return $this->setData(self::KEY_STORE_LABEL, $storeLabel);
61  }
62 
68  public function getExtensionAttributes()
69  {
70  return $this->_getExtensionAttributes();
71  }
72 
79  public function setExtensionAttributes(
80  \Magento\SalesRule\Api\Data\RuleLabelExtensionInterface $extensionAttributes
81  ) {
82  return $this->_setExtensionAttributes($extensionAttributes);
83  }
84 }
_setExtensionAttributes(\Magento\Framework\Api\ExtensionAttributesInterface $extensionAttributes)
$extensionAttributes
Definition: payment.php:22
setExtensionAttributes(\Magento\SalesRule\Api\Data\RuleLabelExtensionInterface $extensionAttributes)
Definition: RuleLabel.php:79