Passed
Push — master ( 4f4e52...cfbd52 )
by Dieter
07:23
created

PricingOptionKey::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
crap 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\Ticket\RepricePnrWithBookingClass;
24
25
/**
26
 * PricingOptionKey
27
 *
28
 * @package Amadeus\Client\Struct\Ticket\RepricePnrWithBookingClass
29
 * @author Dieter Devlieghere <[email protected]>
30
 */
31
class PricingOptionKey
32
{
33
    const OPTION_ADD_TAX = "AT";
34
    const OPTION_AWARD = "AWD";
35
    const OPTION_ATC_BEST_PRICING = "BST";
36
    const OPTION_CHECKED_IN_COUPON_SELECTION = "CK";
37
    const OPTION_CORPORATION_NUMBER = "CRP";
38
    const OPTION_PAST_DATE_PRICING = "DAT";
39
    const OPTION_DOWNGRADE_OPTION = "DNG";
40
    const OPTION_EXEMPT_TAXES = "ET";
41
    const OPTION_FARE_BASIS_SIMPLE_OVERRIDE = "FBA";
42
    const OPTION_FARE_BREAK_POINT = "FBP";
43
    const OPTION_FARE_CURRENCY_OVERRIDE = "FCO";
44
    const OPTION_FORCE_FEE_BREAK_POINT = "FFB";
45
    const OPTION_FREQUENT_FLYER_INFORMATION = "FTI";
46
    const OPTION_IGNORE_CORPORATE_IN_BLB = "IGC";
47
    const OPTION_TIER_LEVEL = "LVL";
48
    const OPTION_MILEAGE_ACCRUAL = "MA";
49
    const OPTION_MILES_AND_CASH = "MC";
50
    const OPTION_NO_BREAKPOINT = "NBP";
51
    const OPTION_NO_JOURNEY_TURNAROUND_POINT = "NJT";
52
    const OPTION_NO_OPTION = "NOP";
53
    const OPTION_OVERRIDE_CONTROLLING_CARRIER = "OCC";
54
    const OPTION_OVERRIDE_REUSABLE_AMOUNT = "ORA";
55
    const OPTION_PASSENGER_DISCOUNT_PTC = "PAX";
56
    const OPTION_PRICING_BY_FARE_FAMILY = "PFF";
57
    const OPTION_POINT_OF_SALE_OVERRIDE = "POS";
58
    const OPTION_POINT_OF_TICKETING_OVERRIDE = "POT";
59
    const OPTION_EXPANDED_PARAMETERS = "PRM";
60
    const OPTION_PROMO_CERTIFICATE = "PRO";
61
    const OPTION_POINT_OF_TURNAROUND_FLIGHT_INDICATOR = "PTA";
62
    const OPTION_PTC_ONLY = "PTC";
63
    const OPTION_NEGOTIATED_FARE = "RN";
64
    const OPTION_PUBLISHED_FARES = "RP";
65
    const OPTION_HOLD_FOR_FUTURE_USE = "RTF";
66
    const OPTION_UNIFARES = "RU";
67
    const OPTION_RESIDUAL_VALUE_IN_FO_LINE = "RVD";
68
    const OPTION_CORPORATE_UNIFARES = "RW";
69
    const OPTION_PAX_SEG_LINE_TST_SELECTION = "SEL";
70
    const OPTION_TRANSITIONAL_CERTIFICATE = "TRS";
71
    const OPTION_UPGRADE = "UPG";
72
    const OPTION_VALIDATING_CARRIER = "VC";
73
    const OPTION_WITHOLD_COUNTRY_TAXES = "WC";
74
    const OPTION_WITHOLD_Q_SURCHARGES = "WQ";
75
    const OPTION_WITHOLD_TAX = "WT";
76
    const OPTION_WAIVER_OPTION = "WV";
77
    const OPTION_ZAP_OFF = "ZAP";
78
79
    /**
80
     * self::OPTION_*
81
     *
82
     * @var string
83
     */
84
    public $pricingOptionKey;
85
86
    /**
87
     * PricingOptionKey constructor.
88
     *
89
     * @param string $key self::OPTION_*
90
     */
91 19
    public function __construct($key)
92
    {
93 19
        $this->pricingOptionKey = $key;
94 19
    }
95
}
96