Allow not delivered deliveries
This commit is contained in:
parent
02f46d395d
commit
aaa1c96d95
@ -13,11 +13,11 @@ class Delivery extends AbstractApiObject
|
|||||||
private string $id,
|
private string $id,
|
||||||
private string $deliveryId,
|
private string $deliveryId,
|
||||||
private string $creationTime,
|
private string $creationTime,
|
||||||
private array $slot,
|
private array $slot,
|
||||||
private array $eta2,
|
private array $eta2,
|
||||||
private string $status,
|
private string $status,
|
||||||
private array $deliveryTime,
|
private array $deliveryTime,
|
||||||
private array $orders,
|
private array $orders,
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -36,7 +36,7 @@ class Delivery extends AbstractApiObject
|
|||||||
$apiObject['slot'],
|
$apiObject['slot'],
|
||||||
$apiObject['eta2'],
|
$apiObject['eta2'],
|
||||||
$apiObject['status'],
|
$apiObject['status'],
|
||||||
$apiObject['delivery_time'],
|
$apiObject['delivery_time'] ?? [],
|
||||||
ApiListTransformer::getObjects($apiObject['orders']),
|
ApiListTransformer::getObjects($apiObject['orders']),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user