| 1 | <?php  | 
            ||
| 17 | class Fare  | 
            ||
| 18 | { | 
            ||
| 19 | /**  | 
            ||
| 20 | * @var string|null  | 
            ||
| 21 | */  | 
            ||
| 22 | private $currency;  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * @var float|null  | 
            ||
| 26 | */  | 
            ||
| 27 | private $value;  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * @var string|null  | 
            ||
| 31 | */  | 
            ||
| 32 | private $text;  | 
            ||
| 33 | |||
| 34 | /**  | 
            ||
| 35 | * @return bool  | 
            ||
| 36 | */  | 
            ||
| 37 | public function hasCurrency()  | 
            ||
| 41 | |||
| 42 | /**  | 
            ||
| 43 | * @return string|null  | 
            ||
| 44 | */  | 
            ||
| 45 | public function getCurrency()  | 
            ||
| 49 | |||
| 50 | /**  | 
            ||
| 51 | * @param string|null $currency  | 
            ||
| 52 | */  | 
            ||
| 53 | public function setCurrency($currency)  | 
            ||
| 57 | |||
| 58 | /**  | 
            ||
| 59 | * @return bool  | 
            ||
| 60 | */  | 
            ||
| 61 | public function hasValue()  | 
            ||
| 65 | |||
| 66 | /**  | 
            ||
| 67 | * @return float|null  | 
            ||
| 68 | */  | 
            ||
| 69 | public function getValue()  | 
            ||
| 73 | |||
| 74 | /**  | 
            ||
| 75 | * @param float|null $value  | 
            ||
| 76 | */  | 
            ||
| 77 | public function setValue($value)  | 
            ||
| 81 | |||
| 82 | /**  | 
            ||
| 83 | * @return bool  | 
            ||
| 84 | */  | 
            ||
| 85 | public function hasText()  | 
            ||
| 89 | |||
| 90 | /**  | 
            ||
| 91 | * @return string|null  | 
            ||
| 92 | */  | 
            ||
| 93 | public function getText()  | 
            ||
| 97 | |||
| 98 | /**  | 
            ||
| 99 | * @param string|null $text  | 
            ||
| 100 | */  | 
            ||
| 101 | public function setText($text)  | 
            ||
| 105 | }  | 
            ||
| 106 |