| 1 | <?php |
||
| 5 | class PassengerReference |
||
| 6 | { |
||
| 7 | const TYPE_ADULT = 'PT'; |
||
| 8 | const TYPE_INFANT = 'PI'; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * |
||
| 12 | * Must be PT for general case and PI for infant. |
||
| 13 | * |
||
| 14 | * self::TYPE_* |
||
| 15 | * |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | public $type; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Must contain the tattoo number of the passenger (who has to pay the TASF). |
||
| 22 | * |
||
| 23 | * @var string|int |
||
| 24 | */ |
||
| 25 | public $value; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * PassengerTattoo constructor. |
||
| 29 | * |
||
| 30 | * @param string $type |
||
| 31 | * @param string|int $value |
||
| 32 | */ |
||
| 33 | 12 | public function __construct($type, $value) |
|
| 38 | } |
||
| 39 |