if ($toManipulate !== 'order-no-transactions'
) { $order->
setTransactions($orderTransactionCollection);
} if ($toManipulate !== 'order-no-line-items'
) { $order->
setLineItems($orderLineItemCollection);
} if ($toManipulate !== 'order-no-deliveries'
) { $order->
setDeliveries($orderDeliveryCollection);
} if ($toManipulate !== 'order-no-order-number'
) { $order->
setOrderNumber('10000'
);
} return $order;
} /**
* @param array<CustomerEntity>|null $customerRepositoryResultArray
* @param array<OrderAddressEntity>|null $orderAddressRepositoryResultArray
* @param callable(string, string, array<string, mixed>): SalesChannelContext|null $salesChannelContextFactoryCreateCallable
*/
private function getOrderConverter(?array
$customerRepositoryResultArray = null, ?array
$orderAddressRepositoryResultArray = null, ?callable
$salesChannelContextFactoryCreateCallable = null, ?EventDispatcherInterface
$eventDispatcher = null
): OrderConverter
{