/** * @return \Generated\Shared\Transfer\OrderTransfer */ protected function getOrder() { $order = new OrderTransfer(); $order->setFirstName('horst'); $order->setLastName('wurst'); $order->setEmail('*****@*****.**'); $order->setIsTest(true); // $order->setIncrementId('DY999991011'); $order->setOrderReference(rand(0, 100000)); $order->setIdSalesOrder(1); $order->setSalutation('Mr'); $totals = new TotalsTransfer(); $totals->setGrandTotal(10000); //$totals->setTax(300); $totals->setSubtotal(10000); $order->setTotals($totals); return $order; }