Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ProductOptionRepositoryInterface.php
Go to the documentation of this file.
1 <?php
7 namespace Magento\Bundle\Api;
8 
15 {
25  public function get($sku, $optionId);
26 
35  public function getList($sku);
36 
45  public function delete(\Magento\Bundle\Api\Data\OptionInterface $option);
46 
56  public function deleteById($sku, $optionId);
57 
67  public function save(
68  \Magento\Catalog\Api\Data\ProductInterface $product,
69  \Magento\Bundle\Api\Data\OptionInterface $option
70  );
71 }
save(\Magento\Catalog\Api\Data\ProductInterface $product, \Magento\Bundle\Api\Data\OptionInterface $option)