createordersync

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 CreateOrderSyncRequest

type CreateOrderSyncRequest struct {
	/**
	 *  服务商订单标识
	 */
	OrderSn string `json:"orderSn"`
	/**
	 *  快驴门店码
	 */
	MerchantCode string `json:"merchantCode"`
	/**
	 *  服务商关联商家品牌
	 */
	BrandIdentify string `json:"brandIdentify"`
	/**
	 *  服务商订单上需要在快驴订单上展示的信息组合
	 */
	Remark string `json:"remark"`
	/**
	 *  加盟店0代表创建订单,1代表支付订单 直营店1代表创建订单
	 */
	Type int32 `json:"type"`
	/**
	 *  订单商品列表
	 */
	CartProducts []GoodsList `json:"cartProducts"`
	/**
	 *  订单金额
	 */
	TotalAmount string `json:"totalAmount"`
}

func (*CreateOrderSyncRequest) DoInvoke

func (req *CreateOrderSyncRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*CreateOrderSyncResponse, error)

type CreateOrderSyncResponse

type CreateOrderSyncResponse struct {
	Code string `json:"code"`
	Msg  string `json:"msg"`
	/**
	 * 快驴订单号
	 */
	Data    string `json:"data"`
	TraceId string `json:"traceId"`
}

func (*CreateOrderSyncResponse) IsSuccess

func (response *CreateOrderSyncResponse) IsSuccess() bool

type GoodsList

type GoodsList struct {
	/**
	 *  sku编码
	 */
	SkuCode string `json:"skuCode"`
	/**
	 *  sku名称
	 */
	SkuName string `json:"skuName"`
	/**
	 *  数量
	 */
	Quantity int32 `json:"quantity"`
}

Jump to

Keyboard shortcuts

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