1 | <?php |
||
7 | final class ProfileQuery implements QueryInterface |
||
8 | { |
||
9 | /** |
||
10 | * KvK number, identifying number for a registration in the Netherlands Business Register. Consists of 8 digits |
||
11 | * |
||
12 | * @var string |
||
13 | */ |
||
14 | private $kvkNumber; |
||
15 | |||
16 | /** |
||
17 | * Branch number (Vestigingsnummer), identifying number of a branch. Consists of 12 digits |
||
18 | * |
||
19 | * @var string |
||
20 | */ |
||
21 | private $branchNumber; |
||
22 | |||
23 | /** |
||
24 | * RSIN is an identification number for legal entities and partnerships. Consist of only digits |
||
25 | * |
||
26 | * @var int |
||
27 | */ |
||
28 | private $rsin; |
||
29 | |||
30 | /** |
||
31 | * Indication to include searching through inactive dossiers/deregistered companies. |
||
32 | * |
||
33 | * @note History of inactive companies is after 1 January 2012 |
||
34 | * |
||
35 | * @var bool |
||
36 | */ |
||
37 | private $includeInactiveRegistrations; |
||
38 | |||
39 | /** |
||
40 | * RestrictToMainBranch Search is restricted to main branches. |
||
41 | * @var bool |
||
42 | */ |
||
43 | private $restrictToMainBranch; |
||
44 | |||
45 | /** |
||
46 | * Defines the search collection for the query |
||
47 | * |
||
48 | * @var string |
||
49 | */ |
||
50 | private $site; |
||
51 | |||
52 | /** |
||
53 | * User can optionally add a context to identify his result later on |
||
54 | * |
||
55 | * @var string |
||
56 | */ |
||
57 | private $context; |
||
58 | |||
59 | /** |
||
60 | * Free format text search for in the compiled search description. |
||
61 | * |
||
62 | * @var string |
||
63 | */ |
||
64 | private $freeTextQuery; |
||
65 | |||
66 | 52 | public function getKvkNumber(): ?string |
|
70 | |||
71 | 23 | public function setKvkNumber(string $kvkNumber): void |
|
75 | |||
76 | 52 | public function getBranchNumber(): ?string |
|
80 | |||
81 | 5 | public function setBranchNumber(string $branchNumber): void |
|
85 | |||
86 | 52 | public function getRsin(): ?int |
|
90 | |||
91 | 5 | public function setRsin(int $rsin): void |
|
95 | |||
96 | 52 | public function isIncludeInactiveRegistrations(): ?bool |
|
100 | |||
101 | 2 | public function setIncludeInactiveRegistrations(bool $includeInactiveRegistrations): void |
|
105 | |||
106 | 52 | public function isRestrictToMainBranch(): ?bool |
|
110 | |||
111 | 2 | public function setRestrictToMainBranch(bool $restrictToMainBranch): void |
|
115 | |||
116 | 52 | public function getSite(): ?string |
|
120 | |||
121 | 5 | public function setSite($site): void |
|
125 | |||
126 | 52 | public function getContext(): ?string |
|
130 | |||
131 | 5 | public function setContext(string $context): void |
|
135 | |||
136 | 52 | public function getFreeTextQuery(): ?string |
|
140 | |||
141 | 5 | public function setFreeTextQuery(string $freeTextQuery): void |
|
145 | |||
146 | 52 | public function get(): array |
|
159 | } |
||
160 |