|
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\Fare\PricePnr13; |
|
24
|
|
|
|
|
25
|
|
|
/** |
|
26
|
|
|
* PricingOptionKey |
|
27
|
|
|
* |
|
28
|
|
|
* @package Amadeus\Client\Struct\Fare\PricePnr13 |
|
29
|
|
|
* @author Dieter Devlieghere <[email protected]> |
|
30
|
|
|
*/ |
|
31
|
|
|
class PricingOptionKey |
|
32
|
|
|
{ |
|
33
|
|
|
const OPTION_NO_OPTION = "NOP"; |
|
34
|
|
|
const OPTION_VALIDATING_CARRIER = "VC"; |
|
35
|
|
|
const OPTION_FARE_CURRENCY_OVERRIDE = "FCO"; |
|
36
|
|
|
const OPTION_PASSENGER_DISCOUNT = "PAX"; |
|
37
|
|
|
const OPTION_FARE_BASIS_SIMPLE_OVERRIDE = "FBA"; |
|
38
|
|
|
const OPTION_NEGOTIATED_FARES = "RN"; |
|
39
|
|
|
const OPTION_PUBLISHED_FARES = "RP"; |
|
40
|
|
|
const OPTION_UNIFARES = "RU"; |
|
41
|
|
|
const OPTION_CORPORATE_NEGOTIATED_FARES = "RC"; |
|
42
|
|
|
const OPTION_CORPORATE_UNIFARES = "RW"; |
|
43
|
|
|
const OPTION_OB_FEES = "OBF"; |
|
44
|
|
|
const OPTION_PASSENGER_DISCOUNT_PTC = "PAX"; |
|
45
|
|
|
const OPTION_POINT_OF_SALE_OVERRIDE = "POS"; |
|
46
|
|
|
const OPTION_POINT_OF_TICKETING_OVERRIDE = "POT"; |
|
47
|
|
|
const OPTION_PRICING_LOGIC = "PL"; |
|
48
|
|
|
const OPTION_TICKET_TYPE = "TKT"; |
|
49
|
|
|
const OPTION_ADD_TAX = "AT"; |
|
50
|
|
|
const OPTION_EXEMPT_FROM_TAX = "ET"; |
|
51
|
|
|
const OPTION_PAX_SEGMENT_TST_SELECTION = "SEL"; |
|
52
|
|
|
const OPTION_PAST_DATE_PRICING = "DAT"; |
|
53
|
|
|
const OPTION_AWARD_PRICING = "AWD"; |
|
54
|
|
|
const OPTION_RETURN_LOWEST = "RLO"; |
|
55
|
|
|
const OPTION_RETURN_LOWEST_AVAILABLE = "RLA"; |
|
56
|
|
|
const OPTION_RETURN_ALL = "RLI"; |
|
57
|
|
|
const OPTION_PTC_ONLY = "PTC"; |
|
58
|
|
|
const OPTION_FORM_OF_PAYMENT = "FOP"; |
|
59
|
|
|
const OPTION_CABIN = "CAB"; |
|
60
|
|
|
const OPTION_FARE_FAMILY = "PFF"; |
|
61
|
|
|
const OPTION_ZAP_OFF = "ZAP"; |
|
62
|
|
|
|
|
63
|
|
|
/** |
|
64
|
|
|
* AC Add Country taxes |
|
65
|
|
|
* AT Add Tax |
|
66
|
|
|
* AWD AWarD |
|
67
|
|
|
* BK Booking class override |
|
68
|
|
|
* BND Bound Input |
|
69
|
|
|
* CAB CABin option |
|
70
|
|
|
* CC Controlling Carrier Override |
|
71
|
|
|
* CMP Companions |
|
72
|
|
|
* CON Connection |
|
73
|
|
|
* DAT past DATe pricing |
|
74
|
|
|
* DIA Diagnostic Tool |
|
75
|
|
|
* DO booking Date Override |
|
76
|
|
|
* ET Exempt Taxes |
|
77
|
|
|
* FBA Fare BAsis simple override |
|
78
|
|
|
* FBL Fare Basis force override |
|
79
|
|
|
* FBP Force Break Point |
|
80
|
|
|
* FCO Fare Currency Override |
|
81
|
|
|
* FCS Fare Currency Selection |
|
82
|
|
|
* FOP Form Of Payment |
|
83
|
|
|
* GRI Global Route Indicator |
|
84
|
|
|
* IP Instant Pricing |
|
85
|
|
|
* MA Mileage Accrual |
|
86
|
|
|
* MBT Fare amount override with M/BT |
|
87
|
|
|
* MC Miles and Cash (Pricing by Points) |
|
88
|
|
|
* MIT Fare amount override with M/IT |
|
89
|
|
|
* NBP No BreakPoint |
|
90
|
|
|
* NF No ticketing Fee |
|
91
|
|
|
* NOP No Option |
|
92
|
|
|
* OBF OB Fees (include and/or exclude) |
|
93
|
|
|
* PAX Passenger discount/PTC |
|
94
|
|
|
* PFF Pricing by Fare Family |
|
95
|
|
|
* PL Pricing Logic |
|
96
|
|
|
* POS Point Of Sale |
|
97
|
|
|
* POT Point Of Ticketing override |
|
98
|
|
|
* PRM expanded PaRaMeters |
|
99
|
|
|
* PRO Promo Certificate |
|
100
|
|
|
* PTA Point of Turnaround |
|
101
|
|
|
* PTC PTC only |
|
102
|
|
|
* RC Corporate negotiated fares |
|
103
|
|
|
* RLI Return LIst of fare |
|
104
|
|
|
* RLO Return LOwest possible fare |
|
105
|
|
|
* RN Negotiated fare |
|
106
|
|
|
* RP Published Fares |
|
107
|
|
|
* RU Unifares |
|
108
|
|
|
* RW Corporate Unifares |
|
109
|
|
|
* SEL Passenger/Segment/Line/TST selection |
|
110
|
|
|
* STO Stopover |
|
111
|
|
|
* TKT TicKet Type |
|
112
|
|
|
* TRS Transitional Certificate |
|
113
|
|
|
* VC Validating Carrier |
|
114
|
|
|
* WC Withhold Country taxes |
|
115
|
|
|
* WQ Withhold Q surcharges |
|
116
|
|
|
* WT Withhold Tax |
|
117
|
|
|
* ZAP ZAP-off |
|
118
|
|
|
* |
|
119
|
|
|
* @var string |
|
120
|
|
|
*/ |
|
121
|
|
|
public $pricingOptionKey; |
|
122
|
|
|
|
|
123
|
|
|
/** |
|
124
|
|
|
* PricingOptionKey constructor. |
|
125
|
|
|
* |
|
126
|
|
|
* @param string $key |
|
127
|
|
|
*/ |
|
128
|
|
|
public function __construct($key) |
|
129
|
|
|
{ |
|
130
|
|
|
$this->pricingOptionKey = $key; |
|
131
|
|
|
} |
|
132
|
|
|
} |
|
133
|
|
|
|