$paymentMethod =
(new PaymentMethodEntity())->
assign( [ 'id' => '19d144ffe15f4772860d59fca7f207c1',
'handlerIdentifier' => SyncTestPaymentHandler::
class,
'name' => 'Generated Payment',
'active' => true,
] );
} if (!
$shippingMethod) { $deliveryTime =
new DeliveryTimeEntity();
$deliveryTime->
setMin(1
);
$deliveryTime->
setMax(2
);
$deliveryTime->
setUnit(DeliveryTimeEntity::DELIVERY_TIME_DAY
);
$shippingMethod =
new ShippingMethodEntity();
$shippingMethod->
setDeliveryTime($deliveryTime);
$shippingMethod->
setId('8beeb66e9dda46b18891a059257a590e'
);
} if (!
$customer) { $customer =
(new CustomerEntity())->
assign(['id' => Uuid::
randomHex()]);