Total Complexity | 88 |
Total Lines | 1016 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
Complex classes like TransactionStatusRequest often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use TransactionStatusRequest, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
12 | class TransactionStatusRequest extends AbstractRequest implements TransactionStatusUpdateInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var string Payment portal key as MD5 value |
||
16 | */ |
||
17 | protected $key; |
||
18 | |||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $txaction; |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $mode; |
||
28 | |||
29 | /** |
||
30 | * @var int Payment portal ID |
||
31 | */ |
||
32 | protected $portalid; |
||
33 | |||
34 | /** |
||
35 | * @var int Account ID (subaccount ID) |
||
36 | */ |
||
37 | protected $aid; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | */ |
||
42 | protected $clearingtype; |
||
43 | |||
44 | /** |
||
45 | * unix timestamp |
||
46 | * |
||
47 | * @var int |
||
48 | */ |
||
49 | protected $txtime; |
||
50 | |||
51 | /** |
||
52 | * @var string ISO-4217 |
||
53 | */ |
||
54 | protected $currency; |
||
55 | |||
56 | /** |
||
57 | * @var int |
||
58 | */ |
||
59 | protected $userid; |
||
60 | |||
61 | /** |
||
62 | * @var int |
||
63 | */ |
||
64 | protected $customerid; |
||
65 | |||
66 | /** |
||
67 | * @var string |
||
68 | */ |
||
69 | protected $param; |
||
70 | |||
71 | /** |
||
72 | * @var int |
||
73 | */ |
||
74 | protected $txid; |
||
75 | |||
76 | /** |
||
77 | * @var string |
||
78 | */ |
||
79 | protected $reference; |
||
80 | |||
81 | /** |
||
82 | * @var string |
||
83 | */ |
||
84 | protected $sequencenumber; |
||
85 | |||
86 | /** |
||
87 | * @var float |
||
88 | */ |
||
89 | protected $receivable; |
||
90 | |||
91 | /** |
||
92 | * @var float |
||
93 | */ |
||
94 | protected $balance; |
||
95 | |||
96 | /** |
||
97 | * @var float |
||
98 | */ |
||
99 | protected $price; |
||
100 | |||
101 | /** |
||
102 | * @var string |
||
103 | */ |
||
104 | protected $failedcause; |
||
105 | |||
106 | /** |
||
107 | * @var int |
||
108 | */ |
||
109 | protected $productid; |
||
110 | |||
111 | /** |
||
112 | * @var int |
||
113 | */ |
||
114 | protected $accessid; |
||
115 | |||
116 | /** |
||
117 | * @var string |
||
118 | */ |
||
119 | protected $reminderlevel; |
||
120 | |||
121 | /** |
||
122 | * @var string |
||
123 | */ |
||
124 | protected $invoiceid; |
||
125 | |||
126 | /** |
||
127 | * @var string |
||
128 | */ |
||
129 | protected $invoice_grossamount; |
||
130 | |||
131 | /** |
||
132 | * @var string |
||
133 | */ |
||
134 | protected $invoice_date; |
||
135 | |||
136 | /** |
||
137 | * @var string |
||
138 | */ |
||
139 | protected $invoice_deliverydate; |
||
140 | |||
141 | /** |
||
142 | * @var string |
||
143 | */ |
||
144 | protected $invoice_deliveryenddate; |
||
145 | |||
146 | /** |
||
147 | * @var string |
||
148 | */ |
||
149 | protected $clearing_bankaccountholder; |
||
150 | |||
151 | /** |
||
152 | * @var string |
||
153 | */ |
||
154 | protected $clearing_bankcountry; |
||
155 | |||
156 | /** |
||
157 | * @var string |
||
158 | */ |
||
159 | protected $clearing_bankaccount; |
||
160 | |||
161 | /** |
||
162 | * @var string |
||
163 | */ |
||
164 | protected $clearing_bankcode; |
||
165 | |||
166 | /** |
||
167 | * @var string |
||
168 | */ |
||
169 | protected $clearing_bankiban; |
||
170 | |||
171 | /** |
||
172 | * @var string |
||
173 | */ |
||
174 | protected $clearing_bankbic; |
||
175 | |||
176 | /** |
||
177 | * @var string |
||
178 | */ |
||
179 | protected $clearing_bankcity; |
||
180 | |||
181 | /** |
||
182 | * @var string |
||
183 | */ |
||
184 | protected $clearing_bankname; |
||
185 | |||
186 | /** |
||
187 | * @var string |
||
188 | */ |
||
189 | protected $iban; |
||
190 | |||
191 | /** |
||
192 | * @var string |
||
193 | */ |
||
194 | protected $bic; |
||
195 | |||
196 | /** |
||
197 | * @var string |
||
198 | */ |
||
199 | protected $mandate_identification; |
||
200 | |||
201 | /** |
||
202 | * @var string |
||
203 | */ |
||
204 | protected $clearing_date; |
||
205 | |||
206 | /** |
||
207 | * @var string |
||
208 | */ |
||
209 | protected $clearing_amount; |
||
210 | |||
211 | /** |
||
212 | * @var string |
||
213 | */ |
||
214 | protected $creditor_identifier; |
||
215 | |||
216 | /** |
||
217 | * @var string |
||
218 | */ |
||
219 | protected $clearing_legalnote; |
||
220 | |||
221 | /** |
||
222 | * (YYYYMMDD) |
||
223 | * |
||
224 | * @var string |
||
225 | */ |
||
226 | protected $clearing_duedate; |
||
227 | |||
228 | /** |
||
229 | * @var string |
||
230 | */ |
||
231 | protected $clearing_reference; |
||
232 | |||
233 | /** |
||
234 | * @var string |
||
235 | */ |
||
236 | protected $clearing_instructionnote; |
||
237 | |||
238 | /** |
||
239 | * @param int $accessid |
||
240 | * |
||
241 | * @return void |
||
242 | */ |
||
243 | public function setAccessid($accessid) |
||
244 | { |
||
245 | $this->accessid = $accessid; |
||
246 | } |
||
247 | |||
248 | /** |
||
249 | * @return int |
||
250 | */ |
||
251 | public function getAccessid() |
||
252 | { |
||
253 | return $this->accessid; |
||
254 | } |
||
255 | |||
256 | /** |
||
257 | * @param int $aid |
||
258 | * |
||
259 | * @return void |
||
260 | */ |
||
261 | public function setAid($aid) |
||
262 | { |
||
263 | $this->aid = $aid; |
||
264 | } |
||
265 | |||
266 | /** |
||
267 | * @return int |
||
268 | */ |
||
269 | public function getAid() |
||
270 | { |
||
271 | return $this->aid; |
||
272 | } |
||
273 | |||
274 | /** |
||
275 | * @param float $balance |
||
276 | * |
||
277 | * @return void |
||
278 | */ |
||
279 | public function setBalance($balance) |
||
280 | { |
||
281 | $this->balance = $balance; |
||
282 | } |
||
283 | |||
284 | /** |
||
285 | * @return float |
||
286 | */ |
||
287 | public function getBalance() |
||
288 | { |
||
289 | return $this->balance; |
||
290 | } |
||
291 | |||
292 | /** |
||
293 | * @param string $clearingtype |
||
294 | * |
||
295 | * @return void |
||
296 | */ |
||
297 | public function setClearingtype($clearingtype) |
||
298 | { |
||
299 | $this->clearingtype = $clearingtype; |
||
300 | } |
||
301 | |||
302 | /** |
||
303 | * @return string |
||
304 | */ |
||
305 | public function getClearingtype() |
||
306 | { |
||
307 | return $this->clearingtype; |
||
308 | } |
||
309 | |||
310 | /** |
||
311 | * @param string $currency |
||
312 | * |
||
313 | * @return void |
||
314 | */ |
||
315 | public function setCurrency($currency) |
||
316 | { |
||
317 | $this->currency = $currency; |
||
318 | } |
||
319 | |||
320 | /** |
||
321 | * @return string |
||
322 | */ |
||
323 | public function getCurrency() |
||
324 | { |
||
325 | return $this->currency; |
||
326 | } |
||
327 | |||
328 | /** |
||
329 | * @param int $customerid |
||
330 | * |
||
331 | * @return void |
||
332 | */ |
||
333 | public function setCustomerid($customerid) |
||
334 | { |
||
335 | $this->customerid = $customerid; |
||
336 | } |
||
337 | |||
338 | /** |
||
339 | * @return int |
||
340 | */ |
||
341 | public function getCustomerid() |
||
342 | { |
||
343 | return $this->customerid; |
||
344 | } |
||
345 | |||
346 | /** |
||
347 | * @param string $failedcause |
||
348 | * |
||
349 | * @return void |
||
350 | */ |
||
351 | public function setFailedcause($failedcause) |
||
352 | { |
||
353 | $this->failedcause = $failedcause; |
||
354 | } |
||
355 | |||
356 | /** |
||
357 | * @return string |
||
358 | */ |
||
359 | public function getFailedcause() |
||
360 | { |
||
361 | return $this->failedcause; |
||
362 | } |
||
363 | |||
364 | /** |
||
365 | * @param string $invoice_date |
||
366 | * |
||
367 | * @return void |
||
368 | */ |
||
369 | public function setInvoiceDate($invoice_date) |
||
370 | { |
||
371 | $this->invoice_date = $invoice_date; |
||
372 | } |
||
373 | |||
374 | /** |
||
375 | * @return string |
||
376 | */ |
||
377 | public function getInvoiceDate() |
||
378 | { |
||
379 | return $this->invoice_date; |
||
380 | } |
||
381 | |||
382 | /** |
||
383 | * @param string $invoice_deliverydate |
||
384 | * |
||
385 | * @return void |
||
386 | */ |
||
387 | public function setInvoiceDeliverydate($invoice_deliverydate) |
||
388 | { |
||
389 | $this->invoice_deliverydate = $invoice_deliverydate; |
||
390 | } |
||
391 | |||
392 | /** |
||
393 | * @return string |
||
394 | */ |
||
395 | public function getInvoiceDeliverydate() |
||
396 | { |
||
397 | return $this->invoice_deliverydate; |
||
398 | } |
||
399 | |||
400 | /** |
||
401 | * @param string $invoice_deliveryenddate |
||
402 | * |
||
403 | * @return void |
||
404 | */ |
||
405 | public function setInvoiceDeliveryenddate($invoice_deliveryenddate) |
||
406 | { |
||
407 | $this->invoice_deliveryenddate = $invoice_deliveryenddate; |
||
408 | } |
||
409 | |||
410 | /** |
||
411 | * @return string |
||
412 | */ |
||
413 | public function getInvoiceDeliveryenddate() |
||
414 | { |
||
415 | return $this->invoice_deliveryenddate; |
||
416 | } |
||
417 | |||
418 | /** |
||
419 | * @param string $invoice_grossamount |
||
420 | * |
||
421 | * @return void |
||
422 | */ |
||
423 | public function setInvoiceGrossamount($invoice_grossamount) |
||
424 | { |
||
425 | $this->invoice_grossamount = $invoice_grossamount; |
||
426 | } |
||
427 | |||
428 | /** |
||
429 | * @return string |
||
430 | */ |
||
431 | public function getInvoiceGrossamount() |
||
432 | { |
||
433 | return $this->invoice_grossamount; |
||
434 | } |
||
435 | |||
436 | /** |
||
437 | * @param string $invoiceid |
||
438 | * |
||
439 | * @return void |
||
440 | */ |
||
441 | public function setInvoiceid($invoiceid) |
||
442 | { |
||
443 | $this->invoiceid = $invoiceid; |
||
444 | } |
||
445 | |||
446 | /** |
||
447 | * @return string |
||
448 | */ |
||
449 | public function getInvoiceid() |
||
450 | { |
||
451 | return $this->invoiceid; |
||
452 | } |
||
453 | |||
454 | /** |
||
455 | * @param string $key |
||
456 | * |
||
457 | * @return void |
||
458 | */ |
||
459 | public function setKey($key) |
||
460 | { |
||
461 | $this->key = $key; |
||
462 | } |
||
463 | |||
464 | /** |
||
465 | * @return string |
||
466 | */ |
||
467 | public function getKey() |
||
468 | { |
||
469 | return $this->key; |
||
470 | } |
||
471 | |||
472 | /** |
||
473 | * @param string $mode |
||
474 | * |
||
475 | * @return void |
||
476 | */ |
||
477 | public function setMode($mode) |
||
478 | { |
||
479 | $this->mode = $mode; |
||
480 | } |
||
481 | |||
482 | /** |
||
483 | * @return string |
||
484 | */ |
||
485 | public function getMode() |
||
486 | { |
||
487 | return $this->mode; |
||
488 | } |
||
489 | |||
490 | /** |
||
491 | * @param string $param |
||
492 | * |
||
493 | * @return void |
||
494 | */ |
||
495 | public function setParam($param) |
||
496 | { |
||
497 | $this->param = $param; |
||
498 | } |
||
499 | |||
500 | /** |
||
501 | * @return string |
||
502 | */ |
||
503 | public function getParam() |
||
504 | { |
||
505 | return $this->param; |
||
506 | } |
||
507 | |||
508 | /** |
||
509 | * @param int $portalid |
||
510 | * |
||
511 | * @return void |
||
512 | */ |
||
513 | public function setPortalid($portalid) |
||
514 | { |
||
515 | $this->portalid = $portalid; |
||
516 | } |
||
517 | |||
518 | /** |
||
519 | * @return int |
||
520 | */ |
||
521 | public function getPortalid() |
||
522 | { |
||
523 | return $this->portalid; |
||
524 | } |
||
525 | |||
526 | /** |
||
527 | * @param int $productid |
||
528 | * |
||
529 | * @return void |
||
530 | */ |
||
531 | public function setProductid($productid) |
||
532 | { |
||
533 | $this->productid = $productid; |
||
534 | } |
||
535 | |||
536 | /** |
||
537 | * @return int |
||
538 | */ |
||
539 | public function getProductid() |
||
540 | { |
||
541 | return $this->productid; |
||
542 | } |
||
543 | |||
544 | /** |
||
545 | * @param float $receivable |
||
546 | * |
||
547 | * @return void |
||
548 | */ |
||
549 | public function setReceivable($receivable) |
||
550 | { |
||
551 | $this->receivable = $receivable; |
||
552 | } |
||
553 | |||
554 | /** |
||
555 | * @return float |
||
556 | */ |
||
557 | public function getReceivable() |
||
558 | { |
||
559 | return $this->receivable; |
||
560 | } |
||
561 | |||
562 | /** |
||
563 | * @param string $reference |
||
564 | * |
||
565 | * @return void |
||
566 | */ |
||
567 | public function setReference($reference) |
||
568 | { |
||
569 | $this->reference = $reference; |
||
570 | } |
||
571 | |||
572 | /** |
||
573 | * @return string |
||
574 | */ |
||
575 | public function getReference() |
||
576 | { |
||
577 | return $this->reference; |
||
578 | } |
||
579 | |||
580 | /** |
||
581 | * @param string $reminderlevel |
||
582 | * |
||
583 | * @return void |
||
584 | */ |
||
585 | public function setReminderlevel($reminderlevel) |
||
586 | { |
||
587 | $this->reminderlevel = $reminderlevel; |
||
588 | } |
||
589 | |||
590 | /** |
||
591 | * @return string |
||
592 | */ |
||
593 | public function getReminderlevel() |
||
594 | { |
||
595 | return $this->reminderlevel; |
||
596 | } |
||
597 | |||
598 | /** |
||
599 | * @param string $sequencenumber |
||
600 | * |
||
601 | * @return void |
||
602 | */ |
||
603 | public function setSequencenumber($sequencenumber) |
||
604 | { |
||
605 | $this->sequencenumber = $sequencenumber; |
||
606 | } |
||
607 | |||
608 | /** |
||
609 | * @return string |
||
610 | */ |
||
611 | public function getSequencenumber() |
||
612 | { |
||
613 | return $this->sequencenumber; |
||
614 | } |
||
615 | |||
616 | /** |
||
617 | * @param string $txaction |
||
618 | * |
||
619 | * @return void |
||
620 | */ |
||
621 | public function setTxaction($txaction) |
||
622 | { |
||
623 | $this->txaction = $txaction; |
||
624 | } |
||
625 | |||
626 | /** |
||
627 | * @return string |
||
628 | */ |
||
629 | public function getTxaction() |
||
630 | { |
||
631 | return $this->txaction; |
||
632 | } |
||
633 | |||
634 | /** |
||
635 | * @param int $txid |
||
636 | * |
||
637 | * @return void |
||
638 | */ |
||
639 | public function setTxid($txid) |
||
640 | { |
||
641 | $this->txid = $txid; |
||
642 | } |
||
643 | |||
644 | /** |
||
645 | * @return int |
||
646 | */ |
||
647 | public function getTxid() |
||
648 | { |
||
649 | return $this->txid; |
||
650 | } |
||
651 | |||
652 | /** |
||
653 | * @param int $txtime |
||
654 | * |
||
655 | * @return void |
||
656 | */ |
||
657 | public function setTxtime($txtime) |
||
658 | { |
||
659 | $this->txtime = $txtime; |
||
660 | } |
||
661 | |||
662 | /** |
||
663 | * @return int |
||
664 | */ |
||
665 | public function getTxtime() |
||
666 | { |
||
667 | return $this->txtime; |
||
668 | } |
||
669 | |||
670 | /** |
||
671 | * @param int $userid |
||
672 | * |
||
673 | * @return void |
||
674 | */ |
||
675 | public function setUserid($userid) |
||
676 | { |
||
677 | $this->userid = $userid; |
||
678 | } |
||
679 | |||
680 | /** |
||
681 | * @return int |
||
682 | */ |
||
683 | public function getUserid() |
||
684 | { |
||
685 | return $this->userid; |
||
686 | } |
||
687 | |||
688 | /** |
||
689 | * @param string $clearing_bankaccount |
||
690 | * |
||
691 | * @return void |
||
692 | */ |
||
693 | public function setClearingBankaccount($clearing_bankaccount) |
||
694 | { |
||
695 | $this->clearing_bankaccount = $clearing_bankaccount; |
||
696 | } |
||
697 | |||
698 | /** |
||
699 | * @return string |
||
700 | */ |
||
701 | public function getClearingBankaccount() |
||
702 | { |
||
703 | return $this->clearing_bankaccount; |
||
704 | } |
||
705 | |||
706 | /** |
||
707 | * @param string $clearing_bankaccountholder |
||
708 | * |
||
709 | * @return void |
||
710 | */ |
||
711 | public function setClearingBankaccountholder($clearing_bankaccountholder) |
||
712 | { |
||
713 | $this->clearing_bankaccountholder = $clearing_bankaccountholder; |
||
714 | } |
||
715 | |||
716 | /** |
||
717 | * @return string |
||
718 | */ |
||
719 | public function getClearingBankaccountholder() |
||
720 | { |
||
721 | return $this->clearing_bankaccountholder; |
||
722 | } |
||
723 | |||
724 | /** |
||
725 | * @param string $clearing_bankbic |
||
726 | * |
||
727 | * @return void |
||
728 | */ |
||
729 | public function setClearingBankbic($clearing_bankbic) |
||
730 | { |
||
731 | $this->clearing_bankbic = $clearing_bankbic; |
||
732 | } |
||
733 | |||
734 | /** |
||
735 | * @return string |
||
736 | */ |
||
737 | public function getClearingBankbic() |
||
738 | { |
||
739 | return $this->clearing_bankbic; |
||
740 | } |
||
741 | |||
742 | /** |
||
743 | * @param string $clearing_bankcity |
||
744 | * |
||
745 | * @return void |
||
746 | */ |
||
747 | public function setClearingBankcity($clearing_bankcity) |
||
748 | { |
||
749 | $this->clearing_bankcity = $clearing_bankcity; |
||
750 | } |
||
751 | |||
752 | /** |
||
753 | * @return string |
||
754 | */ |
||
755 | public function getClearingBankcity() |
||
756 | { |
||
757 | return $this->clearing_bankcity; |
||
758 | } |
||
759 | |||
760 | /** |
||
761 | * @param string $clearing_bankcode |
||
762 | * |
||
763 | * @return void |
||
764 | */ |
||
765 | public function setClearingBankcode($clearing_bankcode) |
||
766 | { |
||
767 | $this->clearing_bankcode = $clearing_bankcode; |
||
768 | } |
||
769 | |||
770 | /** |
||
771 | * @return string |
||
772 | */ |
||
773 | public function getClearingBankcode() |
||
774 | { |
||
775 | return $this->clearing_bankcode; |
||
776 | } |
||
777 | |||
778 | /** |
||
779 | * @param string $clearing_bankcountry |
||
780 | * |
||
781 | * @return void |
||
782 | */ |
||
783 | public function setClearingBankcountry($clearing_bankcountry) |
||
786 | } |
||
787 | |||
788 | /** |
||
789 | * @return string |
||
790 | */ |
||
791 | public function getClearingBankcountry() |
||
792 | { |
||
793 | return $this->clearing_bankcountry; |
||
794 | } |
||
795 | |||
796 | /** |
||
797 | * @param string $clearing_bankiban |
||
798 | * |
||
799 | * @return void |
||
800 | */ |
||
801 | public function setClearingBankiban($clearing_bankiban) |
||
802 | { |
||
803 | $this->clearing_bankiban = $clearing_bankiban; |
||
804 | } |
||
805 | |||
806 | /** |
||
807 | * @return string |
||
808 | */ |
||
809 | public function getClearingBankiban() |
||
810 | { |
||
811 | return $this->clearing_bankiban; |
||
812 | } |
||
813 | |||
814 | /** |
||
815 | * @param string $clearing_bankname |
||
816 | * |
||
817 | * @return void |
||
818 | */ |
||
819 | public function setClearingBankname($clearing_bankname) |
||
820 | { |
||
821 | $this->clearing_bankname = $clearing_bankname; |
||
822 | } |
||
823 | |||
824 | /** |
||
825 | * @return string |
||
826 | */ |
||
827 | public function getClearingBankname() |
||
828 | { |
||
829 | return $this->clearing_bankname; |
||
830 | } |
||
831 | |||
832 | /** |
||
833 | * @param string $iban |
||
834 | * |
||
835 | * @return void |
||
836 | */ |
||
837 | public function setIban($iban) |
||
838 | { |
||
839 | $this->iban = $iban; |
||
840 | } |
||
841 | |||
842 | /** |
||
843 | * @return string |
||
844 | */ |
||
845 | public function getIban() |
||
846 | { |
||
847 | return $this->iban; |
||
848 | } |
||
849 | |||
850 | /** |
||
851 | * @param string $bic |
||
852 | * |
||
853 | * @return void |
||
854 | */ |
||
855 | public function setBic($bic) |
||
856 | { |
||
857 | $this->bic = $bic; |
||
858 | } |
||
859 | |||
860 | /** |
||
861 | * @return string |
||
862 | */ |
||
863 | public function getBic() |
||
866 | } |
||
867 | |||
868 | /** |
||
869 | * @param string $mandateIdentification |
||
870 | * |
||
871 | * @return void |
||
872 | */ |
||
873 | public function setMandateIdentification($mandateIdentification) |
||
876 | } |
||
877 | |||
878 | /** |
||
879 | * @return string |
||
880 | */ |
||
881 | public function getMandateIdentification() |
||
882 | { |
||
883 | return $this->mandate_identification; |
||
884 | } |
||
885 | |||
886 | /** |
||
887 | * @param string $clearing_duedate |
||
888 | * |
||
889 | * @return void |
||
890 | */ |
||
891 | public function setClearingDuedate($clearing_duedate) |
||
892 | { |
||
893 | $this->clearing_duedate = $clearing_duedate; |
||
894 | } |
||
895 | |||
896 | /** |
||
897 | * @return string |
||
898 | */ |
||
899 | public function getClearingDuedate() |
||
900 | { |
||
901 | return $this->clearing_duedate; |
||
902 | } |
||
903 | |||
904 | /** |
||
905 | * @param string $clearingAmount |
||
906 | * |
||
907 | * @return void |
||
908 | */ |
||
909 | public function setClearingAmount($clearingAmount) |
||
910 | { |
||
911 | $this->clearing_amount = $clearingAmount; |
||
912 | } |
||
913 | |||
914 | /** |
||
915 | * @return string |
||
916 | */ |
||
917 | public function getClearingAmount() |
||
918 | { |
||
919 | return $this->clearing_amount; |
||
920 | } |
||
921 | |||
922 | /** |
||
923 | * @param string $creditorIdentifier |
||
924 | * |
||
925 | * @return void |
||
926 | */ |
||
927 | public function setCreditorIdentifier($creditorIdentifier) |
||
928 | { |
||
929 | $this->creditor_identifier = $creditorIdentifier; |
||
930 | } |
||
931 | |||
932 | /** |
||
933 | * @return string |
||
934 | */ |
||
935 | public function getCreditorIdentifier() |
||
936 | { |
||
937 | return $this->creditor_identifier; |
||
938 | } |
||
939 | |||
940 | /** |
||
941 | * @param string $clearingDate |
||
942 | * |
||
943 | * @return void |
||
944 | */ |
||
945 | public function setClearingDate($clearingDate) |
||
946 | { |
||
947 | $this->clearing_date = $clearingDate; |
||
948 | } |
||
949 | |||
950 | /** |
||
951 | * @return string |
||
952 | */ |
||
953 | public function getClearingDate() |
||
954 | { |
||
955 | return $this->clearing_date; |
||
956 | } |
||
957 | |||
958 | /** |
||
959 | * @param string $clearing_instructionnote |
||
960 | * |
||
961 | * @return void |
||
962 | */ |
||
963 | public function setClearingInstructionnote($clearing_instructionnote) |
||
964 | { |
||
965 | $this->clearing_instructionnote = $clearing_instructionnote; |
||
966 | } |
||
967 | |||
968 | /** |
||
969 | * @return string |
||
970 | */ |
||
971 | public function getClearingInstructionnote() |
||
972 | { |
||
973 | return $this->clearing_instructionnote; |
||
974 | } |
||
975 | |||
976 | /** |
||
977 | * @param string $clearing_legalnote |
||
978 | * |
||
979 | * @return void |
||
980 | */ |
||
981 | public function setClearingLegalnote($clearing_legalnote) |
||
982 | { |
||
983 | $this->clearing_legalnote = $clearing_legalnote; |
||
984 | } |
||
985 | |||
986 | /** |
||
987 | * @return string |
||
988 | */ |
||
989 | public function getClearingLegalnote() |
||
990 | { |
||
991 | return $this->clearing_legalnote; |
||
992 | } |
||
993 | |||
994 | /** |
||
995 | * @param string $clearing_reference |
||
996 | * |
||
997 | * @return void |
||
998 | */ |
||
999 | public function setClearingReference($clearing_reference) |
||
1000 | { |
||
1001 | $this->clearing_reference = $clearing_reference; |
||
1002 | } |
||
1003 | |||
1004 | /** |
||
1005 | * @return string |
||
1006 | */ |
||
1007 | public function getClearingReference() |
||
1008 | { |
||
1009 | return $this->clearing_reference; |
||
1010 | } |
||
1011 | |||
1012 | /** |
||
1013 | * @return float |
||
1014 | */ |
||
1015 | public function getPrice() |
||
1018 | } |
||
1019 | |||
1020 | /** |
||
1021 | * @param float $price |
||
1022 | * |
||
1023 | * @return void |
||
1024 | */ |
||
1025 | public function setPrice($price) |
||
1026 | { |
||
1027 | $this->price = $price; |
||
1028 | } |
||
1029 | } |
||
1030 |