Your IP : 216.73.216.220


Current Path : /home/rtorresani/www/app/code/Amasty/ImportCore/Api/Config/Entity/Field/
Upload File :
Current File : //home/rtorresani/www/app/code/Amasty/ImportCore/Api/Config/Entity/Field/ValidationInterface.php

<?php
/**
 * @author Amasty Team
 * @copyright Copyright (c) Amasty (https://www.amasty.com)
 * @package Import Core for Magento 2 (System)
 */

namespace Amasty\ImportCore\Api\Config\Entity\Field;

/**
 * Entity field validation config
 */
interface ValidationInterface
{
    /**
     * @return \Amasty\ImportExportCore\Api\Config\ConfigClass\ConfigClassInterface
     */
    public function getConfigClass();

    /**
     * @param \Amasty\ImportExportCore\Api\Config\ConfigClass\ConfigClassInterface $configClass
     *
     * @return void
     */
    public function setConfigClass($configClass);

    /**
     * @return string
     */
    public function getError();

    /**
     * @param string $error
     *
     * @return void
     */
    public function setError($error);

    /**
     * @return string[]
     */
    public function getExcludeBehaviors();

    /**
     * @param string[] $behaviorCodes
     *
     * @return void
     */
    public function setExcludeBehaviors($behaviorCodes);

    /**
     * @return string[]
     */
    public function getIncludeBehaviors();

    /**
     * @param string[] $behaviorCodes
     *
     * @return void
     */
    public function setIncludeBehaviors($behaviorCodes);

    /**
     * @return bool
     */
    public function getIsApplyToRootEntityOnly();

    /**
     * @param bool $applyToRootEntityOnly
     * @return void
     */
    public function setIsApplyToRootEntityOnly($applyToRootEntityOnly);
}