Definição de WaitlistEntryFailure
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Uma falha pode ocorrer ao criar uma entrada da lista de espera.
// 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;
}
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2024-08-22 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Não contém as informações de que eu preciso"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Muito complicado / etapas demais"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Desatualizado"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problema na tradução"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problema com as amostras / o código"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Outro"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Fácil de entender"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Meu problema foi resolvido"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Outro"
}]
{"lastModified": "\u00daltima atualiza\u00e7\u00e3o 2024-08-22 UTC."}
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2024-08-22 UTC."]]