Completed
Pull Request — master (#220)
by
unknown
15:38 queued 04:38
created

PricingOptionKey   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 127
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 127
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
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\Service\IntegratedPricing;
24
25
/**
26
 * PricingOptionKey
27
 *
28
 * @package Amadeus\Client\Struct\Service\IntegratedPricing
29
 * @author Dieter Devlieghere <[email protected]>
30
 */
31
class PricingOptionKey
32
{
33
    const OVERRIDE_ACCOUNT_CODE = "ACC";
34
    const OVERRIDE_PRICING_ALL_SERVICES = "ALL";
35
    const OVERRIDE_AWARD = "AWD";
36
    const OVERRIDE_CODE_SELECTION = "COD";
37
    const OVERRIDE_CORPORATION_NUMBER = "CRP";
38
    const OVERRIDE_PRICING_DATE = "DAT";
39
    const OVERRIDE_CURRENCY = "FCO";
40
    const OVERRIDE_INFANT_PROCESSING = "INF";
41
    const OVERRIDE_JOURNEY_TURNAROUND_POINT = "JTP";
42
    const OVERRIDE_NO_BREAK_POINT = "NBP";
43
    const OVERRIDE_NO_JOURNEY_TURNAROUND_POINT = "NJT";
44
    const OVERRIDE_NO_OPTION = "NOP";
45
    const OVERRIDE_NON_TRUSTED_REQUEST = "NTR";
46
    const OVERRIDE_ORIGIN_DESTINATION = "OD";
47
    const OVERRIDE_PASSENGER_DISCOUNT_PTC = "PAX";
48
    const OVERRIDE_POINT_OF_SALE = "POS";
49
    const OVERRIDE_PTCONLY = "PTC";
50
    const OVERRIDE_SHOW_COMMERCIAL_DESCRIPTION = "SCD";
51
    const OVERRIDE_PAX_SEG_ELEMENT_SELECTION = "SEL";
52
    const OVERRIDE_SHOW_PRICING_DESCRIPTION = "SPD";
53
    const OVERRIDE_TICKET_DESIGNATOR = "TKD";
54
    const OVERRIDE_VALIDATING_CARRIER = "VC ";
55
    const OVERRIDE_FORM_OF_PAYMENT = "FOP";
56
    const OVERRIDE_FREQUENT_FLYER_INFORMATION = "FTI";
57
58
    /**
59
     * self::OVERRIDE_*
60
     *
61
     * AC    Add Country taxes
62
     * ACC   Account Code
63
     * ALL   Pricing All services
64
     * AT    Add Tax
65
     * AWD   AWarD
66
     * BGA   Baggage Allowance
67
     * BK    Booking class override
68
     * BKT   Booking or PNR Type
69
     * CAB   CABin option
70
     * CMP   Companions
71
     * COD   Code selection
72
     * CRP   CoRPoration number
73
     * DAT   past DATe pricing
74
     * DO    booking Date Override
75
     * ET    Exempt Taxes
76
     * EXC   Exclude
77
     * FBA   Fare BAsis simple override
78
     * FBL   Fare Basis force override
79
     * FBP   Fare Break Point
80
     * FCO   Fare Currency Override
81
     * FCS   Fare Currency Selection
82
     * FFB   Force Fee Break point
83
     * FLI   FLight Indicator
84
     * FNB   Force No fee Break point
85
     * FOP   Form Of Payment
86
     * FTI   Frequent Flyer Information
87
     * GRI   Global Route Indicator
88
     * GRP   Service Group filtering
89
     * INC   Include only
90
     * INF   Infant processing
91
     * IP    Instant Pricing
92
     * JTP   Journey Turnaround Point
93
     * LBC   List Booking Code
94
     * LVL   Tier Level
95
     * MA    Mileage Accrual
96
     * MBT   Fare amount override with M/BT
97
     * MC    Miles and Cash (Pricing by Points)
98
     * MIT   Fare amount override with M/IT
99
     * NBP   No BreakPoint
100
     * NF    No ticketing Fee
101
     * NJT   No Journey Turnaround Point
102
     * NOP   No Option
103
     * NS    No Split
104
     * NSD   No Slice and Dice
105
     * NTR   Non Trusted Request
106
     * NVO   No Validation on Original class
107
     * OBF   OB Fees (include and/or exclude)
108
     * OCO   Occurrence override
109
     * OD    Origin and Destination option
110
     * OIS   Show Only Issuable recommendation
111
     * PAX   Passenger discount/PTC
112
     * PFF   Pricing by Fare Family
113
     * PL    Pricing Logic
114
     * POS   Point Of Sale
115
     * POT   Point Of Ticketing override
116
     * PRM   expanded PaRaMeters
117
     * PRO   Promo Certificate
118
     * PSR   PSR
119
     * PTC   PTC only
120
     * RC    Corporate negotiated fares
121
     * RLA   Return Lowest Available fare
122
     * RLI   Return LIst of fare
123
     * RLO   Return LOwest possible fare
124
     * RN    Negotiated fare
125
     * RP    Published Fares
126
     * RU    Unifares
127
     * RW    Corporate Unifares
128
     * SCD   Show Commercial Description
129
     * SEL   Passenger/Segment/Line/TST selection
130
     * SPD   Show Pricing Description
131
     * STP   Service Type override
132
     * SUB   Service Sub-Group filtering
133
     * TKD   Ticket Designator
134
     * TKN   Ticket Number
135
     * TKT   TicKet Type
136
     * TRS   Transitional Certificate
137
     * UU    corporate Unifares only
138
     * VC    Validating Carrier
139
     * WC    Withhold Country taxes
140
     * WQ    Withhold Q surcharges
141
     * WT    Withhold Tax
142
     * ZAP   ZAP-off
143
     *
144
     * @var string
145
     */
146
    public $pricingOptionKey;
147
148
    /**
149
     * PricingOptionKey constructor.
150
     *
151
     * @param string $key self::OVERRIDE_*
152
     */
153
    public function __construct($key)
154
    {
155
        $this->pricingOptionKey = $key;
156
    }
157
}
158