cainiaocntec

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package cainiaocntec 包含菜鸟末端商业相关结构体

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

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"`
	// 营销活动
	MktActivityType string `json:"mkt_activity_type,omitempty" xml:"mkt_activity_type,omitempty"`
	// 预计到货时间
	PredictArrivalTime string `json:"predict_arrival_time,omitempty" xml:"predict_arrival_time,omitempty"`
}

ActivityStatisticsDto 结构体

type CainiaoCntecCompassRpaExeResultsaveAPIRequest added in v1.2.9

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

CainiaoCntecCompassRpaExeResultsaveAPIRequest rpa执行结果回传 API请求 cainiao.cntec.compass.rpa.exe.resultsave

rpa执行结果回传

func NewCainiaoCntecCompassRpaExeResultsaveRequest added in v1.2.9

func NewCainiaoCntecCompassRpaExeResultsaveRequest() *CainiaoCntecCompassRpaExeResultsaveAPIRequest

NewCainiaoCntecCompassRpaExeResultsaveRequest 初始化CainiaoCntecCompassRpaExeResultsaveAPIRequest对象

func (CainiaoCntecCompassRpaExeResultsaveAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoCntecCompassRpaExeResultsaveAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoCntecCompassRpaExeResultsaveAPIRequest) GetRawParams added in v1.2.9

GetRawParams IRequest interface 方法, 获取API原始参数

func (CainiaoCntecCompassRpaExeResultsaveAPIRequest) GetRpaExeResultByUuidReq added in v1.2.9

GetRpaExeResultByUuidReq RpaExeResultByUuidReq Getter

func (*CainiaoCntecCompassRpaExeResultsaveAPIRequest) SetRpaExeResultByUuidReq added in v1.2.9

func (r *CainiaoCntecCompassRpaExeResultsaveAPIRequest) SetRpaExeResultByUuidReq(_rpaExeResultByUuidReq *RpaExeResultByUuidReq) error

SetRpaExeResultByUuidReq is RpaExeResultByUuidReq Setter 请求参数

type CainiaoCntecCompassRpaExeResultsaveAPIResponse added in v1.2.9

type CainiaoCntecCompassRpaExeResultsaveAPIResponse struct {
	model.CommonResponse
	CainiaoCntecCompassRpaExeResultsaveAPIResponseModel
}

CainiaoCntecCompassRpaExeResultsaveAPIResponse rpa执行结果回传 API返回值 cainiao.cntec.compass.rpa.exe.resultsave

rpa执行结果回传

type CainiaoCntecCompassRpaExeResultsaveAPIResponseModel added in v1.2.9

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

CainiaoCntecCompassRpaExeResultsaveAPIResponseModel is rpa执行结果回传 成功返回结果

type CainiaoCntecCompassRpaExeResultsaveResult added in v1.2.9

