/**
  * Get product data.
  *
  * @param InjectableFixture $product
  * @return array
  */
 protected function getProductData(InjectableFixture $product)
 {
     $productData = parent::getProductData($product);
     $productData['product_sku'] = $productData['product']['sku'];
     unset($productData['product']['sku']);
     return $productData;
 }
 /**
  * @constructor
  * @param ObjectManager $objectManager
  * @param SalesInvoice $invoiceIndex
  * @param SalesInvoiceView $orderInvoiceView
  */
 public function __construct(ObjectManager $objectManager, SalesInvoice $invoiceIndex, SalesInvoiceView $orderInvoiceView)
 {
     parent::__construct($objectManager);
     $this->salesTypePage = $invoiceIndex;
     $this->salesTypeViewPage = $orderInvoiceView;
 }
 /**
  * @constructor
  * @param ObjectManager $objectManager
  * @param SalesShipment $shipmentIndex
  * @param SalesShipmentView $orderShipmentView
  */
 public function __construct(ObjectManager $objectManager, SalesShipment $shipmentIndex, SalesShipmentView $orderShipmentView)
 {
     parent::__construct($objectManager);
     $this->salesTypePage = $shipmentIndex;
     $this->salesTypeViewPage = $orderShipmentView;
 }
 /**
  * @constructor
  * @param ObjectManager $objectManager
  * @param SalesCreditMemo $creditMemoIndex
  * @param SalesCreditMemoView $orderCreditMemoView
  */
 public function __construct(ObjectManager $objectManager, SalesCreditMemo $creditMemoIndex, SalesCreditMemoView $orderCreditMemoView)
 {
     parent::__construct($objectManager);
     $this->salesTypePage = $creditMemoIndex;
     $this->salesTypeViewPage = $orderCreditMemoView;
 }