| Total Complexity | 5 |
| Total Lines | 66 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Below extends BaseXmlObject |
||
| 8 | { |
||
| 9 | /** @var float */ |
||
| 10 | public $_above_price; |
||
| 11 | /** @var float */ |
||
| 12 | public $_return_price; |
||
| 13 | /** @var int */ |
||
| 14 | public $_below; |
||
| 15 | /** @var float */ |
||
| 16 | public $_below_sum; |
||
| 17 | /** @var float */ |
||
| 18 | public $_price; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param float $above_price |
||
| 22 | * @return Below |
||
| 23 | * @return Below |
||
| 24 | */ |
||
| 25 | 2 | public function setAbovePrice(float $above_price): self |
|
| 26 | { |
||
| 27 | 2 | $this->_above_price = $above_price; |
|
| 28 | 2 | return $this; |
|
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param float $return_price |
||
| 33 | * @return Below |
||
| 34 | * @return Below |
||
| 35 | */ |
||
| 36 | 1 | public function setReturnPrice(float $return_price): self |
|
| 37 | { |
||
| 38 | 1 | $this->_return_price = $return_price; |
|
| 39 | 1 | return $this; |
|
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param int $below |
||
| 44 | * @return Below |
||
| 45 | * @return Below |
||
| 46 | */ |
||
| 47 | 2 | public function setBelow(int $below): self |
|
| 48 | { |
||
| 49 | 2 | $this->_below = $below; |
|
| 50 | 2 | return $this; |
|
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param float $below_sum |
||
| 55 | * @return Below |
||
| 56 | * @return Below |
||
| 57 | */ |
||
| 58 | 1 | public function setBelowSum(float $below_sum): self |
|
| 59 | { |
||
| 60 | 1 | $this->_below_sum = $below_sum; |
|
| 61 | 1 | return $this; |
|
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @param float $price |
||
| 66 | * @return Below |
||
| 67 | * @return Below |
||
| 68 | */ |
||
| 69 | 3 | public function setPrice(float $price): self |
|
| 73 | } |
||
| 74 | |||
| 75 | } |
||
| 76 |