public function filterByOrderId(string
$id): self
{ return $this->
filter(fn (OrderDeliveryEntity
$orderDelivery) =>
$orderDelivery->
getOrderId() ===
$id);
} /**
* @return list<string>
*/
public function getShippingAddressIds(): array
{ return $this->
fmap(fn (OrderDeliveryEntity
$orderDelivery) =>
$orderDelivery->
getShippingOrderAddressId());
} public function filterByShippingAddressId(string
$id): self
{ return $this->
filter(fn (OrderDeliveryEntity
$orderDelivery) =>
$orderDelivery->
getShippingOrderAddressId() ===
$id);
} /**
* @return list<string>
*/
public function getShippingMethodIds(): array
{