| 1 |
<?php |
| 2 |
|
| 3 |
namespace App\Billingo\Models\Document; |
| 4 |
|
| 5 |
use App\Billingo\Contracts\ValidableInterface; |
| 6 |
use App\Billingo\Models\BillingoModel; |
| 7 |
use App\Billingo\Traits\WithFactory; |
| 8 |
use App\Billingo\Validation\Document\DocumentItemValidator; |
| 9 |
|
| 10 |
/** |
| 11 |
* @property integer $product_id |
| 12 |
* @property string $name |
| 13 |
* @property float $net_unit_amount |
| 14 |
* @property float $quantity |
| 15 |
* @property string $unit |
| 16 |
* @property float $net_amount |
| 17 |
* @property float $gross_amount |
| 18 |
* @property string $vat |
| 19 |
* @property float $vat_amount |
| 20 |
* @property string $entitlement |
| 21 |
* @property string $comment |
| 22 |
* @property string $sku |
| 23 |
* @property string $is_generate_erase_code |
| 24 |
*/ |
| 25 |
class DocumentItem extends BillingoModel |
| 26 |
{ |
| 27 |
|
| 28 |
use WithFactory; |
| 29 |
|
| 30 |
protected function getValidator(): ValidableInterface |
| 31 |
{ |
| 32 |
return new DocumentItemValidator(); |
| 33 |
} |
| 34 |
} |
| 35 |
|