PluginProbe
Billingo Official for WooCommerce / 4.2.8
Billingo Official for WooCommerce v4.2.8
4.3.3 4.3.2 trunk 0.0.2 1.0.0 2.0 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 All 82 releases
billingo / src / Models / Document / ModificationDocumentInsert.php

ModificationDocumentInsert.php in Billingo Official for WooCommerce 4.2.8, at src/Models/Document/ModificationDocumentInsert.php

28 lines 659 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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\Validation\Document\ModificationDocumentInsertValidator;
8
9 /**
10 * @property string $due_date
11 * @property string $comment
12 * @property string $payment_method
13 * @property bool $without_financial_fulfillment
14 * @property array $items
15 */
16 class ModificationDocumentInsert extends BillingoModel
17 {
18
19 protected array $cast = [
20 'items' => [DocumentItemData::class],
21 ];
22
23 protected function getValidator(): ValidableInterface
24 {
25 return new ModificationDocumentInsertValidator();
26 }
27 }
28