21 class Form extends \Magento\Payment\Block\Form\Cc
26 private $checkoutSession;
31 protected $_template =
'Magento_Payment::transparent/form.phtml';
45 parent::__construct($context, $paymentConfig,
$data);
46 $this->checkoutSession = $checkoutSession;
69 $quote = $this->checkoutSession->getQuote();
87 $this->checkoutSession
102 return parent::_toHtml();
112 return $this->
getRequest()->getParam(
'isAjax');
133 $keys = [
'cccvv',
'ccexpdate',
'ccnum'];
135 return json_encode($ccfields);
145 return $this->_urlBuilder->getUrl(
175 return $method->getConfigInterface()->getValue($fieldName);
177 return $method->getConfigData($fieldName);
192 __(
'We cannot retrieve the transparent payment method model object.')
setData($key, $value=null)