cancelorder

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 CancelOrderData

type CancelOrderData struct {
	/**
	 * 美团配送内部订单id
	 */
	MtPeisongId string `json:"mt_peisong_id"`
	/**
	 * 配送活动标识
	 */
	DeliveryId int64 `json:"delivery_id"`
	/**
	 * 外部订单id
	 */
	OrderId string `json:"order_id"`
}

type CancelOrderRequest

type CancelOrderRequest struct {
	/**
	 * 配送活动标识
	 */
	DeliveryId int64 `json:"delivery_id"`
	/**
	 * 美团配送内部订单id,最长不超过32个字符
	 */
	MtPeisongId string `json:"mt_peisong_id"`
	/**
	 * 取消原因类别,默认为接入方原因 详情请参考 美团配送开放平台接口文档--门户页面-4.3.1,客户取消订单原因
	 */
	CancelReasonId int32 `json:"cancel_reason_id"`
	/**
	 * 详细取消原因,最长不超过256个字符
	 */
	CancelReason string `json:"cancel_reason"`
}

func (*CancelOrderRequest) DoInvoke

type CancelOrderResponse

type CancelOrderResponse struct {
	Code    string          `json:"code"`
	Msg     string          `json:"msg"`
	Data    CancelOrderData `json:"data"`
	TraceId string          `json:"traceId"`
}

func (*CancelOrderResponse) IsSuccess

func (response *CancelOrderResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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