1 | <?php |
||
21 | class TimelineEventBatchCriteria extends AbstractCriteria |
||
22 | { |
||
23 | use IntegrationConnectionTrait, |
||
24 | PayloadAttributeTrait; |
||
25 | |||
26 | /** |
||
27 | * @return array |
||
28 | */ |
||
29 | public function getPayload(): array |
||
37 | |||
38 | /** |
||
39 | * @param array $items |
||
40 | * @return $this |
||
41 | * @throws \Exception |
||
42 | */ |
||
43 | public function setItems(array $items) |
||
55 | |||
56 | /** |
||
57 | * @param TimelineEventCriteria $criteria |
||
58 | * @return $this |
||
59 | * @throws \Exception |
||
60 | */ |
||
61 | public function addItem(TimelineEventCriteria $criteria) |
||
66 | |||
67 | /** |
||
68 | * @param array $criteria |
||
69 | * @param array $config |
||
70 | * @return ResponseInterface |
||
71 | * @throws \Exception |
||
72 | */ |
||
73 | public function batch(array $criteria = [], array $config = []): ResponseInterface |
||
84 | } |
||
85 |