<?php

namespace KupShop\FeedsBundle\Wrapper;

class SetWrapper extends BaseWrapper
{
    /** @var array */
    protected $object;

    /** ID setového produktu */
    public function field_id()
    {
        return $this->object['id'] ?? '';
    }

    /** ID varianty setu */
    public function field_id_variation()
    {
        return $this->object['selected_variation'] ?? '';
    }

    /** Počet položek v setu */
    public function field_set_pieces()
    {
        return $this->object['set_pieces'] ?? '';
    }

    /** Název setu*/
    public function field_name()
    {
        return $this->object['text'] ?? '';
    }

    /** Název produktu */
    public function field_product_title()
    {
        return $this->object['title'] ?? '';
    }
}
