Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Podczas tworzenia wpisu na liście oczekujących może wystąpić błąd WaitlistEntry.
//Statusdatathatconveyswhycreatingawaitlistentryfails.//Ifthereisabusinesslogicerrorthatisnotcapturedhere,please//reachouttotheReservewithGoogleteamtoaddittothislist.Other//errorsshouldbereturnedusingstandardHTTPerrorcodes.messageWaitlistBusinessLogicFailure{enumCause{//Defaultvalue:Don't use; amounts to an "unknown error"//UnexpectederrorsmustbereturnedusingstandardHTTPerrorcodes.CAUSE_UNSPECIFIED=0;//Theuserhasalreadybookedawaitlistentrywiththepartner.EXISTING_WAITLIST_ENTRY=1;//Therequestedpartysizeisbelowthemerchant’sminimum.BELOW_MIN_PARTY_SIZE=2;//Therequestedpartysizeisabovethemerchant’smaximum.ABOVE_MAX_PARTY_SIZE=3;//Therequestedmerchantiscurrentlyclosed.MERCHANT_CLOSED=4;//Thereiscurrentlynowaitandtheusershouldwalkinwithoutjoining//thewaitlist.NO_WAIT=5;//Thewaitlistisatcapacityandnewusersarenotbeingacceptedatthis//time.WAITLIST_FULL=6;//Thecountryofthephonenumberisnotsupported.PHONE_NUMBER_COUNTRY_UNSUPPORTED=7;//Thewaitlistisclosedandnotacceptingnewusers.Thisisexpectedwhen//thewaitlistentersstateCLOSED_OTHERaftertheuserhasalreadyseena//waitestimate.WAITLIST_CLOSED=8;}//Required.Thereasonwhythebookingfailed.Causecause=1;//Thisoptionalfieldisusedforthepartnertoincludeadditional//informationfordebuggingpurposesonly.stringdescription=2;}
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-11-26 UTC."],[[["`WaitlistEntry` creation can fail due to various business logic reasons, such as existing entries, party size constraints, merchant status (closed or no wait), waitlist capacity, unsupported phone number country, or waitlist closure."],["If the failure reason isn't explicitly listed in `WaitlistBusinessLogicFailure`, standard HTTP error codes should be used instead, and unexpected errors should be reported."],["`WaitlistBusinessLogicFailure` includes a `cause` field to specify the reason for the failure and an optional `description` field for debugging purposes."]]],[]]