| 1 | <?php |
||
| 36 | class DataElementsIndiv |
||
| 37 | { |
||
| 38 | /** |
||
| 39 | * To specify the PNR segments/elements references and action to apply |
||
| 40 | * |
||
| 41 | * @var ElementManagementData |
||
| 42 | */ |
||
| 43 | public $elementManagementData; |
||
| 44 | public $pnrSecurity; |
||
| 45 | /** |
||
| 46 | * @var Accounting |
||
| 47 | */ |
||
| 48 | public $accounting; |
||
| 49 | /** |
||
| 50 | * To specify different kinds of remarks |
||
| 51 | * |
||
| 52 | * @var MiscellaneousRemark |
||
| 53 | */ |
||
| 54 | public $miscellaneousRemark; |
||
| 55 | /** |
||
| 56 | * @var ServiceRequest |
||
| 57 | */ |
||
| 58 | public $serviceRequest; |
||
| 59 | public $dateAndTimeInformation; |
||
| 60 | public $tourCode; |
||
| 61 | /** |
||
| 62 | * To specify an Amadeus PNR Ticket element |
||
| 63 | * |
||
| 64 | * @var TicketElement |
||
| 65 | */ |
||
| 66 | public $ticketElement; |
||
| 67 | /** |
||
| 68 | * To provide free form or coded long text information. |
||
| 69 | * |
||
| 70 | * @var FreetextData |
||
| 71 | */ |
||
| 72 | public $freetextData; |
||
| 73 | /** |
||
| 74 | * @var StructuredAddress |
||
| 75 | */ |
||
| 76 | public $structuredAddress; |
||
| 77 | public $optionElement; |
||
| 78 | public $printer; |
||
| 79 | public $seatGroup; |
||
| 80 | public $entity; |
||
| 81 | public $seatRequest; |
||
| 82 | public $railSeatReferenceInformation; |
||
| 83 | public $railSeatPreferences; |
||
| 84 | public $fareElement; |
||
| 85 | public $fareDiscount; |
||
| 86 | public $manualFareDocument; |
||
| 87 | public $commission; |
||
| 88 | public $originalIssue; |
||
| 89 | /** |
||
| 90 | * To convey details describing the form of payment |
||
| 91 | * |
||
| 92 | * @var FormOfPayment |
||
| 93 | */ |
||
| 94 | public $formOfPayment; |
||
| 95 | /** |
||
| 96 | * To convey additional details of the form of payment |
||
| 97 | * |
||
| 98 | * @var FopExtension[] |
||
| 99 | */ |
||
| 100 | public $fopExtension = []; |
||
| 101 | /** |
||
| 102 | * To convey: |
||
| 103 | * - The FOP service details |
||
| 104 | * - The Corporate Security option for Remarks |
||
| 105 | * - The Timestamp indicator for Remarks |
||
| 106 | * |
||
| 107 | * @var ServiceDetails[] |
||
| 108 | */ |
||
| 109 | public $serviceDetails = []; |
||
| 110 | public $frequentTravellerVerification; |
||
| 111 | public $ticketingCarrier; |
||
| 112 | public $farePrintOverride; |
||
| 113 | /** |
||
| 114 | * Frequent Flyer info |
||
| 115 | * |
||
| 116 | * @var FrequentTravellerData |
||
| 117 | */ |
||
| 118 | public $frequentTravellerData; |
||
| 119 | public $accessLevel; |
||
| 120 | /** |
||
| 121 | * To provide specific reference identification |
||
| 122 | * |
||
| 123 | * @var ReferenceForDataElement |
||
| 124 | */ |
||
| 125 | public $referenceForDataElement; |
||
| 126 | |||
| 127 | /** |
||
| 128 | * @param Element|string $element Either an element or an element name |
||
| 129 | * @param int $tattoo Unique tattoo number for this element |
||
| 130 | */ |
||
| 131 | public function __construct($element, $tattoo) |
||
| 150 | |||
| 151 | /** |
||
| 152 | * @param Element $element |
||
| 153 | * @param string $elementType |
||
| 154 | */ |
||
| 155 | protected function loadElement($element, $elementType) |
||
| 246 | |||
| 247 | /** |
||
| 248 | * @param string $elementType |
||
| 249 | * @param Element $element |
||
| 250 | * @return string |
||
|
1 ignored issue
–
show
|
|||
| 251 | */ |
||
| 252 | protected function makeSegmentNameForRequestElement($elementType, $element) |
||
| 280 | } |
||
| 281 |
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.