| 1 | <?php |
||
| 13 | class Rate |
||
| 14 | { |
||
| 15 | private $length; |
||
| 16 | |||
| 17 | private $rate; |
||
| 18 | |||
| 19 | private $charge; |
||
| 20 | |||
| 21 | public function __construct($length, $rate, $charge) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Gets the value of length. |
||
| 30 | * |
||
| 31 | * @return mixed |
||
| 32 | */ |
||
| 33 | public function getLength() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Sets the value of length. |
||
| 40 | * |
||
| 41 | * @param mixed $length the length |
||
| 42 | * |
||
| 43 | * @return self |
||
| 44 | */ |
||
| 45 | public function setLength($length) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Gets the value of rate. |
||
| 54 | * |
||
| 55 | * @return mixed |
||
| 56 | */ |
||
| 57 | public function getRate() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Sets the value of rate. |
||
| 64 | * |
||
| 65 | * @param mixed $rate the rate |
||
| 66 | * |
||
| 67 | * @return self |
||
| 68 | */ |
||
| 69 | public function setRate($rate) |
||
| 75 | |||
| 76 | /** |
||
| 77 | * Gets the value of charge. |
||
| 78 | * |
||
| 79 | * @return mixed |
||
| 80 | */ |
||
| 81 | public function getCharge() |
||
| 85 | |||
| 86 | /** |
||
| 87 | * Sets the value of charge. |
||
| 88 | * |
||
| 89 | * @param mixed $charge the charge |
||
| 90 | * |
||
| 91 | * @return self |
||
| 92 | */ |
||
| 93 | public function setCharge($charge) |
||
| 99 | } |