setRequestedGroup example


    }

    private static function createCustomer(bool $requestedGroup = true): CustomerEntity
    {
        $customer = new CustomerEntity();
        $customer->setId(Uuid::randomHex());

        if ($requestedGroup) {
            $customerGroup = new CustomerGroupEntity();
            $customerGroup->setId(Uuid::randomHex());
            $customer->setRequestedGroup($customerGroup);
            $customer->setRequestedGroupId($customerGroup->getId());
        }

        return $customer;
    }

    /** * @param string[] $customerId */
    private static function createRequest(array $customerId, bool $silentError = false): Request
    {
        
Home | Imprint | This part of the site doesn't use cookies.