1 | <?php |
||
11 | final class RequestData extends AbstractRequestData |
||
12 | { |
||
13 | /** |
||
14 | * The invoice ID. |
||
15 | * |
||
16 | * @var integer |
||
17 | * |
||
18 | * @JMS\Type("integer") |
||
19 | * @JMS\SerializedName("INVOICE_ID") |
||
20 | */ |
||
21 | protected $invoiceId; |
||
22 | |||
23 | /** |
||
24 | * The invoice number. |
||
25 | * |
||
26 | * @var string |
||
27 | * |
||
28 | * @JMS\Type("string") |
||
29 | * @JMS\SerializedName("INVOICE_NUMBER") |
||
30 | */ |
||
31 | protected $invoiceNumber; |
||
32 | |||
33 | /** |
||
34 | * The invoice title. |
||
35 | * |
||
36 | * @var string |
||
37 | * |
||
38 | * @JMS\Type("string") |
||
39 | * @JMS\SerializedName("INVOICE_TITLE") |
||
40 | */ |
||
41 | protected $invoiceTitle; |
||
42 | |||
43 | /** |
||
44 | * The customer ID. |
||
45 | * |
||
46 | * @var integer |
||
47 | * |
||
48 | * @JMS\Type("integer") |
||
49 | * @JMS\SerializedName("CUSTOMER_ID") |
||
50 | */ |
||
51 | protected $customerId; |
||
52 | |||
53 | /** |
||
54 | * @var string |
||
55 | * |
||
56 | * @JMS\Type("string") |
||
57 | * @JMS\SerializedName("MONTH") |
||
58 | */ |
||
59 | protected $month; |
||
60 | |||
61 | /** |
||
62 | * @var string |
||
63 | * |
||
64 | * @JMS\Type("string") |
||
65 | * @JMS\SerializedName("YEAR") |
||
66 | */ |
||
67 | protected $year; |
||
68 | |||
69 | /** |
||
70 | * The invoice start date and time. |
||
71 | * |
||
72 | * @var \DateTime |
||
73 | * |
||
74 | * @JMS\Type("DateTime<'Y-m-d H:i:s'>") |
||
75 | * @JMS\SerializedName("START_DUE_DATE") |
||
76 | */ |
||
77 | protected $startDate; |
||
78 | |||
79 | /** |
||
80 | * The invoice end date and time. |
||
81 | * |
||
82 | * @var \DateTime |
||
83 | * |
||
84 | * @JMS\Type("DateTime<'Y-m-d H:i:s'>") |
||
85 | * @JMS\SerializedName("END_DUE_DATE") |
||
86 | */ |
||
87 | protected $endDate; |
||
88 | |||
89 | /** |
||
90 | * The invoice type. |
||
91 | * |
||
92 | * @var string |
||
93 | * |
||
94 | * @JMS\Type("string") |
||
95 | * @JMS\SerializedName("TYPE") |
||
96 | */ |
||
97 | protected $type; |
||
98 | |||
99 | /** |
||
100 | * Get the invoice ID. |
||
101 | * |
||
102 | * @return int |
||
103 | */ |
||
104 | public function getInvoiceId() |
||
108 | |||
109 | /** |
||
110 | * Set the invoice ID. |
||
111 | * |
||
112 | * @param integer $invoiceId The invoice ID. |
||
113 | * @return RequestData |
||
114 | */ |
||
115 | public function setInvoiceId($invoiceId) |
||
121 | |||
122 | /** |
||
123 | * Get the invoice number. |
||
124 | * |
||
125 | * @return string |
||
126 | */ |
||
127 | public function getInvoiceNumber() |
||
131 | |||
132 | /** |
||
133 | * Set the invoice number. |
||
134 | * |
||
135 | * @param string $invoiceNumber The invoice number. |
||
136 | * @return RequestData |
||
137 | */ |
||
138 | public function setInvoiceNumber($invoiceNumber) |
||
144 | |||
145 | /** |
||
146 | * Get the invoice title. |
||
147 | * |
||
148 | * @return string |
||
149 | */ |
||
150 | public function getInvoiceTitle() |
||
154 | |||
155 | /** |
||
156 | * Set the invoice title. |
||
157 | * |
||
158 | * @param string $invoiceTitle |
||
159 | * @return RequestData |
||
160 | */ |
||
161 | public function setInvoiceTitle($invoiceTitle) |
||
167 | |||
168 | /** |
||
169 | * Get the customer ID. |
||
170 | * |
||
171 | * @return int |
||
172 | */ |
||
173 | public function getCustomerId() |
||
177 | |||
178 | /** |
||
179 | * Set the customer ID. |
||
180 | * |
||
181 | * @param int $customerId |
||
182 | * @return RequestData |
||
183 | */ |
||
184 | public function setCustomerId($customerId) |
||
190 | |||
191 | /** |
||
192 | * Get the month. |
||
193 | * |
||
194 | * @return string |
||
195 | */ |
||
196 | public function getMonth() |
||
200 | |||
201 | /** |
||
202 | * Set the month. |
||
203 | * |
||
204 | * @param string $month |
||
205 | * @return RequestData |
||
206 | */ |
||
207 | public function setMonth($month) |
||
213 | |||
214 | /** |
||
215 | * Get the year. |
||
216 | * |
||
217 | * @return string |
||
218 | */ |
||
219 | public function getYear() |
||
223 | |||
224 | /** |
||
225 | * Set the year. |
||
226 | * |
||
227 | * @param string $year |
||
228 | * @return RequestData |
||
229 | */ |
||
230 | public function setYear($year) |
||
236 | |||
237 | /** |
||
238 | * Get the start date. |
||
239 | * |
||
240 | * @return \DateTime |
||
241 | */ |
||
242 | public function getStartDate() |
||
246 | |||
247 | /** |
||
248 | * Set the start date. |
||
249 | * |
||
250 | * @param \DateTime $startDate |
||
251 | * @return RequestData |
||
252 | */ |
||
253 | public function setStartDate($startDate) |
||
259 | |||
260 | /** |
||
261 | * Get the end date. |
||
262 | * |
||
263 | * @return \DateTime |
||
264 | */ |
||
265 | public function getEndDate() |
||
269 | |||
270 | /** |
||
271 | * Set the end date. |
||
272 | * |
||
273 | * @param \DateTime $endDate |
||
274 | * @return RequestData |
||
275 | */ |
||
276 | public function setEndDate($endDate) |
||
282 | |||
283 | /** |
||
284 | * Get the type. |
||
285 | * |
||
286 | * @return string |
||
287 | */ |
||
288 | public function getType() |
||
292 | |||
293 | /** |
||
294 | * Set the type. |
||
295 | * |
||
296 | * @param string $type |
||
297 | * @return RequestData |
||
298 | */ |
||
299 | public function setType($type) |
||
305 | } |
||
306 |