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
LinkInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Downloadable\Api\Data
;
7
13
interface
LinkInterface
extends
\Magento\Framework\Api\ExtensibleDataInterface
14
{
18
public
function
getId
();
19
24
public
function
setId
(
$id
);
25
29
public
function
getTitle
();
30
35
public
function
setTitle
(
$title
);
36
40
public
function
getSortOrder
();
41
46
public
function
setSortOrder
($sortOrder);
47
56
public
function
getIsShareable
();
57
62
public
function
setIsShareable
($isShareable);
63
69
public
function
getPrice
();
70
77
public
function
setPrice
(
$price
);
78
85
public
function
getNumberOfDownloads
();
86
94
public
function
setNumberOfDownloads
($numberOfDownloads);
95
99
public
function
getLinkType
();
100
105
public
function
setLinkType
($linkType);
106
112
public
function
getLinkFile
();
113
120
public
function
setLinkFile
($linkFile);
121
127
public
function
getLinkFileContent
();
128
135
public
function
setLinkFileContent
(\
Magento
\Downloadable\Api\Data\File\
ContentInterface
$linkFileContent =
null
);
136
142
public
function
getLinkUrl
();
143
150
public
function
setLinkUrl
($linkUrl);
151
155
public
function
getSampleType
();
156
161
public
function
setSampleType
($sampleType);
162
168
public
function
getSampleFile
();
169
176
public
function
setSampleFile
($sampleFile);
177
183
public
function
getSampleFileContent
();
184
191
public
function
setSampleFileContent
(
192
\
Magento
\Downloadable\Api\Data\File\
ContentInterface
$sampleFileContent =
null
193
);
194
200
public
function
getSampleUrl
();
201
208
public
function
setSampleUrl
($sampleUrl);
209
215
public
function
getExtensionAttributes
();
216
223
public
function
setExtensionAttributes
(\
Magento
\Downloadable\Api\Data\LinkExtensionInterface
$extensionAttributes
);
224
}
$title
$title
Definition:
default.phtml:14
Magento\Downloadable\Api\Data\LinkInterface\getSampleFile
getSampleFile()
Magento\Downloadable\Api\Data\LinkInterface\setSampleUrl
setSampleUrl($sampleUrl)
Magento\Downloadable\Api\Data\LinkInterface\setPrice
setPrice($price)
Magento\Downloadable\Api\Data\LinkInterface\getPrice
getPrice()
Magento\Downloadable\Api\Data\LinkInterface\setId
setId($id)
Magento\Downloadable\Api\Data\LinkInterface\getLinkFile
getLinkFile()
Magento\Downloadable\Api\Data
Definition:
DownloadableOptionInterface.php:6
Magento\Downloadable\Api\Data\LinkInterface\getSortOrder
getSortOrder()
$id
$id
Definition:
fieldset.phtml:14
Magento\Downloadable\Api\Data\LinkInterface\setTitle
setTitle($title)
Magento\Downloadable\Api\Data\LinkInterface
Definition:
LinkInterface.php:13
Magento\Downloadable\Api\Data\LinkInterface\setLinkType
setLinkType($linkType)
Magento\Downloadable\Api\Data\LinkInterface\setLinkFile
setLinkFile($linkFile)
$price
$price
Definition:
product_alert.php:10
Magento\Downloadable\Api\Data\LinkInterface\getLinkUrl
getLinkUrl()
Magento\Downloadable\Api\Data\File\ContentInterface
Definition:
ContentInterface.php:13
Magento\Downloadable\Api\Data\LinkInterface\setSampleFile
setSampleFile($sampleFile)
Magento\Downloadable\Api\Data\LinkInterface\setIsShareable
setIsShareable($isShareable)
Magento\Downloadable\Api\Data\LinkInterface\getIsShareable
getIsShareable()
Magento\Downloadable\Api\Data\LinkInterface\setLinkUrl
setLinkUrl($linkUrl)
$extensionAttributes
$extensionAttributes
Definition:
payment.php:22
Magento\Downloadable\Api\Data\LinkInterface\getExtensionAttributes
getExtensionAttributes()
Magento
Magento\Downloadable\Api\Data\LinkInterface\getLinkType
getLinkType()
Magento\Downloadable\Api\Data\LinkInterface\getTitle
getTitle()
Magento\Downloadable\Api\Data\LinkInterface\setExtensionAttributes
setExtensionAttributes(\Magento\Downloadable\Api\Data\LinkExtensionInterface $extensionAttributes)
Magento\Downloadable\Api\Data\LinkInterface\setNumberOfDownloads
setNumberOfDownloads($numberOfDownloads)
Magento\Downloadable\Api\Data\LinkInterface\getId
getId()
Magento\Framework\Api\ExtensibleDataInterface
Definition:
ExtensibleDataInterface.php:15
Magento\Downloadable\Api\Data\LinkInterface\setSampleFileContent
setSampleFileContent(\Magento\Downloadable\Api\Data\File\ContentInterface $sampleFileContent=null)
Magento\Downloadable\Api\Data\LinkInterface\getSampleUrl
getSampleUrl()
Magento\Downloadable\Api\Data\LinkInterface\getNumberOfDownloads
getNumberOfDownloads()
Magento\Downloadable\Api\Data\LinkInterface\setSampleType
setSampleType($sampleType)
Magento\Downloadable\Api\Data\LinkInterface\getSampleFileContent
getSampleFileContent()
Magento\Downloadable\Api\Data\LinkInterface\getSampleType
getSampleType()
Magento\Downloadable\Api\Data\LinkInterface\getLinkFileContent
getLinkFileContent()
Magento\Downloadable\Api\Data\LinkInterface\setLinkFileContent
setLinkFileContent(\Magento\Downloadable\Api\Data\File\ContentInterface $linkFileContent=null)
Magento\Downloadable\Api\Data\LinkInterface\setSortOrder
setSortOrder($sortOrder)