1
|
|
|
<?php |
2
|
|
|
/** |
3
|
|
|
* amadeus-ws-client |
4
|
|
|
* |
5
|
|
|
* Copyright 2015 Amadeus Benelux NV |
6
|
|
|
* |
7
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
8
|
|
|
* you may not use this file except in compliance with the License. |
9
|
|
|
* You may obtain a copy of the License at |
10
|
|
|
* |
11
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0 |
12
|
|
|
* |
13
|
|
|
* Unless required by applicable law or agreed to in writing, software |
14
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
15
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
16
|
|
|
* See the License for the specific language governing permissions and |
17
|
|
|
* limitations under the License. |
18
|
|
|
* |
19
|
|
|
* @package Amadeus |
20
|
|
|
* @license https://opensource.org/licenses/Apache-2.0 Apache 2.0 |
21
|
|
|
*/ |
22
|
|
|
|
23
|
|
|
namespace Amadeus\Client\Struct\DocRefund; |
24
|
|
|
|
25
|
|
|
/** |
26
|
|
|
* DocumentNumberDetails |
27
|
|
|
* |
28
|
|
|
* @package Amadeus\Client\Struct\DocRefund |
29
|
|
|
* @author Dieter Devlieghere <[email protected]> |
30
|
|
|
*/ |
31
|
|
|
class DocumentNumberDetails |
32
|
|
|
{ |
33
|
|
|
/** |
34
|
|
|
* @var DocumentDetails |
35
|
|
|
*/ |
36
|
|
|
public $documentDetails; |
37
|
|
|
|
38
|
|
|
/** |
39
|
|
|
* 700 no active itinerary |
40
|
|
|
* 701 Coupon notification |
41
|
|
|
* 702 Active* |
42
|
|
|
* 703 Queue placement is inhibited |
43
|
|
|
* 704 Queue level notification |
44
|
|
|
* 705 Queue being printed |
45
|
|
|
* 706 Sub-queue present |
46
|
|
|
* 707 On hold |
47
|
|
|
* A Add |
48
|
|
|
* AC Accrual |
49
|
|
|
* AL Aiport control |
50
|
|
|
* ALL Allocated |
51
|
|
|
* AVA Available |
52
|
|
|
* B Flown/used |
53
|
|
|
* BD Boarded |
54
|
|
|
* C Change |
55
|
|
|
* CK Checked in |
56
|
|
|
* CLO Closed |
57
|
|
|
* D Reprint |
58
|
|
|
* DB Deboarded |
59
|
|
|
* DN Denied boarding |
60
|
|
|
* E Exchanged/reissued |
61
|
|
|
* F Critical free text |
62
|
|
|
* G Non air segment |
63
|
|
|
* I Original Issue (Open for Use) |
64
|
|
|
* IF Information only |
65
|
|
|
* INU In use |
66
|
|
|
* IO Irregular operations |
67
|
|
|
* K Confirmed, effective, working, firm, etc |
68
|
|
|
* LIM Limitations on use |
69
|
|
|
* NAV Not available |
70
|
|
|
* NC Not checked in |
71
|
|
|
* NS Infant, no seat |
72
|
|
|
* OF Offloaded |
73
|
|
|
* OK Confirmed |
74
|
|
|
* OLD Replaced item |
75
|
|
|
* OPE Open |
76
|
|
|
* P Provisional, draft proposed subject to change, etc |
77
|
|
|
* PAV Partial Availability - Specified sub-elements only |
78
|
|
|
* PE Print Exchange |
79
|
|
|
* PR Printed |
80
|
|
|
* PRF Preferred |
81
|
|
|
* PRP Proposed/Intended Allocation |
82
|
|
|
* R Request |
83
|
|
|
* RD Redemption |
84
|
|
|
* REP Replacement |
85
|
|
|
* REV Revised |
86
|
|
|
* RF Refunded |
87
|
|
|
* RQ Requested |
88
|
|
|
* S Suspended |
89
|
|
|
* SA Space Available |
90
|
|
|
* SB Standby |
91
|
|
|
* SRV Serviceable |
92
|
|
|
* T Ticketed |
93
|
|
|
* UNS Unserviceable |
94
|
|
|
* V Void |
95
|
|
|
* WL Waitlisted |
96
|
|
|
* X Cancel |
97
|
|
|
* |
98
|
|
|
* @var string|int |
99
|
|
|
*/ |
100
|
|
|
public $status; |
101
|
|
|
|
102
|
|
|
/** |
103
|
|
|
* DocumentNumberDetails constructor. |
104
|
|
|
* |
105
|
|
|
* @param string $ticketNumber |
106
|
|
|
*/ |
107
|
4 |
|
public function __construct($ticketNumber) |
108
|
|
|
{ |
109
|
4 |
|
$this->documentDetails = new DocumentDetails($ticketNumber); |
110
|
4 |
|
} |
111
|
|
|
} |
112
|
|
|
|