ordercreate

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 GoodsList

type GoodsList struct {
	/**
	 *  服务商订单明细标识
	 */
	OrderItemIdentify string `json:"orderItemIdentify"`
	/**
	 *  服务商商品标识
	 */
	GoodsIdentify string `json:"goodsIdentify"`
	/**
	 *  订单购买商品的数量
	 */
	Quantity int32 `json:"quantity"`
}

type OrderCreateRequest

type OrderCreateRequest struct {
	/**
	 *  服务商订单标识
	 */
	OrderIdentify string `json:"orderIdentify"`
	/**
	 *  服务商门店标识
	 */
	ShopIdentify string `json:"shopIdentify"`
	/**
	 *  服务商关联商家品牌
	 */
	BrandIdentify string `json:"brandIdentify"`
	/**
	 *  服务商订单上需要在快驴订单上展示的信息组合
	 */
	Remarks string `json:"remarks"`
	/**
	 *  订单商品列表
	 */
	GoodsList []GoodsList `json:"goodsList"`
}

func (*OrderCreateRequest) DoInvoke

func (req *OrderCreateRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*OrderCreateResponse, error)

type OrderCreateResponse

type OrderCreateResponse struct {
	Code    string `json:"code"`
	Msg     string `json:"msg"`
	TraceId string `json:"traceId"`
}

func (*OrderCreateResponse) IsSuccess

func (response *OrderCreateResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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