Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Payment\Model\Method\Factory $paymentMethodFactory, \Magento\Framework\Locale\ResolverInterface $localeResolver, \Magento\Framework\Config\DataInterface $dataStorage, \Magento\Framework\Stdlib\DateTime\DateTime $date) | |
getCcTypes () | |
getMethodsInfo () | |
getGroups () | |
getMonths () | |
getYears () | |
Data Fields | |
const | YEARS_RANGE = 10 |
Protected Attributes | |
$_methods | |
$_scopeConfig | |
$_dataStorage | |
$localeResolver | |
$_paymentMethodFactory | |
$_date | |
Payment configuration model
Used for retrieving configuration data by payment models
@api
Definition at line 20 of file Config.php.
__construct | ( | \Magento\Framework\App\Config\ScopeConfigInterface | $scopeConfig, |
\Magento\Payment\Model\Method\Factory | $paymentMethodFactory, | ||
\Magento\Framework\Locale\ResolverInterface | $localeResolver, | ||
\Magento\Framework\Config\DataInterface | $dataStorage, | ||
\Magento\Framework\Stdlib\DateTime\DateTime | $date | ||
) |
Construct
\Magento\Framework\App\Config\ScopeConfigInterface | $scopeConfig | |
\Magento\Payment\Model\Method\Factory | $paymentMethodFactory | |
\Magento\Framework\Locale\ResolverInterface | $localeResolver | |
\Magento\Framework\Config\DataInterface | $dataStorage | |
\Magento\Framework\Stdlib\DateTime\DateTime | $date |
Definition at line 74 of file Config.php.
getCcTypes | ( | ) |
getGroups | ( | ) |
getMethodsInfo | ( | ) |
Retrieve array of payment methods information
Definition at line 127 of file Config.php.
getMonths | ( | ) |
getYears | ( | ) |
|
protected |
Definition at line 42 of file Config.php.
|
protected |
Definition at line 63 of file Config.php.
|
protected |
Definition at line 30 of file Config.php.
|
protected |
Definition at line 56 of file Config.php.
|
protected |
Definition at line 37 of file Config.php.
|
protected |
Definition at line 49 of file Config.php.
const YEARS_RANGE = 10 |
Years range
Definition at line 25 of file Config.php.