1 | <?php |
||
31 | class Reference |
||
32 | { |
||
33 | /** |
||
34 | * Other element tatoo reference number |
||
35 | */ |
||
36 | const QUAL_OTHER_ELEMENT_TATTOO = "OT"; |
||
37 | /** |
||
38 | * Passenger tattoo indicator |
||
39 | */ |
||
40 | const QUAL_SEGMENT_TATTOO = "ST"; |
||
41 | /** |
||
42 | * Segment tattoo indicator |
||
43 | */ |
||
44 | const QUAL_PASSENGER_TATTOO = "PT"; |
||
45 | |||
46 | /** |
||
47 | * self::QUAL_* |
||
48 | * |
||
49 | * @var string |
||
50 | */ |
||
51 | public $qualifier; |
||
52 | |||
53 | /** |
||
54 | * The tattoo reference |
||
55 | * |
||
56 | * @var int |
||
57 | */ |
||
58 | public $number; |
||
59 | |||
60 | /** |
||
61 | * Reference constructor. |
||
62 | * |
||
63 | * @param int $tattoo The tattoo reference |
||
64 | * @param string $type self::QUAL_* |
||
65 | */ |
||
66 | public function __construct($tattoo, $type) |
||
71 | } |
||
72 |