queryorder

package
v0.0.0-...-905ac7b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

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

type Requirements struct {
	/**
	 * 桌台类型
	 */
	TableType int32 `json:"tableType"`
	/**
	 * 桌台类型名称
	 */
	TableTypeName string `json:"tableTypeName"`
	/**
	 * 备注
	 */
	Remark string `json:"remark"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL