18 protected $_template =
'Magento_Tax::checkout/shipping.phtml';
36 \
Magento\Customer\Model\Session $customerSession,
37 \
Magento\Checkout\Model\Session $checkoutSession,
38 \
Magento\Sales\Model\Config $salesConfig,
43 $this->_taxConfig = $taxConfig;
45 $this->_isScopePrivate =
true;
55 return $this->_taxConfig->displayCartShippingBoth($this->
getStore());
65 return $this->_taxConfig->displayCartShippingInclTax($this->
getStore());
75 return $this->getTotal()->getShippingInclTax();
85 return $this->getTotal()->getValue();
96 'Shipping Incl. Tax (%1)',
109 'Shipping Excl. Tax (%1)',
121 if (!$this->
getQuote()->getShippingAddress()->getShippingMethod()) {
escapeHtml($data, $allowedTags=null)
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Checkout\Model\Session $checkoutSession, \Magento\Sales\Model\Config $salesConfig, \Magento\Tax\Model\Config $taxConfig, array $layoutProcessors=[], array $data=[])