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
SampleRepositoryInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Downloadable\Api
;
7
8
use
Magento\Downloadable\Api\Data\SampleInterface
;
9
15
interface
SampleRepositoryInterface
16
{
23
public
function
getList
($sku);
24
31
public
function
getSamplesByProduct
(\
Magento
\Catalog\Api\Data\
ProductInterface
$product
);
32
41
public
function
save
(
42
$sku,
43
SampleInterface
$sample,
44
$isGlobalScopeContent =
true
45
);
46
53
public
function
delete
(
$id
);
54
}
Magento\Downloadable\Api
Definition:
CartItemRepositoryTest.php:6
Magento\Downloadable\Api\SampleRepositoryInterface\getSamplesByProduct
getSamplesByProduct(\Magento\Catalog\Api\Data\ProductInterface $product)
Magento\Downloadable\Api\SampleRepositoryInterface\getList
getList($sku)
$id
$id
Definition:
fieldset.phtml:14
Magento
Magento\Downloadable\Api\SampleRepositoryInterface\save
save( $sku, SampleInterface $sample, $isGlobalScopeContent=true)
$product
$product
Definition:
bundle_product_with_not_visible_children.php:22
Magento\Downloadable\Api\Data\SampleInterface
Definition:
SampleInterface.php:15
Magento\Downloadable\Api\SampleRepositoryInterface
Definition:
SampleRepositoryInterface.php:15
Magento\Catalog\Api\Data\ProductInterface
Definition:
ProductInterface.php:14