id = $id; $this->productId = $productId; $this->parentId = $parentId; $this->title = $title; $this->type = $type; $this->virtualProduct = $virtualProduct; $this->downloadable = $downloadable; $this->sku = $sku; $this->quantity = $quantity; $this->priority = $priority; $this->variation = $variation; $this->cartItemData = $cartItemData; $this->createdAt = $createdAt; $this->permalink = $permalink; $this->thumbnail = $thumbnail; $this->stock = $stock; $this->price = $price; $this->addToCart = $addToCart; } }