Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
BasePrice.php
Go to the documentation of this file.
1 <?php
8 
10 
15 {
19  public function setPrice($price)
20  {
21  return $this->setData(self::PRICE, $price);
22  }
23 
27  public function getPrice()
28  {
29  return $this->getData(self::PRICE);
30  }
31 
35  public function setStoreId($storeId)
36  {
37  return $this->setData(self::STORE_ID, $storeId);
38  }
39 
43  public function getStoreId()
44  {
45  return $this->getData(self::STORE_ID);
46  }
47 
51  public function setSku($sku)
52  {
53  return $this->setData(self::SKU, $sku);
54  }
55 
59  public function getSku()
60  {
61  return $this->getData(self::SKU);
62  }
63 
67  public function getExtensionAttributes()
68  {
69  return $this->_getExtensionAttributes();
70  }
71 
75  public function setExtensionAttributes(\Magento\Catalog\Api\Data\BasePriceExtensionInterface $extensionAttributes)
76  {
77  return $this->_setExtensionAttributes($extensionAttributes);
78  }
79 }
setExtensionAttributes(\Magento\Catalog\Api\Data\BasePriceExtensionInterface $extensionAttributes)
Definition: BasePrice.php:75
_setExtensionAttributes(\Magento\Framework\Api\ExtensionAttributesInterface $extensionAttributes)
$price