tmallchannel

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package tmallchannel 包含渠道中心API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleasePageResultDto added in v1.3.4

func ReleasePageResultDto(v *PageResultDto)

ReleasePageResultDto 释放PageResultDto

func ReleaseProductSkuTopDto added in v1.3.4

func ReleaseProductSkuTopDto(v *ProductSkuTopDto)

ReleaseProductSkuTopDto 释放ProductSkuTopDto

func ReleaseProductTopDto added in v1.3.4

func ReleaseProductTopDto(v *ProductTopDto)

ReleaseProductTopDto 释放ProductTopDto

func ReleaseTaobaoChannelTradePrepayOfflineAddAPIRequest added in v1.3.4

func ReleaseTaobaoChannelTradePrepayOfflineAddAPIRequest(v *TaobaoChannelTradePrepayOfflineAddAPIRequest)

ReleaseTaobaoChannelTradePrepayOfflineAddAPIRequest 将 TaobaoChannelTradePrepayOfflineAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoChannelTradePrepayOfflineAddAPIResponse added in v1.3.4

func ReleaseTaobaoChannelTradePrepayOfflineAddAPIResponse(v *TaobaoChannelTradePrepayOfflineAddAPIResponse)

ReleaseTaobaoChannelTradePrepayOfflineAddAPIResponse 将 TaobaoChannelTradePrepayOfflineAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoChannelTradePrepayOfflineAddResultTopDo added in v1.3.4

func ReleaseTaobaoChannelTradePrepayOfflineAddResultTopDo(v *TaobaoChannelTradePrepayOfflineAddResultTopDo)

ReleaseTaobaoChannelTradePrepayOfflineAddResultTopDo 释放TaobaoChannelTradePrepayOfflineAddResultTopDo

func ReleaseTaobaoChannelTradePrepayOfflineReduceAPIRequest added in v1.3.4

func ReleaseTaobaoChannelTradePrepayOfflineReduceAPIRequest(v *TaobaoChannelTradePrepayOfflineReduceAPIRequest)

ReleaseTaobaoChannelTradePrepayOfflineReduceAPIRequest 将 TaobaoChannelTradePrepayOfflineReduceAPIRequest 放入 sync.Pool

func ReleaseTaobaoChannelTradePrepayOfflineReduceAPIResponse added in v1.3.4

func ReleaseTaobaoChannelTradePrepayOfflineReduceAPIResponse(v *TaobaoChannelTradePrepayOfflineReduceAPIResponse)

ReleaseTaobaoChannelTradePrepayOfflineReduceAPIResponse 将 TaobaoChannelTradePrepayOfflineReduceAPIResponse 保存到 sync.Pool

func ReleaseTaobaoChannelTradePrepayOfflineReduceResultTopDo added in v1.3.4

func ReleaseTaobaoChannelTradePrepayOfflineReduceResultTopDo(v *TaobaoChannelTradePrepayOfflineReduceResultTopDo)

ReleaseTaobaoChannelTradePrepayOfflineReduceResultTopDo 释放TaobaoChannelTradePrepayOfflineReduceResultTopDo

func ReleaseTmallChannelProductsQueryAPIRequest added in v1.3.4

func ReleaseTmallChannelProductsQueryAPIRequest(v *TmallChannelProductsQueryAPIRequest)

ReleaseTmallChannelProductsQueryAPIRequest 将 TmallChannelProductsQueryAPIRequest 放入 sync.Pool

func ReleaseTmallChannelProductsQueryAPIResponse added in v1.3.4

func ReleaseTmallChannelProductsQueryAPIResponse(v *TmallChannelProductsQueryAPIResponse)

ReleaseTmallChannelProductsQueryAPIResponse 将 TmallChannelProductsQueryAPIResponse 保存到 sync.Pool

func ReleaseTmallChannelTradeOrderGetAPIRequest added in v1.3.4

func ReleaseTmallChannelTradeOrderGetAPIRequest(v *TmallChannelTradeOrderGetAPIRequest)

ReleaseTmallChannelTradeOrderGetAPIRequest 将 TmallChannelTradeOrderGetAPIRequest 放入 sync.Pool

func ReleaseTmallChannelTradeOrderGetAPIResponse added in v1.3.4

func ReleaseTmallChannelTradeOrderGetAPIResponse(v *TmallChannelTradeOrderGetAPIResponse)

ReleaseTmallChannelTradeOrderGetAPIResponse 将 TmallChannelTradeOrderGetAPIResponse 保存到 sync.Pool

func ReleaseTmallChannelTradeOrderGetsAPIRequest added in v1.3.4

func ReleaseTmallChannelTradeOrderGetsAPIRequest(v *TmallChannelTradeOrderGetsAPIRequest)

ReleaseTmallChannelTradeOrderGetsAPIRequest 将 TmallChannelTradeOrderGetsAPIRequest 放入 sync.Pool

func ReleaseTmallChannelTradeOrderGetsAPIResponse added in v1.3.4

func ReleaseTmallChannelTradeOrderGetsAPIResponse(v *TmallChannelTradeOrderGetsAPIResponse)

ReleaseTmallChannelTradeOrderGetsAPIResponse 将 TmallChannelTradeOrderGetsAPIResponse 保存到 sync.Pool

func ReleaseTmallChannelTradeRefundorderGetsAPIRequest added in v1.3.4

func ReleaseTmallChannelTradeRefundorderGetsAPIRequest(v *TmallChannelTradeRefundorderGetsAPIRequest)

ReleaseTmallChannelTradeRefundorderGetsAPIRequest 将 TmallChannelTradeRefundorderGetsAPIRequest 放入 sync.Pool

func ReleaseTmallChannelTradeRefundorderGetsAPIResponse added in v1.3.4

func ReleaseTmallChannelTradeRefundorderGetsAPIResponse(v *TmallChannelTradeRefundorderGetsAPIResponse)

ReleaseTmallChannelTradeRefundorderGetsAPIResponse 将 TmallChannelTradeRefundorderGetsAPIResponse 保存到 sync.Pool

func ReleaseTopChannelLogisticsOrderDto added in v1.3.4

func ReleaseTopChannelLogisticsOrderDto(v *TopChannelLogisticsOrderDto)

ReleaseTopChannelLogisticsOrderDto 释放TopChannelLogisticsOrderDto

func ReleaseTopChannelPurchaseOrderDto added in v1.3.4

func ReleaseTopChannelPurchaseOrderDto(v *TopChannelPurchaseOrderDto)

ReleaseTopChannelPurchaseOrderDto 释放TopChannelPurchaseOrderDto

func ReleaseTopChannelRefundDto added in v1.3.4

func ReleaseTopChannelRefundDto(v *TopChannelRefundDto)

ReleaseTopChannelRefundDto 释放TopChannelRefundDto

func ReleaseTopChannelSubPurchaseOrderDto added in v1.3.4

