'billingAddressVersionId' => null,
];
$data =
array_merge_recursive($rawData,
$data);
return (new OrderEntity())->
assign($data);
} private static function createLineItems(): OrderLineItemCollection
{ $lineItem1 =
(new OrderLineItemEntity())->
assign([ '_uniqueIdentifier' => 'line-item-id-1',
'identifier' => 'line-item-id-1',
'quantity' => 3,
'type' => 'line-item-type-1',
'label' => 'line-item-label-1',
'good' => true,
'removable' => false,
'stackable' => false,
'states' =>
[],
'position' => 1,
'price' =>
[