不公开费率

不公开费率是一种费率规则,可让您针对 受众群体名单或会员回馈活动的成员。例如,您可能有一个 标准费率为 150 美元,但针对会员的非公开费率为 135 美元 计划。

不公开费率具有各种不同的界面处理方式,可让您展示 为符合条件的用户提供折扣价格。如需详细了解这些选项 请参阅不公开费率详情和示例

创建不公开费率

如需使用不公开费率,请执行以下操作:

  1. 对于每个不公开费率,请添加一条新费率规则来定义费率条件 创建价格规则 XML 文件如需了解详情,请参阅 费率规则 XML 参考

  2. 您可以为价格 Feed 中的相应行程添加不公开费率。接收者 为此,请使用与条件式费率相同的语法。 将 rate_rule_id 属性设置为 <Rate> 元素中的 ID。

  3. 更新着陆页文件 (如有必要),确保符合条件的用户可以通过 指向您网站的深层链接着陆页网址由 。不公开费率的价格规则会填充在 CLOSE-RATE-RULE-IDS中 并且 IF-CLOSE-RATE-RULE-IDS 将解析为 true

示例

<Transaction>
  <Result>
    <Property>1234</Property>
    <Checkin>2023-05-23</Checkin>
    <Nights>1</Nights>

    <!-- An eligible non-hidden rate is required in order to display the UI treatment. -->
    <!-- This example uses a public rate, but a conditional rate where the
         user meets all conditions could also be used. -->
    <!-- This would be the strikethrough price. -->
    <Baserate currency="USD">200.00</Baserate>
    <Tax currency="USD">20.00</Tax>
    <OtherFees currency="USD">1.00</OtherFees>

    <Rates>
      <Rate rate_rule_id="sample_qr">
        <!-- Price will not be displayed, but is required for calculating discounts. -->
        <Baserate currency="USD">180.00</Baserate>
        <Tax currency="USD">18.00</Tax>
        <Custom1>ratecode123</Custom1>
      </Rate>
    </Rates>

  </Result>
</Transaction>