1 | <?php |
||
14 | class DeletePriceListItemsBatch extends iDokladAbstractFunction |
||
15 | { |
||
16 | /** @var BatchModelOfInt32 $data */ |
||
17 | protected $data; |
||
18 | |||
19 | /** @var bool $deleteIfReferenced */ |
||
20 | protected $deleteIfReferenced; |
||
21 | |||
22 | /** |
||
23 | * @param BatchModelOfInt32 $data |
||
24 | * @param bool $deleteIfReferenced |
||
25 | * |
||
26 | * @throws \Fousky\Component\iDoklad\Exception\InvalidModelException |
||
27 | */ |
||
28 | public function __construct(BatchModelOfInt32 $data, bool $deleteIfReferenced = true) |
||
35 | |||
36 | /** |
||
37 | * Get iDokladModelInterface class. |
||
38 | * |
||
39 | * @see iDokladModelInterface |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | public function getModelClass(): string |
||
47 | |||
48 | /** |
||
49 | * GET|POST|PUT|DELETE e.g. |
||
50 | * |
||
51 | * @see iDoklad::request() |
||
52 | * |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getHttpMethod(): string |
||
59 | |||
60 | /** |
||
61 | * Return base URI, e.g. /invoices; /invoice/1/edit and so on. |
||
62 | * |
||
63 | * @see iDoklad::call() |
||
64 | * |
||
65 | * @return string |
||
66 | */ |
||
67 | public function getUri(): string |
||
74 | |||
75 | /** |
||
76 | * Vrátí seznam parametrů, které se předají GuzzleHttp\Client. |
||
77 | * |
||
78 | * @see \GuzzleHttp\Client::request() |
||
79 | * @see iDoklad::call() |
||
80 | * |
||
81 | * @return array |
||
82 | */ |
||
83 | public function getGuzzleOptions(): array |
||
87 | } |
||
88 |