有鑒於行李規定有點太複雜, 身為一個宅宅programmer看code比看條文熟悉,
於是用了個簡化版的判斷式, IATA規定比較繁雜, 就簡化了, 詳細請參閱ana的解釋
如有誤請指教
if to/from/within US
# apply to US DOT 399.87
if legs.first.code_share
baggage_allowances = marketing_carriers.first.rule
else
baggage_allowances = operating_carriers.first.rule
end
else
# apply to IATA resolution 302
# for more detail
# www.ana.co.jp/wws/us/e/asw_common/guide/baggage_rule_2011/iata_302.html
if legs.cross_areas
baggage_allowances = operating_carriers.cross_areas.first.rule
else
baggage_allowances = operating_carriers.international.first.rule
end
end
名詞解釋:
Marketing carrier 賣票/開票的航空公司
Operating carrier 實際在飛的人
Code share flight 訂位航班編號跟實際航空在飛的編號不同
Ref:
www.flyertalk.com/forum/qantas-frequent-flyer/1224993-msc-iata-resolution-302-effect-qf.html
www.flyertalk.com/forum/travelbuzz/1276051-change-interline-baggage-fees.html
※ 引述《hapinez (HAPinEZ)》之銘言:
: 不好意思想要請教一下,3月要去美東,
: 上網查了一下資料,找到了UA和ANA聯營的特惠票,
: 因為買UA的票搭ANA的飛機,感覺起來滿吸引人的~
: 目前計劃是:
: 3月初 UA9684 TPE-NRT 聯合航空(實際搭乘:全日空航空)
: UA9667 TPE-JFK 聯合航空(實際搭乘:全日空航空)
: 3月底 UA79 EWR-NRT 聯合航空(沒辦法JFK的客滿了...)
: UA9683 NRT-TPE 聯合航空(實際搭乘:全日空航空)
: 關於托運行李(經濟艙),我上了這個網站查─
: https://www.united.com/CMS/zh-HK/travel/Pages/CheckedBaggage.aspx
: 四個航段分開查,都是可以免費兩件,但是如果合起來(TPE-JFK和EWR-TPE),
: 第二件就要70鎂,想請問有人搭過這個航班嗎?能否分享一下經驗,
: 先謝謝大家了~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 209.66.96.142