Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-multishipping
Block
Checkout
Payment
Info.php
Go to the documentation of this file.
1
<?php
12
namespace
Magento\Multishipping\Block\Checkout\Payment
;
13
18
class
Info
extends
\Magento\Payment\Block\Info\AbstractContainer
19
{
23
protected
$_multishipping
;
24
31
public
function
__construct
(
32
\
Magento
\Framework\View\Element\Template\
Context
$context,
33
\
Magento
\
Payment
\Helper\Data $paymentData,
34
\
Magento
\
Multishipping
\Model\Checkout\
Type
\
Multishipping
$multishipping,
35
array
$data
= []
36
) {
37
$this->_multishipping = $multishipping;
38
parent::__construct($context, $paymentData,
$data
);
39
}
40
46
public
function
getPaymentInfo
()
47
{
48
return
$this->_multishipping->getQuote()->getPayment();
49
}
50
54
protected
function
_toHtml
()
55
{
56
$html =
''
;
57
$block
= $this->
getChildBlock
($this->
_getInfoBlockName
());
58
if
(
$block
) {
59
$html =
$block
->toHtml();
60
}
61
return
$html;
62
}
63
}
Magento\Multishipping\Block\Checkout\Payment
Definition:
Info.php:12
Magento\Catalog\Model\Product\Type
Definition:
Type.php:17
Magento\Multishipping\Block\Checkout\Payment\Info\$_multishipping
$_multishipping
Definition:
Info.php:23
$block
$block
Definition:
block.php:8
Magento\Framework\View\Element\Template\Context
Definition:
Context.php:23
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Quote\Model\Quote\Payment
Definition:
Payment.php:37
Magento\Framework\View\Element\AbstractBlock\getChildBlock
getChildBlock($alias)
Definition:
AbstractBlock.php:477
Magento\Multishipping\Block\Checkout\Payment\Info\_toHtml
_toHtml()
Definition:
Info.php:54
Magento
Magento\Multishipping\Block\Checkout\Payment\Info\getPaymentInfo
getPaymentInfo()
Definition:
Info.php:46
Magento\Payment\Block\Info\AbstractContainer\_getInfoBlockName
_getInfoBlockName()
Definition:
AbstractContainer.php:55
Magento\Multishipping\Block\Checkout\Payment\Info\__construct
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Payment\Helper\Data $paymentData, \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping, array $data=[])
Definition:
Info.php:31
Magento\Multishipping\Block\Checkout\Payment\Info
Definition:
Info.php:18
Magento\Multishipping\Model\Checkout\Type\Multishipping
Definition:
Multishipping.php:28