78 $this->_isScopePrivate =
true;
81 $this->checkoutSession = $resourceSession;
83 parent::__construct($context,
$data);
93 $this->checkoutSession->setStepData(
95 [
'label' =>
__(
'Shipping Information'),
'is_show' => $this->
isShow()]
108 return $this->
getQuote()->getCheckoutMethod();
118 return !$this->
getQuote()->isVirtual();
128 if ($this->address ===
null) {
130 $this->address = $this->
getQuote()->getShippingAddress();
132 $this->address = $this->addressFactory->create();
147 return $this->_scopeConfig->getValue(
$path, \
Magento\
Store\Model\ScopeInterface::SCOPE_STORE);
157 if (empty($this->customer)) {
158 $this->customer = $this->customerRepository->getById($this->customerSession->getCustomerId());
170 if (empty($this->quote)) {
171 $this->quote = $this->checkoutSession->getQuote();
181 return $this->httpContext->getValue(\
Magento\Customer\Model\Context::CONTEXT_AUTH);
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Checkout\Model\Session $resourceSession, CustomerRepositoryInterface $customerRepository, \Magento\Framework\App\Http\Context $httpContext, \Magento\Quote\Model\Quote\AddressFactory $addressFactory, array $data=[])