| 1 | <?php |
||
| 5 | class PaymentLine |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | protected $productNumber; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $name; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var int |
||
| 19 | */ |
||
| 20 | protected $quantity; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * The price excl vat |
||
| 24 | * |
||
| 25 | * @var float |
||
| 26 | */ |
||
| 27 | protected $price; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var int |
||
| 31 | */ |
||
| 32 | protected $vat; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | 3 | public function getProductNumber() : string |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @param string $productNumber |
||
| 44 | * @return PaymentLine |
||
| 45 | */ |
||
| 46 | 6 | public function setProductNumber(string $productNumber) : self |
|
| 51 | |||
| 52 | /** |
||
| 53 | * @return string |
||
| 54 | */ |
||
| 55 | 3 | public function getName() : string |
|
| 59 | |||
| 60 | /** |
||
| 61 | * @param string $name |
||
| 62 | * @return PaymentLine |
||
| 63 | */ |
||
| 64 | 6 | public function setName($name) : self |
|
| 69 | |||
| 70 | /** |
||
| 71 | * @return int |
||
| 72 | */ |
||
| 73 | 3 | public function getQuantity() : int |
|
| 77 | |||
| 78 | /** |
||
| 79 | * @param int $quantity |
||
| 80 | * @return PaymentLine |
||
| 81 | */ |
||
| 82 | 6 | public function setQuantity($quantity) : self |
|
| 87 | |||
| 88 | /** |
||
| 89 | * @return float |
||
| 90 | */ |
||
| 91 | 3 | public function getPrice() : float |
|
| 95 | |||
| 96 | /** |
||
| 97 | * @param float $price |
||
| 98 | * @return PaymentLine |
||
| 99 | */ |
||
| 100 | 6 | public function setPrice($price) : self |
|
| 105 | |||
| 106 | /** |
||
| 107 | * @return int |
||
| 108 | */ |
||
| 109 | 3 | public function getVat() : int |
|
| 113 | |||
| 114 | /** |
||
| 115 | * @param int $vat |
||
| 116 | * @return PaymentLine |
||
| 117 | */ |
||
| 118 | 6 | public function setVat($vat) : self |
|
| 123 | } |
||
| 124 |