15 class Billing extends \Magento\Payment\Block\Form\Container
52 $this->_multishipping = $multishipping;
53 $this->_checkoutSession = $checkoutSession;
56 $this->_isScopePrivate =
true;
66 $this->pageConfig->getTitle()->set(
67 __(
'Billing Information - %1', $this->pageConfig->getTitle()->getDefault())
70 return parent::_prepareLayout();
81 return $method && $this->paymentSpecification->isSatisfiedBy(
83 ) && parent::_canUseMethod(
111 $address = $this->_multishipping->getQuote()->getBillingAddress();
124 return $this->_checkoutSession->getQuote();
134 return (
double)$this->
getQuote()->getBaseGrandTotal();
144 return $this->
getUrl(
'*/checkout_address/selectBilling');
154 return $this->
getUrl(
'*/*/overview');
164 return $this->
getUrl(
'*/*/backtoshipping');
getData($key='', $index=null)
getUrl($route='', $params=[])
setData($key, $value=null)
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Payment\Helper\Data $paymentHelper, \Magento\Payment\Model\Checks\SpecificationFactory $methodSpecificationFactory, \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping, \Magento\Checkout\Model\Session $checkoutSession, \Magento\Payment\Model\Method\SpecificationInterface $paymentSpecification, array $data=[], array $additionalChecks=[])