| Current Path : /var/www/www.indacotrentino.com/www/generated/code/Magento/Catalog/Api/Data/ |
| Current File : /var/www/www.indacotrentino.com/www/generated/code/Magento/Catalog/Api/Data/ProductExtension.php |
<?php
namespace Magento\Catalog\Api\Data;
/**
* Extension class for @see \Magento\Catalog\Api\Data\ProductInterface
*/
class ProductExtension extends \Magento\Framework\Api\AbstractSimpleObject implements ProductExtensionInterface
{
/**
* @return int[]|null
*/
public function getWebsiteIds()
{
return $this->_get('website_ids');
}
/**
* @param int[] $websiteIds
* @return $this
*/
public function setWebsiteIds($websiteIds)
{
$this->setData('website_ids', $websiteIds);
return $this;
}
/**
* @return \Magento\Catalog\Api\Data\CategoryLinkInterface[]|null
*/
public function getCategoryLinks()
{
return $this->_get('category_links');
}
/**
* @param \Magento\Catalog\Api\Data\CategoryLinkInterface[] $categoryLinks
* @return $this
*/
public function setCategoryLinks($categoryLinks)
{
$this->setData('category_links', $categoryLinks);
return $this;
}
/**
* @return \Magento\CatalogInventory\Api\Data\StockItemInterface|null
*/
public function getStockItem()
{
return $this->_get('stock_item');
}
/**
* @param \Magento\CatalogInventory\Api\Data\StockItemInterface $stockItem
* @return $this
*/
public function setStockItem(\Magento\CatalogInventory\Api\Data\StockItemInterface $stockItem)
{
$this->setData('stock_item', $stockItem);
return $this;
}
/**
* @return \Magento\Downloadable\Api\Data\LinkInterface[]|null
*/
public function getDownloadableProductLinks()
{
return $this->_get('downloadable_product_links');
}
/**
* @param \Magento\Downloadable\Api\Data\LinkInterface[] $downloadableProductLinks
* @return $this
*/
public function setDownloadableProductLinks($downloadableProductLinks)
{
$this->setData('downloadable_product_links', $downloadableProductLinks);
return $this;
}
/**
* @return \Magento\Downloadable\Api\Data\SampleInterface[]|null
*/
public function getDownloadableProductSamples()
{
return $this->_get('downloadable_product_samples');
}
/**
* @param \Magento\Downloadable\Api\Data\SampleInterface[] $downloadableProductSamples
* @return $this
*/
public function setDownloadableProductSamples($downloadableProductSamples)
{
$this->setData('downloadable_product_samples', $downloadableProductSamples);
return $this;
}
/**
* @return \Magento\Bundle\Api\Data\OptionInterface[]|null
*/
public function getBundleProductOptions()
{
return $this->_get('bundle_product_options');
}
/**
* @param \Magento\Bundle\Api\Data\OptionInterface[] $bundleProductOptions
* @return $this
*/
public function setBundleProductOptions($bundleProductOptions)
{
$this->setData('bundle_product_options', $bundleProductOptions);
return $this;
}
/**
* @return \Magento\ConfigurableProduct\Api\Data\OptionInterface[]|null
*/
public function getConfigurableProductOptions()
{
return $this->_get('configurable_product_options');
}
/**
* @param \Magento\ConfigurableProduct\Api\Data\OptionInterface[] $configurableProductOptions
* @return $this
*/
public function setConfigurableProductOptions($configurableProductOptions)
{
$this->setData('configurable_product_options', $configurableProductOptions);
return $this;
}
/**
* @return int[]|null
*/
public function getConfigurableProductLinks()
{
return $this->_get('configurable_product_links');
}
/**
* @param int[] $configurableProductLinks
* @return $this
*/
public function setConfigurableProductLinks($configurableProductLinks)
{
$this->setData('configurable_product_links', $configurableProductLinks);
return $this;
}
/**
* @return \Magento\SalesRule\Api\Data\RuleDiscountInterface[]|null
*/
public function getDiscounts()
{
return $this->_get('discounts');
}
/**
* @param \Magento\SalesRule\Api\Data\RuleDiscountInterface[] $discounts
* @return $this
*/
public function setDiscounts($discounts)
{
$this->setData('discounts', $discounts);
return $this;
}
/**
* @return \StripeIntegration\Payments\Api\Data\SubscriptionOptionsInterface|null
*/
public function getSubscriptionOptions()
{
return $this->_get('subscription_options');
}
/**
* @param \StripeIntegration\Payments\Api\Data\SubscriptionOptionsInterface $subscriptionOptions
* @return $this
*/
public function setSubscriptionOptions(\StripeIntegration\Payments\Api\Data\SubscriptionOptionsInterface $subscriptionOptions)
{
$this->setData('subscription_options', $subscriptionOptions);
return $this;
}
}