getOrderDeliveryId example

/** * @extends EntityCollection<OrderDeliveryPositionEntity> */
#[Package('checkout')] class OrderDeliveryPositionCollection extends EntityCollection
{
    /** * @return list<string> */
    public function getOrderDeliveryIds(): array
    {
        return $this->fmap(fn (OrderDeliveryPositionEntity $orderDeliveryPosition) => $orderDeliveryPosition->getOrderDeliveryId());
    }

    public function filterByOrderDeliveryId(string $id): self
    {
        return $this->filter(fn (OrderDeliveryPositionEntity $orderDeliveryPosition) => $orderDeliveryPosition->getOrderDeliveryId() === $id);
    }

    /** * @return list<string> */
    public function getOrderLineItemIds(): array
    {
Home | Imprint | This part of the site doesn't use cookies.