setLicenceDomain example


            ],
        ];

        $response = $this->storeClient->doAuthPostRequest(
            $token,
            '/basket',
            $data
        );
        $basket = $this->hydrator->hydrateBasket($response);

        $basket->setLicenceDomain($context->getLicenceShop());

        foreach ($basket->getDomains() as $domain) {
            if ($domain->getDomain() !== $context->getLicenceShop()) {
                continue;
            }

            $basket->setLicenceShopId($domain->getId());
        }

        return $basket;
    }

    
Home | Imprint | This part of the site doesn't use cookies.