/** * 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; }
/** * 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; }
/** * 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; }