با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
نرخهای خصوصی نوعی قانون نرخ است که به شما امکان میدهد نرخهای کاهشیافته را برای اعضای فهرست مخاطبان یا برنامه وفاداری ارائه دهید. به عنوان مثال، شما ممکن است نرخ استاندارد 150 دلار داشته باشید، اما نرخ خصوصی 135 دلار برای اعضای یک برنامه وفاداری.
نرخهای خصوصی دارای روشهای مختلف رابط کاربری هستند که به شما امکان میدهد قیمت تخفیف انحصاری را برای کاربران واجد شرایط نشان دهید. برای اطلاعات بیشتر در مورد این گزینهها، به جزئیات و نمونههای نرخهای خصوصی مراجعه کنید.
ایجاد نرخ های خصوصی
برای استفاده از نرخ های خصوصی:
برای هر نرخ خصوصی، یک قانون نرخ جدید اضافه کنید که معیارهای نرخ را در فایل XML قوانین نرخ تعریف می کند. برای جزئیات، به مرجع XML قوانین رتبه بندی مراجعه کنید.
نرخ های خصوصی را به برنامه های سفر مناسب در فید قیمت خود اضافه کنید. برای انجام این کار، از دستوری مشابه با نرخ های شرطی استفاده کنید. ویژگی rate_rule_id را روی شناسه در عنصر <Rate> تنظیم کنید.
فایل صفحه فرود خود را (در صورت لزوم) بهروزرسانی کنید تا تأیید کنید کاربران واجد شرایط میتوانند نرخ تخفیف را از طریق پیوند عمیق به وبسایت شما رزرو کنند. URL صفحه فرود توسط نرخ عمومی ایجاد می شود. قوانین نرخ برای نرخ های خصوصی در CLOSE-RATE-RULE-IDS پر می شود و IF-CLOSE-RATE-RULE-IDS به true تعیین می شود.
کلیه حقوق محفوظ است. Java علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-30 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-30 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003ePrivate rates allow you to offer discounted pricing to specific groups like loyalty program members.\u003c/p\u003e\n"],["\u003cp\u003eYou can create private rates by defining rate criteria in the rate rules XML file and adding them to your price feed.\u003c/p\u003e\n"],["\u003cp\u003ePrivate rates leverage the same syntax as conditional rates, requiring a \u003ccode\u003erate_rule_id\u003c/code\u003e attribute for identification.\u003c/p\u003e\n"],["\u003cp\u003eEligible users can access the discounted rates through deep links, facilitated by updates to your landing page file.\u003c/p\u003e\n"],["\u003cp\u003eA non-hidden rate, such as a public or conditional rate, is necessary for displaying the UI treatment and calculating discounts.\u003c/p\u003e\n"]]],[],null,["# Private rates are a type of rate rule that lets you offer reduced rates for\nmembers of an audience list or loyalty program. For example, you might have a\nstandard rate of $150, but a private rate of $135 for members of a loyalty\nprogram.\n\nPrivate rates have various UI treatments that allow you to display exclusive\ndiscount pricing to eligible users. For more information about these options,\nrefer to [Private rates details and examples](//support.google.com/hotelprices/answer/9984299).\n\nCreate private rates\n--------------------\n\nTo use private rates:\n\n1. For each private rate, add a new rate rule that defines the rate criteria in\n the rate rules XML file. For details, refer to\n [Rate Rules XML Reference](/hotels/hotel-prices/xml-reference/rate-rules).\n\n | **Key Point:** It is recommended that you send single member rate price for the cheapest room bundle first, followed by the remaining room bundle pricing. Multiple member rate pricing is not allowed.\n2. Add the private rates to the appropriate itineraries in your price feed. To\n do this, use the same syntax as [Conditional Rates](/hotels/hotel-prices/dev-guide/fenced-rates).\n Set the `rate_rule_id` attribute to the ID in the `\u003cRate\u003e` element.\n\n3. [Update your landing page file](/hotels/hotel-prices/dev-guide/fenced-rates#pos)\n (if necessary) to verify eligible users can book the discount rate through a\n deep link to your website. The landing page URL is generated by the public\n rate. The rate rules for private rates populates in the `CLOSE-RATE-RULE-IDS`\n and the `IF-CLOSE-RATE-RULE-IDS` resolves to `true`.\n\n### Example\n\n### Basic Private rate\n\nThe following is a basic private rates example: \n\n \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n \u003cTransaction\u003e\n \u003cResult\u003e\n \u003cProperty\u003e1234\u003c/Property\u003e\n \u003cCheckin\u003e2023-05-23\u003c/Checkin\u003e\n \u003cNights\u003e1\u003c/Nights\u003e\n\n \u003c!-- An eligible non-hidden rate is required in order to display the UI treatment. --\u003e\n \u003c!-- This example uses a public rate, but a conditional rate where the\n user meets all conditions could also be used. --\u003e\n \u003c!-- This would be the strikethrough price. --\u003e\n \u003cBaserate currency=\"USD\"\u003e200.00\u003c/Baserate\u003e\n \u003cTax currency=\"USD\"\u003e20.00\u003c/Tax\u003e\n \u003cOtherFees currency=\"USD\"\u003e1.00\u003c/OtherFees\u003e\n\n \u003cRates\u003e\n \u003cRate rate_rule_id=\"sample_qr\"\u003e\n \u003c!-- Price will not be displayed, but is required for calculating discounts. --\u003e\n \u003cBaserate currency=\"USD\"\u003e180.00\u003c/Baserate\u003e\n \u003cTax currency=\"USD\"\u003e18.00\u003c/Tax\u003e\n \u003cCustom1\u003eratecode123\u003c/Custom1\u003e\n \u003c/Rate\u003e\n \u003c/Rates\u003e\n\n \u003c/Result\u003e\n \u003c/Transaction\u003e\n\n### Conditional private rates\n\nThe following example shows conditional rates for US users only. \n\n \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n \u003cTransaction\u003e\n \u003cResult\u003e\n \u003cProperty\u003e1234\u003c/Property\u003e\n \u003cCheckin\u003e2025-08-23\u003c/Checkin\u003e\n \u003cNights\u003e1\u003c/Nights\u003e\n \u003cBaserate currency=\"USD\"\u003e200.00\u003c/Baserate\u003e\n \u003cTax currency=\"USD\"\u003e20.00\u003c/Tax\u003e\n \u003cOtherFees currency=\"USD\"\u003e1.00\u003c/OtherFees\u003e\n \u003cRates\u003e\n \u003cRate rate_rule_id=\"sample_qr\"\u003e\n \u003cBaserate currency=\"USD\"\u003e180.00\u003c/Baserate\u003e\n \u003cTax currency=\"USD\"\u003e18.00\u003c/Tax\u003e\n \u003cCustom1\u003eratecode123\u003c/Custom1\u003e\n \u003cRateRuleSettings\u003e\n \u003cRateRule id=\"US_users\"\u003e\n \u003cUserRateCondition\u003e\n \u003cUserCountry\u003eUS\u003c/UserCountry\u003e\n \u003c/UserRateCondition\u003e\n \u003c/RateRule\u003e\n \u003c/RateRuleSettings\u003e\n \u003c/Rate\u003e\n \u003c/Rates\u003e\n \u003c/Result\u003e\n \u003c/Transaction\u003e\n\nRefer to [Rate Rules XML reference](/hotels/hotel-prices/xml-reference/rate-rules)\nfor more examples."]]