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-quote
Api
Data
ShippingMethodInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Quote\Api\Data
;
7
13
interface
ShippingMethodInterface
extends
\Magento\Framework\Api\ExtensibleDataInterface
14
{
18
const
KEY_CARRIER_CODE
=
'carrier_code'
;
19
23
const
KEY_METHOD_CODE
=
'method_code'
;
24
28
const
KEY_CARRIER_TITLE
=
'carrier_title'
;
29
33
const
KEY_METHOD_TITLE
=
'method_title'
;
34
38
const
KEY_SHIPPING_AMOUNT
=
'amount'
;
39
43
const
KEY_BASE_SHIPPING_AMOUNT
=
'base_amount'
;
44
48
const
KEY_AVAILABLE
=
'available'
;
49
53
const
KEY_ERROR_MESSAGE
=
'error_message'
;
54
58
const
KEY_PRICE_EXCL_TAX
=
'price_excl_tax'
;
59
63
const
KEY_PRICE_INCL_TAX
=
'price_incl_tax'
;
64
70
public
function
getCarrierCode
();
71
78
public
function
setCarrierCode
($carrierCode);
79
85
public
function
getMethodCode
();
86
93
public
function
setMethodCode
(
$methodCode
);
94
100
public
function
getCarrierTitle
();
101
108
public
function
setCarrierTitle
($carrierTitle);
109
115
public
function
getMethodTitle
();
116
123
public
function
setMethodTitle
($methodTitle);
124
130
public
function
getAmount
();
131
138
public
function
setAmount
(
$amount
);
139
145
public
function
getBaseAmount
();
146
153
public
function
setBaseAmount
(
$baseAmount
);
154
161
public
function
getAvailable
();
162
169
public
function
setAvailable
($available);
170
176
public
function
getExtensionAttributes
();
177
184
public
function
setExtensionAttributes
(
185
\
Magento
\
Quote
\Api\
Data
\ShippingMethodExtensionInterface
$extensionAttributes
186
);
187
193
public
function
getErrorMessage
();
194
201
public
function
setErrorMessage
($errorMessage);
202
208
public
function
getPriceExclTax
();
209
216
public
function
setPriceExclTax
($priceExclTax);
217
223
public
function
getPriceInclTax
();
224
231
public
function
setPriceInclTax
($priceInclTax);
232
}
Magento\Quote\Api\Data\ShippingMethodInterface\setAmount
setAmount($amount)
Magento\Quote\Api\Data\ShippingMethodInterface\setPriceExclTax
setPriceExclTax($priceExclTax)
Magento\Quote\Api\Data\ShippingMethodInterface\KEY_AVAILABLE
const KEY_AVAILABLE
Definition:
ShippingMethodInterface.php:48
Magento\Framework\App\Config\Data
Definition:
Data.php:10
Magento\Quote\Api\Data\ShippingMethodInterface\getCarrierCode
getCarrierCode()
Magento\Quote\Api\Data\ShippingMethodInterface\getExtensionAttributes
getExtensionAttributes()
Magento\Quote\Api\Data\ShippingMethodInterface\getMethodCode
getMethodCode()
Magento\Quote\Api\Data\ShippingMethodInterface\KEY_BASE_SHIPPING_AMOUNT
const KEY_BASE_SHIPPING_AMOUNT
Definition:
ShippingMethodInterface.php:43
Magento\Quote\Api\Data\ShippingMethodInterface\getAvailable
getAvailable()
Magento\Quote\Api\Data\ShippingMethodInterface\KEY_METHOD_CODE
const KEY_METHOD_CODE
Definition:
ShippingMethodInterface.php:23
Magento\Quote\Api\Data\ShippingMethodInterface\setBaseAmount
setBaseAmount($baseAmount)
Magento\Quote\Api\Data\ShippingMethodInterface\KEY_SHIPPING_AMOUNT
const KEY_SHIPPING_AMOUNT
Definition:
ShippingMethodInterface.php:38
Magento\Quote\Api\Data\ShippingMethodInterface\setCarrierCode
setCarrierCode($carrierCode)
Magento\Quote\Api\Data\ShippingMethodInterface\setExtensionAttributes
setExtensionAttributes(\Magento\Quote\Api\Data\ShippingMethodExtensionInterface $extensionAttributes)
Magento\Quote\Api\Data\ShippingMethodInterface\KEY_PRICE_EXCL_TAX
const KEY_PRICE_EXCL_TAX
Definition:
ShippingMethodInterface.php:58
$baseAmount
$baseAmount
Definition:
tax.phtml:46
Magento\Quote\Api\Data\ShippingMethodInterface
Definition:
ShippingMethodInterface.php:13
$amount
$amount
Definition:
order.php:14
Magento\Quote\Api\Data\ShippingMethodInterface\KEY_PRICE_INCL_TAX
const KEY_PRICE_INCL_TAX
Definition:
ShippingMethodInterface.php:63
Magento\Quote\Api\Data\ShippingMethodInterface\setPriceInclTax
setPriceInclTax($priceInclTax)
Magento\Quote\Api\Data\ShippingMethodInterface\KEY_ERROR_MESSAGE
const KEY_ERROR_MESSAGE
Definition:
ShippingMethodInterface.php:53
$methodCode
$methodCode
Definition:
shipping_address_list.php:51
Magento\Quote\Api\Data\ShippingMethodInterface\KEY_CARRIER_TITLE
const KEY_CARRIER_TITLE
Definition:
ShippingMethodInterface.php:28
Magento\Quote\Api\Data\ShippingMethodInterface\KEY_CARRIER_CODE
const KEY_CARRIER_CODE
Definition:
ShippingMethodInterface.php:18
Magento\Quote\Api\Data\ShippingMethodInterface\getBaseAmount
getBaseAmount()
$extensionAttributes
$extensionAttributes
Definition:
payment.php:22
Magento\Quote\Api\Data\ShippingMethodInterface\getCarrierTitle
getCarrierTitle()
Magento\Quote\Api\Data\ShippingMethodInterface\KEY_METHOD_TITLE
const KEY_METHOD_TITLE
Definition:
ShippingMethodInterface.php:33
Magento
Magento\Quote\Api\Data\ShippingMethodInterface\setErrorMessage
setErrorMessage($errorMessage)
Magento\Quote\Model\Quote
Definition:
Quote.php:107
Magento\Quote\Api\Data\ShippingMethodInterface\setMethodTitle
setMethodTitle($methodTitle)
Magento\Quote\Api\Data\ShippingMethodInterface\setMethodCode
setMethodCode($methodCode)
Magento\Quote\Api\Data\ShippingMethodInterface\getPriceInclTax
getPriceInclTax()
Magento\Quote\Api\Data\ShippingMethodInterface\setAvailable
setAvailable($available)
Magento\Framework\Api\ExtensibleDataInterface
Definition:
ExtensibleDataInterface.php:15
Magento\Quote\Api\Data
Definition:
AddressAdditionalDataInterface.php:6
Magento\Quote\Api\Data\ShippingMethodInterface\getMethodTitle
getMethodTitle()
Magento\Quote\Api\Data\ShippingMethodInterface\getErrorMessage
getErrorMessage()
Magento\Quote\Api\Data\ShippingMethodInterface\setCarrierTitle
setCarrierTitle($carrierTitle)
Magento\Quote\Api\Data\ShippingMethodInterface\getPriceExclTax
getPriceExclTax()
Magento\Quote\Api\Data\ShippingMethodInterface\getAmount
getAmount()