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
Data
SampleInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Downloadable\Api\Data
;
7
8
use
Magento\Downloadable\Api\Data\File\ContentInterface
;
9
15
interface
SampleInterface
extends
\Magento\Framework\Api\ExtensibleDataInterface
16
{
22
public
function
getId
();
23
30
public
function
setId
(
$id
);
31
37
public
function
getTitle
();
38
45
public
function
setTitle
(
$title
);
46
52
public
function
getSortOrder
();
53
60
public
function
setSortOrder
($sortOrder);
61
65
public
function
getSampleType
();
66
71
public
function
setSampleType
($sampleType);
72
78
public
function
getSampleFile
();
79
86
public
function
setSampleFile
($sampleFile);
87
93
public
function
getSampleFileContent
();
94
101
public
function
setSampleFileContent
(
ContentInterface
$sampleFileContent =
null
);
102
108
public
function
getSampleUrl
();
109
116
public
function
setSampleUrl
($sampleUrl);
117
123
public
function
getExtensionAttributes
();
124
131
public
function
setExtensionAttributes
(
132
\
Magento
\Downloadable\Api\Data\SampleExtensionInterface
$extensionAttributes
133
);
134
}
$title
$title
Definition:
default.phtml:14
Magento\Downloadable\Api\Data
Definition:
DownloadableOptionInterface.php:6
Magento\Downloadable\Api\Data\SampleInterface\setSampleUrl
setSampleUrl($sampleUrl)
$id
$id
Definition:
fieldset.phtml:14
Magento\Downloadable\Api\Data\SampleInterface\getId
getId()
Magento\Downloadable\Api\Data\SampleInterface\setSampleFile
setSampleFile($sampleFile)
Magento\Downloadable\Api\Data\SampleInterface\setExtensionAttributes
setExtensionAttributes(\Magento\Downloadable\Api\Data\SampleExtensionInterface $extensionAttributes)
Magento\Downloadable\Api\Data\SampleInterface\getSampleFile
getSampleFile()
Magento\Downloadable\Api\Data\SampleInterface\setSortOrder
setSortOrder($sortOrder)
Magento\Downloadable\Api\Data\File\ContentInterface
Definition:
ContentInterface.php:13
Magento\Downloadable\Api\Data\SampleInterface\setSampleType
setSampleType($sampleType)
Magento\Downloadable\Api\Data\SampleInterface\getSampleUrl
getSampleUrl()
Magento\Downloadable\Api\Data\SampleInterface\getSampleType
getSampleType()
Magento\Downloadable\Api\Data\SampleInterface\getExtensionAttributes
getExtensionAttributes()
Magento\Downloadable\Api\Data\SampleInterface\setId
setId($id)
$extensionAttributes
$extensionAttributes
Definition:
payment.php:22
Magento
Magento\Downloadable\Api\Data\SampleInterface\setSampleFileContent
setSampleFileContent(ContentInterface $sampleFileContent=null)
Magento\Downloadable\Api\Data\SampleInterface
Definition:
SampleInterface.php:15
Magento\Framework\Api\ExtensibleDataInterface
Definition:
ExtensibleDataInterface.php:15
Magento\Downloadable\Api\Data\SampleInterface\setTitle
setTitle($title)
Magento\Downloadable\Api\Data\SampleInterface\getSampleFileContent
getSampleFileContent()
Magento\Downloadable\Api\Data\SampleInterface\getSortOrder
getSortOrder()
Magento\Downloadable\Api\Data\SampleInterface\getTitle
getTitle()