type CainiaoCntecCompassRpaExeResultsaveResult struct {
	// 请求trace_id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 错误code
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 请求结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CainiaoCntecCompassRpaExeResultsaveResult 结构体

type CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIRequest added in v1.2.5

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

CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIRequest 订单状态推送 API请求 cainiao.cntec.locallife.communitylife.syncorderstatus

订单状态推送

func NewCainiaoCntecLocallifeCommunitylifeSyncorderstatusRequest added in v1.2.5

func NewCainiaoCntecLocallifeCommunitylifeSyncorderstatusRequest() *CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIRequest

NewCainiaoCntecLocallifeCommunitylifeSyncorderstatusRequest 初始化CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIRequest对象

func (CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIRequest) GetFeature added in v1.2.5

GetFeature Feature Getter

func (CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIRequest) GetOrderNo added in v1.2.5

GetOrderNo OrderNo Getter

func (CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIRequest) GetStatusCode added in v1.2.5

GetStatusCode StatusCode Getter

func (CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIRequest) GetStatusDesc added in v1.2.5

GetStatusDesc StatusDesc Getter

func (*CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIRequest) SetFeature added in v1.2.5

SetFeature is Feature Setter 扩展信息json字段

func (*CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIRequest) SetOrderNo added in v1.2.5

SetOrderNo is OrderNo Setter 订单id

func (*CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIRequest) SetStatusCode added in v1.2.5

SetStatusCode is StatusCode Setter 订单状态码

func (*CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIRequest) SetStatusDesc added in v1.2.5

SetStatusDesc is StatusDesc Setter 订单状态描述

type CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIResponse added in v1.2.5

type CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIResponse struct {
	model.CommonResponse
	CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIResponseModel
}

CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIResponse 订单状态推送 API返回值 cainiao.cntec.locallife.communitylife.syncorderstatus

订单状态推送

type CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIResponseModel added in v1.2.5

type CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_cntec_locallife_communitylife_syncorderstatus_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	ECode string `json:"e_code,omitempty" xml:"e_code,omitempty"`
	// model
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// 错误信息
	EMsg string `json:"e_msg,omitempty" xml:"e_msg,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

CainiaoCntecLocallifeCommunitylifeSyncorderstatusAPIResponseModel is 订单状态推送 成功返回结果

type CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIRequest added in v1.2.5

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

CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIRequest 验证码验证 API请求 cainiao.cntec.locallife.communitylife.verifyservicecode

验证码验证

func NewCainiaoCntecLocallifeCommunitylifeVerifyservicecodeRequest added in v1.2.5

func NewCainiaoCntecLocallifeCommunitylifeVerifyservicecodeRequest() *CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIRequest

NewCainiaoCntecLocallifeCommunitylifeVerifyservicecodeRequest 初始化CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIRequest对象

func (CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIRequest) GetFeature added in v1.2.5

GetFeature Feature Getter

func (CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIRequest) GetOrderNo added in v1.2.5

GetOrderNo OrderNo Getter

func (CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIRequest) GetServiceCode added in v1.2.5

GetServiceCode ServiceCode Getter

func (*CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIRequest) SetFeature added in v1.2.5

SetFeature is Feature Setter 扩展信息Json格式

func (*CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIRequest) SetOrderNo added in v1.2.5

SetOrderNo is OrderNo Setter 订单id

func (*CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIRequest) SetServiceCode added in v1.2.5

SetServiceCode is ServiceCode Setter 服务码

type CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIResponse added in v1.2.5

type CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIResponse struct {
	model.CommonResponse
	CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIResponseModel
}

CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIResponse 验证码验证 API返回值 cainiao.cntec.locallife.communitylife.verifyservicecode

验证码验证

type CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIResponseModel added in v1.2.5

type CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_cntec_locallife_communitylife_verifyservicecode_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	ECode string `json:"e_code,omitempty" xml:"e_code,omitempty"`
	// model
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// 错误信息
	EMsg string `json:"e_msg,omitempty" xml:"e_msg,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

CainiaoCntecLocallifeCommunitylifeVerifyservicecodeAPIResponseModel is 验证码验证 成功返回结果

type CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest added in v1.2.0

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

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

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

func NewCainiaoCntecShopkeeperSupplyStatisticsQueryRequest

func NewCainiaoCntecShopkeeperSupplyStatisticsQueryRequest() *CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest

NewCainiaoCntecShopkeeperSupplyStatisticsQueryRequest 初始化CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest对象

func (CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest) GetQueryActivityDto added in v1.2.0

GetQueryActivityDto QueryActivityDto Getter

func (CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*CainiaoCntecShopkeeperSupplyStatisticsQueryAPIRequest) SetQueryActivityDto added in v1.2.0

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

SetQueryActivityDto is QueryActivityDto Setter 查询参数

type CainiaoCntecShopkeeperSupplyStatisticsQueryAPIResponse

type CainiaoCntecShopkeeperSupplyStatisticsQueryAPIResponse struct {
	model.CommonResponse
	CainiaoCntecShopkeeperSupplyStatisticsQueryAPIResponseModel
}

CainiaoCntecShopkeeperSupplyStatisticsQueryAPIResponse 团购业务供货商查询门店统计数据 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"`
}

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

type CainiaoCntecShopkeeperSupplyStatisticsQueryResult

type CainiaoCntecShopkeeperSupplyStatisticsQueryResult struct {
	// 门店统计结果
	ModelList []ActivityStatisticsDto `json:"model_list,omitempty" xml:"model_list>activity_statistics_dto,omitempty"`
	// trace_id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,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"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CainiaoCntecShopkeeperSupplyStatisticsQueryResult 结构体

type QueryActivityDto

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

QueryActivityDto 结构体

type RpaExeResultByUuidReq added in v1.2.9

type RpaExeResultByUuidReq struct {
	// 执行结果code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 详细信息
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 访问业务secretKey
	SecretKey string `json:"secret_key,omitempty" xml:"secret_key,omitempty"`
	// 描述
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// uuid
	Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"`
}

RpaExeResultByUuidReq 结构体

Jump to

Keyboard shortcuts

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