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-paypal
Model
System
Config
Source
RequireBillingAddress.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Paypal\Model\System\Config\Source
;
7
11
class
RequireBillingAddress
implements
\Magento\Framework\Option\ArrayInterface
12
{
16
protected
$_configFactory
;
17
21
public
function
__construct
(\
Magento
\Paypal\Model\ConfigFactory
$configFactory
)
22
{
23
$this->_configFactory =
$configFactory
;
24
}
25
29
public
function
toOptionArray
()
30
{
31
return
$this->_configFactory->create()->getRequireBillingAddressOptions();
32
}
33
}
Magento\Paypal\Model\System\Config\Source
Definition:
BmlPosition.php:7
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\Paypal\Model\System\Config\Source\RequireBillingAddress
Definition:
RequireBillingAddress.php:11
Magento\Paypal\Model\System\Config\Source\RequireBillingAddress\toOptionArray
toOptionArray()
Definition:
RequireBillingAddress.php:29
Magento\Paypal\Model\System\Config\Source\RequireBillingAddress\$_configFactory
$_configFactory
Definition:
RequireBillingAddress.php:16
Magento
$configFactory
$configFactory
Definition:
config_data.php:43
Magento\Paypal\Model\System\Config\Source\RequireBillingAddress\__construct
__construct(\Magento\Paypal\Model\ConfigFactory $configFactory)
Definition:
RequireBillingAddress.php:21