func ReleaseTopChannelSubPurchaseOrderDto(v *TopChannelSubPurchaseOrderDto)

ReleaseTopChannelSubPurchaseOrderDto 释放TopChannelSubPurchaseOrderDto

func ReleaseTopOfflineAddPrepayDto added in v1.3.4

func ReleaseTopOfflineAddPrepayDto(v *TopOfflineAddPrepayDto)

ReleaseTopOfflineAddPrepayDto 释放TopOfflineAddPrepayDto

func ReleaseTopOfflineReducePrepayDto added in v1.3.4

func ReleaseTopOfflineReducePrepayDto(v *TopOfflineReducePrepayDto)

ReleaseTopOfflineReducePrepayDto 释放TopOfflineReducePrepayDto

func ReleaseTopPurchasePayOrderDto added in v1.3.4

func ReleaseTopPurchasePayOrderDto(v *TopPurchasePayOrderDto)

ReleaseTopPurchasePayOrderDto 释放TopPurchasePayOrderDto

Types

type PageResultDto

type PageResultDto struct {
	// 产品信息
	ProductList []ProductTopDto `json:"product_list,omitempty" xml:"product_list>product_top_dto,omitempty"`
	// 异常信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 总数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 是否有下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
	// 是否查询成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

PageResultDto 结构体

func GetPageResultDto added in v1.3.4

func GetPageResultDto() *PageResultDto

GetPageResultDto() 从对象池中获取PageResultDto

type ProductSkuTopDto

type ProductSkuTopDto struct {
	// sku商家编码
	SkuNumber string `json:"sku_number,omitempty" xml:"sku_number,omitempty"`
	// 条形码
	BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"`
	// 图片链接
	PictureUrl string `json:"picture_url,omitempty" xml:"picture_url,omitempty"`
	// skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// sku后端货品
	SkuScItemId int64 `json:"sku_sc_item_id,omitempty" xml:"sku_sc_item_id,omitempty"`
	// 基准价
	StandardPrice int64 `json:"standard_price,omitempty" xml:"standard_price,omitempty"`
}

ProductSkuTopDto 结构体

func GetProductSkuTopDto added in v1.3.4

func GetProductSkuTopDto() *ProductSkuTopDto

GetProductSkuTopDto() 从对象池中获取ProductSkuTopDto

type ProductTopDto

type ProductTopDto struct {
	// sku列表
	SkuList []ProductSkuTopDto `json:"sku_list,omitempty" xml:"sku_list>product_sku_top_dto,omitempty"`
	// 产品编码
	ProductNumber string `json:"product_number,omitempty" xml:"product_number,omitempty"`
	// 产品描述地址
	DescPath string `json:"desc_path,omitempty" xml:"desc_path,omitempty"`
	// 标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 产品线ID
	ProductLineId int64 `json:"product_line_id,omitempty" xml:"product_line_id,omitempty"`
	// 基准价
	StandardPrice int64 `json:"standard_price,omitempty" xml:"standard_price,omitempty"`
	// 产品Id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 没有sku的情况下,产品对应的后端商品id
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// spuId
	SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
	// 供应商Id
	SupplierId int64 `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 类目Id
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
}

ProductTopDto 结构体

func GetProductTopDto added in v1.3.4

func GetProductTopDto() *ProductTopDto

GetProductTopDto() 从对象池中获取ProductTopDto

type TaobaoChannelTradePrepayOfflineAddAPIRequest added in v1.2.0

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

TaobaoChannelTradePrepayOfflineAddAPIRequest 渠道分销供应商上传线下流水预存款(增加) API请求 taobao.channel.trade.prepay.offline.add

渠道分销供应商上传线下流水预存款(增加)

func GetTaobaoChannelTradePrepayOfflineAddAPIRequest added in v1.3.4

func GetTaobaoChannelTradePrepayOfflineAddAPIRequest() *TaobaoChannelTradePrepayOfflineAddAPIRequest

GetTaobaoChannelTradePrepayOfflineAddRequest 从 sync.Pool 获取 TaobaoChannelTradePrepayOfflineAddAPIRequest

func NewTaobaoChannelTradePrepayOfflineAddRequest

func NewTaobaoChannelTradePrepayOfflineAddRequest() *TaobaoChannelTradePrepayOfflineAddAPIRequest

NewTaobaoChannelTradePrepayOfflineAddRequest 初始化TaobaoChannelTradePrepayOfflineAddAPIRequest对象

func (TaobaoChannelTradePrepayOfflineAddAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoChannelTradePrepayOfflineAddAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoChannelTradePrepayOfflineAddAPIRequest) GetOfflineAddPrepayParam added in v1.2.0

GetOfflineAddPrepayParam OfflineAddPrepayParam Getter

func (TaobaoChannelTradePrepayOfflineAddAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoChannelTradePrepayOfflineAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoChannelTradePrepayOfflineAddAPIRequest) SetOfflineAddPrepayParam added in v1.2.0

func (r *TaobaoChannelTradePrepayOfflineAddAPIRequest) SetOfflineAddPrepayParam(_offlineAddPrepayParam *TopOfflineAddPrepayDto) error

SetOfflineAddPrepayParam is OfflineAddPrepayParam Setter 增加流水

type TaobaoChannelTradePrepayOfflineAddAPIResponse

type TaobaoChannelTradePrepayOfflineAddAPIResponse struct {
	model.CommonResponse
	TaobaoChannelTradePrepayOfflineAddAPIResponseModel
}

TaobaoChannelTradePrepayOfflineAddAPIResponse 渠道分销供应商上传线下流水预存款(增加) API返回值 taobao.channel.trade.prepay.offline.add

渠道分销供应商上传线下流水预存款(增加)

func GetTaobaoChannelTradePrepayOfflineAddAPIResponse added in v1.3.4

func GetTaobaoChannelTradePrepayOfflineAddAPIResponse() *TaobaoChannelTradePrepayOfflineAddAPIResponse

GetTaobaoChannelTradePrepayOfflineAddAPIResponse 从 sync.Pool 获取 TaobaoChannelTradePrepayOfflineAddAPIResponse

func (*TaobaoChannelTradePrepayOfflineAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoChannelTradePrepayOfflineAddAPIResponseModel added in v1.2.0

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

TaobaoChannelTradePrepayOfflineAddAPIResponseModel is 渠道分销供应商上传线下流水预存款(增加) 成功返回结果

func (*TaobaoChannelTradePrepayOfflineAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoChannelTradePrepayOfflineAddResultTopDo added in v1.2.1

type TaobaoChannelTradePrepayOfflineAddResultTopDo struct {
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoChannelTradePrepayOfflineAddResultTopDo 结构体

func GetTaobaoChannelTradePrepayOfflineAddResultTopDo added in v1.3.4

func GetTaobaoChannelTradePrepayOfflineAddResultTopDo() *TaobaoChannelTradePrepayOfflineAddResultTopDo

GetTaobaoChannelTradePrepayOfflineAddResultTopDo() 从对象池中获取TaobaoChannelTradePrepayOfflineAddResultTopDo

type TaobaoChannelTradePrepayOfflineReduceAPIRequest added in v1.2.0

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

TaobaoChannelTradePrepayOfflineReduceAPIRequest 渠道分销供应商上传线下流水预存款(减少) API请求 taobao.channel.trade.prepay.offline.reduce

渠道分销供应商上传线下流水预存款(减少)

func GetTaobaoChannelTradePrepayOfflineReduceAPIRequest added in v1.3.4

func GetTaobaoChannelTradePrepayOfflineReduceAPIRequest() *TaobaoChannelTradePrepayOfflineReduceAPIRequest

GetTaobaoChannelTradePrepayOfflineReduceRequest 从 sync.Pool 获取 TaobaoChannelTradePrepayOfflineReduceAPIRequest

func NewTaobaoChannelTradePrepayOfflineReduceRequest

func NewTaobaoChannelTradePrepayOfflineReduceRequest() *TaobaoChannelTradePrepayOfflineReduceAPIRequest

NewTaobaoChannelTradePrepayOfflineReduceRequest 初始化TaobaoChannelTradePrepayOfflineReduceAPIRequest对象

func (TaobaoChannelTradePrepayOfflineReduceAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoChannelTradePrepayOfflineReduceAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoChannelTradePrepayOfflineReduceAPIRequest) GetOfflineReducePrepayParam added in v1.2.0

GetOfflineReducePrepayParam OfflineReducePrepayParam Getter

func (TaobaoChannelTradePrepayOfflineReduceAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoChannelTradePrepayOfflineReduceAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoChannelTradePrepayOfflineReduceAPIRequest) SetOfflineReducePrepayParam added in v1.2.0

func (r *TaobaoChannelTradePrepayOfflineReduceAPIRequest) SetOfflineReducePrepayParam(_offlineReducePrepayParam *TopOfflineReducePrepayDto) error

SetOfflineReducePrepayParam is OfflineReducePrepayParam Setter 减少流水

type TaobaoChannelTradePrepayOfflineReduceAPIResponse

type TaobaoChannelTradePrepayOfflineReduceAPIResponse struct {
	model.CommonResponse
	TaobaoChannelTradePrepayOfflineReduceAPIResponseModel
}

TaobaoChannelTradePrepayOfflineReduceAPIResponse 渠道分销供应商上传线下流水预存款(减少) API返回值 taobao.channel.trade.prepay.offline.reduce

渠道分销供应商上传线下流水预存款(减少)

func GetTaobaoChannelTradePrepayOfflineReduceAPIResponse added in v1.3.4

func GetTaobaoChannelTradePrepayOfflineReduceAPIResponse() *TaobaoChannelTradePrepayOfflineReduceAPIResponse

GetTaobaoChannelTradePrepayOfflineReduceAPIResponse 从 sync.Pool 获取 TaobaoChannelTradePrepayOfflineReduceAPIResponse

func (*TaobaoChannelTradePrepayOfflineReduceAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoChannelTradePrepayOfflineReduceAPIResponseModel added in v1.2.0

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

TaobaoChannelTradePrepayOfflineReduceAPIResponseModel is 渠道分销供应商上传线下流水预存款(减少) 成功返回结果

func (*TaobaoChannelTradePrepayOfflineReduceAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoChannelTradePrepayOfflineReduceResultTopDo added in v1.2.1

type TaobaoChannelTradePrepayOfflineReduceResultTopDo struct {
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoChannelTradePrepayOfflineReduceResultTopDo 结构体

func GetTaobaoChannelTradePrepayOfflineReduceResultTopDo added in v1.3.4

func GetTaobaoChannelTradePrepayOfflineReduceResultTopDo() *TaobaoChannelTradePrepayOfflineReduceResultTopDo

GetTaobaoChannelTradePrepayOfflineReduceResultTopDo() 从对象池中获取TaobaoChannelTradePrepayOfflineReduceResultTopDo

type TmallChannelProductsQueryAPIRequest added in v1.2.0

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

TmallChannelProductsQueryAPIRequest 渠道中心-查询产品列表 API请求 tmall.channel.products.query

渠道中心,供应商查询其产品数据,返回同时符合所有查询条件的产品信息

func GetTmallChannelProductsQueryAPIRequest added in v1.3.4

func GetTmallChannelProductsQueryAPIRequest() *TmallChannelProductsQueryAPIRequest

GetTmallChannelProductsQueryRequest 从 sync.Pool 获取 TmallChannelProductsQueryAPIRequest

func NewTmallChannelProductsQueryRequest

func NewTmallChannelProductsQueryRequest() *TmallChannelProductsQueryAPIRequest

NewTmallChannelProductsQueryRequest 初始化TmallChannelProductsQueryAPIRequest对象

func (TmallChannelProductsQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallChannelProductsQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallChannelProductsQueryAPIRequest) GetApiParams added in v1.2.0

func (r TmallChannelProductsQueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallChannelProductsQueryAPIRequest) GetPageNum added in v1.2.0

GetPageNum PageNum Getter

func (TmallChannelProductsQueryAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TmallChannelProductsQueryAPIRequest) GetProductIds added in v1.2.0

func (r TmallChannelProductsQueryAPIRequest) GetProductIds() []int64

GetProductIds ProductIds Getter

func (TmallChannelProductsQueryAPIRequest) GetProductLineId added in v1.2.0

func (r TmallChannelProductsQueryAPIRequest) GetProductLineId() int64

GetProductLineId ProductLineId Getter

func (TmallChannelProductsQueryAPIRequest) GetProductNumber added in v1.2.0

func (r TmallChannelProductsQueryAPIRequest) GetProductNumber() string

GetProductNumber ProductNumber Getter

func (TmallChannelProductsQueryAPIRequest) GetRawParams added in v1.2.8

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

func (TmallChannelProductsQueryAPIRequest) GetSkuNumber added in v1.2.0

GetSkuNumber SkuNumber Getter

func (*TmallChannelProductsQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallChannelProductsQueryAPIRequest) SetPageNum added in v1.2.0

func (r *TmallChannelProductsQueryAPIRequest) SetPageNum(_pageNum int64) error

SetPageNum is PageNum Setter 页码数,从1开始

func (*TmallChannelProductsQueryAPIRequest) SetPageSize added in v1.2.0

func (r *TmallChannelProductsQueryAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 分页大小

func (*TmallChannelProductsQueryAPIRequest) SetProductIds added in v1.2.0

func (r *TmallChannelProductsQueryAPIRequest) SetProductIds(_productIds []int64) error

SetProductIds is ProductIds Setter 产品Id

func (*TmallChannelProductsQueryAPIRequest) SetProductLineId added in v1.2.0

func (r *TmallChannelProductsQueryAPIRequest) SetProductLineId(_productLineId int64) error

SetProductLineId is ProductLineId Setter 产品线Id

func (*TmallChannelProductsQueryAPIRequest) SetProductNumber added in v1.2.0

func (r *TmallChannelProductsQueryAPIRequest) SetProductNumber(_productNumber string) error

SetProductNumber is ProductNumber Setter 商家产品编码

func (*TmallChannelProductsQueryAPIRequest) SetSkuNumber added in v1.2.0

func (r *TmallChannelProductsQueryAPIRequest) SetSkuNumber(_skuNumber string) error

SetSkuNumber is SkuNumber Setter 商家SKU编码

type TmallChannelProductsQueryAPIResponse

type TmallChannelProductsQueryAPIResponse struct {
	model.CommonResponse
	TmallChannelProductsQueryAPIResponseModel
}

TmallChannelProductsQueryAPIResponse 渠道中心-查询产品列表 API返回值 tmall.channel.products.query

渠道中心,供应商查询其产品数据,返回同时符合所有查询条件的产品信息

func GetTmallChannelProductsQueryAPIResponse added in v1.3.4

func GetTmallChannelProductsQueryAPIResponse() *TmallChannelProductsQueryAPIResponse

GetTmallChannelProductsQueryAPIResponse 从 sync.Pool 获取 TmallChannelProductsQueryAPIResponse

func (*TmallChannelProductsQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallChannelProductsQueryAPIResponseModel added in v1.2.0

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

TmallChannelProductsQueryAPIResponseModel is 渠道中心-查询产品列表 成功返回结果

func (*TmallChannelProductsQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallChannelTradeOrderGetAPIRequest added in v1.2.0

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

TmallChannelTradeOrderGetAPIRequest 通过主采购单号查询采购单 API请求 tmall.channel.trade.order.get

通过主采购单号查询采购单

func GetTmallChannelTradeOrderGetAPIRequest added in v1.3.4

func GetTmallChannelTradeOrderGetAPIRequest() *TmallChannelTradeOrderGetAPIRequest

GetTmallChannelTradeOrderGetRequest 从 sync.Pool 获取 TmallChannelTradeOrderGetAPIRequest

func NewTmallChannelTradeOrderGetRequest

func NewTmallChannelTradeOrderGetRequest() *TmallChannelTradeOrderGetAPIRequest

NewTmallChannelTradeOrderGetRequest 初始化TmallChannelTradeOrderGetAPIRequest对象

func (TmallChannelTradeOrderGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallChannelTradeOrderGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallChannelTradeOrderGetAPIRequest) GetApiParams added in v1.2.0

func (r TmallChannelTradeOrderGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallChannelTradeOrderGetAPIRequest) GetIsIncludeLogistics added in v1.2.0

func (r TmallChannelTradeOrderGetAPIRequest) GetIsIncludeLogistics() bool

GetIsIncludeLogistics IsIncludeLogistics Getter

func (TmallChannelTradeOrderGetAPIRequest) GetIsIncludeMainOrder added in v1.2.0

func (r TmallChannelTradeOrderGetAPIRequest) GetIsIncludeMainOrder() bool

GetIsIncludeMainOrder IsIncludeMainOrder Getter

func (TmallChannelTradeOrderGetAPIRequest) GetIsIncludeSubOrder added in v1.2.0

func (r TmallChannelTradeOrderGetAPIRequest) GetIsIncludeSubOrder() bool

GetIsIncludeSubOrder IsIncludeSubOrder Getter

func (TmallChannelTradeOrderGetAPIRequest) GetMainPurchaseOrderNo added in v1.2.0

func (r TmallChannelTradeOrderGetAPIRequest) GetMainPurchaseOrderNo() int64

GetMainPurchaseOrderNo MainPurchaseOrderNo Getter

func (TmallChannelTradeOrderGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallChannelTradeOrderGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallChannelTradeOrderGetAPIRequest) SetIsIncludeLogistics added in v1.2.0

func (r *TmallChannelTradeOrderGetAPIRequest) SetIsIncludeLogistics(_isIncludeLogistics bool) error

SetIsIncludeLogistics is IsIncludeLogistics Setter 是否包含物流信息

func (*TmallChannelTradeOrderGetAPIRequest) SetIsIncludeMainOrder added in v1.2.0

func (r *TmallChannelTradeOrderGetAPIRequest) SetIsIncludeMainOrder(_isIncludeMainOrder bool) error

SetIsIncludeMainOrder is IsIncludeMainOrder Setter 是否包含主采购单(针对特殊业务)

func (*TmallChannelTradeOrderGetAPIRequest) SetIsIncludeSubOrder added in v1.2.0

func (r *TmallChannelTradeOrderGetAPIRequest) SetIsIncludeSubOrder(_isIncludeSubOrder bool) error

SetIsIncludeSubOrder is IsIncludeSubOrder Setter 是否包含子采购单

func (*TmallChannelTradeOrderGetAPIRequest) SetMainPurchaseOrderNo added in v1.2.0

func (r *TmallChannelTradeOrderGetAPIRequest) SetMainPurchaseOrderNo(_mainPurchaseOrderNo int64) error

SetMainPurchaseOrderNo is MainPurchaseOrderNo Setter 主采购单ID

type TmallChannelTradeOrderGetAPIResponse

type TmallChannelTradeOrderGetAPIResponse struct {
	model.CommonResponse
	TmallChannelTradeOrderGetAPIResponseModel
}

TmallChannelTradeOrderGetAPIResponse 通过主采购单号查询采购单 API返回值 tmall.channel.trade.order.get

通过主采购单号查询采购单

func GetTmallChannelTradeOrderGetAPIResponse added in v1.3.4

func GetTmallChannelTradeOrderGetAPIResponse() *TmallChannelTradeOrderGetAPIResponse

GetTmallChannelTradeOrderGetAPIResponse 从 sync.Pool 获取 TmallChannelTradeOrderGetAPIResponse

func (*TmallChannelTradeOrderGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallChannelTradeOrderGetAPIResponseModel added in v1.2.0

type TmallChannelTradeOrderGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_channel_trade_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 子采购单列表
	SubOrderList []TopChannelSubPurchaseOrderDto `json:"sub_order_list,omitempty" xml:"sub_order_list>top_channel_sub_purchase_order_dto,omitempty"`
	// 申请单单号
	ChannelPurchaseApplyOrderNo string `json:"channel_purchase_apply_order_no,omitempty" xml:"channel_purchase_apply_order_no,omitempty"`
	// 分销商淘宝nick
	DistributorNick string `json:"distributor_nick,omitempty" xml:"distributor_nick,omitempty"`
	// 买家淘宝nick
	BuyerTaobaoNick string `json:"buyer_taobao_nick,omitempty" xml:"buyer_taobao_nick,omitempty"`
	// 记录创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 记录修改时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 付款时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 解析描述
	Schema string `json:"schema,omitempty" xml:"schema,omitempty"`
	// 主采购单号
	MainPurchaseOrderNo int64 `json:"main_purchase_order_no,omitempty" xml:"main_purchase_order_no,omitempty"`
	// 交易类型
	TradeType int64 `json:"trade_type,omitempty" xml:"trade_type,omitempty"`
	// 付款类型
	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
	// 渠道编码
	Channel int64 `json:"channel,omitempty" xml:"channel,omitempty"`
	// 改价后的最新邮费
	PostFee int64 `json:"post_fee,omitempty" xml:"post_fee,omitempty"`
	// 主采购单支付状态
	PayStatus int64 `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 主采购单物流状态
	LogisticsStatus int64 `json:"logistics_status,omitempty" xml:"logistics_status,omitempty"`
	// 交易状态
	OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 物流单信息
	ChannelLogisticsOrder *TopChannelLogisticsOrderDto `json:"channel_logistics_order,omitempty" xml:"channel_logistics_order,omitempty"`
	// 支付信息
	TopPurchasePayOrder *TopPurchasePayOrderDto `json:"top_purchase_pay_order,omitempty" xml:"top_purchase_pay_order,omitempty"`
}

TmallChannelTradeOrderGetAPIResponseModel is 通过主采购单号查询采购单 成功返回结果

func (*TmallChannelTradeOrderGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallChannelTradeOrderGetsAPIRequest added in v1.2.0

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

TmallChannelTradeOrderGetsAPIRequest 分页查询采购单 API请求 tmall.channel.trade.order.gets

分页查询采购单

func GetTmallChannelTradeOrderGetsAPIRequest added in v1.3.4

func GetTmallChannelTradeOrderGetsAPIRequest() *TmallChannelTradeOrderGetsAPIRequest

GetTmallChannelTradeOrderGetsRequest 从 sync.Pool 获取 TmallChannelTradeOrderGetsAPIRequest

func NewTmallChannelTradeOrderGetsRequest

func NewTmallChannelTradeOrderGetsRequest() *TmallChannelTradeOrderGetsAPIRequest

NewTmallChannelTradeOrderGetsRequest 初始化TmallChannelTradeOrderGetsAPIRequest对象

func (TmallChannelTradeOrderGetsAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallChannelTradeOrderGetsAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallChannelTradeOrderGetsAPIRequest) GetApiParams added in v1.2.0

func (r TmallChannelTradeOrderGetsAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallChannelTradeOrderGetsAPIRequest) GetChannel added in v1.2.0

GetChannel Channel Getter

func (TmallChannelTradeOrderGetsAPIRequest) GetCreateTimeEnd added in v1.2.0

func (r TmallChannelTradeOrderGetsAPIRequest) GetCreateTimeEnd() string

GetCreateTimeEnd CreateTimeEnd Getter

func (TmallChannelTradeOrderGetsAPIRequest) GetCreateTimeStart added in v1.2.0

func (r TmallChannelTradeOrderGetsAPIRequest) GetCreateTimeStart() string

GetCreateTimeStart CreateTimeStart Getter

func (TmallChannelTradeOrderGetsAPIRequest) GetDistributorNick added in v1.2.0

func (r TmallChannelTradeOrderGetsAPIRequest) GetDistributorNick() string

GetDistributorNick DistributorNick Getter

func (TmallChannelTradeOrderGetsAPIRequest) GetIsIncludeLogistics added in v1.2.0

func (r TmallChannelTradeOrderGetsAPIRequest) GetIsIncludeLogistics() bool

GetIsIncludeLogistics IsIncludeLogistics Getter

func (TmallChannelTradeOrderGetsAPIRequest) GetIsIncludeMainOrder added in v1.2.0

func (r TmallChannelTradeOrderGetsAPIRequest) GetIsIncludeMainOrder() bool

GetIsIncludeMainOrder IsIncludeMainOrder Getter

func (TmallChannelTradeOrderGetsAPIRequest) GetIsIncludeSubOrder added in v1.2.0

func (r TmallChannelTradeOrderGetsAPIRequest) GetIsIncludeSubOrder() bool

GetIsIncludeSubOrder IsIncludeSubOrder Getter

func (TmallChannelTradeOrderGetsAPIRequest) GetMainPurchaseOrderNo added in v1.2.0

func (r TmallChannelTradeOrderGetsAPIRequest) GetMainPurchaseOrderNo() int64

GetMainPurchaseOrderNo MainPurchaseOrderNo Getter

func (TmallChannelTradeOrderGetsAPIRequest) GetNeedPagination added in v1.2.0

func (r TmallChannelTradeOrderGetsAPIRequest) GetNeedPagination() bool

GetNeedPagination NeedPagination Getter

func (TmallChannelTradeOrderGetsAPIRequest) GetOrderStatus added in v1.2.0

func (r TmallChannelTradeOrderGetsAPIRequest) GetOrderStatus() int64

GetOrderStatus OrderStatus Getter

func (TmallChannelTradeOrderGetsAPIRequest) GetPageNumber added in v1.2.0

func (r TmallChannelTradeOrderGetsAPIRequest) GetPageNumber() int64

GetPageNumber PageNumber Getter

func (TmallChannelTradeOrderGetsAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TmallChannelTradeOrderGetsAPIRequest) GetRawParams added in v1.2.8

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

func (TmallChannelTradeOrderGetsAPIRequest) GetTradeType added in v1.2.0

GetTradeType TradeType Getter

func (*TmallChannelTradeOrderGetsAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallChannelTradeOrderGetsAPIRequest) SetChannel added in v1.2.0

func (r *TmallChannelTradeOrderGetsAPIRequest) SetChannel(_channel int64) error

SetChannel is Channel Setter 渠道编码

func (*TmallChannelTradeOrderGetsAPIRequest) SetCreateTimeEnd added in v1.2.0

func (r *TmallChannelTradeOrderGetsAPIRequest) SetCreateTimeEnd(_createTimeEnd string) error

SetCreateTimeEnd is CreateTimeEnd Setter 创建时间到

func (*TmallChannelTradeOrderGetsAPIRequest) SetCreateTimeStart added in v1.2.0

func (r *TmallChannelTradeOrderGetsAPIRequest) SetCreateTimeStart(_createTimeStart string) error

SetCreateTimeStart is CreateTimeStart Setter 创建时间从

func (*TmallChannelTradeOrderGetsAPIRequest) SetDistributorNick added in v1.2.0

func (r *TmallChannelTradeOrderGetsAPIRequest) SetDistributorNick(_distributorNick string) error

SetDistributorNick is DistributorNick Setter 分销商Nick

func (*TmallChannelTradeOrderGetsAPIRequest) SetIsIncludeLogistics added in v1.2.0

func (r *TmallChannelTradeOrderGetsAPIRequest) SetIsIncludeLogistics(_isIncludeLogistics bool) error

SetIsIncludeLogistics is IsIncludeLogistics Setter 是否包含物流信息

func (*TmallChannelTradeOrderGetsAPIRequest) SetIsIncludeMainOrder added in v1.2.0

func (r *TmallChannelTradeOrderGetsAPIRequest) SetIsIncludeMainOrder(_isIncludeMainOrder bool) error

SetIsIncludeMainOrder is IsIncludeMainOrder Setter 是否包含主单

func (*TmallChannelTradeOrderGetsAPIRequest) SetIsIncludeSubOrder added in v1.2.0

func (r *TmallChannelTradeOrderGetsAPIRequest) SetIsIncludeSubOrder(_isIncludeSubOrder bool) error

SetIsIncludeSubOrder is IsIncludeSubOrder Setter 是否包含子单

func (*TmallChannelTradeOrderGetsAPIRequest) SetMainPurchaseOrderNo added in v1.2.0

func (r *TmallChannelTradeOrderGetsAPIRequest) SetMainPurchaseOrderNo(_mainPurchaseOrderNo int64) error

SetMainPurchaseOrderNo is MainPurchaseOrderNo Setter 主采购单号

func (*TmallChannelTradeOrderGetsAPIRequest) SetNeedPagination added in v1.2.0

func (r *TmallChannelTradeOrderGetsAPIRequest) SetNeedPagination(_needPagination bool) error

SetNeedPagination is NeedPagination Setter 是否分页查询

func (*TmallChannelTradeOrderGetsAPIRequest) SetOrderStatus added in v1.2.0

func (r *TmallChannelTradeOrderGetsAPIRequest) SetOrderStatus(_orderStatus int64) error

SetOrderStatus is OrderStatus Setter 1. 待付款 2.已付款待发货 3.已发货待收货 4.交易完成 5.交易关闭

func (*TmallChannelTradeOrderGetsAPIRequest) SetPageNumber added in v1.2.0

func (r *TmallChannelTradeOrderGetsAPIRequest) SetPageNumber(_pageNumber int64) error

SetPageNumber is PageNumber Setter 查询第几页

func (*TmallChannelTradeOrderGetsAPIRequest) SetPageSize added in v1.2.0

func (r *TmallChannelTradeOrderGetsAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每页显示数量

func (*TmallChannelTradeOrderGetsAPIRequest) SetTradeType added in v1.2.0

func (r *TmallChannelTradeOrderGetsAPIRequest) SetTradeType(_tradeType int64) error

SetTradeType is TradeType Setter 1-代销;2-经销

type TmallChannelTradeOrderGetsAPIResponse

type TmallChannelTradeOrderGetsAPIResponse struct {
	model.CommonResponse
	TmallChannelTradeOrderGetsAPIResponseModel
}

TmallChannelTradeOrderGetsAPIResponse 分页查询采购单 API返回值 tmall.channel.trade.order.gets

分页查询采购单

func GetTmallChannelTradeOrderGetsAPIResponse added in v1.3.4

func GetTmallChannelTradeOrderGetsAPIResponse() *TmallChannelTradeOrderGetsAPIResponse

GetTmallChannelTradeOrderGetsAPIResponse 从 sync.Pool 获取 TmallChannelTradeOrderGetsAPIResponse

func (*TmallChannelTradeOrderGetsAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallChannelTradeOrderGetsAPIResponseModel added in v1.2.0

type TmallChannelTradeOrderGetsAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_channel_trade_order_gets_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 此页中包含的元素
	PageElements []TopChannelPurchaseOrderDto `json:"page_elements,omitempty" xml:"page_elements>top_channel_purchase_order_dto,omitempty"`
	// 每页显示数量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 查询第几页
	PageNumber int64 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// 所有元素个数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

TmallChannelTradeOrderGetsAPIResponseModel is 分页查询采购单 成功返回结果

func (*TmallChannelTradeOrderGetsAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallChannelTradeRefundorderGetsAPIRequest added in v1.2.0

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

TmallChannelTradeRefundorderGetsAPIRequest 供应商查询退款单 API请求 tmall.channel.trade.refundorder.gets

供应商分页查询退款单

func GetTmallChannelTradeRefundorderGetsAPIRequest added in v1.3.4

func GetTmallChannelTradeRefundorderGetsAPIRequest() *TmallChannelTradeRefundorderGetsAPIRequest

GetTmallChannelTradeRefundorderGetsRequest 从 sync.Pool 获取 TmallChannelTradeRefundorderGetsAPIRequest

func NewTmallChannelTradeRefundorderGetsRequest

func NewTmallChannelTradeRefundorderGetsRequest() *TmallChannelTradeRefundorderGetsAPIRequest

NewTmallChannelTradeRefundorderGetsRequest 初始化TmallChannelTradeRefundorderGetsAPIRequest对象

func (TmallChannelTradeRefundorderGetsAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallChannelTradeRefundorderGetsAPIRequest) GetApiParams added in v1.2.0

func (r TmallChannelTradeRefundorderGetsAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallChannelTradeRefundorderGetsAPIRequest) GetMainChannelOrderNo added in v1.2.0

func (r TmallChannelTradeRefundorderGetsAPIRequest) GetMainChannelOrderNo() string

GetMainChannelOrderNo MainChannelOrderNo Getter

func (TmallChannelTradeRefundorderGetsAPIRequest) GetPageNumber added in v1.2.0

GetPageNumber PageNumber Getter

func (TmallChannelTradeRefundorderGetsAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TmallChannelTradeRefundorderGetsAPIRequest) GetRawParams added in v1.2.8

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

func (TmallChannelTradeRefundorderGetsAPIRequest) GetRefundId added in v1.2.0

GetRefundId RefundId Getter

func (*TmallChannelTradeRefundorderGetsAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallChannelTradeRefundorderGetsAPIRequest) SetMainChannelOrderNo added in v1.2.0

func (r *TmallChannelTradeRefundorderGetsAPIRequest) SetMainChannelOrderNo(_mainChannelOrderNo string) error

SetMainChannelOrderNo is MainChannelOrderNo Setter 采购单号

func (*TmallChannelTradeRefundorderGetsAPIRequest) SetPageNumber added in v1.2.0

func (r *TmallChannelTradeRefundorderGetsAPIRequest) SetPageNumber(_pageNumber int64) error

SetPageNumber is PageNumber Setter 页码

func (*TmallChannelTradeRefundorderGetsAPIRequest) SetPageSize added in v1.2.0

func (r *TmallChannelTradeRefundorderGetsAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每页数据条数

func (*TmallChannelTradeRefundorderGetsAPIRequest) SetRefundId added in v1.2.0

func (r *TmallChannelTradeRefundorderGetsAPIRequest) SetRefundId(_refundId int64) error

SetRefundId is RefundId Setter 退款单号

type TmallChannelTradeRefundorderGetsAPIResponse

type TmallChannelTradeRefundorderGetsAPIResponse struct {
	model.CommonResponse
	TmallChannelTradeRefundorderGetsAPIResponseModel
}

TmallChannelTradeRefundorderGetsAPIResponse 供应商查询退款单 API返回值 tmall.channel.trade.refundorder.gets

供应商分页查询退款单

func GetTmallChannelTradeRefundorderGetsAPIResponse added in v1.3.4

func GetTmallChannelTradeRefundorderGetsAPIResponse() *TmallChannelTradeRefundorderGetsAPIResponse

GetTmallChannelTradeRefundorderGetsAPIResponse 从 sync.Pool 获取 TmallChannelTradeRefundorderGetsAPIResponse

func (*TmallChannelTradeRefundorderGetsAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallChannelTradeRefundorderGetsAPIResponseModel added in v1.2.0

type TmallChannelTradeRefundorderGetsAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_channel_trade_refundorder_gets_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 包含的元素
	PageElements []TopChannelRefundDto `json:"page_elements,omitempty" xml:"page_elements>top_channel_refund_dto,omitempty"`
	// 每页显示数量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 查询第几页
	PageNumber int64 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// 所有元素个数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

TmallChannelTradeRefundorderGetsAPIResponseModel is 供应商查询退款单 成功返回结果

func (*TmallChannelTradeRefundorderGetsAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TopChannelLogisticsOrderDto

type TopChannelLogisticsOrderDto struct {
	// 物流单号
	LogisticsOrderNo string `json:"logistics_order_no,omitempty" xml:"logistics_order_no,omitempty"`
	// 物流公司编号
	LogisticsCompanyCode string `json:"logistics_company_code,omitempty" xml:"logistics_company_code,omitempty"`
	// 物流公司名称
	LogisticsCompanyName string `json:"logistics_company_name,omitempty" xml:"logistics_company_name,omitempty"`
}

TopChannelLogisticsOrderDto 结构体

func GetTopChannelLogisticsOrderDto added in v1.3.4

func GetTopChannelLogisticsOrderDto() *TopChannelLogisticsOrderDto

GetTopChannelLogisticsOrderDto() 从对象池中获取TopChannelLogisticsOrderDto

type TopChannelPurchaseOrderDto

type TopChannelPurchaseOrderDto struct {
	// 子采购单列表
	SubOrderList []TopChannelSubPurchaseOrderDto `json:"sub_order_list,omitempty" xml:"sub_order_list>top_channel_sub_purchase_order_dto,omitempty"`
	// 申请单单号
	ChannelPurchaseApplyOrderNo string `json:"channel_purchase_apply_order_no,omitempty" xml:"channel_purchase_apply_order_no,omitempty"`
	// 分销商淘宝nick
	DistributorNick string `json:"distributor_nick,omitempty" xml:"distributor_nick,omitempty"`
	// 买家淘宝nick
	BuyerTaobaoNick string `json:"buyer_taobao_nick,omitempty" xml:"buyer_taobao_nick,omitempty"`
	// 记录创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 记录修改时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 付款时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 解析详情
	Schema string `json:"schema,omitempty" xml:"schema,omitempty"`
	// 主采购单号
	MainPurchaseOrderNo int64 `json:"main_purchase_order_no,omitempty" xml:"main_purchase_order_no,omitempty"`
	// 交易类型
	TradeType int64 `json:"trade_type,omitempty" xml:"trade_type,omitempty"`
	// 付款类型
	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
	// 渠道编码
	Channel int64 `json:"channel,omitempty" xml:"channel,omitempty"`
	// 改价后的最新邮费
	PostFee int64 `json:"post_fee,omitempty" xml:"post_fee,omitempty"`
	// 主采购单支付状态:支付状态1, 未冻结/未付款 -> 等待买家付款2, 已冻结/已付款 -> 等待卖家发货4, 已退款 -> 交易关闭6, 已转交易 -> 交易成功7, 没有创建外部交易(支付宝交易)8, 交易被淘宝关闭
	PayStatus int64 `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 主采购单物流状态:物流状态 8, 还未创建物流订单1, 未发货 -> 等待卖家发货2, 已发货 -> 等待买家确认收货3, 已收货 -> 交易成功4, 已经退货 -> 交易失败5, 部分发货 -> 交易成功
	LogisticsStatus int64 `json:"logistics_status,omitempty" xml:"logistics_status,omitempty"`
	// 交易状态:1-交易中,2-交易关闭,3-交易成功
	OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 物流单信息
	ChannelLogisticsOrder *TopChannelLogisticsOrderDto `json:"channel_logistics_order,omitempty" xml:"channel_logistics_order,omitempty"`
}

TopChannelPurchaseOrderDto 结构体

func GetTopChannelPurchaseOrderDto added in v1.3.4

func GetTopChannelPurchaseOrderDto() *TopChannelPurchaseOrderDto

GetTopChannelPurchaseOrderDto() 从对象池中获取TopChannelPurchaseOrderDto

type TopChannelRefundDto added in v1.2.0

type TopChannelRefundDto struct {
	// 服务类型
	RefundTypeDesc string `json:"refund_type_desc,omitempty" xml:"refund_type_desc,omitempty"`
	// 单据状态
	RefundStatusDesc string `json:"refund_status_desc,omitempty" xml:"refund_status_desc,omitempty"`
	// 采购单号(渠道单)
	MainChannelOrderNo string `json:"main_channel_order_no,omitempty" xml:"main_channel_order_no,omitempty"`
	// 退款原因
	RefundReasonDesc string `json:"refund_reason_desc,omitempty" xml:"refund_reason_desc,omitempty"`
	// 退款单创建时间
	RefundCreateDate string `json:"refund_create_date,omitempty" xml:"refund_create_date,omitempty"`
	// 铺货状态
	PurchaseOrderStatus string `json:"purchase_order_status,omitempty" xml:"purchase_order_status,omitempty"`
	// 分销商昵称
	DownAccountNick string `json:"down_account_nick,omitempty" xml:"down_account_nick,omitempty"`
	// 退款单号
	RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 交易金额:分
	PurchaseOrderPayFee int64 `json:"purchase_order_pay_fee,omitempty" xml:"purchase_order_pay_fee,omitempty"`
	// 退款金额:分
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 销售主订单号(采购单)
	MainPurchaseOrderNo int64 `json:"main_purchase_order_no,omitempty" xml:"main_purchase_order_no,omitempty"`
	// 销售子订单号(采购单)
	SubPurchaseOrderNo int64 `json:"sub_purchase_order_no,omitempty" xml:"sub_purchase_order_no,omitempty"`
}

TopChannelRefundDto 结构体

func GetTopChannelRefundDto added in v1.3.4

func GetTopChannelRefundDto() *TopChannelRefundDto

GetTopChannelRefundDto() 从对象池中获取TopChannelRefundDto

type TopChannelSubPurchaseOrderDto

type TopChannelSubPurchaseOrderDto struct {
	// 商家编码
	MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"`
	// sku信息
	Sku string `json:"sku,omitempty" xml:"sku,omitempty"`
	// 产品编码
	ProductNumber string `json:"product_number,omitempty" xml:"product_number,omitempty"`
	// 产品标题
	ProductTitle string `json:"product_title,omitempty" xml:"product_title,omitempty"`
	// 交易完成时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 子采购单单号
	SubPurchaseOrderNo int64 `json:"sub_purchase_order_no,omitempty" xml:"sub_purchase_order_no,omitempty"`
	// 产品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 产品价格
	ProductPrice int64 `json:"product_price,omitempty" xml:"product_price,omitempty"`
	// 购买数量
	BuyAmount int64 `json:"buy_amount,omitempty" xml:"buy_amount,omitempty"`
	// 支付状态
	PayStatus int64 `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 子采购单的物流状态
	LogisticsStatus int64 `json:"logistics_status,omitempty" xml:"logistics_status,omitempty"`
}

TopChannelSubPurchaseOrderDto 结构体

func GetTopChannelSubPurchaseOrderDto added in v1.3.4

func GetTopChannelSubPurchaseOrderDto() *TopChannelSubPurchaseOrderDto

GetTopChannelSubPurchaseOrderDto() 从对象池中获取TopChannelSubPurchaseOrderDto

type TopOfflineAddPrepayDto

type TopOfflineAddPrepayDto struct {
	// 收款人账号
	ReceiverAccountNum string `json:"receiver_account_num,omitempty" xml:"receiver_account_num,omitempty"`
	// 外部系统支付流水Id,用于商家上传流水时去重(外部保证唯一)
	OuterPayId string `json:"outer_pay_id,omitempty" xml:"outer_pay_id,omitempty"`
	// 销商淘宝nick
	DistNick string `json:"dist_nick,omitempty" xml:"dist_nick,omitempty"`
	// 出票人全称
	DrawerFullName string `json:"drawer_full_name,omitempty" xml:"drawer_full_name,omitempty"`
	// 付款行行号
	PayBankNum string `json:"pay_bank_num,omitempty" xml:"pay_bank_num,omitempty"`
	// 出票人账号
	DrawerAccountNum string `json:"drawer_account_num,omitempty" xml:"drawer_account_num,omitempty"`
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 出票日期
	TicketIssueDate string `json:"ticket_issue_date,omitempty" xml:"ticket_issue_date,omitempty"`
	// 收款开户银行
	ReceiverBankFullName string `json:"receiver_bank_full_name,omitempty" xml:"receiver_bank_full_name,omitempty"`
	// 承兑票据号(承兑必填)
	TicketId string `json:"ticket_id,omitempty" xml:"ticket_id,omitempty"`
	// 汇票到期日期
	AcceptDate string `json:"accept_date,omitempty" xml:"accept_date,omitempty"`
	// 收款人全称
	ReceiverFullName string `json:"receiver_full_name,omitempty" xml:"receiver_full_name,omitempty"`
	// 付款行全称
	PayBankFullName string `json:"pay_bank_full_name,omitempty" xml:"pay_bank_full_name,omitempty"`
	// 资金流水类型:1.纸质承兑; 2.电子承兑;3.现金;4.优惠返点;5.奖励
	FlowType int64 `json:"flow_type,omitempty" xml:"flow_type,omitempty"`
	// 金额,单位分(必须为正数)
	TicketMoney int64 `json:"ticket_money,omitempty" xml:"ticket_money,omitempty"`
}

TopOfflineAddPrepayDto 结构体

func GetTopOfflineAddPrepayDto added in v1.3.4

func GetTopOfflineAddPrepayDto() *TopOfflineAddPrepayDto

GetTopOfflineAddPrepayDto() 从对象池中获取TopOfflineAddPrepayDto

type TopOfflineReducePrepayDto

type TopOfflineReducePrepayDto struct {
	// 收款人账号
	ReceiverAccountNum string `json:"receiver_account_num,omitempty" xml:"receiver_account_num,omitempty"`
	// 外部系统支付流水Id,用于商家上传流水时去重(外部保证唯一)
	OuterPayId string `json:"outer_pay_id,omitempty" xml:"outer_pay_id,omitempty"`
	// 销商淘宝nick
	DistNick string `json:"dist_nick,omitempty" xml:"dist_nick,omitempty"`
	// 出票人全称
	DrawerFullName string `json:"drawer_full_name,omitempty" xml:"drawer_full_name,omitempty"`
	// 付款行行号
	PayBankNum string `json:"pay_bank_num,omitempty" xml:"pay_bank_num,omitempty"`
	// 出票人账号
	DrawerAccountNum string `json:"drawer_account_num,omitempty" xml:"drawer_account_num,omitempty"`
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 出票日期
	TicketIssueDate string `json:"ticket_issue_date,omitempty" xml:"ticket_issue_date,omitempty"`
	// 收款开户银行
	ReceiverBankFullName string `json:"receiver_bank_full_name,omitempty" xml:"receiver_bank_full_name,omitempty"`
	// 承兑票据号
	TicketId string `json:"ticket_id,omitempty" xml:"ticket_id,omitempty"`
	// 汇票到期日期
	AcceptDate string `json:"accept_date,omitempty" xml:"accept_date,omitempty"`
	// 收款人全称
	ReceiverFullName string `json:"receiver_full_name,omitempty" xml:"receiver_full_name,omitempty"`
	// 付款行全称
	PayBankFullName string `json:"pay_bank_full_name,omitempty" xml:"pay_bank_full_name,omitempty"`
	// 资金流水类型:1.纸质承兑; 2.电子承兑;3.现金;4.优惠返点;5.奖励
	FlowType int64 `json:"flow_type,omitempty" xml:"flow_type,omitempty"`
	// 线下流水类型 1票据作废 2线下使用
	OfflinePrepayDetailType int64 `json:"offline_prepay_detail_type,omitempty" xml:"offline_prepay_detail_type,omitempty"`
	// 金额,单位分(必须为负数)
	TicketMoney int64 `json:"ticket_money,omitempty" xml:"ticket_money,omitempty"`
}

TopOfflineReducePrepayDto 结构体

func GetTopOfflineReducePrepayDto added in v1.3.4

func GetTopOfflineReducePrepayDto() *TopOfflineReducePrepayDto

GetTopOfflineReducePrepayDto() 从对象池中获取TopOfflineReducePrepayDto

type TopPurchasePayOrderDto

type TopPurchasePayOrderDto struct {
	// 支付流水编号
	PayOrderId string `json:"pay_order_id,omitempty" xml:"pay_order_id,omitempty"`
	// 支付金额
	PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"`
}

TopPurchasePayOrderDto 结构体

func GetTopPurchasePayOrderDto added in v1.3.4

func GetTopPurchasePayOrderDto() *TopPurchasePayOrderDto

GetTopPurchasePayOrderDto() 从对象池中获取TopPurchasePayOrderDto

Jump to

Keyboard shortcuts

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