Định nghĩa về WaitlistEntryFailure
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Lỗi nhập danh sách chờ có thể xảy ra khi tạo một mục nhập danh sách chờ.
// Status data that conveys why creating a waitlist entry fails.
// If there is a business logic error that is not captured here, please
// reach out to the Reserve with Google team to add it to this list. Other
// errors should be returned using standard HTTP error codes.
message WaitlistBusinessLogicFailure {
enum Cause {
// Default value: Dont' use; amounts to an u"nknown error
" // Unexpected errors must be returned using standard HTTP error codes.
CAUSE_UNSPECIFIED = 0;
// The user has already booked a waitlist entry with the partner.
EXISTING_WAITLIST_ENTRY = 1;
// The requested party size is below the merchant’s minimum.
BELOW_MIN_PARTY_SIZE = 2;
// The requested party size is above the merchant’s maximum.
ABOVE_MAX_PARTY_SIZE = 3;
// The requested merchant is currently closed.
MERCHANT_CLOSED = 4;
// There is currently no wait and the user should walk in without joining
// the waitlist.
NO_WAIT = 5;
// The waitlist is at capacity and new users are not being accepted at this
// time.
WAITLIST_FULL = 6;
// The country of the phone number is not supported.
PHONE_NUMBER_COUNTRY_UNSUPPORTED = 7;
// The waitlist is closed and not accepting new users. This is expected when
// the waitlist enters state CLOSED_OTHER after the user has already seen a
// wait estimate.
WAITLIST_CLOSED = 8;
}
// Required. The reason why the booking failed.
Cause cause = 1;
// This optional field is used for the partner to include additional
// information for debugging purposes only.
string description = 2;
}
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-08-22 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Thiếu thông tin tôi cần"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Quá phức tạp/quá nhiều bước"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Đã lỗi thời"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Vấn đề về bản dịch"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Vấn đề về mẫu/mã"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Khác"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Dễ hiểu"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Giúp tôi giải quyết được vấn đề"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Khác"
}]
{"lastModified": "C\u1eadp nh\u1eadt l\u1ea7n g\u1ea7n \u0111\u00e2y nh\u1ea5t: 2024-08-22 UTC."}
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2024-08-22 UTC."],[],[]]