/**
  * Constructor
  *
  * @param Context $context
  * @param Config $config
  * @param Session $checkoutSession
  * @param ShippingMethodUpdater $shippingMethodUpdater
  */
 public function __construct(Context $context, Config $config, Session $checkoutSession, ShippingMethodUpdater $shippingMethodUpdater)
 {
     parent::__construct($context, $config, $checkoutSession);
     $this->shippingMethodUpdater = $shippingMethodUpdater;
 }
示例#2
0
 /**
  * Constructor
  *
  * @param Context $context
  * @param Config $config
  * @param Session $checkoutSession
  * @param Helper\OrderPlace $orderPlace
  */
 public function __construct(Context $context, Config $config, Session $checkoutSession, Helper\OrderPlace $orderPlace)
 {
     parent::__construct($context, $config, $checkoutSession);
     $this->orderPlace = $orderPlace;
 }
示例#3
0
 /**
  * Constructor
  *
  * @param Context $context
  * @param Config $config
  * @param Session $checkoutSession
  * @param QuoteUpdater $quoteUpdater
  */
 public function __construct(Context $context, Config $config, Session $checkoutSession, QuoteUpdater $quoteUpdater)
 {
     parent::__construct($context, $config, $checkoutSession);
     $this->quoteUpdater = $quoteUpdater;
 }