1 | <?php |
||
22 | class RequestData { |
||
23 | |||
24 | /** |
||
25 | * Analytic code. |
||
26 | * |
||
27 | * @var string|null |
||
28 | */ |
||
29 | private $analyticCode; |
||
30 | |||
31 | /** |
||
32 | * Buy date max. |
||
33 | * |
||
34 | * @var DateTime|null |
||
35 | */ |
||
36 | private $buyDateMax; |
||
37 | |||
38 | /** |
||
39 | * Identification key. |
||
40 | * |
||
41 | * @var string|null |
||
42 | */ |
||
43 | private $identificationKey; |
||
44 | |||
45 | /** |
||
46 | * Constructor. |
||
47 | */ |
||
48 | public function __construct() { |
||
51 | |||
52 | /** |
||
53 | * Get the analytic code. |
||
54 | * |
||
55 | * @return string|null Returns the analytic code. |
||
56 | */ |
||
57 | public function getAnalyticCode(): ?string { |
||
60 | |||
61 | /** |
||
62 | * Get the buy date max. |
||
63 | * |
||
64 | * @return DateTime|null Returns the buy date max. |
||
65 | */ |
||
66 | public function getBuyDateMax(): ?DateTime { |
||
69 | |||
70 | /** |
||
71 | * Get the identification key. |
||
72 | * |
||
73 | * @return string|null Returns the identification key. |
||
74 | */ |
||
75 | public function getIdentificationKey(): ?string { |
||
78 | |||
79 | /** |
||
80 | * Set the analytic code. |
||
81 | * |
||
82 | * @param string|null $analyticCode The analytic code. |
||
83 | * @return RequestData Returns this request data. |
||
84 | */ |
||
85 | public function setAnalyticCode(?string $analyticCode): RequestData { |
||
89 | |||
90 | /** |
||
91 | * Set the buy date max. |
||
92 | * |
||
93 | * @param DateTime|null $buyDateMax The buy date max. |
||
94 | * @return RequestData Returns this request data. |
||
95 | */ |
||
96 | public function setBuyDateMax(?DateTime $buyDateMax): RequestData { |
||
100 | |||
101 | /** |
||
102 | * Set the identification key. |
||
103 | * |
||
104 | * @param string|null $identificationKey The identification key. |
||
105 | * @return RequestData Returns this request data. |
||
106 | */ |
||
107 | public function setIdentificationKey(?string $identificationKey): RequestData { |
||
111 | } |
||
112 |