Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
L'errore WaitlistEntry può verificarsi durante la creazione di una voce della lista d'attesa.
//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;}
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2024-11-26 UTC."],[[["`WaitlistEntry` creation can fail due to various business logic reasons, such as an existing waitlist entry, party size limitations, merchant's operational status (closed or no wait), waitlist capacity, unsupported phone number country, or waitlist closure."],["If a `WaitlistEntry` creation fails, the `WaitlistBusinessLogicFailure` message provides a specific `Cause` for the failure, offering insight into the reason."],["The `WaitlistBusinessLogicFailure` message may optionally include a `description` field for debugging purposes, providing additional context to the partner."]]],[]]