我的一些理解: ---------------------- 大部分farebasis,要么是单程,要么是往返的。 但是,有一些,是适用于单程和往返(可能跟别的farebasis进行拼接)的。
不同from-to时,farebasis是唯一的嘛?貌似也重用,比如 FQHKGLAS15JUN18-CX¥OW FQHKGLAX15JUN18-CX¥OW 都有一个Y的farebasis,内容倒是一样的(当然一样)。 -------------------------
farebasis,认为是主键,不会重复。 要么定义完,永远有效。 到期了航司的人会把这些失效,重新做一批farebasis。查询时自然返回新的farebasis了。
所以,主键用:航司-farebasis就行了。
不管你是什么航线,哪天起飞的,什么舱位, 只要航司+farebais能对上就行。
===========================以下权威说明==========================
A Fare Basis is a unique identifier (within an airline) for the fare used to issue to the ticket
参考: https://support.travelport.com/webhelp/uapi/Content/Air/Shared_Air_Topics/Fare_Basis_Codes.htm ---------------------------------------------- fare basis code Airlines define fare basis codes for their own use, therefore, fare basis codes are unique to an airline. They may upload multiple fare basis codes to the database daily, so a list of possible codes is not feasible. Developers seldom use this data. 航司内唯一。 参考:https://developer.sabre.com/resources/glossary ---------------------------------------------- Fare basis code The Fare Basis is the code that appears on the ticket in the Fare Basis box. It can include letters, numbers, and up to two slashes (/). A Fare Basis is a compilation of the fare class or ticketing code and one or two ticketing designators. The fare basis code should not be confused with the fare class, which is associated to each fare and is used in pricing. Also called fare basis. 可以包含字母、数字和最多两个斜线 参考:https://www.atpco.net/glossary/F ---------------------------------------------- the fare basis code
The fare basis code provides information about the specific fare in addition to the class of service required for booking. Every published fare has a fare basis code, and this code appears on the ticket in the fare basis box. More than one fare, and thus more than one fare basis code, may exist for each class of service for booking. For example, two fares for H class may exist - one for midweek travel and one for weekend travel. 一个舱位可以有多个farebasis。
Consider a return fare across the country with fare basis code HL7LNR. The first letter H refer to the class of service for booking (H class). The L refers to low season, the 7refers to the requirement for 7-day advance booking, the next L refers to long-haul, and the NR means non-refundable. The fare would presumably be different if it were 14- days in advance or if it were high season. In that case both the fare and the fare basis code would be different. Often you will see the letters X or W, referring to midweek or weekend travel respectively. You will never be required to make inferences about fare rules based on fare basis codes. The fare rules are specifically spelled out, and a whole section is dedicated to fare rules. What you should understand is that every fare has a unique fare basis code, and that one class of service booking class can have more than one fare associated with it.
参考:http://www.travelterminal.com/whatsinafare.shtml
|