<?php

namespace FiloBlu\Storelocator\Model\Import\Stores;

use Magento\Framework\Validator\ValidatorInterface;

/**
 *
 */
interface RowValidatorInterface extends ValidatorInterface
{
    const ERROR_INVALID_TITLE = 'InvalidValueTITLE';
    const ERROR_TITLE_IS_EMPTY = 'EmptyTITLE';

    const ERROR_INVALID_ENABLED = 'InvalidValueENABLED: must be 1 = Enabled / 2 = Disabled';
    const ERROR_ENABLED_IS_EMPTY = 'EmptyENABLED';

    const ERROR_INVALID_STOREID = 'invalidStoreId';

    const ERROR_INVALID_EMAIL = 'invalidEmail';

    const ERROR_POSTCODE_IS_EMPTY = 'EmptyPostCode';

    const ERROR_INVALID_HOURS = 'invalidHoursFormat: must be ex: 08:30-12:00,15:00-19:00';

    const ERROR_TITLE_LENGTH = 'TITLE is too long';

    const ERROR_STREET_LENGTH = 'STREET is too long';

    const ERROR_REGION_LENGTH = 'REGION is too long';

    /**
     * Initialize validator
     *
     * @return $this
     */
    public function init($context);
}
