getSalesChannelTypeId example

/** * @extends EntityCollection<SalesChannelTypeTranslationEntity> */
#[Package('buyers-experience')] class SalesChannelTypeTranslationCollection extends EntityCollection
{
    /** * @return list<string> */
    public function getSalesChannelTypeIds(): array
    {
        return $this->fmap(fn (SalesChannelTypeTranslationEntity $salesChannelTypeTranslation) => $salesChannelTypeTranslation->getSalesChannelTypeId());
    }

    public function filterBySalesChannelId(string $id): self
    {
        return $this->filter(fn (SalesChannelTypeTranslationEntity $salesChannelTypeTranslation) => $salesChannelTypeTranslation->getSalesChannelTypeId() === $id);
    }

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