PriceType
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
نحوه تعیین قیمت کل از روی در دسترس بودن را مشخص می کند.
Enums |
---|
FIXED_RATE_DEFAULT | قیمت برای یک مقدار ثابت است. اگر فیلد تنظیم نشده باشد، این مقدار پیش فرض است. مثال: 50 دلار واریز برای رزرو میز. 20 دلار بدون هزینه نمایش برای کلاس یوگا |
PER_PERSON | قیمت مشخص شده برای هر نفر است و قیمت کل با توجه به اندازه مهمانی مشخص شده در Resources به عنوان priceMicros * partySize محاسبه می شود. قیمت PER_PERSON باید با اندازه مهمانی در منابع در دسترس همراه باشد. اگر اینطور نیست، از اندازه یک مهمانی استفاده می شود. مثال: هر کدام 10 دلار برای بلیط موزه |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eTotal price can be a fixed amount (\u003ccode\u003eFIXED_RATE_DEFAULT\u003c/code\u003e) or calculated per person (\u003ccode\u003ePER_PERSON\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePER_PERSON\u003c/code\u003e pricing multiplies the price by the party size, defaulting to one if not specified.\u003c/p\u003e\n"],["\u003cp\u003ePrices are represented in micros and examples include deposits, no-show fees, and per-person tickets.\u003c/p\u003e\n"]]],[],null,["# PriceType\n\nDefines how a total price is determined from an availability.\n\n| Enums ||\n|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `FIXED_RATE_DEFAULT` | The price is for a fixed amount. This is the default value if the field is not set. Examples: $50 deposit to reserve a table; $20 no show fee for a yoga class |\n| `PER_PERSON` | The price specified is per person, and the total price is calculated according to the party size specified in Resources as priceMicros \\* partySize. A PER_PERSON price must be accompanied by a party size in the availability resources. If it is not, a party size of one is used. Examples: $10 each for tickets to a museum |"]]