Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Tax\Helper\Data $taxData) | |
getPriceDisplayType ($store=null) | |
getListPriceDisplayType ($store=null) | |
getSalesPriceDisplayType ($store=null) | |
getEmailPriceDisplayType ($store=null) | |
includeInSubtotal ($store=null) | |
isTaxable ($store=null) | |
isEnabled ($store=null) | |
Data Fields | |
const | XML_PATH_FPT_ENABLED = 'tax/weee/enable' |
const | XML_PATH_FPT_DISPLAY_PRODUCT_VIEW = 'tax/weee/display' |
const | XML_PATH_FPT_DISPLAY_PRODUCT_LIST = 'tax/weee/display_list' |
const | XML_PATH_FPT_DISPLAY_SALES = 'tax/weee/display_sales' |
const | XML_PATH_FPT_DISPLAY_EMAIL = 'tax/weee/display_email' |
const | XML_PATH_FPT_INCLUDE_IN_SUBTOTAL = 'tax/weee/include_in_subtotal' |
const | XML_PATH_FPT_TAXABLE = 'tax/weee/apply_vat' |
Protected Attributes | |
$scopeConfig | |
WEEE config model
Definition at line 13 of file Config.php.
__construct | ( | \Magento\Framework\App\Config\ScopeConfigInterface | $scopeConfig, |
\Magento\Tax\Helper\Data | $taxData | ||
) |
\Magento\Tax\Helper\Data | $taxData | |
\Magento\Framework\App\Config\ScopeConfigInterface | $scopeConfig |
Definition at line 45 of file Config.php.
getEmailPriceDisplayType | ( | $store = null | ) |
Get weee amount display type in email templates
null | string | bool | int | Store | $store |
Definition at line 104 of file Config.php.
getListPriceDisplayType | ( | $store = null | ) |
Get weee amount display type on product list page
null | string | bool | int | Store | $store |
Definition at line 74 of file Config.php.
getPriceDisplayType | ( | $store = null | ) |
Get weee amount display type on product view page
null | string | bool | int | Store | $store |
Definition at line 59 of file Config.php.
getSalesPriceDisplayType | ( | $store = null | ) |
Get weee amount display type in sales modules
null | string | bool | int | Store | $store |
Definition at line 89 of file Config.php.
includeInSubtotal | ( | $store = null | ) |
Check if weee tax amount should be included to subtotal
null | string | bool | int | Store | $store |
Definition at line 119 of file Config.php.
isEnabled | ( | $store = null | ) |
Check if fixed taxes are used in system
null | string | bool | int | Store | $store |
Definition at line 149 of file Config.php.
isTaxable | ( | $store = null | ) |
Check if weee tax amount should be taxable
null | string | bool | int | Store | $store |
Definition at line 134 of file Config.php.
|
protected |
Definition at line 39 of file Config.php.
const XML_PATH_FPT_DISPLAY_EMAIL = 'tax/weee/display_email' |
Definition at line 27 of file Config.php.
const XML_PATH_FPT_DISPLAY_PRODUCT_LIST = 'tax/weee/display_list' |
Definition at line 23 of file Config.php.
const XML_PATH_FPT_DISPLAY_PRODUCT_VIEW = 'tax/weee/display' |
Definition at line 21 of file Config.php.
const XML_PATH_FPT_DISPLAY_SALES = 'tax/weee/display_sales' |
Definition at line 25 of file Config.php.
const XML_PATH_FPT_ENABLED = 'tax/weee/enable' |
Enabled config path
Definition at line 18 of file Config.php.
const XML_PATH_FPT_INCLUDE_IN_SUBTOTAL = 'tax/weee/include_in_subtotal' |
Definition at line 30 of file Config.php.
const XML_PATH_FPT_TAXABLE = 'tax/weee/apply_vat' |
Definition at line 32 of file Config.php.