Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ProductWebsiteLink.php
Go to the documentation of this file.
1 <?php
7 namespace Magento\Catalog\Model;
8 
11 {
15  const KEY_SKU = 'sku';
16  const WEBSITE_ID = 'website_id';
22  public function getSku()
23  {
24  return $this->_get(self::KEY_SKU);
25  }
26 
30  public function getWebsiteId()
31  {
32  return $this->_get(self::WEBSITE_ID);
33  }
34 
39  public function setSku($sku)
40  {
41  return $this->setData(self::KEY_SKU, $sku);
42  }
43 
47  public function setWebsiteId($websiteId)
48  {
49  return $this->setData(self::WEBSITE_ID, $websiteId);
50  }
51 }