<?php
/**
 * @author Aitoc Team
 * @copyright Copyright (c) 2020 Aitoc (https://www.aitoc.com)
 * @package Aitoc_PreOrders
 */

/**
 * Copyright © 2018 Aitoc. All rights reserved.
 * Developed by Alex Yakimovich
 */

namespace Aitoc\PreOrders\Api;

use Aitoc\PreOrders\Api\Data\Source\AttributesInterface;

/**
 * Interface for managing product attributes.
 * @api
 */
interface AttributesManagementInterface extends AttributesInterface
{
    /**
     * @param int $productId
     * @param string $attributeCode
     * @param int $storeId
     * @return string
     */
    public function getAttributeValue($productId, $attributeCode, $storeId = 0);

    /**
     * @param int $productId
     * @param int $storeId
     * @return mixed
     */
    public function getAttributesByProduct($productId, $storeId = 0);
}
