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-catalog
Api
Data
CostInterface.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Catalog\Api\Data
;
8
14
interface
CostInterface
extends
\Magento\Framework\Api\ExtensibleDataInterface
15
{
19
const
COST
=
'cost'
;
20
const
STORE_ID
=
'store_id'
;
21
const
SKU
=
'sku'
;
31
public
function
setCost
($cost);
32
39
public
function
getCost
();
40
48
public
function
setStoreId
(
$storeId
);
49
56
public
function
getStoreId
();
57
65
public
function
setSku
($sku);
66
73
public
function
getSku
();
74
81
public
function
getExtensionAttributes
();
82
90
public
function
setExtensionAttributes
(
91
\
Magento
\Catalog\Api\Data\CostExtensionInterface
$extensionAttributes
92
);
93
}
$storeId
$storeId
Definition:
customer_review_with_rating.php:14
Magento\Catalog\Api\Data\CostInterface\getSku
getSku()
Magento\Catalog\Api\Data\CostInterface\getCost
getCost()
Magento\Catalog\Api\Data
Definition:
BasePriceInterface.php:7
Magento\Catalog\Api\Data\CostInterface\getStoreId
getStoreId()
Magento\Catalog\Api\Data\CostInterface\setStoreId
setStoreId($storeId)
Magento\Catalog\Api\Data\CostInterface\SKU
const SKU
Definition:
CostInterface.php:21
Magento\Catalog\Api\Data\CostInterface\STORE_ID
const STORE_ID
Definition:
CostInterface.php:20
Magento\Catalog\Api\Data\CostInterface\getExtensionAttributes
getExtensionAttributes()
$extensionAttributes
$extensionAttributes
Definition:
payment.php:22
Magento
Magento\Framework\Api\ExtensibleDataInterface
Definition:
ExtensibleDataInterface.php:15
Magento\Catalog\Api\Data\CostInterface\COST
const COST
Definition:
CostInterface.php:19
Magento\Catalog\Api\Data\CostInterface\setExtensionAttributes
setExtensionAttributes(\Magento\Catalog\Api\Data\CostExtensionInterface $extensionAttributes)
Magento\Catalog\Api\Data\CostInterface
Definition:
CostInterface.php:14
Magento\Catalog\Api\Data\CostInterface\setCost
setCost($cost)
Magento\Catalog\Api\Data\CostInterface\setSku
setSku($sku)