File: D:/HostingSpaces/SBogers54/csbinstallatietechniek.nl/app/Vat/TransientVatProperties.php
<?php declare(strict_types=1);
namespace App\Vat;
/**
* Trait TransientVatProperties
*
* Provides some properties that are not saved / loaded to and from the database. Their function is to provide vat information inside of productables.
*
* @see VatService::calculateVatForProductable()
* @property int $price_inc
* @property int $vat_amount
* @package App\Vat
*/
trait TransientVatProperties
{
/** @var int $price_inc Transient property. The productable price including VAT in cents. Only available when it is passed trough the RateService::calculateVatForProductable method */
public $price_inc = 0;
/** @var int $vat_amount Transient property. The productable vat amount in cents. Only available when it is passed trough the RateService::calculateVatForProductable method */
public $vat_amount = 0;
}