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-sales
Api
Data
ShippingInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Sales\Api\Data
;
7
13
interface
ShippingInterface
extends
\Magento\Framework\Api\ExtensibleDataInterface
14
{
18
const
KEY_ADDRESS
=
'address'
;
19
20
const
KEY_METHOD
=
'method'
;
21
22
const
KEY_TOTAL
=
'total'
;
31
public
function
getAddress
();
32
39
public
function
getMethod
();
40
47
public
function
getTotal
();
48
56
public
function
setAddress
(\
Magento
\Sales\Api\Data\
OrderAddressInterface
$address
);
57
65
public
function
setMethod
(
$method
);
66
74
public
function
setTotal
(\
Magento
\Sales\Api\Data\
TotalInterface
$total);
75
82
public
function
getExtensionAttributes
();
83
91
public
function
setExtensionAttributes
(
92
\
Magento
\Sales\Api\Data\ShippingExtensionInterface
$extensionAttributes
93
);
94
}
Magento\Sales\Api\Data\ShippingInterface\getExtensionAttributes
getExtensionAttributes()
Magento\Sales\Api\Data\ShippingInterface\getAddress
getAddress()
Magento\Sales\Api\Data\ShippingInterface\setMethod
setMethod($method)
Magento\Sales\Api\Data\TotalInterface
Definition:
TotalInterface.php:15
Magento\Sales\Api\Data\ShippingInterface\KEY_ADDRESS
const KEY_ADDRESS
Definition:
ShippingInterface.php:18
Magento\Sales\Api\Data\ShippingInterface\getTotal
getTotal()
Magento\Sales\Api\Data\ShippingInterface\getMethod
getMethod()
Magento\Sales\Api\Data\ShippingInterface\KEY_TOTAL
const KEY_TOTAL
Definition:
ShippingInterface.php:22
Magento\Sales\Api\Data\ShippingInterface\setExtensionAttributes
setExtensionAttributes(\Magento\Sales\Api\Data\ShippingExtensionInterface $extensionAttributes)
$address
$address
Definition:
customer.php:38
Magento\Sales\Api\Data\ShippingInterface\setAddress
setAddress(\Magento\Sales\Api\Data\OrderAddressInterface $address)
Magento\Sales\Api\Data\ShippingInterface
Definition:
ShippingInterface.php:13
$extensionAttributes
$extensionAttributes
Definition:
payment.php:22
Magento
$method
$method
Definition:
info.phtml:13
Magento\Sales\Api\Data
Definition:
CommentInterface.php:6
Magento\Sales\Api\Data\ShippingInterface\KEY_METHOD
const KEY_METHOD
Definition:
ShippingInterface.php:20
Magento\Framework\Api\ExtensibleDataInterface
Definition:
ExtensibleDataInterface.php:15
Magento\Sales\Api\Data\OrderAddressInterface
Definition:
OrderAddressInterface.php:17
Magento\Sales\Api\Data\ShippingInterface\setTotal
setTotal(\Magento\Sales\Api\Data\TotalInterface $total)