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-downloadable
Api
LinkRepositoryInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Downloadable\Api
;
7
8
use
Magento\Downloadable\Api\Data\LinkInterface
;
9
use
Magento\Catalog\Api\Data\ProductInterface
;
10
17
interface
LinkRepositoryInterface
18
{
25
public
function
getList
($sku);
26
33
public
function
getLinksByProduct
(
ProductInterface
$product
);
34
43
public
function
save
($sku,
LinkInterface
$link
, $isGlobalScopeContent =
true
);
44
51
public
function
delete
(
$id
);
52
}
Magento\Downloadable\Api
Definition:
CartItemRepositoryTest.php:6
$id
$id
Definition:
fieldset.phtml:14
Magento\Downloadable\Api\Data\LinkInterface
Definition:
LinkInterface.php:13
Magento\Downloadable\Api\LinkRepositoryInterface\getLinksByProduct
getLinksByProduct(ProductInterface $product)
$link
$link
Definition:
quote_with_downloadable_product.php:27
Magento\Downloadable\Api\LinkRepositoryInterface\getList
getList($sku)
$product
$product
Definition:
bundle_product_with_not_visible_children.php:22
Magento\Downloadable\Api\LinkRepositoryInterface\save
save($sku, LinkInterface $link, $isGlobalScopeContent=true)
Magento\Downloadable\Api\LinkRepositoryInterface
Definition:
LinkRepositoryInterface.php:17
Magento\Catalog\Api\Data\ProductInterface
Definition:
ProductInterface.php:14