c# - Amadeus Fare_PricePnrWithBookingClass 的 OB 费用请求
问题描述
已经卡了很长时间,请任何人帮我发送 OB 费用(航空公司费用)和 Fare_PricePnrWithBookingClass 请求的金额。这是 XML 请求:
<Fare_PricePNRWithBookingClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xml.amadeus.com/TPCBRQ_16_1_1A">
<pricingOptionGroup xmlns="http://xml.amadeus.com/TPCBRQ_16_1_1A">
<pricingOptionKey><pricingOptionKey>RW</pricingOptionKey>
</pricingOptionKey>
<optionDetail>
<criteriaDetails><attributeType>GOVSR123</attributeType>
</criteriaDetails>
</optionDetail></pricingOptionGroup><pricingOptionGroup xmlns="http://xml.amadeus.com/TPCBRQ_16_1_1A">
<pricingOptionKey>
<pricingOptionKey>FCO</pricingOptionKey>
</pricingOptionKey>
<currency>
<firstCurrencyDetails><currencyQualifier>FCO</currencyQualifier>
<currencyIsoCode>SAR</currencyIsoCode>
</firstCurrencyDetails>
</currency>
</pricingOptionGroup>
</Fare_PricePNRWithBookingClass>
非常感谢
解决方案
您可以尝试使用<pricingOptionKey>OBF</pricingOptionKey>
包含或排除您的 OB 费用。
要使用 50 美元TST 1
的额外 OB 费用子代码进行更新,OT1
您可以尝试以下操作:
<ns1:pricingOptionGroup>
<ns1:pricingOptionKey>
<ns1:pricingOptionKey>OBF</ns1:pricingOptionKey>
</ns1:pricingOptionKey>
<ns1:penDisInformation>
<ns1:discountPenaltyQualifier>OBF</ns1:discountPenaltyQualifier>
<ns1:discountPenaltyDetails>
<ns1:function>INF</ns1:function>
<ns1:amountType>707</ns1:amountType>
<ns1:amount>50</ns1:amount>
<ns1:rate>OT1</ns1:rate>
<ns1:currency>USD</ns1:currency>
</ns1:discountPenaltyDetails>
</ns1:penDisInformation>
<ns1:paxSegTstReference>
<ns1:referenceDetails>
<ns1:type>P</ns1:type>
<ns1:value>1</ns1:value>
</ns1:referenceDetails>
</ns1:paxSegTstReference>
</ns1:pricingOptionGroup>
whereINF
代表包含,707
意味着您使用固定金额,paxSegTstReference
用于引用 TST 记录。
希望能帮助到你。
推荐阅读
- ruby-on-rails - 如何在ruby中打印数组内的对象元素
- reporting-services - 具有用户定义类型的 RDLC
- sql - 从两个表中选择公共列
- docker - 在构建 docker 容器时使用本地依赖项
- ios - 如何将颜色保存到领域并在其他视图控制器中显示颜色?
- sql - 将非规范化 csv 文件导入生产数据库表
- android - 在 Android 上使用 libgdx 加载大量点模型需要大量时间
- java - 通过 Android PDFDocument 生成的 PDF 尺寸太大。在使用 pdfbox 时,它会在输出中剪切图像
- javascript - 如何根据其他标签数组对带有标签的对象数组进行排序?
- php - 语法错误或访问冲突:1066 不是唯一的表/别名: