ordercancel

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 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

Jump to

Keyboard shortcuts

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