1 | <?php |
||
18 | class CompanyContactsMutatorCriteria extends AbstractCriteria |
||
19 | { |
||
20 | use ConnectionTrait, |
||
21 | CacheTrait; |
||
22 | |||
23 | /** |
||
24 | * @var string|null |
||
25 | */ |
||
26 | protected $companyId; |
||
27 | |||
28 | /** |
||
29 | * @var string|null |
||
30 | */ |
||
31 | protected $contactId; |
||
32 | |||
33 | /** |
||
34 | * @return string |
||
35 | * @throws \Exception |
||
36 | */ |
||
37 | public function getCompanyId(): string |
||
44 | |||
45 | /** |
||
46 | * @return string|null |
||
47 | */ |
||
48 | public function findCompanyId() |
||
52 | |||
53 | /** |
||
54 | * @param string|null $id |
||
55 | * @return $this |
||
56 | */ |
||
57 | public function setCompanyId(string $id = null) |
||
62 | |||
63 | /** |
||
64 | * @return string |
||
65 | * @throws \Exception |
||
66 | */ |
||
67 | public function getContactId(): string |
||
74 | |||
75 | /** |
||
76 | * @return string|null |
||
77 | */ |
||
78 | public function findContactId() |
||
82 | |||
83 | /** |
||
84 | * @param string|null $id |
||
85 | * @return $this |
||
86 | */ |
||
87 | public function setContactId(string $id = null) |
||
92 | |||
93 | /** |
||
94 | * @param array $criteria |
||
95 | * @param array $config |
||
96 | * @return ResponseInterface |
||
97 | * @throws \Exception |
||
98 | */ |
||
99 | public function add(array $criteria = [], array $config = []): ResponseInterface |
||
112 | |||
113 | /** |
||
114 | * @param array $criteria |
||
115 | * @param array $config |
||
116 | * @return ResponseInterface |
||
117 | * @throws \Exception |
||
118 | */ |
||
119 | public function remove(array $criteria = [], array $config = []): ResponseInterface |
||
132 | } |
||
133 |