for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Appwilio\RussianPostSDK\Dispatching\Entities;
final class Tariff
{
private $data;
/**
* Стоимость услуги без НДС в копейках. (rate).
*
* @return int
*/
public function getRate(): int
return $this->data['rate'];
}
* Сумма НДС в копейках (vat).
public function getVAT(): int
return $this->data['vat'];
* Стоимость услуги с НДС в копейках.
public function getRateWithVAT(): int
return $this->getRate() + $this->getVAT();