61 if ($this->depersonalizeChecker->checkIfDepersonalize($subject)) {
62 $this->defaultTaxBillingAddress = $this->customerSession->getDefaultTaxBillingAddress();
63 $this->defaultTaxShippingAddress = $this->customerSession->getDefaultTaxShippingAddress();
64 $this->customerTaxClassId = $this->customerSession->getCustomerTaxClassId();
78 if ($this->depersonalizeChecker->checkIfDepersonalize($subject)) {
79 $this->customerSession->setDefaultTaxBillingAddress($this->defaultTaxBillingAddress);
80 $this->customerSession->setDefaultTaxShippingAddress($this->defaultTaxShippingAddress);
81 $this->customerSession->setCustomerTaxClassId($this->customerTaxClassId);
beforeGenerateXml(\Magento\Framework\View\LayoutInterface $subject)
afterGenerateXml(\Magento\Framework\View\LayoutInterface $subject, $result)
$defaultTaxShippingAddress
$defaultTaxBillingAddress
__construct(DepersonalizeChecker $depersonalizeChecker, \Magento\Customer\Model\Session $customerSession)