Ejemplo n.º 1
0
 /**
  * @param Context $context
  * @param Config $paymentConfig
  * @param Session $checkoutSession
  * @param VaultPaymentInterface $vaultService
  * @param array $data
  */
 public function __construct(Context $context, Config $paymentConfig, Session $checkoutSession, VaultPaymentInterface $vaultService, array $data = [])
 {
     parent::__construct($context, $paymentConfig, $checkoutSession, $data);
     $this->vaultService = $vaultService;
 }
Ejemplo n.º 2
0
 /**
  * @param Context $context
  * @param Config $paymentConfig
  * @param Session $checkoutSession
  * @param array $data
  */
 public function __construct(Context $context, Config $paymentConfig, Session $checkoutSession, array $data = [])
 {
     parent::__construct($context, $paymentConfig, $checkoutSession, $data);
 }