lsttrade

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 lsttrade 包含零售通交易API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaLstTradeFastrefundGoodsstatusSyncAPIRequest added in v1.2.0

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

AlibabaLstTradeFastrefundGoodsstatusSyncAPIRequest 卖家退款单商品状态同步 API请求 alibaba.lst.trade.fastrefund.goodsstatus.sync

卖家退款单商品状态同步

func NewAlibabaLstTradeFastrefundGoodsstatusSyncRequest

func NewAlibabaLstTradeFastrefundGoodsstatusSyncRequest() *AlibabaLstTradeFastrefundGoodsstatusSyncAPIRequest

NewAlibabaLstTradeFastrefundGoodsstatusSyncRequest 初始化AlibabaLstTradeFastrefundGoodsstatusSyncAPIRequest对象

func (AlibabaLstTradeFastrefundGoodsstatusSyncAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLstTradeFastrefundGoodsstatusSyncAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLstTradeFastrefundGoodsstatusSyncAPIRequest) GetMainOrderId added in v1.2.0

GetMainOrderId MainOrderId Getter

func (AlibabaLstTradeFastrefundGoodsstatusSyncAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaLstTradeFastrefundGoodsstatusSyncAPIRequest) GetRefundId added in v1.2.0

GetRefundId RefundId Getter

func (AlibabaLstTradeFastrefundGoodsstatusSyncAPIRequest) GetStatus added in v1.2.0

GetStatus Status Getter

func (*AlibabaLstTradeFastrefundGoodsstatusSyncAPIRequest) SetMainOrderId added in v1.2.0

func (r *AlibabaLstTradeFastrefundGoodsstatusSyncAPIRequest) SetMainOrderId(_mainOrderId int64) error

SetMainOrderId is MainOrderId Setter 主订单id

func (*AlibabaLstTradeFastrefundGoodsstatusSyncAPIRequest) SetRefundId added in v1.2.0

SetRefundId is RefundId Setter 退款单id

func (*AlibabaLstTradeFastrefundGoodsstatusSyncAPIRequest) SetStatus added in v1.2.0

SetStatus is Status Setter 未发货,枚举类型:UNSEND

type AlibabaLstTradeFastrefundGoodsstatusSyncAPIResponse

type AlibabaLstTradeFastrefundGoodsstatusSyncAPIResponse struct {
	model.CommonResponse
	AlibabaLstTradeFastrefundGoodsstatusSyncAPIResponseModel
}

AlibabaLstTradeFastrefundGoodsstatusSyncAPIResponse 卖家退款单商品状态同步 API返回值 alibaba.lst.trade.fastrefund.goodsstatus.sync

卖家退款单商品状态同步

type AlibabaLstTradeFastrefundGoodsstatusSyncAPIResponseModel added in v1.2.0

type AlibabaLstTradeFastrefundGoodsstatusSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lst_trade_fastrefund_goodsstatus_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// true表示成功,false表示失败
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaLstTradeFastrefundGoodsstatusSyncAPIResponseModel is 卖家退款单商品状态同步 成功返回结果

type AlibabaLstTradeOrderGetAPIRequest added in v1.2.0

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

AlibabaLstTradeOrderGetAPIRequest 零售通交易订单查询--品牌商视角 API请求 alibaba.lst.trade.order.get

根据订单id查询零售通交易订单

func NewAlibabaLstTradeOrderGetRequest

func NewAlibabaLstTradeOrderGetRequest() *AlibabaLstTradeOrderGetAPIRequest

NewAlibabaLstTradeOrderGetRequest 初始化AlibabaLstTradeOrderGetAPIRequest对象

func (AlibabaLstTradeOrderGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaLstTradeOrderGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLstTradeOrderGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLstTradeOrderGetAPIRequest) GetMainOrderId added in v1.2.0

func (r AlibabaLstTradeOrderGetAPIRequest) GetMainOrderId() int64

GetMainOrderId MainOrderId Getter

func (AlibabaLstTradeOrderGetAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaLstTradeOrderGetAPIRequest) GetSubOrderId added in v1.2.0

func (r AlibabaLstTradeOrderGetAPIRequest) GetSubOrderId() int64

GetSubOrderId SubOrderId Getter

func (*AlibabaLstTradeOrderGetAPIRequest) SetMainOrderId added in v1.2.0

func (r *AlibabaLstTradeOrderGetAPIRequest) SetMainOrderId(_mainOrderId int64) error

SetMainOrderId is MainOrderId Setter 主订单id

func (*AlibabaLstTradeOrderGetAPIRequest) SetSubOrderId added in v1.2.0

func (r *AlibabaLstTradeOrderGetAPIRequest) SetSubOrderId(_subOrderId int64) error

SetSubOrderId is SubOrderId Setter 子订单id

type AlibabaLstTradeOrderGetAPIResponse

type AlibabaLstTradeOrderGetAPIResponse struct {
	model.CommonResponse
	AlibabaLstTradeOrderGetAPIResponseModel
}

AlibabaLstTradeOrderGetAPIResponse 零售通交易订单查询--品牌商视角 API返回值 alibaba.lst.trade.order.get

根据订单id查询零售通交易订单

type AlibabaLstTradeOrderGetAPIResponseModel added in v1.2.0

type AlibabaLstTradeOrderGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lst_trade_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *AlibabaLstTradeOrderGetResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaLstTradeOrderGetAPIResponseModel is 零售通交易订单查询--品牌商视角 成功返回结果

type AlibabaLstTradeOrderGetResultDto

type AlibabaLstTradeOrderGetResultDto struct {
	// 错误码
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 返回模型
	Content *LstTopOrderDto `json:"content,omitempty" xml:"content,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaLstTradeOrderGetResultDto 结构体

type AlibabaLstTradeOrderQuerychangeAPIRequest added in v1.2.0

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

AlibabaLstTradeOrderQuerychangeAPIRequest 订单id批量查询(品牌商视角) API请求 alibaba.lst.trade.order.querychange

根据品牌和时间段查询有变更记录的订单id

func NewAlibabaLstTradeOrderQuerychangeRequest

func NewAlibabaLstTradeOrderQuerychangeRequest() *AlibabaLstTradeOrderQuerychangeAPIRequest

NewAlibabaLstTradeOrderQuerychangeRequest 初始化AlibabaLstTradeOrderQuerychangeAPIRequest对象

func (AlibabaLstTradeOrderQuerychangeAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLstTradeOrderQuerychangeAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLstTradeOrderQuerychangeAPIRequest) GetQuery added in v1.2.0

GetQuery Query Getter

func (AlibabaLstTradeOrderQuerychangeAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaLstTradeOrderQuerychangeAPIRequest) SetQuery added in v1.2.0

SetQuery is Query Setter 入参包装类

type AlibabaLstTradeOrderQuerychangeAPIResponse

type AlibabaLstTradeOrderQuerychangeAPIResponse struct {
	model.CommonResponse
	AlibabaLstTradeOrderQuerychangeAPIResponseModel
}

AlibabaLstTradeOrderQuerychangeAPIResponse 订单id批量查询(品牌商视角) API返回值 alibaba.lst.trade.order.querychange

根据品牌和时间段查询有变更记录的订单id

type AlibabaLstTradeOrderQuerychangeAPIResponseModel added in v1.2.0

type AlibabaLstTradeOrderQuerychangeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lst_trade_order_querychange_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *PagedResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaLstTradeOrderQuerychangeAPIResponseModel is 订单id批量查询(品牌商视角) 成功返回结果

type AlibabaLstTradeOrderRefundListQueryAPIRequest added in v1.2.0

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

AlibabaLstTradeOrderRefundListQueryAPIRequest 查询退款单列表(卖家视角) API请求 alibaba.lst.trade.order.refund.list.query

查询退款单列表(卖家视角)

func NewAlibabaLstTradeOrderRefundListQueryRequest

func NewAlibabaLstTradeOrderRefundListQueryRequest() *AlibabaLstTradeOrderRefundListQueryAPIRequest

NewAlibabaLstTradeOrderRefundListQueryRequest 初始化AlibabaLstTradeOrderRefundListQueryAPIRequest对象

func (AlibabaLstTradeOrderRefundListQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLstTradeOrderRefundListQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLstTradeOrderRefundListQueryAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (AlibabaLstTradeOrderRefundListQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaLstTradeOrderRefundListQueryAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 输入参数

type AlibabaLstTradeOrderRefundListQueryAPIResponse

type AlibabaLstTradeOrderRefundListQueryAPIResponse struct {
	model.CommonResponse
	AlibabaLstTradeOrderRefundListQueryAPIResponseModel
}

AlibabaLstTradeOrderRefundListQueryAPIResponse 查询退款单列表(卖家视角) API返回值 alibaba.lst.trade.order.refund.list.query

查询退款单列表(卖家视角)

type AlibabaLstTradeOrderRefundListQueryAPIResponseModel added in v1.2.0

type AlibabaLstTradeOrderRefundListQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lst_trade_order_refund_list_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 列表数据
	ContentList []Content `json:"content_list,omitempty" xml:"content_list>content,omitempty"`
	// 总数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 每页数量
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
	// 当前页
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
}

AlibabaLstTradeOrderRefundListQueryAPIResponseModel is 查询退款单列表(卖家视角) 成功返回结果

type AlibabaLstTradeRefundOrderGetAPIRequest added in v1.2.0

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

AlibabaLstTradeRefundOrderGetAPIRequest 零售通退款订单查询 API请求 alibaba.lst.trade.refund.order.get

零售通退款订单查询

func NewAlibabaLstTradeRefundOrderGetRequest

func NewAlibabaLstTradeRefundOrderGetRequest() *AlibabaLstTradeRefundOrderGetAPIRequest

NewAlibabaLstTradeRefundOrderGetRequest 初始化AlibabaLstTradeRefundOrderGetAPIRequest对象

func (AlibabaLstTradeRefundOrderGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaLstTradeRefundOrderGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLstTradeRefundOrderGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLstTradeRefundOrderGetAPIRequest) GetMainOrderId added in v1.2.0

GetMainOrderId MainOrderId Getter

func (AlibabaLstTradeRefundOrderGetAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaLstTradeRefundOrderGetAPIRequest) GetRefundId added in v1.2.0

GetRefundId RefundId Getter

func (*AlibabaLstTradeRefundOrderGetAPIRequest) SetMainOrderId added in v1.2.0

func (r *AlibabaLstTradeRefundOrderGetAPIRequest) SetMainOrderId(_mainOrderId int64) error

SetMainOrderId is MainOrderId Setter 主订单id

func (*AlibabaLstTradeRefundOrderGetAPIRequest) SetRefundId added in v1.2.0

func (r *AlibabaLstTradeRefundOrderGetAPIRequest) SetRefundId(_refundId string) error

SetRefundId is RefundId Setter 退款单id

type AlibabaLstTradeRefundOrderGetAPIResponse

type AlibabaLstTradeRefundOrderGetAPIResponse struct {
	model.CommonResponse
	AlibabaLstTradeRefundOrderGetAPIResponseModel
}

AlibabaLstTradeRefundOrderGetAPIResponse 零售通退款订单查询 API返回值 alibaba.lst.trade.refund.order.get

零售通退款订单查询

type AlibabaLstTradeRefundOrderGetAPIResponseModel added in v1.2.0

type AlibabaLstTradeRefundOrderGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lst_trade_refund_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 子订单退款信息列表
	SubOrders []RefundSubOrderInfo `json:"sub_orders,omitempty" xml:"sub_orders>refund_sub_order_info,omitempty"`
	// 退款单id
	RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 退款申请时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 退款状态,取值如下:等待卖家同意(waitselleragree),待买家修改(waitbuyermodify),等待买家退货(waitbuyersend),等待卖家确认收货(waitsellerreceive),退款成功(refundsuccess), 退款关闭(refundclose)
	RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 退款完成时间
	GmtCompleted string `json:"gmt_completed,omitempty" xml:"gmt_completed,omitempty"`
}

AlibabaLstTradeRefundOrderGetAPIResponseModel is 零售通退款订单查询 成功返回结果

type AlibabaLstTradeSellerOrderDetailQueryAPIRequest added in v1.2.0

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

AlibabaLstTradeSellerOrderDetailQueryAPIRequest 订单详情查看(卖家视角) API请求 alibaba.lst.trade.seller.order.detail.query

订单详情查看(卖家视角)

func NewAlibabaLstTradeSellerOrderDetailQueryRequest

func NewAlibabaLstTradeSellerOrderDetailQueryRequest() *AlibabaLstTradeSellerOrderDetailQueryAPIRequest

NewAlibabaLstTradeSellerOrderDetailQueryRequest 初始化AlibabaLstTradeSellerOrderDetailQueryAPIRequest对象

func (AlibabaLstTradeSellerOrderDetailQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLstTradeSellerOrderDetailQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLstTradeSellerOrderDetailQueryAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (AlibabaLstTradeSellerOrderDetailQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaLstTradeSellerOrderDetailQueryAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 入参

type AlibabaLstTradeSellerOrderDetailQueryAPIResponse

type AlibabaLstTradeSellerOrderDetailQueryAPIResponse struct {
	model.CommonResponse
	AlibabaLstTradeSellerOrderDetailQueryAPIResponseModel
}

AlibabaLstTradeSellerOrderDetailQueryAPIResponse 订单详情查看(卖家视角) API返回值 alibaba.lst.trade.seller.order.detail.query

订单详情查看(卖家视角)

type AlibabaLstTradeSellerOrderDetailQueryAPIResponseModel added in v1.2.0

type AlibabaLstTradeSellerOrderDetailQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lst_trade_seller_order_detail_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *AlibabaLstTradeSellerOrderDetailQueryResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaLstTradeSellerOrderDetailQueryAPIResponseModel is 订单详情查看(卖家视角) 成功返回结果

type AlibabaLstTradeSellerOrderDetailQueryResultDto

type AlibabaLstTradeSellerOrderDetailQueryResultDto struct {
	// 错误码
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 返回值
	Content *Content `json:"content,omitempty" xml:"content,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaLstTradeSellerOrderDetailQueryResultDto 结构体

type AlibabaLstTradeSellerOrderListQueryAPIRequest added in v1.2.0

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

AlibabaLstTradeSellerOrderListQueryAPIRequest 订单列表查看(卖家视角) API请求 alibaba.lst.trade.seller.order.list.query

卖家视角订单查询,查询授权经销商订单列表

func NewAlibabaLstTradeSellerOrderListQueryRequest

func NewAlibabaLstTradeSellerOrderListQueryRequest() *AlibabaLstTradeSellerOrderListQueryAPIRequest

NewAlibabaLstTradeSellerOrderListQueryRequest 初始化AlibabaLstTradeSellerOrderListQueryAPIRequest对象

func (AlibabaLstTradeSellerOrderListQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLstTradeSellerOrderListQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLstTradeSellerOrderListQueryAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (AlibabaLstTradeSellerOrderListQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaLstTradeSellerOrderListQueryAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 入参

type AlibabaLstTradeSellerOrderListQueryAPIResponse

type AlibabaLstTradeSellerOrderListQueryAPIResponse struct {
	model.CommonResponse
	AlibabaLstTradeSellerOrderListQueryAPIResponseModel
}

AlibabaLstTradeSellerOrderListQueryAPIResponse 订单列表查看(卖家视角) API返回值 alibaba.lst.trade.seller.order.list.query

卖家视角订单查询,查询授权经销商订单列表

type AlibabaLstTradeSellerOrderListQueryAPIResponseModel added in v1.2.0

type AlibabaLstTradeSellerOrderListQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lst_trade_seller_order_list_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaLstTradeSellerOrderListQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaLstTradeSellerOrderListQueryAPIResponseModel is 订单列表查看(卖家视角) 成功返回结果

type AlibabaLstTradeSellerOrderListQueryResult

type AlibabaLstTradeSellerOrderListQueryResult struct {
	// 信息
	ContentList []Content `json:"content_list,omitempty" xml:"content_list>content,omitempty"`
	// 失败信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 系统自动生成
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 数量
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
	// 当前页
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaLstTradeSellerOrderListQueryResult 结构体

type AlibabaLstTradeShiporderQueryAPIRequest added in v1.2.0

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

AlibabaLstTradeShiporderQueryAPIRequest 供应商数据开放--发货单接口 API请求 alibaba.lst.trade.shiporder.query

供应商数据开放--发货单接口

func NewAlibabaLstTradeShiporderQueryRequest

func NewAlibabaLstTradeShiporderQueryRequest() *AlibabaLstTradeShiporderQueryAPIRequest

NewAlibabaLstTradeShiporderQueryRequest 初始化AlibabaLstTradeShiporderQueryAPIRequest对象

func (AlibabaLstTradeShiporderQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaLstTradeShiporderQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLstTradeShiporderQueryAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLstTradeShiporderQueryAPIRequest) GetParamLstShipOrderQuery added in v1.2.0

func (r AlibabaLstTradeShiporderQueryAPIRequest) GetParamLstShipOrderQuery() *LstShipOrderQuery

GetParamLstShipOrderQuery ParamLstShipOrderQuery Getter

func (AlibabaLstTradeShiporderQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaLstTradeShiporderQueryAPIRequest) SetParamLstShipOrderQuery added in v1.2.0

func (r *AlibabaLstTradeShiporderQueryAPIRequest) SetParamLstShipOrderQuery(_paramLstShipOrderQuery *LstShipOrderQuery) error

SetParamLstShipOrderQuery is ParamLstShipOrderQuery Setter 入参

type AlibabaLstTradeShiporderQueryAPIResponse

type AlibabaLstTradeShiporderQueryAPIResponse struct {
	model.CommonResponse
	AlibabaLstTradeShiporderQueryAPIResponseModel
}

AlibabaLstTradeShiporderQueryAPIResponse 供应商数据开放--发货单接口 API返回值 alibaba.lst.trade.shiporder.query

供应商数据开放--发货单接口

type AlibabaLstTradeShiporderQueryAPIResponseModel added in v1.2.0

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

AlibabaLstTradeShiporderQueryAPIResponseModel is 供应商数据开放--发货单接口 成功返回结果

type BaseInfo

type BaseInfo struct {
	// 到达时间
	AllDeliveredTime string `json:"all_delivered_time,omitempty" xml:"all_delivered_time,omitempty"`
	// 备注
	BuyerRemarkIcon string `json:"buyer_remark_icon,omitempty" xml:"buyer_remark_icon,omitempty"`
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 供应商名称
	SellerName string `json:"seller_name,omitempty" xml:"seller_name,omitempty"`
	// 订单的售中退款状态,等待卖家同意:waitselleragree ,待买家修改:waitbuyermodify,等待买家退货:waitbuyersend,等待卖家确认收货:waitsellerreceive,退款成功:refundsuccess,退款失败:refundclose
	RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 外部支付交易Id
	AlipayTradeId string `json:"alipay_trade_id,omitempty" xml:"alipay_trade_id,omitempty"`
	// 卖家loginId
	SellerLoginId string `json:"seller_login_id,omitempty" xml:"seller_login_id,omitempty"`
	// 买家留言,不超过500字
	BuyerFeedback string `json:"buyer_feedback,omitempty" xml:"buyer_feedback,omitempty"`
	// 4.0交易流程模板code
	FlowTemplateCode string `json:"flow_template_code,omitempty" xml:"flow_template_code,omitempty"`
	// 买家loginId,旺旺Id
	BuyerLoginId string `json:"buyer_login_id,omitempty" xml:"buyer_login_id,omitempty"`
	// 修改时间
	ModifyTime string `json:"modify_time,omitempty" xml:"modify_time,omitempty"`
	// 确认时间
	ConfirmedTime string `json:"confirmed_time,omitempty" xml:"confirmed_time,omitempty"`
	// store_name小店名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 关闭原因。buyerCancel:买家取消订单,sellerGoodsLack:卖家库存不足,other:其它
	CloseReason string `json:"close_reason,omitempty" xml:"close_reason,omitempty"`
	// 1:担保交易 2:预存款交易 3:ETC境外收单交易 4:即时到帐交易 5:保障金安全交易 6:统一交易流程 7:分阶段付款 8.货到付款交易 9.信用凭证支付交易 10.账期支付交易,50060 交易4.0
	TradeType string `json:"trade_type,omitempty" xml:"trade_type,omitempty"`
	// 订单状态交易状态,waitbuyerpay:等待买家付款;waitsellersend:
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 订单创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 线下订单业务员id
	OfflineYdId string `json:"offline_yd_id,omitempty" xml:"offline_yd_id,omitempty"`
	// 线下订单业务员name
	OfflineYdName string `json:"offline_yd_name,omitempty" xml:"offline_yd_name,omitempty"`
	// 接收信息
	ReceiverInfo *ReceiverInfo `json:"receiver_info,omitempty" xml:"receiver_info,omitempty"`
	// 折扣信息-优惠信息,(含优惠券-不包含买家红包)
	Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"`
	// 货品金额
	SumProductPayment int64 `json:"sum_product_payment,omitempty" xml:"sum_product_payment,omitempty"`
	// 主订单id
	MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"`
	// 卖家联系人信息
	SellerContact *SellerContact `json:"seller_contact,omitempty" xml:"seller_contact,omitempty"`
	// 买家信息
	BuyerContact *BuyerContact `json:"buyer_contact,omitempty" xml:"buyer_contact,omitempty"`
	// 运费
	ShippingFee int64 `json:"shipping_fee,omitempty" xml:"shipping_fee,omitempty"`
	// 实际支付金额
	TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 小店id
	LeadsId int64 `json:"leads_id,omitempty" xml:"leads_id,omitempty"`
	// 是否线下订单
	OfflineOrder bool `json:"offline_order,omitempty" xml:"offline_order,omitempty"`
	// 是否车销订单
	OfflineCarOrder bool `json:"offline_car_order,omitempty" xml:"offline_car_order,omitempty"`
}

BaseInfo 结构体

type BuyerContact

type BuyerContact struct {
	// 买家电话
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 公司名称
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 移动电话
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 邮件地址
	Email string `json:"email,omitempty" xml:"email,omitempty"`
}

BuyerContact 结构体

type Content

type Content struct {
	// 子单
	SubOrders []SubOrders `json:"sub_orders,omitempty" xml:"sub_orders>sub_orders,omitempty"`
	// 退款描述
	Discription string `json:"discription,omitempty" xml:"discription,omitempty"`
	// 退款原因
	ApplyReason string `json:"apply_reason,omitempty" xml:"apply_reason,omitempty"`
	// 退款状态,等待卖家同意("waitselleragree"), 退款成功("refundsuccess"), 退款关闭("refundclose"), 待买家修改("waitbuyermodify"), 等待买家退货("waitbuyersend"), 等待卖家确认收货("waitsellerreceive");
	RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 退款完成时间
	GmtCompleted string `json:"gmt_completed,omitempty" xml:"gmt_completed,omitempty"`
	// 买家的loginId
	BuyerLoginId string `json:"buyer_login_id,omitempty" xml:"buyer_login_id,omitempty"`
	// 仓库类型
	WarehouseType string `json:"warehouse_type,omitempty" xml:"warehouse_type,omitempty"`
	// 申请退款时间
	GmtApply string `json:"gmt_apply,omitempty" xml:"gmt_apply,omitempty"`
	// 退款单ID
	RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 店铺名称
	BuyerShopName string `json:"buyer_shop_name,omitempty" xml:"buyer_shop_name,omitempty"`
	// 扩展字段,暂不使用
	ExtAttributes string `json:"ext_attributes,omitempty" xml:"ext_attributes,omitempty"`
	// 退款数量
	RefundCount int64 `json:"refund_count,omitempty" xml:"refund_count,omitempty"`
	// 运费,单位分
	Freight int64 `json:"freight,omitempty" xml:"freight,omitempty"`
	// 退款金额,单位分
	RefundPayment int64 `json:"refund_payment,omitempty" xml:"refund_payment,omitempty"`
	// 主订单id
	MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"`
	// 备注信息
	BaseInfo *BaseInfo `json:"base_info,omitempty" xml:"base_info,omitempty"`
	// 仓库类信息,此字段将会废弃,请看sub_orders下lst_warehouse_type、warehouse_code、warehouse_name
	OrderBizInfo *OrderBizInfo `json:"order_biz_info,omitempty" xml:"order_biz_info,omitempty"`
}

Content 结构体

type LstOrderQuery

type LstOrderQuery struct {
	// 开始时间,支持查询最近一年到最近一小时,[begin,end),最大半小时
	GmtCreateBegin string `json:"gmt_create_begin,omitempty" xml:"gmt_create_begin,omitempty"`
	// 结束时间,参考开始时间
	GmtCreateEnd string `json:"gmt_create_end,omitempty" xml:"gmt_create_end,omitempty"`
	// 页码,从1开始
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 每页记录数
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
}

LstOrderQuery 结构体

type LstShipOrderDto

type LstShipOrderDto struct {
	// 主发货单号
	MainShipOrderId string `json:"main_ship_order_id,omitempty" xml:"main_ship_order_id,omitempty"`
	// 交易订单号
	MainOrderId string `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"`
	// 发货单是否作废
	Disused string `json:"disused,omitempty" xml:"disused,omitempty"`
	// 发货单来源
	SourceName string `json:"source_name,omitempty" xml:"source_name,omitempty"`
	// 作废后生成新主订单号
	NewMainOrderId string `json:"new_main_order_id,omitempty" xml:"new_main_order_id,omitempty"`
	// 子交易订单号
	SubOrderId string `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 商品条码
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// 商品货号
	CargoNum string `json:"cargo_num,omitempty" xml:"cargo_num,omitempty"`
	// 数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 单价
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 实付金额
	ItemAmount string `json:"item_amount,omitempty" xml:"item_amount,omitempty"`
	// 是否申请退款
	RefundInfo string `json:"refund_info,omitempty" xml:"refund_info,omitempty"`
	// 创建时间
	GmtCreateTime string `json:"gmt_create_time,omitempty" xml:"gmt_create_time,omitempty"`
	// 门店名称
	ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"`
	// 门店编码或ID
	ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"`
	// 门店别名
	ShopAliasName string `json:"shop_alias_name,omitempty" xml:"shop_alias_name,omitempty"`
	// 省
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 区
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 街道
	Town string `json:"town,omitempty" xml:"town,omitempty"`
	// 详细地址
	DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"`
	// 发货单状态
	StatusName string `json:"status_name,omitempty" xml:"status_name,omitempty"`
	// 发货时间
	LoadTime string `json:"load_time,omitempty" xml:"load_time,omitempty"`
	// 签收时间
	SignTime string `json:"sign_time,omitempty" xml:"sign_time,omitempty"`
	// 车辆信息
	VehicleInfo string `json:"vehicle_info,omitempty" xml:"vehicle_info,omitempty"`
	// 配送司机
	DriverInfo string `json:"driver_info,omitempty" xml:"driver_info,omitempty"`
	// 配送商名称
	DistributorName string `json:"distributor_name,omitempty" xml:"distributor_name,omitempty"`
	// 钉钉手机号
	DistributorPhone string `json:"distributor_phone,omitempty" xml:"distributor_phone,omitempty"`
	// 打印次数
	PrintTimes string `json:"print_times,omitempty" xml:"print_times,omitempty"`
	// 创建时间
	GmtUpdateTime string `json:"gmt_update_time,omitempty" xml:"gmt_update_time,omitempty"`
}

LstShipOrderDto 结构体

type LstShipOrderQuery

type LstShipOrderQuery struct {
	// 配送商名称
	DistributorName string `json:"distributor_name,omitempty" xml:"distributor_name,omitempty"`
	// 主发货单更新时间结束值,格式:yyyy-MM-dd HH:mm:ss
	GmtModifiedEnd string `json:"gmt_modified_end,omitempty" xml:"gmt_modified_end,omitempty"`
	// 主发货单更新时间开始值,格式:yyyy-MM-dd HH:mm:ss
	GmtModifiedStart string `json:"gmt_modified_start,omitempty" xml:"gmt_modified_start,omitempty"`
	// 交易订单号
	MainBizOrderId int64 `json:"main_biz_order_id,omitempty" xml:"main_biz_order_id,omitempty"`
	// 主发货单号
	MainShipOrderId int64 `json:"main_ship_order_id,omitempty" xml:"main_ship_order_id,omitempty"`
	// 页码
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 每页最大主订单数,注意:返回的content_list数据按照子订单维度展开
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
}

LstShipOrderQuery 结构体

type LstTopOrderDto

type LstTopOrderDto struct {
	// 订单创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 订单状态,等待买家付款   "waitbuyerpay";       *      * 等待卖家发货  "waitsellersend";       *      * 等待买家收货  "waitbuyerreceive";       *      * 交易成功   "success";       *      * 交易取消    "cancel";       *      * 已收货未结算  "confirm_goods_but_not_fund";       *      * [1688新新交易4.0] 已收货   "confirm_goods";
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 单位
	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`
	// 买家id
	BuyerLoginId string `json:"buyer_login_id,omitempty" xml:"buyer_login_id,omitempty"`
	// 商品条形码
	BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"`
	// 产品名称
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// 买家店铺名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 供应商名称
	SellerName string `json:"seller_name,omitempty" xml:"seller_name,omitempty"`
	// 卖家loginId
	SellerLoginId string `json:"seller_login_id,omitempty" xml:"seller_login_id,omitempty"`
	// 子订单支付时间
	GmtPayment string `json:"gmt_payment,omitempty" xml:"gmt_payment,omitempty"`
	// 子订单发货时间
	GmtGoodsSend string `json:"gmt_goods_send,omitempty" xml:"gmt_goods_send,omitempty"`
	// 子订单确认收货时间
	GmtGoodsReceived string `json:"gmt_goods_received,omitempty" xml:"gmt_goods_received,omitempty"`
	// 子订单交易完结时间
	GmtCompleted string `json:"gmt_completed,omitempty" xml:"gmt_completed,omitempty"`
	// 商家ERP编码ID
	OuterOfferId string `json:"outer_offer_id,omitempty" xml:"outer_offer_id,omitempty"`
	// 订单上的收货地址
	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`
	// 商家私域门店id
	OuterStoreId string `json:"outer_store_id,omitempty" xml:"outer_store_id,omitempty"`
	// 商家业代id
	OuterOperatorId string `json:"outer_operator_id,omitempty" xml:"outer_operator_id,omitempty"`
	// 订单状态,等待买家付款   "waitbuyerpay";       *      * 等待卖家发货  "waitsellersend";       *      * 等待买家收货  "waitbuyerreceive";       *      * 交易成功   "success";       *      * 交易取消    "cancel";       *      * 已收货未结算  "confirm_goods_but_not_fund";       *      * [1688新新交易4.0] 已收货   "confirm_goods";
	MainOrderStatus string `json:"main_order_status,omitempty" xml:"main_order_status,omitempty"`
	// 仓库code
	WarehouseCode string `json:"warehouse_code,omitempty" xml:"warehouse_code,omitempty"`
	// 仓库名称
	WarehouseName string `json:"warehouse_name,omitempty" xml:"warehouse_name,omitempty"`
	// 小店唯一ID
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 零售通业代id
	LstYdId string `json:"lst_yd_id,omitempty" xml:"lst_yd_id,omitempty"`
	// 赠品订单对应的活动订单id,多个使用英文逗号','分割
	ActSubOrderIds string `json:"act_sub_order_ids,omitempty" xml:"act_sub_order_ids,omitempty"`
	// 批次单
	GroupId string `json:"group_id,omitempty" xml:"group_id,omitempty"`
	// 送达时间
	SignTime string `json:"sign_time,omitempty" xml:"sign_time,omitempty"`
	// 线下订单业务员id
	OfflineYdId string `json:"offline_yd_id,omitempty" xml:"offline_yd_id,omitempty"`
	// 线下订单业务员name
	OfflineYdName string `json:"offline_yd_name,omitempty" xml:"offline_yd_name,omitempty"`
	// 实际支付金额
	ActualPayFee int64 `json:"actual_pay_fee,omitempty" xml:"actual_pay_fee,omitempty"`
	// 单价
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 拍档id
	PartnerId int64 `json:"partner_id,omitempty" xml:"partner_id,omitempty"`
	// 主订单id
	MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"`
	// 子订单id
	SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`
	// true表示赠品
	Gift bool `json:"gift,omitempty" xml:"gift,omitempty"`
	// 是否组合产品
	CombineItem bool `json:"combine_item,omitempty" xml:"combine_item,omitempty"`
	// 是否线下订单
	OfflineOrder bool `json:"offline_order,omitempty" xml:"offline_order,omitempty"`
	// 是否车销订单
	OfflineCarOrder bool `json:"offline_car_order,omitempty" xml:"offline_car_order,omitempty"`
}

LstTopOrderDto 结构体

type LstTradeGetSellerOrderListParam

type LstTradeGetSellerOrderListParam struct {
	// 买家id
	BuyerMemberId string `json:"buyer_member_id,omitempty" xml:"buyer_member_id,omitempty"`
	// 订单状态
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 退款状态,支持:     "waitselleragree"(等待卖家同意),     "refundsuccess"(退款成功),     "refundclose"(退款关闭),     "waitbuyermodify"(待买家修改),     "waitbuyersend"(等待买家退货),     "waitsellerreceive"(等待卖家确认收货)
	RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 交易订单时间
	TradeEndTime string `json:"trade_end_time,omitempty" xml:"trade_end_time,omitempty"`
	// 商品名称
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// 查询下单开始时间
	CreateStartTime string `json:"create_start_time,omitempty" xml:"create_start_time,omitempty"`
	// 交易订单开始时间
	TradeStartTime string `json:"trade_start_time,omitempty" xml:"trade_start_time,omitempty"`
	// 查询下单开始时间,时间间隔一个月内
	CreateEndTime string `json:"create_end_time,omitempty" xml:"create_end_time,omitempty"`
	// 更新时间-查询开始
	UpdateStartTime string `json:"update_start_time,omitempty" xml:"update_start_time,omitempty"`
	// 更新时间-查询截止时间
	UpdateEndTime string `json:"update_end_time,omitempty" xml:"update_end_time,omitempty"`
	// 页面大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 子订单
	SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`
	// 当前页
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 主订单号
	MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"`
	// 是否查询历史
	IsHis bool `json:"is_his,omitempty" xml:"is_his,omitempty"`
}

LstTradeGetSellerOrderListParam 结构体

type OrderBizInfo

type OrderBizInfo struct {
	// 仓库名称
	WarehouseName string `json:"warehouse_name,omitempty" xml:"warehouse_name,omitempty"`
	// 仓库编码
	WarehouseCode string `json:"warehouse_code,omitempty" xml:"warehouse_code,omitempty"`
	// 零售通仓库类型。customer:虚仓;cainiao:实仓
	LstWarehouseType string `json:"lst_warehouse_type,omitempty" xml:"lst_warehouse_type,omitempty"`
}

OrderBizInfo 结构体

type PagedResultDto

type PagedResultDto struct {
	// 返回实体包装类
	ContentList []TopOrderChange2brandownerDto `json:"content_list,omitempty" xml:"content_list>top_order_change2brandowner_dto,omitempty"`
	// 错误描述
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 总记录条数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 页码
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 每页最大记录数
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
	// 接口调用是否成功 true:调用成功 false:调用失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

PagedResultDto 结构体

type ProductItems

type ProductItems struct {
	// cspuID
	CspuId string `json:"cspu_id,omitempty" xml:"cspu_id,omitempty"`
	// 指定单品货号,国际站无需关注。该字段不一定有值,仅仅在下单时才会把货号记录(如果卖家设置了单品货号的话)。别的订单类型的货号只能通过商品接口去获取。请注意:通过商品接口获取时的货号和下单时的货号可能不一致,因为下单完成后卖家可能修改商品信息,改变了货号。
	CargoNumber string `json:"cargo_number,omitempty" xml:"cargo_number,omitempty"`
	// 产品快照url,交易订单产生时会自动记录下当时的商品快照,供后续纠纷时参考
	ProductSnapshotUrl string `json:"product_snapshot_url,omitempty" xml:"product_snapshot_url,omitempty"`
	// 售卖单位 例如:个、件、箱、吨
	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`
	// 商品名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 条形码
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// 商品类型,common:普通品,hg:赠品
	ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"`
	// 子订单状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 发货仓库code
	WarehouseCode string `json:"warehouse_code,omitempty" xml:"warehouse_code,omitempty"`
	// 发货仓库名称
	WarehouseName string `json:"warehouse_name,omitempty" xml:"warehouse_name,omitempty"`
	// 零售通仓库类型。customer:虚仓;cainiao:实仓
	LstWarehouseType string `json:"lst_warehouse_type,omitempty" xml:"lst_warehouse_type,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 本云订单:local,异云订单:remote,如果是实仓订单本字段为空
	VirtualWarehouseType string `json:"virtual_warehouse_type,omitempty" xml:"virtual_warehouse_type,omitempty"`
	// 子订单号
	SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`
	// 以unit为单位的数量,例如多少个、多少件、多少箱、多少吨
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 实付金额,单位分
	ItemAmount int64 `json:"item_amount,omitempty" xml:"item_amount,omitempty"`
	// 原始单价,单位分
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// skuID
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 商品的唯一标识
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 是否组合品
	IsMixSet bool `json:"is_mix_set,omitempty" xml:"is_mix_set,omitempty"`
}

ProductItems 结构体

type ReceiverInfo

type ReceiverInfo struct {
	// 收货人地址区域编码
	ToDivisionCode string `json:"to_division_code,omitempty" xml:"to_division_code,omitempty"`
	// 收货人街道或镇区域编码,可能为空
	ToTownCode string `json:"to_town_code,omitempty" xml:"to_town_code,omitempty"`
	// 详情收货地址(到门牌号)
	ToDetailArea string `json:"to_detail_area,omitempty" xml:"to_detail_area,omitempty"`
	// 收件人
	ToFullName string `json:"to_full_name,omitempty" xml:"to_full_name,omitempty"`
	// 移动电话
	ToMobile string `json:"to_mobile,omitempty" xml:"to_mobile,omitempty"`
	// 固定电话
	ToPhone string `json:"to_phone,omitempty" xml:"to_phone,omitempty"`
	// 邮编
	ToPost string `json:"to_post,omitempty" xml:"to_post,omitempty"`
	// 收货地址(只到街道)
	ToArea string `json:"to_area,omitempty" xml:"to_area,omitempty"`
	// 详细地址
	ToDetailAddress string `json:"to_detail_address,omitempty" xml:"to_detail_address,omitempty"`
}

ReceiverInfo 结构体

type RefundSubOrderInfo

type RefundSubOrderInfo struct {
	// 退款数量
	RefundCount int64 `json:"refund_count,omitempty" xml:"refund_count,omitempty"`
	// 退款金额,单位分
	RefundPayment int64 `json:"refund_payment,omitempty" xml:"refund_payment,omitempty"`
	// 子订单id
	SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`
}

RefundSubOrderInfo 结构体

type SellerContact

type SellerContact struct {
	// 电话
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 公司名称
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 移动电话
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 邮件地址
	Email string `json:"email,omitempty" xml:"email,omitempty"`
}

SellerContact 结构体

type SubOrders

type SubOrders struct {
	// 退款数量
	RefundCount int64 `json:"refund_count,omitempty" xml:"refund_count,omitempty"`
	// 子单ID
	SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`
}

SubOrders 结构体

type TopLstSupplierOrderRefundQuery

type TopLstSupplierOrderRefundQuery struct {
	// 退款申请时间(起始)
	ApplyEndTime string `json:"apply_end_time,omitempty" xml:"apply_end_time,omitempty"`
	// 退款状态,等待卖家同意("waitselleragree"), 退款成功("refundsuccess"), 退款关闭("refundclose"), 待买家修改("waitbuyermodify"), 等待买家退货("waitbuyersend"), 等待卖家确认收货("waitsellerreceive");
	RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 退款单id
	RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 退款申请时间(截止)
	ApplyStartTime string `json:"apply_start_time,omitempty" xml:"apply_start_time,omitempty"`
	// 1:售中退款,2:售后退款;0:所有退款单
	RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"`
	// 主订单Id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 查询页码
	CurrentPageNum int64 `json:"current_page_num,omitempty" xml:"current_page_num,omitempty"`
	// 页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 买家userid
	BuyerUserId int64 `json:"buyer_user_id,omitempty" xml:"buyer_user_id,omitempty"`
}

TopLstSupplierOrderRefundQuery 结构体

type TopOrderChange2brandownerDto added in v1.3.1

type TopOrderChange2brandownerDto struct {
	// FORWARD_ORDER 正向订单表示正常购买流程,REVERSE_ORDER 逆向订单表示退款流程
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 退款单id
	RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 主订单id
	MainOrderId int64 `json:"main_order_id,omitempty" xml:"main_order_id,omitempty"`
	// 子订单id
	SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`
	// 是否新建,包括订单新建和退款单新建
	NewCreated bool `json:"new_created,omitempty" xml:"new_created,omitempty"`
}

TopOrderChange2brandownerDto 结构体

Jump to

Keyboard shortcuts

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