mirror of
https://github.com/anikeen-com/id.git
synced 2026-03-13 13:46:13 +00:00
23 lines
471 B
PHP
23 lines
471 B
PHP
<?php
|
|
|
|
namespace Anikeen\Id\Concerns;
|
|
|
|
use Anikeen\Id\ApiOperations\Request;
|
|
use Anikeen\Id\Exceptions\RequestRequiresClientIdException;
|
|
use GuzzleHttp\Exception\GuzzleException;
|
|
|
|
trait ManagesTaxation
|
|
{
|
|
use Request;
|
|
|
|
/**
|
|
* Get VAT for the current user.
|
|
*
|
|
* @throws RequestRequiresClientIdException
|
|
* @throws GuzzleException
|
|
*/
|
|
public function vat(): float
|
|
{
|
|
return $this->getUserData()->vat;
|
|
}
|
|
} |