Доработки енамов и тегов ФФД

This commit is contained in:
2021-12-02 01:10:16 +08:00
parent 11646113b6
commit cb24bb1fb0
9 changed files with 121 additions and 12 deletions

View File

@@ -12,6 +12,7 @@ declare(strict_types = 1);
namespace AtolOnline\Entities;
use AtolOnline\Enums\VatTypes;
use AtolOnline\Exceptions\InvalidEnumValueException;
use AtolOnline\Helpers;
/**
@@ -48,6 +49,7 @@ class Vat extends Entity
*
* @param string $type Тип ставки НДС
* @return $this
* @throws InvalidEnumValueException
*/
public function setType(string $type): self
{