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
ProductLinkManagementInterface.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Bundle\Api
;
8
14
interface
ProductLinkManagementInterface
15
{
25
public
function
getChildren
($productSku,
$optionId
=
null
);
26
38
public
function
addChildByProductSku
($sku,
$optionId
, \
Magento
\Bundle\Api\Data\
LinkInterface
$linkedProduct
);
39
48
public
function
saveChild
(
49
$sku,
50
\
Magento
\Bundle\Api\Data\
LinkInterface
$linkedProduct
51
);
52
62
public
function
addChild
(
63
\
Magento
\Catalog\Api\Data\
ProductInterface
$product
,
64
$optionId
,
65
\
Magento
\Bundle\Api\Data\
LinkInterface
$linkedProduct
66
);
67
78
public
function
removeChild
($sku,
$optionId
, $childSku);
79
}
Magento\Bundle\Api
Definition:
CartItemRepositoryTest.php:6
Magento\Bundle\Api\ProductLinkManagementInterface\removeChild
removeChild($sku, $optionId, $childSku)
Magento\Bundle\Api\ProductLinkManagementInterface\getChildren
getChildren($productSku, $optionId=null)
Magento\Bundle\Api\ProductLinkManagementInterface\addChild
addChild(\Magento\Catalog\Api\Data\ProductInterface $product, $optionId, \Magento\Bundle\Api\Data\LinkInterface $linkedProduct)
Magento\Bundle\Api\ProductLinkManagementInterface
Definition:
ProductLinkManagementInterface.php:14
Magento\Bundle\Api\Data\LinkInterface
Definition:
LinkInterface.php:15
Magento\Bundle\Api\ProductLinkManagementInterface\addChildByProductSku
addChildByProductSku($sku, $optionId, \Magento\Bundle\Api\Data\LinkInterface $linkedProduct)
Magento\Bundle\Api\ProductLinkManagementInterface\saveChild
saveChild( $sku, \Magento\Bundle\Api\Data\LinkInterface $linkedProduct)
Magento
$product
$product
Definition:
bundle_product_with_not_visible_children.php:22
$linkedProduct
$linkedProduct
Definition:
product_grouped.php:42
$optionId
$optionId
Definition:
product_with_custom_option.php:53
Magento\Catalog\Api\Data\ProductInterface
Definition:
ProductInterface.php:14