/**
  * @param Context $context
  * @param Filter $filter
  * @param FileFactory $fileFactory
  * @param LabelGenerator $labelGenerator
  * @param CollectionFactory $collectionFactory
  */
 public function __construct(Context $context, Filter $filter, FileFactory $fileFactory, LabelGenerator $labelGenerator, CollectionFactory $collectionFactory)
 {
     $this->collectionFactory = $collectionFactory;
     $this->fileFactory = $fileFactory;
     $this->labelGenerator = $labelGenerator;
     parent::__construct($context, $filter);
 }
 /**
  * @param Context $context
  * @param Filter $filter
  * @param CollectionFactory $collectionFactory
  * @param DateTime $dateTime
  * @param FileFactory $fileFactory
  * @param Creditmemo $pdfCreditmemo
  */
 public function __construct(Context $context, Filter $filter, CollectionFactory $collectionFactory, DateTime $dateTime, FileFactory $fileFactory, Creditmemo $pdfCreditmemo)
 {
     $this->fileFactory = $fileFactory;
     $this->dateTime = $dateTime;
     $this->pdfCreditmemo = $pdfCreditmemo;
     $this->collectionFactory = $collectionFactory;
     parent::__construct($context, $filter);
 }
Example #3
0
 /**
  * @param Context $context
  * @param Filter $filter
  * @param DateTime $dateTime
  * @param FileFactory $fileFactory
  * @param Invoice $pdfInvoice
  * @param CollectionFactory $collectionFactory
  */
 public function __construct(Context $context, Filter $filter, DateTime $dateTime, FileFactory $fileFactory, Invoice $pdfInvoice, CollectionFactory $collectionFactory)
 {
     $this->fileFactory = $fileFactory;
     $this->dateTime = $dateTime;
     $this->pdfInvoice = $pdfInvoice;
     $this->collectionFactory = $collectionFactory;
     parent::__construct($context, $filter);
 }
 /**
  * @param Context $context
  * @param Filter $filter
  * @param DateTime $dateTime
  * @param FileFactory $fileFactory
  * @param Shipment $shipment
  * @param CollectionFactory $collectionFactory
  */
 public function __construct(Context $context, Filter $filter, DateTime $dateTime, FileFactory $fileFactory, Shipment $shipment, CollectionFactory $collectionFactory)
 {
     $this->fileFactory = $fileFactory;
     $this->dateTime = $dateTime;
     $this->pdfShipment = $shipment;
     $this->collectionFactory = $collectionFactory;
     parent::__construct($context, $filter);
 }
Example #5
0
 /**
  * @param Context $context
  * @param ScopeConfigInterface $scopeConfig
  * @param LogHelper $logger
  * @param PurchaseHelper $purchaseHelper
  * @param Filter $filter
  * @param SignifydAPIMagento $api
  * @param CollectionFactory $collectionFactory
  */
 public function __construct(Context $context, ScopeConfigInterface $scopeConfig, LogHelper $logger, PurchaseHelper $purchaseHelper, Filter $filter, SignifydAPIMagento $api, CollectionFactory $collectionFactory)
 {
     parent::__construct($context, $filter);
     $this->_coreConfig = $scopeConfig;
     $this->_logger = $logger;
     $this->_helper = $purchaseHelper;
     $this->_api = $api;
     $this->collectionFactory = $collectionFactory;
 }
 public function __construct(Context $context, ResourceConnection $resource, Filter $filter, CollectionFactory $collectionFactory)
 {
     $this->_resource = $resource;
     parent::__construct($context, $filter);
     $this->collectionFactory = $collectionFactory;
 }
Example #7
0
 /**
  * @param Context $context
  * @param Filter $filter
  * @param FileFactory $fileFactory
  * @param Invoice $pdfInvoice
  * @param Shipment $pdfShipment
  * @param Creditmemo $pdfCreditmemo
  * @param DateTime $dateTime
  * @param ShipmentCollectionFactory $shipmentCollectionFactory
  * @param InvoiceCollectionFactory $invoiceCollectionFactory
  * @param CreditmemoCollectionFactory $creditmemoCollectionFactory
  * @param OrderCollectionFactory $orderCollectionFactory
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(Context $context, Filter $filter, FileFactory $fileFactory, Invoice $pdfInvoice, Shipment $pdfShipment, Creditmemo $pdfCreditmemo, DateTime $dateTime, ShipmentCollectionFactory $shipmentCollectionFactory, InvoiceCollectionFactory $invoiceCollectionFactory, CreditmemoCollectionFactory $creditmemoCollectionFactory, OrderCollectionFactory $orderCollectionFactory)
 {
     $this->pdfInvoice = $pdfInvoice;
     $this->pdfShipment = $pdfShipment;
     $this->pdfCreditmemo = $pdfCreditmemo;
     $this->fileFactory = $fileFactory;
     $this->dateTime = $dateTime;
     $this->shipmentCollectionFactory = $shipmentCollectionFactory;
     $this->invoiceCollectionFactory = $invoiceCollectionFactory;
     $this->creditmemoCollectionFactory = $creditmemoCollectionFactory;
     $this->collectionFactory = $orderCollectionFactory;
     parent::__construct($context, $filter);
 }
Example #8
0
 /**
  * @param Context $context
  * @param Filter $filter
  * @param CollectionFactory $collectionFactory
  */
 public function __construct(Context $context, Filter $filter, CollectionFactory $collectionFactory)
 {
     parent::__construct($context, $filter);
     $this->collectionFactory = $collectionFactory;
 }
 /**
  * @param Action\Context $context
  * @param \Magento\Shipping\Model\Shipping\LabelGenerator $labelGenerator
  * @param \Magento\Framework\App\Response\Http\FileFactory $fileFactory
  */
 public function __construct(Action\Context $context, \Magento\Shipping\Model\Shipping\LabelGenerator $labelGenerator, \Magento\Framework\App\Response\Http\FileFactory $fileFactory)
 {
     $this->labelGenerator = $labelGenerator;
     $this->_fileFactory = $fileFactory;
     parent::__construct($context);
 }
Example #10
0
 /**
  * @param Context $context
  * @param FileFactory $fileFactory
  */
 public function __construct(Context $context, FileFactory $fileFactory)
 {
     $this->_fileFactory = $fileFactory;
     parent::__construct($context);
 }
Example #11
0
 /**
  * @param Context $context
  * @param Filter $filter
  * @param CollectionFactory $collectionFactory
  * @param OrderManagementInterface $orderManagement
  */
 public function __construct(Context $context, Filter $filter, CollectionFactory $collectionFactory, OrderManagementInterface $orderManagement)
 {
     parent::__construct($context, $filter);
     $this->collectionFactory = $collectionFactory;
     $this->orderManagement = $orderManagement;
 }
Example #12
0
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Framework\App\Response\Http\FileFactory $fileFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\App\Response\Http\FileFactory $fileFactory)
 {
     $this->_fileFactory = $fileFactory;
     parent::__construct($context);
 }