Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { /** * 预订订单号 */ OrderSerializedId string `json:"orderSerializedId"` /** * 状态 */ Status int32 `json:"status"` /** * 就餐时间 */ BookingTime int32 `json:"bookingTime"` /** * 就餐人数 */ Number int32 `json:"number"` /** * 姓名 */ Name string `json:"name"` /** * 性别 10 - 女士 20 - 先生 */ Gender int32 `json:"gender"` /** * 手机号 status为10、20、30、80时为空商家接单后提供完整手机号 */ Phone string `json:"phone"` /** * 附加要求 */ Requirements Requirements `json:"requirements"` }
type QueryOrderRequest ¶
type QueryOrderRequest struct { /** * 订单id */ OrderSerializedId string `json:"orderSerializedId"` }
func (*QueryOrderRequest) DoInvoke ¶
func (req *QueryOrderRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*QueryOrderResponse, error)
type QueryOrderResponse ¶
type QueryOrderResponse struct { Code string `json:"code"` Msg string `json:"msg"` Data Data `json:"data"` TraceId string `json:"traceId"` }
func (*QueryOrderResponse) IsSuccess ¶
func (response *QueryOrderResponse) IsSuccess() bool
type Requirements ¶
Click to show internal directories.
Click to hide internal directories.