protected function createCart(ShopInterface $shop, ClientInterface $client = null)
    {
        $cart = $this->initResource();
        $cart->setShop($shop);
        $cart->setClient($client);

        $this->createResource($cart);

        return $cart;
    }