| Total Complexity | 6 |
| Total Lines | 72 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class ReedemRequest extends AbstractParameters implements IReedemRequestInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Abbreviation of the LT. |
||
| 12 | * @var string $ltCode |
||
| 13 | */ |
||
| 14 | protected string $ltCode; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Redeem quantity |
||
| 18 | * @var float $ltQuantity |
||
| 19 | */ |
||
| 20 | protected float $ltQuantity; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Serial number. A kind of unique customised ID |
||
| 24 | * @var string $serialNo |
||
| 25 | */ |
||
| 26 | protected string $serialNo; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | public function getLtCode(): string |
||
| 32 | { |
||
| 33 | return $this->ltCode; |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param string $ltCode |
||
| 38 | * @return ReedemRequest |
||
| 39 | */ |
||
| 40 | public function setLtCode(string $ltCode): self |
||
| 41 | { |
||
| 42 | $this->ltCode = $ltCode; |
||
| 43 | return $this; |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return float |
||
| 48 | */ |
||
| 49 | public function getLtQuantity(): float |
||
| 50 | { |
||
| 51 | return $this->ltQuantity; |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param float $ltQuantity |
||
| 56 | * @return ReedemRequest |
||
| 57 | */ |
||
| 58 | public function setLtQuantity(float $ltQuantity): self |
||
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return string |
||
| 66 | */ |
||
| 67 | public function getSerialNo(): string |
||
| 70 | } |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @param string $serialNo |
||
| 74 | * @return ReedemRequest |
||
| 75 | */ |
||
| 76 | public function setSerialNo(string $serialNo): self |
||
| 80 | } |
||
| 81 | } |
||
| 82 |