Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (Config $config, BraintreeAdapterFactory $adapterFactory, SessionManagerInterface $session) | |
getConfig () | |
getClientToken () | |
Data Fields | |
const | CODE = 'braintree' |
const | CC_VAULT_CODE = 'braintree_cc_vault' |
Class ConfigProvider
Definition at line 17 of file ConfigProvider.php.
__construct | ( | Config | $config, |
BraintreeAdapterFactory | $adapterFactory, | ||
SessionManagerInterface | $session | ||
) |
Constructor
Config | $config | |
BraintreeAdapterFactory | $adapterFactory | |
SessionManagerInterface | $session |
Definition at line 50 of file ConfigProvider.php.
getClientToken | ( | ) |
Generate a new client token if necessary
Definition at line 97 of file ConfigProvider.php.
getConfig | ( | ) |
Retrieve assoc array of checkout configuration
Implements ConfigProviderInterface.
Definition at line 65 of file ConfigProvider.php.
const CC_VAULT_CODE = 'braintree_cc_vault' |
Definition at line 21 of file ConfigProvider.php.
const CODE = 'braintree' |
Definition at line 19 of file ConfigProvider.php.