| 1 | <?php |
||
| 18 | class CompanyContactsCriteria extends AbstractCriteria |
||
| 19 | { |
||
| 20 | use ConnectionTrait, |
||
| 21 | CacheTrait, |
||
| 22 | IdAttributeTrait; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string|null |
||
| 26 | */ |
||
| 27 | protected $contactId; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | * @throws \Exception |
||
| 32 | */ |
||
| 33 | public function getContactId(): string |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return string|null |
||
| 43 | */ |
||
| 44 | public function findContactId() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param string|null $id |
||
| 51 | * @return $this |
||
| 52 | */ |
||
| 53 | public function setContactId(string $id = null) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @param array $criteria |
||
| 61 | * @param array $config |
||
| 62 | * @return ResponseInterface |
||
| 63 | * @throws \Exception |
||
| 64 | */ |
||
| 65 | public function all(array $criteria = [], array $config = []): ResponseInterface |
||
| 77 | |||
| 78 | /** |
||
| 79 | * @param array $criteria |
||
| 80 | * @param array $config |
||
| 81 | * @return ResponseInterface |
||
| 82 | * @throws \Exception |
||
| 83 | */ |
||
| 84 | public function add(array $criteria = [], array $config = []): ResponseInterface |
||
| 97 | |||
| 98 | /** |
||
| 99 | * @param array $criteria |
||
| 100 | * @param array $config |
||
| 101 | * @return ResponseInterface |
||
| 102 | * @throws \Exception |
||
| 103 | */ |
||
| 104 | public function remove(array $criteria = [], array $config = []): ResponseInterface |
||
| 117 | } |
||
| 118 |