<?php

namespace YooMoney\Helpers;

/**
 * Класс enum для налоговых ставок с сортировкой для СББОЛ
 */
class YooKassaB2bTaxRateEnumHelper
{
    const WITHOUT_VAT = 'untaxed';
    const VAT_5 = '5';
    const VAT_7 = '7';
    const VAT_10 = '10';
    const VAT_18 = '18';
    const VAT_20 = '20';
    const VAT_22 = '22';

    public function getTaxRate()
    {
        return array(
            self::WITHOUT_VAT => _JSHOP_YOO_SBBOL_WITHOUT_VAT,
            self::VAT_5 => _JSHOP_YOO_SBBOL_VAT_5,
            self::VAT_7 => _JSHOP_YOO_SBBOL_VAT_7,
            self::VAT_10 => _JSHOP_YOO_SBBOL_VAT_10,
            self::VAT_18 => _JSHOP_YOO_SBBOL_VAT_18,
            self::VAT_20 => _JSHOP_YOO_SBBOL_VAT_20,
            self::VAT_22 => _JSHOP_YOO_SBBOL_VAT_22,
        );
    }
}
