Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderCancelRequest ¶
type OrderCancelRequest struct { /** * 取消原因 */ Reason string `json:"reason"` /** * 订单号 */ OrderId int64 `json:"orderId"` /** * 取消原因码 参考备注信息 */ ReasonCode string `json:"reasonCode"` }
func (*OrderCancelRequest) DoInvoke ¶
func (req *OrderCancelRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*OrderCancelResponse, error)
type OrderCancelResponse ¶
type OrderCancelResponse struct { Code string `json:"code"` Msg string `json:"msg"` /** * 操作结果 */ Data string `json:"data"` TraceId string `json:"traceId"` }
func (*OrderCancelResponse) IsSuccess ¶
func (response *OrderCancelResponse) IsSuccess() bool
Click to show internal directories.
Click to hide internal directories.