| 1 | <?php |
||
| 10 | abstract class OrderLine implements OrderLineInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $productNumber; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $name; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var int |
||
| 24 | */ |
||
| 25 | protected $quantity; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * The price excl vat |
||
| 29 | * |
||
| 30 | * @var float |
||
| 31 | */ |
||
| 32 | protected $price; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @var int |
||
| 36 | */ |
||
| 37 | protected $vat; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param DandomainOrderLine $orderLine |
||
| 41 | */ |
||
| 42 | public function populateFromDandomainPaymentRequest(DandomainOrderLine $orderLine) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | public function getProductNumber() : string |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @param string $productNumber |
||
| 57 | * @return OrderLineInterface |
||
| 58 | */ |
||
| 59 | public function setProductNumber(string $productNumber) : OrderLineInterface |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @return string |
||
| 67 | */ |
||
| 68 | public function getName() : string |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @param string $name |
||
| 75 | * @return OrderLineInterface |
||
| 76 | */ |
||
| 77 | public function setName($name) : OrderLineInterface |
||
| 82 | |||
| 83 | /** |
||
| 84 | * @return int |
||
| 85 | */ |
||
| 86 | public function getQuantity() : int |
||
| 90 | |||
| 91 | /** |
||
| 92 | * @param int $quantity |
||
| 93 | * @return OrderLineInterface |
||
| 94 | */ |
||
| 95 | public function setQuantity($quantity) : OrderLineInterface |
||
| 100 | |||
| 101 | /** |
||
| 102 | * @return float |
||
| 103 | */ |
||
| 104 | public function getPrice() : float |
||
| 108 | |||
| 109 | /** |
||
| 110 | * @param float $price |
||
| 111 | * @return OrderLineInterface |
||
| 112 | */ |
||
| 113 | public function setPrice($price) : OrderLineInterface |
||
| 118 | |||
| 119 | /** |
||
| 120 | * @return int |
||
| 121 | */ |
||
| 122 | public function getVat() : int |
||
| 126 | |||
| 127 | /** |
||
| 128 | * @param int $vat |
||
| 129 | * @return OrderLineInterface |
||
| 130 | */ |
||
| 131 | public function setVat($vat) : OrderLineInterface |
||
| 136 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.