cainiaocntec

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

菜鸟末端商业 model

https://open.taobao.com/API.htm?docId=46493&docType=2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityStatisticsDto

type ActivityStatisticsDto struct {
	// 箱规
	InventoryCoefficient string `json:"inventory_coefficient,omitempty" xml:"inventory_coefficient,omitempty"`
	// 总价
	TotoalPrice string `json:"totoal_price,omitempty" xml:"totoal_price,omitempty"`
	// 购买数量
	BuyAmount string `json:"buy_amount,omitempty" xml:"buy_amount,omitempty"`
	// 单价
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 商品标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 商品编码
	ProductCode string `json:"product_code,omitempty" xml:"product_code,omitempty"`
	// 驿站名称
	StationName string `json:"station_name,omitempty" xml:"station_name,omitempty"`
	// 驿站id
	StationId string `json:"station_id,omitempty" xml:"station_id,omitempty"`
	// 门店名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 门店id
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 活动名称
	ActivityName string `json:"activity_name,omitempty" xml:"activity_name,omitempty"`
	// 预计到货时间
	PredictArrivalTime string `json:"predict_arrival_time,omitempty" xml:"predict_arrival_time,omitempty"`
	// 营销活动
	MktActivityType string `json:"mkt_activity_type,omitempty" xml:"mkt_activity_type,omitempty"`
}

ActivityStatisticsDto

type CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest added in v1.2.0

type CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

团购业务供货商查询门店统计数据 API请求 cainiao.cntec.shopkeeper.supply.statistics.query

查询门店售卖商品统计数据

func NewCainiaoCntecShopkeeperSupplyStatisticsQueryRequest

func NewCainiaoCntecShopkeeperSupplyStatisticsQueryRequest() *CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest

初始化CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest对象

func (CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest) GetQueryActivityDto added in v1.2.0

QueryActivityDto Getter

func (*CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest) SetQueryActivityDto added in v1.2.0

func (r *CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest) SetQueryActivityDto(_queryActivityDto *QueryActivityDto) error

QueryActivityDto Setter 查询参数

type CainiaoCntecShopkeeperSupplyStatisticsQueryAPIResponse

type CainiaoCntecShopkeeperSupplyStatisticsQueryAPIResponse struct {
	model.CommonResponse
	CainiaoCntecShopkeeperSupplyStatisticsQueryAPIResponseModel
}

团购业务供货商查询门店统计数据 API返回值 cainiao.cntec.shopkeeper.supply.statistics.query

查询门店售卖商品统计数据

type CainiaoCntecShopkeeperSupplyStatisticsQueryAPIResponseModel added in v1.2.0

type CainiaoCntecShopkeeperSupplyStatisticsQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_cntec_shopkeeper_supply_statistics_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *CainiaoCntecShopkeeperSupplyStatisticsQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

团购业务供货商查询门店统计数据 成功返回结果

type CainiaoCntecShopkeeperSupplyStatisticsQueryResult

type CainiaoCntecShopkeeperSupplyStatisticsQueryResult struct {
	// trace_id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 门店统计结果
	ModelList []ActivityStatisticsDto `json:"model_list,omitempty" xml:"model_list>activity_statistics_dto,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 总数量
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 当前页
	PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"`
	// 分页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

CainiaoCntecShopkeeperSupplyStatisticsQueryResult

type QueryActivityDto

type QueryActivityDto struct {
	// 门店id
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 是否分页
	Page bool `json:"page,omitempty" xml:"page,omitempty"`
	// 分页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 当前页
	PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"`
}

QueryActivityDto

Jump to

Keyboard shortcuts

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