| 1 |
<?php |
| 2 |
|
| 3 |
namespace App\Billingo\Models\DocumentBlock; |
| 4 |
|
| 5 |
use App\Billingo\Contracts\ValidableInterface; |
| 6 |
use App\Billingo\Models\BillingoModel; |
| 7 |
use App\Billingo\Traits\WithFactory; |
| 8 |
use App\Billingo\Validation\DocumentBlock\DocumentBlockSchemaValidator; |
| 9 |
|
| 10 |
/** |
| 11 |
* @property int $id |
| 12 |
* @property string $name |
| 13 |
* @property string $prefix |
| 14 |
* @property string $type |
| 15 |
* @property string|null $custom_field1 |
| 16 |
* @property string|null $custom_field2 |
| 17 |
* @property int $template_id |
| 18 |
* @property string $pic_path |
| 19 |
* @property int $normal_notification_id |
| 20 |
* @property int $proforma_notification_id |
| 21 |
* @property bool $generated |
| 22 |
* @property string $invoice_number_format |
| 23 |
* @property string|null $sender_email |
| 24 |
* @property string $sender_name |
| 25 |
* @property string|null $bcc_email |
| 26 |
* @property bool $create_invoice_from_paid_proforma |
| 27 |
* @property bool $fulfillment_date_from_proforma_payment_date |
| 28 |
* @property bool $attach_xml_to_invoice_pdf |
| 29 |
* @property bool $advance_paid_instant |
| 30 |
* @property string $financial_fulfillment_highlight |
| 31 |
* @property bool $entitlements_in_document_comment |
| 32 |
*/ |
| 33 |
class DocumentBlockSchema extends BillingoModel |
| 34 |
{ |
| 35 |
use WithFactory; |
| 36 |
|
| 37 |
protected function getValidator(): ValidableInterface |
| 38 |
{ |
| 39 |
return new DocumentBlockSchemaValidator(); |
| 40 |
} |
| 41 |
} |
| 42 |
|