A pricing system receives a request for a price of one or more optional services for a flight. The pricing system determines, for each ATPCO S5 record (“S5 record”) associated with each corresponding requested optional service, whether the S5 record comprises a formula table. If the pricing system determines that the S5 record does not comprise a formula table, the pricing system identifies ATPCO S7 records (“S7 record”) associated with the S5 record and sequentially evaluates pricing conditions stipulated by each of the S7 records until finding a first S7 record comprising a pricing condition that is satisfied by the flight information, passenger information, or other information. In another example, if the pricing system determines that an S5 record for a requested optional service comprises a formula table, the pricing system identifies one or more S5 record identifiers in the formula table identifying pricing tables comprising an S5 record and its associated list of S7 records. The pricing system extracts the S5 records of pricing tables and the associated list of S7 records for each pricing table identified by the S5 record identifiers and determines a price for each of the pricing tables identified in the formula table by sequentially evaluating pricing conditions stipulated by each of the S7 records until finding a first S7 record comprising a pricing condition that is satisfied by the flight information, passenger information, and/or other information. The pricing system determines a price for the requested service by evaluating the formula in the formula table comprising one or more numerical constants, the determined price for each of the pricing tables, and one or more mathematical operators. The pricing system returns a price or a fail result for each of the requested optional services based on the prices determined either from S5 records and associated S7 records (if applicable) or from S5 records comprising formula tables and associated S5 pricing tables including the associated S7 records.
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.
Macrakis, Stavros; Leen, Michael; and Burkhard, Daniel, "Pricing Airline Optional Services", Technical Disclosure Commons, (December 22, 2016)