| 1 |
<?php |
| 2 |
|
| 3 |
namespace App\Billingo\Models\Document; |
| 4 |
|
| 5 |
use App\Billingo\Models\Document\DocumentInstantPaymentRequest; |
| 6 |
use App\Billingo\Contracts\ValidableInterface; |
| 7 |
use App\Billingo\Models\BillingoModel; |
| 8 |
use App\Billingo\Traits\WithFactory; |
| 9 |
use App\Billingo\Validation\Document\DocumentSettingsValidator; |
| 10 |
|
| 11 |
/** |
| 12 |
* @property boolean $mediated_service |
| 13 |
* @property boolean $without_financial_fulfillment |
| 14 |
* @property string $online_payment |
| 15 |
* @property boolean $should_send_email |
| 16 |
* @property string $round |
| 17 |
* @property string $dont_send_to_nav_reason |
| 18 |
* @property string $order_number |
| 19 |
* @property integer $place_id |
| 20 |
* @property boolean $instant_payment |
| 21 |
* @property string $selected_type |
| 22 |
* @property null|DocumentInstantPaymentRequest $instant_payment_request |
| 23 |
*/ |
| 24 |
class DocumentSettings extends BillingoModel |
| 25 |
{ |
| 26 |
|
| 27 |
use WithFactory; |
| 28 |
|
| 29 |
protected array $cast = [ |
| 30 |
'instant_payment_request' => DocumentInstantPaymentRequest::class, |
| 31 |
]; |
| 32 |
|
| 33 |
protected function getValidator(): ValidableInterface |
| 34 |
{ |
| 35 |
return new DocumentSettingsValidator(); |
| 36 |
} |
| 37 |
} |
| 38 |
|