'price' =>
new CartPrice(10, 10, 10,
new CalculatedTaxCollection(),
new TaxRuleCollection(), CartPrice::TAX_STATE_NET
),
'shippingCosts' =>
new CalculatedPrice(10, 10,
new CalculatedTaxCollection(),
new TaxRuleCollection()),
'stateId' =>
$this->
getContainer()->
get(InitialStateIdLoader::
class)->
get(OrderStates::STATE_MACHINE
),
'paymentMethodId' =>
$this->
getValidPaymentMethodId(),
'currencyId' => Defaults::CURRENCY,
'currencyFactor' => 1,
'salesChannelId' => TestDefaults::SALES_CHANNEL,
'orderNumber' => Uuid::
randomHex(),
'transactions' =>
[ [ 'id' => Uuid::
randomHex(),
'paymentMethodId' =>
$this->
getPrePaymentMethodId(),
'stateId' =>
$this->
getStateMachineState(OrderTransactionStates::STATE_MACHINE, OrderTransactionStates::STATE_OPEN
),
'amount' =>
[ 'unitPrice' => 5.0,
'totalPrice' => 15.0,
'quantity' => 3,
'calculatedTaxes' =>
[],
'taxRules' =>
[],
],
],
],
'deliveries' =>
[ [