پنجره های لغو زمان فعال شدن دکمه لغو را مشخص می کنند. این بدان معناست که عملکرد لغو در ایمیلهای تأیید کاربر غیرقابل اجرا خواهد بود و از تمام سطوح دیگر ناپدید میشود.
پنجره های لغو را می توان به دو روش فعال کرد: سطح سرویس و سطح اسلات. فرآیندهای تعیین ویندوز در این سطوح در زیر مورد بحث قرار گرفته است.
اگر هر دو پنجره لغو در سطح سرویس و سطح اسلات تنظیم شده باشد، پنجره سطح اسلات اعمال می شود. اگر هیچکدام تنظیم نشده باشند، پنجره لغو به طور پیشفرض روی شروع شکاف زمانی قرار میگیرد (یعنی کاربر میتواند در آخرین لحظه لغو شود).
تعریف سطح خدمات
پنجرههای لغو در سطح سرویس را میتوان با مشخص کردن rules.min_advance_online_canceling در فید Service فعال کرد. این فیلد باید روی تعداد ثانیه های قبل از زمان شروع رزرو تنظیم شود که رزرو باید انجام شود. به عنوان مثال، اگر رزرو فقط تا 24 ساعت قبل از زمان شروع قابل لغو باشد، این فیلد روی 86400 تنظیم می شود (بنابراین رزرو برای ساعت 3 بعد از ظهر فقط تا ساعت 3 بعد از ظهر روز قبل قابل لغو است). این برای همه اسلاتهای آن سرویس اعمال میشود (مگر اینکه با تعریف سطح شکاف لغو شود).
تاریخ آخرین بهروزرسانی 2025-01-06 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-06 بهوقت ساعت هماهنگ جهانی."],[[["Cancellation windows control when users can cancel bookings, hiding the cancellation option outside the window."],["You can set cancellation windows at the service level (affecting all slots) or the slot level (affecting individual slots)."],["Service-level windows use `rules.min_advance_online_canceling` in the Service feed to define the minimum time before the booking start when cancellations are allowed."],["Slot-level windows use `scheduling_rule_overrides.last_online_cancellable_sec` in the Availability feed to specify the last time (EPOCH timestamp) a slot can be cancelled."],["Implementing cancellation windows in feeds doesn't replace handling `BookingFailure` with `OUTSIDE_CANCELLATION_WINDOW` for edge cases in your system."]]],["Cancellation windows control when cancellations are allowed. They can be set at the service level using `rules.min_advance_online_canceling` in the Service feed (specifying seconds before the reservation start) or at the slot level using `scheduling_rule_overrides.last_online_cancellable_sec` in the availability feed (specifying an EPOCH timestamp). Slot-level settings override service-level settings. If neither is set, cancellations are allowed up until the slot's start. Implementations must handle `OUTSIDE_CANCELLATION_WINDOW` errors for edge cases.\n"]]