<?php

declare(strict_types=1);

namespace ImovelZapAi\Publishing\Domain\Feeds\VrSync;

/**
 * Enumerações aceitas no feed VRSync (Grupo OLX).
 */
final class VrSyncEnumerations
{
    /** @var list<string> */
    public const TRANSACTION_TYPES = [
        'For Sale',
        'For Rent',
        'Sale/Rent',
    ];

    /** @var list<string> */
    public const CURRENCIES = [
        'BRL',
    ];

    public static function isTransactionType(string $value): bool
    {
        return in_array($value, self::TRANSACTION_TYPES, true);
    }

    public static function isCurrency(string $value): bool
    {
        return in_array($value, self::CURRENCIES, true);
    }
}
