<commit_before><?php
/**
 * User: <NAME> <<EMAIL>>
 */

namespace Praxigento\Odoo\Api\Data\Bundle;

/**
 * Data for one product in bundle.
 *
 * @api
 */
interface IProduct
{
    /**
     * Get array of the categories ids where this product is placed.
     *
     * @return int[]
     */
    public function getCategories();

    /**
     * Get Odoo ID of the product.
     *
     * @return  int|null
     */
    public function getId();

    /**
     * Get name for the product.
     *
     * @return string
     */
    public function getName();

    /**
     * Get wholesale price for the product (see /option/currency to get wholesale currency).
     *
     * @return double
     */
    public function getPrice();

    /**
     * Get wholesale PV for the product.
     *
     * @return double
     */
    public function getPv();

    /**
     * Get SKU for the product.
     *
     * @return string
     */
    public function getSku();

    /**
     * Get array of warehouse data for concrete product in bundle.
     *
     * @return \Praxigento\Odoo\Api\Data\Bundle\Product\IWarehouse[]
     */
    public function getWarehouses();

    /**
     * Get weight for the product.
     *
     * @return double
     */
    public function getWeight();

    /**
     * Set array of the categories ids where this product is placed.
     *
     * @param int[] $data
     */
    public function setCategories($data);

    /**
     * Set Odoo ID of the product.
     *
     * @param int $data
     */
    public function setId($data);

    /**
     * Set name for the product.
     *
     * @param string $data
     */
    public function setName($data);
<commit_msg>MOBI-261 - Create operation to register new product (is_active flag in Product)<commit_after><?php
/**
 * User: <NAME> <<EMAIL>>
 */

namespace Praxigento\Odoo\Api\Data\Bundle;

/**
 * Data for one product in bundle.
 *
 * @api
 */
interface IProduct
{
    /**
     * Get array of the categories ids where this product is placed.
     *
     * @return int[]
     */
    public function getCategories();

    /**
     * Get Odoo ID of the product.
     *
     * @return  int|null
     */
    public function getId();

    /**
     * Get activity status.
     *
     * @return  bool
     */
    public function getIsActive();

    /**
     * Get name for the product.
     *
     * @return string
     */
    public function getName();

    /**
     * Get wholesale price for the product (see /option/currency to get wholesale currency).
     *
     * @return double
     */
    public function getPrice();

    /**
     * Get wholesale PV for the product.
     *
     * @return double
     */
    public function getPv();

    /**
     * Get SKU for the product.
     *
     * @return string
     */
    public function getSku();

    /**
     * Get array of warehouse data for concrete product in bundle.
     *
     * @return \Praxigento\Odoo\Api\Data\Bundle\Product\IWarehouse[]
     */
    public function getWarehouses();

    /**
     * Get weight for the product.
     *
     * @return double
     */
    public function getWeight();

    /**
     * Set array of the categories ids where this product is placed.
     *
     * @param int[] $data
     */
    public function setCategories($data);

    /**
     * Set Odoo ID of the product.
     *
     * @param int $data
     */
    public function setId($data);

    /**
     * Set activity status.
     *
     * @param bool $data
     */
    public function setIsActive($data);

    /**
     * Set name for the product.
     *
     * @param string $data
     */
    public function setName($data);

{'fraction_non_alphanumeric': 0.11992263056092843, 'fraction_numerical': 0.0008289582757667864, 'mean_word_length': 1.7846153846153847, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7535902', 'n_tokens_mistral': 1102, 'n_tokens_neox': 1062, 'n_words': 337}