Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-bundle
Api
ProductOptionRepositoryInterface.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Bundle\Api
;
8
14
interface
ProductOptionRepositoryInterface
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
}
Magento\Bundle\Api
Definition:
CartItemRepositoryTest.php:6
Magento\Bundle\Api\Data\OptionInterface
Definition:
OptionInterface.php:15
Magento\Bundle\Api\ProductOptionRepositoryInterface\getList
getList($sku)
Magento\Bundle\Api\ProductOptionRepositoryInterface\save
save(\Magento\Catalog\Api\Data\ProductInterface $product, \Magento\Bundle\Api\Data\OptionInterface $option)
Magento
Magento\Bundle\Api\ProductOptionRepositoryInterface
Definition:
ProductOptionRepositoryInterface.php:14
Magento\Bundle\Api\ProductOptionRepositoryInterface\deleteById
deleteById($sku, $optionId)
$product
$product
Definition:
bundle_product_with_not_visible_children.php:22
$optionId
$optionId
Definition:
product_with_custom_option.php:53
Magento\Catalog\Api\Data\ProductInterface
Definition:
ProductInterface.php:14
$option
$option
Definition:
product_configurable_with_single_child.php:38