tbtrade

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package tbtrade 包含淘宝交易API,相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAddressDetail added in v1.3.4

func ReleaseAddressDetail(v *AddressDetail)

ReleaseAddressDetail 释放AddressDetail

func ReleaseAgreeRefundCheck added in v1.3.4

func ReleaseAgreeRefundCheck(v *AgreeRefundCheck)

ReleaseAgreeRefundCheck 释放AgreeRefundCheck

func ReleaseAppBillQueryRequest added in v1.3.4

func ReleaseAppBillQueryRequest(v *AppBillQueryRequest)

ReleaseAppBillQueryRequest 释放AppBillQueryRequest

func ReleaseAssembleOrder added in v1.3.4

func ReleaseAssembleOrder(v *AssembleOrder)

ReleaseAssembleOrder 释放AssembleOrder

func ReleaseBillDetailInfo added in v1.3.4

func ReleaseBillDetailInfo(v *BillDetailInfo)

ReleaseBillDetailInfo 释放BillDetailInfo

func ReleaseCombineConsignInfo added in v1.3.4

func ReleaseCombineConsignInfo(v *CombineConsignInfo)

ReleaseCombineConsignInfo 释放CombineConsignInfo

func ReleaseCombineLogisticsDetail added in v1.3.4

func ReleaseCombineLogisticsDetail(v *CombineLogisticsDetail)

ReleaseCombineLogisticsDetail 释放CombineLogisticsDetail

func ReleaseCombineSubItemDo added in v1.3.4

func ReleaseCombineSubItemDo(v *CombineSubItemDo)

ReleaseCombineSubItemDo 释放CombineSubItemDo

func ReleaseDeliveryPlan added in v1.3.4

func ReleaseDeliveryPlan(v *DeliveryPlan)

ReleaseDeliveryPlan 释放DeliveryPlan

func ReleaseExpandCardInfo added in v1.3.4

func ReleaseExpandCardInfo(v *ExpandCardInfo)

ReleaseExpandCardInfo 释放ExpandCardInfo

func ReleaseIdentifyInfo added in v1.3.4

func ReleaseIdentifyInfo(v *IdentifyInfo)

ReleaseIdentifyInfo 释放IdentifyInfo

func ReleaseIdentifyLogisticsInfo added in v1.3.4

func ReleaseIdentifyLogisticsInfo(v *IdentifyLogisticsInfo)

ReleaseIdentifyLogisticsInfo 释放IdentifyLogisticsInfo

func ReleaseIdentifyServiceInfo added in v1.3.4

func ReleaseIdentifyServiceInfo(v *IdentifyServiceInfo)

ReleaseIdentifyServiceInfo 释放IdentifyServiceInfo

func ReleaseLogisticServiceTag added in v1.3.4

func ReleaseLogisticServiceTag(v *LogisticServiceTag)

ReleaseLogisticServiceTag 释放LogisticServiceTag

func ReleaseLogisticsAgreement added in v1.3.4

func ReleaseLogisticsAgreement(v *LogisticsAgreement)

ReleaseLogisticsAgreement 释放LogisticsAgreement

func ReleaseLogisticsConsignInfo added in v1.3.4

func ReleaseLogisticsConsignInfo(v *LogisticsConsignInfo)

ReleaseLogisticsConsignInfo 释放LogisticsConsignInfo

func ReleaseLogisticsInfo added in v1.3.4

func ReleaseLogisticsInfo(v *LogisticsInfo)

ReleaseLogisticsInfo 释放LogisticsInfo

func ReleaseLogisticsModifyInfo added in v1.3.4

func ReleaseLogisticsModifyInfo(v *LogisticsModifyInfo)

ReleaseLogisticsModifyInfo 释放LogisticsModifyInfo

func ReleaseLogisticsTag added in v1.3.4

func ReleaseLogisticsTag(v *LogisticsTag)

ReleaseLogisticsTag 释放LogisticsTag

func ReleaseOrder added in v1.3.4

func ReleaseOrder(v *Order)

ReleaseOrder 释放Order

func ReleaseOrderAmount added in v1.3.4

func ReleaseOrderAmount(v *OrderAmount)

ReleaseOrderAmount 释放OrderAmount

func ReleaseOrderAssembleResponse added in v1.3.4

func ReleaseOrderAssembleResponse(v *OrderAssembleResponse)

ReleaseOrderAssembleResponse 释放OrderAssembleResponse

func ReleaseOrderGroup added in v1.3.4

func ReleaseOrderGroup(v *OrderGroup)

ReleaseOrderGroup 释放OrderGroup

func ReleaseOrderGroupResponse added in v1.3.4

func ReleaseOrderGroupResponse(v *OrderGroupResponse)

ReleaseOrderGroupResponse 释放OrderGroupResponse

func ReleaseOrderMerge added in v1.3.4

func ReleaseOrderMerge(v *OrderMerge)

ReleaseOrderMerge 释放OrderMerge

func ReleaseOrderQuery added in v1.3.4

func ReleaseOrderQuery(v *OrderQuery)

ReleaseOrderQuery 释放OrderQuery

func ReleasePackageGoodsDetail added in v1.3.4

func ReleasePackageGoodsDetail(v *PackageGoodsDetail)

ReleasePackageGoodsDetail 释放PackageGoodsDetail

func ReleasePromotionDetail added in v1.3.4

func ReleasePromotionDetail(v *PromotionDetail)

ReleasePromotionDetail 释放PromotionDetail

func ReleaseReceiver added in v1.3.4

func ReleaseReceiver(v *Receiver)

ReleaseReceiver 释放Receiver

func ReleaseReceiverQuery added in v1.3.4

func ReleaseReceiverQuery(v *ReceiverQuery)

ReleaseReceiverQuery 释放ReceiverQuery

func ReleaseSecretNo added in v1.3.4

func ReleaseSecretNo(v *SecretNo)

ReleaseSecretNo 释放SecretNo

func ReleaseSecretNoExtendRequest added in v1.3.4

func ReleaseSecretNoExtendRequest(v *SecretNoExtendRequest)

ReleaseSecretNoExtendRequest 释放SecretNoExtendRequest

func ReleaseSellerBillQueryRequest added in v1.3.4

func ReleaseSellerBillQueryRequest(v *SellerBillQueryRequest)

ReleaseSellerBillQueryRequest 释放SellerBillQueryRequest

func ReleaseSendGoodsDetail added in v1.3.4

func ReleaseSendGoodsDetail(v *SendGoodsDetail)

ReleaseSendGoodsDetail 释放SendGoodsDetail

func ReleaseServiceOrder added in v1.3.4

func ReleaseServiceOrder(v *ServiceOrder)

ReleaseServiceOrder 释放ServiceOrder

func ReleaseShipInfo added in v1.3.4

func ReleaseShipInfo(v *ShipInfo)

ReleaseShipInfo 释放ShipInfo

func ReleaseSortInfo added in v1.3.4

func ReleaseSortInfo(v *SortInfo)

ReleaseSortInfo 释放SortInfo

func ReleaseStepPayDetail added in v1.3.4

func ReleaseStepPayDetail(v *StepPayDetail)

ReleaseStepPayDetail 释放StepPayDetail

func ReleaseTaobaoFulfillmentOrderAssembleAPIRequest added in v1.3.4

func ReleaseTaobaoFulfillmentOrderAssembleAPIRequest(v *TaobaoFulfillmentOrderAssembleAPIRequest)

ReleaseTaobaoFulfillmentOrderAssembleAPIRequest 将 TaobaoFulfillmentOrderAssembleAPIRequest 放入 sync.Pool

func ReleaseTaobaoFulfillmentOrderAssembleAPIResponse added in v1.3.4

func ReleaseTaobaoFulfillmentOrderAssembleAPIResponse(v *TaobaoFulfillmentOrderAssembleAPIResponse)

ReleaseTaobaoFulfillmentOrderAssembleAPIResponse 将 TaobaoFulfillmentOrderAssembleAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTopOaidClientDecryptAPIRequest added in v1.3.4

func ReleaseTaobaoTopOaidClientDecryptAPIRequest(v *TaobaoTopOaidClientDecryptAPIRequest)

ReleaseTaobaoTopOaidClientDecryptAPIRequest 将 TaobaoTopOaidClientDecryptAPIRequest 放入 sync.Pool

func ReleaseTaobaoTopOaidClientDecryptAPIResponse added in v1.3.4

func ReleaseTaobaoTopOaidClientDecryptAPIResponse(v *TaobaoTopOaidClientDecryptAPIResponse)

ReleaseTaobaoTopOaidClientDecryptAPIResponse 将 TaobaoTopOaidClientDecryptAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTopOaidDecryptAPIRequest added in v1.3.4

func ReleaseTaobaoTopOaidDecryptAPIRequest(v *TaobaoTopOaidDecryptAPIRequest)

ReleaseTaobaoTopOaidDecryptAPIRequest 将 TaobaoTopOaidDecryptAPIRequest 放入 sync.Pool

func ReleaseTaobaoTopOaidDecryptAPIResponse added in v1.3.4

func ReleaseTaobaoTopOaidDecryptAPIResponse(v *TaobaoTopOaidDecryptAPIResponse)

ReleaseTaobaoTopOaidDecryptAPIResponse 将 TaobaoTopOaidDecryptAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTopOaidMergeAPIRequest added in v1.3.4

func ReleaseTaobaoTopOaidMergeAPIRequest(v *TaobaoTopOaidMergeAPIRequest)

ReleaseTaobaoTopOaidMergeAPIRequest 将 TaobaoTopOaidMergeAPIRequest 放入 sync.Pool

func ReleaseTaobaoTopOaidMergeAPIResponse added in v1.3.4

func ReleaseTaobaoTopOaidMergeAPIResponse(v *TaobaoTopOaidMergeAPIResponse)

ReleaseTaobaoTopOaidMergeAPIResponse 将 TaobaoTopOaidMergeAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTopOnceTokenGetAPIRequest added in v1.3.4

func ReleaseTaobaoTopOnceTokenGetAPIRequest(v *TaobaoTopOnceTokenGetAPIRequest)

ReleaseTaobaoTopOnceTokenGetAPIRequest 将 TaobaoTopOnceTokenGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTopOnceTokenGetAPIResponse added in v1.3.4

func ReleaseTaobaoTopOnceTokenGetAPIResponse(v *TaobaoTopOnceTokenGetAPIResponse)

ReleaseTaobaoTopOnceTokenGetAPIResponse 将 TaobaoTopOnceTokenGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTopSecretAppkeyBillDetailAPIRequest added in v1.3.4

func ReleaseTaobaoTopSecretAppkeyBillDetailAPIRequest(v *TaobaoTopSecretAppkeyBillDetailAPIRequest)

ReleaseTaobaoTopSecretAppkeyBillDetailAPIRequest 将 TaobaoTopSecretAppkeyBillDetailAPIRequest 放入 sync.Pool

func ReleaseTaobaoTopSecretAppkeyBillDetailAPIResponse added in v1.3.4

func ReleaseTaobaoTopSecretAppkeyBillDetailAPIResponse(v *TaobaoTopSecretAppkeyBillDetailAPIResponse)

ReleaseTaobaoTopSecretAppkeyBillDetailAPIResponse 将 TaobaoTopSecretAppkeyBillDetailAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTopSecretBillDetailAPIRequest added in v1.3.4

func ReleaseTaobaoTopSecretBillDetailAPIRequest(v *TaobaoTopSecretBillDetailAPIRequest)

ReleaseTaobaoTopSecretBillDetailAPIRequest 将 TaobaoTopSecretBillDetailAPIRequest 放入 sync.Pool

func ReleaseTaobaoTopSecretBillDetailAPIResponse added in v1.3.4

func ReleaseTaobaoTopSecretBillDetailAPIResponse(v *TaobaoTopSecretBillDetailAPIResponse)

ReleaseTaobaoTopSecretBillDetailAPIResponse 将 TaobaoTopSecretBillDetailAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTopSecretExtendAPIRequest added in v1.3.4

func ReleaseTaobaoTopSecretExtendAPIRequest(v *TaobaoTopSecretExtendAPIRequest)

ReleaseTaobaoTopSecretExtendAPIRequest 将 TaobaoTopSecretExtendAPIRequest 放入 sync.Pool

func ReleaseTaobaoTopSecretExtendAPIResponse added in v1.3.4

func ReleaseTaobaoTopSecretExtendAPIResponse(v *TaobaoTopSecretExtendAPIResponse)

ReleaseTaobaoTopSecretExtendAPIResponse 将 TaobaoTopSecretExtendAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTradeAmountGetAPIRequest added in v1.3.4

func ReleaseTaobaoTradeAmountGetAPIRequest(v *TaobaoTradeAmountGetAPIRequest)

ReleaseTaobaoTradeAmountGetAPIRequest 将 TaobaoTradeAmountGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTradeAmountGetAPIResponse added in v1.3.4

func ReleaseTaobaoTradeAmountGetAPIResponse(v *TaobaoTradeAmountGetAPIResponse)

ReleaseTaobaoTradeAmountGetAPIResponse 将 TaobaoTradeAmountGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTradeCloseAPIRequest added in v1.3.4

func ReleaseTaobaoTradeCloseAPIRequest(v *TaobaoTradeCloseAPIRequest)

ReleaseTaobaoTradeCloseAPIRequest 将 TaobaoTradeCloseAPIRequest 放入 sync.Pool

func ReleaseTaobaoTradeCloseAPIResponse added in v1.3.4

func ReleaseTaobaoTradeCloseAPIResponse(v *TaobaoTradeCloseAPIResponse)

ReleaseTaobaoTradeCloseAPIResponse 将 TaobaoTradeCloseAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTradeConfirmfeeGetAPIRequest added in v1.3.4

func ReleaseTaobaoTradeConfirmfeeGetAPIRequest(v *TaobaoTradeConfirmfeeGetAPIRequest)

ReleaseTaobaoTradeConfirmfeeGetAPIRequest 将 TaobaoTradeConfirmfeeGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTradeConfirmfeeGetAPIResponse added in v1.3.4

func ReleaseTaobaoTradeConfirmfeeGetAPIResponse(v *TaobaoTradeConfirmfeeGetAPIResponse)

ReleaseTaobaoTradeConfirmfeeGetAPIResponse 将 TaobaoTradeConfirmfeeGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTradeFullinfoGetAPIRequest added in v1.3.4

func ReleaseTaobaoTradeFullinfoGetAPIRequest(v *TaobaoTradeFullinfoGetAPIRequest)

ReleaseTaobaoTradeFullinfoGetAPIRequest 将 TaobaoTradeFullinfoGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTradeFullinfoGetAPIResponse added in v1.3.4

func ReleaseTaobaoTradeFullinfoGetAPIResponse(v *TaobaoTradeFullinfoGetAPIResponse)

ReleaseTaobaoTradeFullinfoGetAPIResponse 将 TaobaoTradeFullinfoGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTradeInvoiceAmountGetAPIRequest added in v1.3.4

func ReleaseTaobaoTradeInvoiceAmountGetAPIRequest(v *TaobaoTradeInvoiceAmountGetAPIRequest)

ReleaseTaobaoTradeInvoiceAmountGetAPIRequest 将 TaobaoTradeInvoiceAmountGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTradeInvoiceAmountGetAPIResponse added in v1.3.4

func ReleaseTaobaoTradeInvoiceAmountGetAPIResponse(v *TaobaoTradeInvoiceAmountGetAPIResponse)

ReleaseTaobaoTradeInvoiceAmountGetAPIResponse 将 TaobaoTradeInvoiceAmountGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTradeMemoAddAPIRequest added in v1.3.4

func ReleaseTaobaoTradeMemoAddAPIRequest(v *TaobaoTradeMemoAddAPIRequest)

ReleaseTaobaoTradeMemoAddAPIRequest 将 TaobaoTradeMemoAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoTradeMemoAddAPIResponse added in v1.3.4

func ReleaseTaobaoTradeMemoAddAPIResponse(v *TaobaoTradeMemoAddAPIResponse)

ReleaseTaobaoTradeMemoAddAPIResponse 将 TaobaoTradeMemoAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTradeMemoUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoTradeMemoUpdateAPIRequest(v *TaobaoTradeMemoUpdateAPIRequest)

ReleaseTaobaoTradeMemoUpdateAPIRequest 将 TaobaoTradeMemoUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoTradeMemoUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoTradeMemoUpdateAPIResponse(v *TaobaoTradeMemoUpdateAPIResponse)

ReleaseTaobaoTradeMemoUpdateAPIResponse 将 TaobaoTradeMemoUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTradeOrderskuUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoTradeOrderskuUpdateAPIRequest(v *TaobaoTradeOrderskuUpdateAPIRequest)

ReleaseTaobaoTradeOrderskuUpdateAPIRequest 将 TaobaoTradeOrderskuUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoTradeOrderskuUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoTradeOrderskuUpdateAPIResponse(v *TaobaoTradeOrderskuUpdateAPIResponse)

ReleaseTaobaoTradeOrderskuUpdateAPIResponse 将 TaobaoTradeOrderskuUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTradePostageUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoTradePostageUpdateAPIRequest(v *TaobaoTradePostageUpdateAPIRequest)

ReleaseTaobaoTradePostageUpdateAPIRequest 将 TaobaoTradePostageUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoTradePostageUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoTradePostageUpdateAPIResponse(v *TaobaoTradePostageUpdateAPIResponse)

ReleaseTaobaoTradePostageUpdateAPIResponse 将 TaobaoTradePostageUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTradeReceivetimeDelayAPIRequest added in v1.3.4

func ReleaseTaobaoTradeReceivetimeDelayAPIRequest(v *TaobaoTradeReceivetimeDelayAPIRequest)

ReleaseTaobaoTradeReceivetimeDelayAPIRequest 将 TaobaoTradeReceivetimeDelayAPIRequest 放入 sync.Pool

func ReleaseTaobaoTradeReceivetimeDelayAPIResponse added in v1.3.4

func ReleaseTaobaoTradeReceivetimeDelayAPIResponse(v *TaobaoTradeReceivetimeDelayAPIResponse)

ReleaseTaobaoTradeReceivetimeDelayAPIResponse 将 TaobaoTradeReceivetimeDelayAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTradeShippingaddressUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoTradeShippingaddressUpdateAPIRequest(v *TaobaoTradeShippingaddressUpdateAPIRequest)

ReleaseTaobaoTradeShippingaddressUpdateAPIRequest 将 TaobaoTradeShippingaddressUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoTradeShippingaddressUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoTradeShippingaddressUpdateAPIResponse(v *TaobaoTradeShippingaddressUpdateAPIResponse)

ReleaseTaobaoTradeShippingaddressUpdateAPIResponse 将 TaobaoTradeShippingaddressUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTradesSoldGetAPIRequest added in v1.3.4

func ReleaseTaobaoTradesSoldGetAPIRequest(v *TaobaoTradesSoldGetAPIRequest)

ReleaseTaobaoTradesSoldGetAPIRequest 将 TaobaoTradesSoldGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTradesSoldGetAPIResponse added in v1.3.4

func ReleaseTaobaoTradesSoldGetAPIResponse(v *TaobaoTradesSoldGetAPIResponse)

ReleaseTaobaoTradesSoldGetAPIResponse 将 TaobaoTradesSoldGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTradesSoldIncrementGetAPIRequest added in v1.3.4

func ReleaseTaobaoTradesSoldIncrementGetAPIRequest(v *TaobaoTradesSoldIncrementGetAPIRequest)

ReleaseTaobaoTradesSoldIncrementGetAPIRequest 将 TaobaoTradesSoldIncrementGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTradesSoldIncrementGetAPIResponse added in v1.3.4

func ReleaseTaobaoTradesSoldIncrementGetAPIResponse(v *TaobaoTradesSoldIncrementGetAPIResponse)

ReleaseTaobaoTradesSoldIncrementGetAPIResponse 将 TaobaoTradesSoldIncrementGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTradesSoldIncrementvGetAPIRequest added in v1.3.4

func ReleaseTaobaoTradesSoldIncrementvGetAPIRequest(v *TaobaoTradesSoldIncrementvGetAPIRequest)

ReleaseTaobaoTradesSoldIncrementvGetAPIRequest 将 TaobaoTradesSoldIncrementvGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTradesSoldIncrementvGetAPIResponse added in v1.3.4

func ReleaseTaobaoTradesSoldIncrementvGetAPIResponse(v *TaobaoTradesSoldIncrementvGetAPIResponse)

ReleaseTaobaoTradesSoldIncrementvGetAPIResponse 将 TaobaoTradesSoldIncrementvGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTradesSoldQueryAPIRequest added in v1.3.4

func ReleaseTaobaoTradesSoldQueryAPIRequest(v *TaobaoTradesSoldQueryAPIRequest)

ReleaseTaobaoTradesSoldQueryAPIRequest 将 TaobaoTradesSoldQueryAPIRequest 放入 sync.Pool

func ReleaseTaobaoTradesSoldQueryAPIResponse added in v1.3.4

func ReleaseTaobaoTradesSoldQueryAPIResponse(v *TaobaoTradesSoldQueryAPIResponse)

ReleaseTaobaoTradesSoldQueryAPIResponse 将 TaobaoTradesSoldQueryAPIResponse 保存到 sync.Pool

func ReleaseTrade added in v1.3.4

func ReleaseTrade(v *Trade)

ReleaseTrade 释放Trade

func ReleaseTradeAmount added in v1.3.4

func ReleaseTradeAmount(v *TradeAmount)

ReleaseTradeAmount 释放TradeAmount

func ReleaseTradeConfirmFee added in v1.3.4

func ReleaseTradeConfirmFee(v *TradeConfirmFee)

ReleaseTradeConfirmFee 释放TradeConfirmFee

func ReleaseTradeExt added in v1.3.4

func ReleaseTradeExt(v *TradeExt)

ReleaseTradeExt 释放TradeExt

Types

type AddressDetail

type AddressDetail struct {
	// 详细地址
	DetailedAddress string `json:"detailed_address,omitempty" xml:"detailed_address,omitempty"`
	// 行政区编码
	DivisionCode string `json:"division_code,omitempty" xml:"division_code,omitempty"`
	// 区
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 电话号码
	Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"`
	// 城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 省份
	Prov string `json:"prov,omitempty" xml:"prov,omitempty"`
	// 国家
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 国家
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 业务类型
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
}

AddressDetail 结构体

func GetAddressDetail added in v1.3.4

func GetAddressDetail() *AddressDetail

GetAddressDetail() 从对象池中获取AddressDetail

type AgreeRefundCheck

type AgreeRefundCheck struct {
	// 提示文案
	DeliveryTips string `json:"delivery_tips,omitempty" xml:"delivery_tips,omitempty"`
	// 流程状态
	DeliveryProcess string `json:"delivery_process,omitempty" xml:"delivery_process,omitempty"`
	// 订单id
	DetailOrderId string `json:"detail_order_id,omitempty" xml:"detail_order_id,omitempty"`
}

AgreeRefundCheck 结构体

func GetAgreeRefundCheck added in v1.3.4

func GetAgreeRefundCheck() *AgreeRefundCheck

GetAgreeRefundCheck() 从对象池中获取AgreeRefundCheck

type AppBillQueryRequest

type AppBillQueryRequest struct {
	// 账单时间
	BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"`
	// 页号,从1开始
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 页大小,不得超过1000
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

AppBillQueryRequest 结构体

func GetAppBillQueryRequest added in v1.3.4

func GetAppBillQueryRequest() *AppBillQueryRequest

GetAppBillQueryRequest() 从对象池中获取AppBillQueryRequest

type AssembleOrder

type AssembleOrder struct {
	// 合单订单列表,一个列表最多200
	OrderList []OrderGroup `json:"order_list,omitempty" xml:"order_list>order_group,omitempty"`
	// 组合id,服务商内部的合单操作id,取消合单会根据group_id进行删除操作。
	GroupId string `json:"group_id,omitempty" xml:"group_id,omitempty"`
}

AssembleOrder 结构体

func GetAssembleOrder added in v1.3.4

func GetAssembleOrder() *AssembleOrder

GetAssembleOrder() 从对象池中获取AssembleOrder

type BillDetailInfo

type BillDetailInfo struct {
	// 店铺名称
	ShopNick string `json:"shop_nick,omitempty" xml:"shop_nick,omitempty"`
	// 账单计费
	Cost string `json:"cost,omitempty" xml:"cost,omitempty"`
	// 已弃用,查询账单详情请使用taobao.top.secret.bill.detail接口。
	SecretNo string `json:"secret_no,omitempty" xml:"secret_no,omitempty"`
	// 已弃用,查询账单详情请使用taobao.top.secret.bill.detail接口。
	Start string `json:"start,omitempty" xml:"start,omitempty"`
	// 已弃用,查询账单详情请使用taobao.top.secret.bill.detail接口。
	End string `json:"end,omitempty" xml:"end,omitempty"`
	// 商家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 0-号租费,1-通话费
	BillItem int64 `json:"bill_item,omitempty" xml:"bill_item,omitempty"`
	// 账单持续时间,号租费时单位为天,通话费单位为分钟
	BillDuration int64 `json:"bill_duration,omitempty" xml:"bill_duration,omitempty"`
	// 订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

BillDetailInfo 结构体

func GetBillDetailInfo added in v1.3.4

func GetBillDetailInfo() *BillDetailInfo

GetBillDetailInfo() 从对象池中获取BillDetailInfo

type CombineConsignInfo added in v1.2.9

type CombineConsignInfo struct {
	// 套餐组合id
	CombId string `json:"comb_id,omitempty" xml:"comb_id,omitempty"`
	// 套餐内的商品id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 套餐内商品的skuId
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 成分品的预计发货时间
	ConsignTime string `json:"consign_time,omitempty" xml:"consign_time,omitempty"`
	// 成分品的预计发货时间
	RenderConsignTime string `json:"render_consign_time,omitempty" xml:"render_consign_time,omitempty"`
}

CombineConsignInfo 结构体

func GetCombineConsignInfo added in v1.3.4

func GetCombineConsignInfo() *CombineConsignInfo

GetCombineConsignInfo() 从对象池中获取CombineConsignInfo

type CombineLogisticsDetail added in v1.2.9

type CombineLogisticsDetail struct {
	// 包裹详情(仅支持成分品)
	SendGoodsDetails []SendGoodsDetail `json:"send_goods_details,omitempty" xml:"send_goods_details>send_goods_detail,omitempty"`
	// 运单号
	InvoiceNo string `json:"invoice_no,omitempty" xml:"invoice_no,omitempty"`
	// 物流公司
	LogisticsCompany string `json:"logistics_company,omitempty" xml:"logistics_company,omitempty"`
	// 子订单id
	SubOrderId string `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`
}

CombineLogisticsDetail 结构体

func GetCombineLogisticsDetail added in v1.3.4

func GetCombineLogisticsDetail() *CombineLogisticsDetail

GetCombineLogisticsDetail() 从对象池中获取CombineLogisticsDetail

type CombineSubItemDo added in v1.2.9

type CombineSubItemDo struct {
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 商家外部编码(可与商家外部系统对接)。
	OuterIid string `json:"outer_iid,omitempty" xml:"outer_iid,omitempty"`
	// SKU标题
	SkuTitle string `json:"sku_title,omitempty" xml:"sku_title,omitempty"`
	// 套餐购成分品预计承诺时效(如果为时间格式为yyyy-MM-dd 则为绝对时间,为数字则为相对时间,比如7天内发货)
	EstconTime string `json:"estcon_time,omitempty" xml:"estcon_time,omitempty"`
	// outer_sku_id
	OuterSkuId string `json:"outer_sku_id,omitempty" xml:"outer_sku_id,omitempty"`
	// 商品数字编号
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品的最小库存单位Sku的id
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 成分品原价
	OriginFee int64 `json:"origin_fee,omitempty" xml:"origin_fee,omitempty"`
	// 成分品套餐原价
	CombineSubItemFee int64 `json:"combine_sub_item_fee,omitempty" xml:"combine_sub_item_fee,omitempty"`
	// 教育优惠原价
	EduOriginalFee int64 `json:"edu_original_fee,omitempty" xml:"edu_original_fee,omitempty"`
	// 套餐购是否商品主子成分品��
	Ismain bool `json:"ismain,omitempty" xml:"ismain,omitempty"`
}

CombineSubItemDo 结构体

func GetCombineSubItemDo added in v1.3.4

func GetCombineSubItemDo() *CombineSubItemDo

GetCombineSubItemDo() 从对象池中获取CombineSubItemDo

type DeliveryPlan

type DeliveryPlan struct {
	// 外部物流单号
	OutLogisticsId string `json:"out_logistics_id,omitempty" xml:"out_logistics_id,omitempty"`
	// 备货期开始时间
	PrepareTimeBegin string `json:"prepare_time_begin,omitempty" xml:"prepare_time_begin,omitempty"`
	// 计划发货时间
	ShipTimeBegin string `json:"ship_time_begin,omitempty" xml:"ship_time_begin,omitempty"`
	// 实际发货时间
	ActualShipTime string `json:"actual_ship_time,omitempty" xml:"actual_ship_time,omitempty"`
	// 收货人姓名
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 收货人手机号
	ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"`
	// 收货人电话
	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
	// 收货详细地址
	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`
	// aid
	Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"`
	// 隐私号
	PrivacyNum string `json:"privacy_num,omitempty" xml:"privacy_num,omitempty"`
	// 隐私号过期时间
	PrivacyExpireTime string `json:"privacy_expire_time,omitempty" xml:"privacy_expire_time,omitempty"`
	// 收货地址
	ReceiverTown string `json:"receiver_town,omitempty" xml:"receiver_town,omitempty"`
	// 收货地址
	ReceiverDistrict string `json:"receiver_district,omitempty" xml:"receiver_district,omitempty"`
	// 收货地址
	ReceiverCity string `json:"receiver_city,omitempty" xml:"receiver_city,omitempty"`
	// 收货地址
	ReceiverState string `json:"receiver_state,omitempty" xml:"receiver_state,omitempty"`
	// 收货地址
	ReceiverCountry string `json:"receiver_country,omitempty" xml:"receiver_country,omitempty"`
	// 计划id
	PlanId int64 `json:"plan_id,omitempty" xml:"plan_id,omitempty"`
	// 交易订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 发货期数
	CurrPhase int64 `json:"curr_phase,omitempty" xml:"curr_phase,omitempty"`
	// 发货商品数量
	GoodsNum int64 `json:"goods_num,omitempty" xml:"goods_num,omitempty"`
	// 计划状态
	PlanStatus int64 `json:"plan_status,omitempty" xml:"plan_status,omitempty"`
	// 计划退款状态
	PlanRefundStatus int64 `json:"plan_refund_status,omitempty" xml:"plan_refund_status,omitempty"`
}

DeliveryPlan 结构体

func GetDeliveryPlan added in v1.3.4

func GetDeliveryPlan() *DeliveryPlan

GetDeliveryPlan() 从对象池中获取DeliveryPlan

type ExpandCardInfo

type ExpandCardInfo struct {
	// 买卡订单本金
	BasicPrice string `json:"basic_price,omitempty" xml:"basic_price,omitempty"`
	// 买卡订单权益金
	ExpandPrice string `json:"expand_price,omitempty" xml:"expand_price,omitempty"`
	// 用卡订单使用的本金
	BasicPriceUsed string `json:"basic_price_used,omitempty" xml:"basic_price_used,omitempty"`
	// 用卡订单使用的权益金
	ExpandPriceUsed string `json:"expand_price_used,omitempty" xml:"expand_price_used,omitempty"`
}

ExpandCardInfo 结构体

func GetExpandCardInfo added in v1.3.4

func GetExpandCardInfo() *ExpandCardInfo

GetExpandCardInfo() 从对象池中获取ExpandCardInfo

type IdentifyInfo added in v1.2.9

type IdentifyInfo struct {
	// 三方鉴定物流相关信息
	IdentifyLogisticsInfos []IdentifyLogisticsInfo `json:"identify_logistics_infos,omitempty" xml:"identify_logistics_infos>identify_logistics_info,omitempty"`
	// 三方鉴定服务相关信息
	IdentifyServiceInfos []IdentifyServiceInfo `json:"identify_service_infos,omitempty" xml:"identify_service_infos>identify_service_info,omitempty"`
}

IdentifyInfo 结构体

func GetIdentifyInfo added in v1.3.4

func GetIdentifyInfo() *IdentifyInfo

GetIdentifyInfo() 从对象池中获取IdentifyInfo

type IdentifyLogisticsInfo added in v1.2.9

type IdentifyLogisticsInfo struct {
	// 物流公司
	LogisticsCompany string `json:"logistics_company,omitempty" xml:"logistics_company,omitempty"`
	// 运单号
	InvoiceNo string `json:"invoice_no,omitempty" xml:"invoice_no,omitempty"`
	// 退款单号
	RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 子订单号
	DetailOrderId int64 `json:"detail_order_id,omitempty" xml:"detail_order_id,omitempty"`
	// 阶段号
	StageNo int64 `json:"stage_no,omitempty" xml:"stage_no,omitempty"`
	// 是否退货
	Refund bool `json:"refund,omitempty" xml:"refund,omitempty"`
}

IdentifyLogisticsInfo 结构体

func GetIdentifyLogisticsInfo added in v1.3.4

func GetIdentifyLogisticsInfo() *IdentifyLogisticsInfo

GetIdentifyLogisticsInfo() 从对象池中获取IdentifyLogisticsInfo

type IdentifyServiceInfo added in v1.2.9

type IdentifyServiceInfo struct {
	// 标的物
	UnitId string `json:"unit_id,omitempty" xml:"unit_id,omitempty"`
	// 服务单号
	ServiceId string `json:"service_id,omitempty" xml:"service_id,omitempty"`
	// 子订单号
	DetailOrderId int64 `json:"detail_order_id,omitempty" xml:"detail_order_id,omitempty"`
}

IdentifyServiceInfo 结构体

func GetIdentifyServiceInfo added in v1.3.4

func GetIdentifyServiceInfo() *IdentifyServiceInfo

GetIdentifyServiceInfo() 从对象池中获取IdentifyServiceInfo

type LogisticServiceTag

type LogisticServiceTag struct {
	// 物流服务下的标签属性,多个标签之间有";"分隔
	ServiceTag string `json:"service_tag,omitempty" xml:"service_tag,omitempty"`
	// 消费者选快递请直接判断service_tag是否包含companyCode。而不要判断service_type
	ServiceType string `json:"service_type,omitempty" xml:"service_type,omitempty"`
}

LogisticServiceTag 结构体

func GetLogisticServiceTag added in v1.3.4

func GetLogisticServiceTag() *LogisticServiceTag

GetLogisticServiceTag() 从对象池中获取LogisticServiceTag

type LogisticsAgreement added in v1.2.9

type LogisticsAgreement struct {
	// 服务承诺/异常文案
	LogisticsServiceMsg string `json:"logistics_service_msg,omitempty" xml:"logistics_service_msg,omitempty"`
	// 物流服务业务身份
	AsdpBizType string `json:"asdp_biz_type,omitempty" xml:"asdp_biz_type,omitempty"`
	// 物流信息,多个值时用英文逗号隔开
	AsdpAds string `json:"asdp_ads,omitempty" xml:"asdp_ads,omitempty"`
	// 计划送达时间
	SignTime string `json:"sign_time,omitempty" xml:"sign_time,omitempty"`
	// 承诺/最晚送达时间
	PromiseSignTime string `json:"promise_sign_time,omitempty" xml:"promise_sign_time,omitempty"`
	// ERP应推单时间(主单)
	PushTime string `json:"push_time,omitempty" xml:"push_time,omitempty"`
	// 1:不支持子单部分发货
	NoDetailPartConsign string `json:"no_detail_part_consign,omitempty" xml:"no_detail_part_consign,omitempty"`
	// 1:代表该订单是预售下沉订单类型为前置表达
	SinkType string `json:"sink_type,omitempty" xml:"sink_type,omitempty"`
}

LogisticsAgreement 结构体

func GetLogisticsAgreement added in v1.3.4

func GetLogisticsAgreement() *LogisticsAgreement

GetLogisticsAgreement() 从对象池中获取LogisticsAgreement

type LogisticsConsignInfo added in v1.2.9

type LogisticsConsignInfo struct {
	// 成分品发货时效
	CombineItem []CombineConsignInfo `json:"combine_item,omitempty" xml:"combine_item>combine_consign_info,omitempty"`
	// 时效关联的订单好
	RelatedId string `json:"related_id,omitempty" xml:"related_id,omitempty"`
	// 商家的预计发货时间
	ConsignTime string `json:"consign_time,omitempty" xml:"consign_time,omitempty"`
	// 商家的预计发货时间
	RenderConsignTime string `json:"render_consign_time,omitempty" xml:"render_consign_time,omitempty"`
}

LogisticsConsignInfo 结构体

func GetLogisticsConsignInfo added in v1.3.4

func GetLogisticsConsignInfo() *LogisticsConsignInfo

GetLogisticsConsignInfo() 从对象池中获取LogisticsConsignInfo

type LogisticsInfo

type LogisticsInfo struct {
	// 货品仓储id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 货品仓储code
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 如是菜鸟仓,则将菜鸟仓的区域仓code进行填充,如是商家仓发货则填充SC
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 子订单类型:标示该子交易单来源交易,还是BMS增加的,枚举值(00=交易,10=BMS绑定)
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 商品的最小库存单位Sku的id
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 发货类型 CN=菜鸟发货,SC的商家仓发货
	ConsignType string `json:"consign_type,omitempty" xml:"consign_type,omitempty"`
	// 组合货品ID
	CombineItemId string `json:"combine_item_id,omitempty" xml:"combine_item_id,omitempty"`
	// 组合货品Code
	CombineItemCode string `json:"combine_item_code,omitempty" xml:"combine_item_code,omitempty"`
	// 货品BarCode
	BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"`
	// 择配信息
	DeliveryCps string `json:"delivery_cps,omitempty" xml:"delivery_cps,omitempty"`
	// 推荐配送erp编码
	BizDeliveryCode string `json:"biz_delivery_code,omitempty" xml:"biz_delivery_code,omitempty"`
	// 仓商家编码
	BizStoreCode string `json:"biz_store_code,omitempty" xml:"biz_store_code,omitempty"`
	// 仓配建议类型
	BizSdType string `json:"biz_sd_type,omitempty" xml:"biz_sd_type,omitempty"`
	// 服务决策的发货地,国家
	SendCountry string `json:"send_country,omitempty" xml:"send_country,omitempty"`
	// 服务决策的发货地,省份
	SendState string `json:"send_state,omitempty" xml:"send_state,omitempty"`
	// 服务决策的发货地,城市
	SendCity string `json:"send_city,omitempty" xml:"send_city,omitempty"`
	// 服务决策的发货地,地区
	SendDistrict string `json:"send_district,omitempty" xml:"send_district,omitempty"`
	// 服务决策的发货地,街道地址
	SendTown string `json:"send_town,omitempty" xml:"send_town,omitempty"`
	// 服务决策的发货地最小地址编码
	SendDivisionCode string `json:"send_division_code,omitempty" xml:"send_division_code,omitempty"`
	// 服务决策的快递黑名单列表
	BlackDeliveryCps string `json:"black_delivery_cps,omitempty" xml:"black_delivery_cps,omitempty"`
	// 服务决策的快递白名单列表
	WhiteDeliveryCps string `json:"white_delivery_cps,omitempty" xml:"white_delivery_cps,omitempty"`
	// 未使用仓建议报错
	UnusedWarehouseErrorMsg string `json:"unused_warehouse_error_msg,omitempty" xml:"unused_warehouse_error_msg,omitempty"`
	// 未使用配建议报错
	UnusedDeliveryErrorMsg string `json:"unused_delivery_error_msg,omitempty" xml:"unused_delivery_error_msg,omitempty"`
	// 使用禁止配报错
	UsedBlackDeliveryErrorMsg string `json:"used_black_delivery_error_msg,omitempty" xml:"used_black_delivery_error_msg,omitempty"`
	// 承诺/最晚出库时间
	PromiseOutboundTime string `json:"promise_outbound_time,omitempty" xml:"promise_outbound_time,omitempty"`
	// 承诺/最晚揽收时间
	PromiseCollectTime string `json:"promise_collect_time,omitempty" xml:"promise_collect_time,omitempty"`
	// 主交易号
	TradeId int64 `json:"trade_id,omitempty" xml:"trade_id,omitempty"`
	// 子交易号
	SubTradeId int64 `json:"sub_trade_id,omitempty" xml:"sub_trade_id,omitempty"`
	// 应发数量
	NeedConsignNum int64 `json:"need_consign_num,omitempty" xml:"need_consign_num,omitempty"`
	// 商品数字编号
	NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"`
	// 组合货品比例
	ItemRatio int64 `json:"item_ratio,omitempty" xml:"item_ratio,omitempty"`
	// 订单推荐配送类型      * 0:子单无配建议;ERP按照自己的逻辑进行择配。      * 1:子单有推荐配list,erp可按需参考。      * 2:子单有推荐配list,erp必须在推荐配list中选择配品牌。      * 3:子单有禁用配list,erp需要过滤配品牌。
	BizDeliveryType int64 `json:"biz_delivery_type,omitempty" xml:"biz_delivery_type,omitempty"`
}

LogisticsInfo 结构体

func GetLogisticsInfo added in v1.3.4

func GetLogisticsInfo() *LogisticsInfo

GetLogisticsInfo() 从对象池中获取LogisticsInfo

type LogisticsModifyInfo added in v1.2.9

type LogisticsModifyInfo struct {
	// 修改关联的订单好
	RelatedId string `json:"related_id,omitempty" xml:"related_id,omitempty"`
	// 修改后的发货时效
	ConsignTime string `json:"consign_time,omitempty" xml:"consign_time,omitempty"`
	// 修改前的发货时效
	OriginConsignTime string `json:"origin_consign_time,omitempty" xml:"origin_consign_time,omitempty"`
	// 修改时间
	ModifyTime string `json:"modify_time,omitempty" xml:"modify_time,omitempty"`
	// 修改原因
	ModifyReason string `json:"modify_reason,omitempty" xml:"modify_reason,omitempty"`
	// 成分品的商品id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 成分品的skuId
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 成分品的组合id
	CombId string `json:"comb_id,omitempty" xml:"comb_id,omitempty"`
}

LogisticsModifyInfo 结构体

func GetLogisticsModifyInfo added in v1.3.4

func GetLogisticsModifyInfo() *LogisticsModifyInfo

GetLogisticsModifyInfo() 从对象池中获取LogisticsModifyInfo

type LogisticsTag

type LogisticsTag struct {
	// 服务标签
	LogisticServiceTagList []LogisticServiceTag `json:"logistic_service_tag_list,omitempty" xml:"logistic_service_tag_list>logistic_service_tag,omitempty"`
	// 主订单或子订单的订单号
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

LogisticsTag 结构体

func GetLogisticsTag added in v1.3.4

func GetLogisticsTag() *LogisticsTag

GetLogisticsTag() 从对象池中获取LogisticsTag

type Order

type Order struct {
	// 发货信息,目前只记录了发货方式
	ShipInfo []ShipInfo `json:"ship_info,omitempty" xml:"ship_info>ship_info,omitempty"`
	// 组合品信息
	CombineItemInfo []CombineSubItemDo `json:"combine_item_info,omitempty" xml:"combine_item_info>combine_sub_item_do,omitempty"`
	// 发货信息,目前只记录了发货方式
	ShpInfo []ShipInfo `json:"shp_info,omitempty" xml:"shp_info>ship_info,omitempty"`
	// 商品标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 商品图片的绝对路径
	PicPath string `json:"pic_path,omitempty" xml:"pic_path,omitempty"`
	// 商品价格。精确到2位小数;单位:元。如:200.07,表示:200元7分
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 商品的最小库存单位Sku的id.可以通过taobao.item.sku.get获取详细的Sku信息
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 商家外部编码(可与商家外部系统对接)。外部商家自己定义的商品Item的id,可以通过taobao.items.custom.get获取商品的Item的信息
	OuterIid string `json:"outer_iid,omitempty" xml:"outer_iid,omitempty"`
	// 外部网店自己定义的Sku编号
	OuterSkuId string `json:"outer_sku_id,omitempty" xml:"outer_sku_id,omitempty"`
	// 退款状态。退款状态。可选值 WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意) WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货) WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货) SELLER_REFUSE_BUYER(卖家拒绝退款) CLOSED(退款关闭) SUCCESS(退款成功)
	RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 订单状态(请关注此状态,如果为TRADE_CLOSED_BY_TAOBAO状态,则不要对此订单进行发货,切记啊!)。可选值: <ul><li>TRADE_NO_CREATE_PAY(没有创建支付宝交易) </li><li>WAIT_BUYER_PAY(等待买家付款) </li><li>WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款) </li><li>WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货) </li><li>TRADE_BUYER_SIGNED(买家已签收,货到付款专用) </li><li>TRADE_FINISHED(交易成功) </li><li>TRADE_CLOSED(付款以后用户退款成功,交易自动关闭) </li><li>TRADE_CLOSED_BY_TAOBAO(付款以前,卖家或买家主动关闭交易)</li><li>PAY_PENDING(国际信用卡支付付款确认中)</li></ul>
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 应付金额(商品价格 * 商品数量 + 手工调整金额 - 子订单级订单优惠金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分
	TotalFee string `json:"total_fee,omitempty" xml:"total_fee,omitempty"`
	// 子订单实付金额。精确到2位小数,单位:元。如:200.07,表示:200元7分。对于多子订单的交易,计算公式如下:payment = price * num + adjust_fee - discount_fee ;单子订单交易,payment与主订单的payment一致,对于退款成功的子订单,由于主订单的优惠分摊金额,会造成该字段可能不为0.00元。建议使用退款前的实付金额减去退款单中的实际退款金额计算。
	Payment string `json:"payment,omitempty" xml:"payment,omitempty"`
	// 子订单级订单优惠金额。精确到2位小数;单位:元。如:200.07,表示:200元7分
	DiscountFee string `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"`
	// 手工调整金额.格式为:1.01;单位:元;精确到小数点后两位.
	AdjustFee string `json:"adjust_fee,omitempty" xml:"adjust_fee,omitempty"`
	// 分摊之后的实付金额
	DivideOrderFee string `json:"divide_order_fee,omitempty" xml:"divide_order_fee,omitempty"`
	// 优惠分摊
	PartMjzDiscount string `json:"part_mjz_discount,omitempty" xml:"part_mjz_discount,omitempty"`
	// SKU的值。如:机身颜色:黑色;手机套餐:官方标配
	SkuPropertiesName string `json:"sku_properties_name,omitempty" xml:"sku_properties_name,omitempty"`
	// 套餐的值。如:M8原装电池:便携支架:M8专用座充:莫凡保护袋
	ItemMealName string `json:"item_meal_name,omitempty" xml:"item_meal_name,omitempty"`
	// 订单快照URL
	SnapshotUrl string `json:"snapshot_url,omitempty" xml:"snapshot_url,omitempty"`
	// 订单超时到期时间。格式:yyyy-MM-dd HH:mm:ss
	TimeoutActionTime string `json:"timeout_action_time,omitempty" xml:"timeout_action_time,omitempty"`
	// 商品备注
	ItemMemo string `json:"item_memo,omitempty" xml:"item_memo,omitempty"`
	// 最近退款ID
	RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 卖家类型,可选值为:B(商城商家),C(普通卖家)
	SellerType string `json:"seller_type,omitempty" xml:"seller_type,omitempty"`
	// 子订单的交易结束时间说明:子订单有单独的结束时间,与主订单的结束时间可能有所不同,在有退款发起的时候或者是主订单分阶段付款的时候,子订单的结束时间会早于主订单的结束时间,所以开放这个字段便于订单结束状态的判断
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 子订单来源,如jhs(聚划算)、taobao(淘宝)、wap(无线)
	OrderFrom string `json:"order_from,omitempty" xml:"order_from,omitempty"`
	// 子订单发货时间,当卖家对订单进行了多次发货,子订单的发货时间和主订单的发货时间可能不一样了,那么就需要以子订单的时间为准。(没有进行多次发货的订单,主订单的发货时间和子订单的发货时间都一样)
	ConsignTime string `json:"consign_time,omitempty" xml:"consign_time,omitempty"`
	// 子订单的运送方式(卖家对订单进行多次发货之后,一个主订单下的子订单的运送方式可能不同,用order.shipping_type来区分子订单的运送方式)
	ShippingType string `json:"shipping_type,omitempty" xml:"shipping_type,omitempty"`
	// 子订单发货的快递公司名称
	LogisticsCompany string `json:"logistics_company,omitempty" xml:"logistics_company,omitempty"`
	// 子订单所在包裹的运单号
	InvoiceNo string `json:"invoice_no,omitempty" xml:"invoice_no,omitempty"`
	// 对应门票有效期的外部id
	TicketOuterId string `json:"ticket_outer_id,omitempty" xml:"ticket_outer_id,omitempty"`
	// 门票有效期的key
	TicketExpdateKey string `json:"ticket_expdate_key,omitempty" xml:"ticket_expdate_key,omitempty"`
	// 发货的仓库编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 支持家装类物流的类型
	TmserSpuCode string `json:"tmser_spu_code,omitempty" xml:"tmser_spu_code,omitempty"`
	// 天猫国际官网直供子订单关税税费
	SubOrderTaxFee string `json:"sub_order_tax_fee,omitempty" xml:"sub_order_tax_fee,omitempty"`
	// 天猫国际官网直供子订单关税税率
	SubOrderTaxRate string `json:"sub_order_tax_rate,omitempty" xml:"sub_order_tax_rate,omitempty"`
	// 天猫汽车服务预约时间
	EtSerTime string `json:"et_ser_time,omitempty" xml:"et_ser_time,omitempty"`
	// 电子凭证预约门店地址
	EtShopName string `json:"et_shop_name,omitempty" xml:"et_shop_name,omitempty"`
	// 电子凭证核销门店地址
	EtVerifiedShopName string `json:"et_verified_shop_name,omitempty" xml:"et_verified_shop_name,omitempty"`
	// 车牌号码
	EtPlateNumber string `json:"et_plate_number,omitempty" xml:"et_plate_number,omitempty"`
	// 子订单预计发货时间
	EstimateConTime string `json:"estimate_con_time,omitempty" xml:"estimate_con_time,omitempty"`
	// bind_oid字段的升级,支持返回绑定的多个子订单,多个子订单以半角逗号分隔
	BindOids string `json:"bind_oids,omitempty" xml:"bind_oids,omitempty"`
	// 征集预售订单征集状态:1(征集中),2(征集成功),3(征集失败)
	ZhengjiStatus string `json:"zhengji_status,omitempty" xml:"zhengji_status,omitempty"`
	// 免单资格属性
	MdQualification string `json:"md_qualification,omitempty" xml:"md_qualification,omitempty"`
	// 免单金额
	MdFee string `json:"md_fee,omitempty" xml:"md_fee,omitempty"`
	// 定制信息
	Customization string `json:"customization,omitempty" xml:"customization,omitempty"`
	// 库存类型:6为在途
	InvType string `json:"inv_type,omitempty" xml:"inv_type,omitempty"`
	// 仓储信息
	Shipper string `json:"shipper,omitempty" xml:"shipper,omitempty"`
	// 订单履行类型,如喵鲜生极速达(jsd)
	FType string `json:"f_type,omitempty" xml:"f_type,omitempty"`
	// 订单履行状态,如喵鲜生极速达:分单完成
	FStatus string `json:"f_status,omitempty" xml:"f_status,omitempty"`
	// 单履行内容,如喵鲜生极速达:storeId,phone
	FTerm string `json:"f_term,omitempty" xml:"f_term,omitempty"`
	// 天猫搭配宝
	ComboId string `json:"combo_id,omitempty" xml:"combo_id,omitempty"`
	// 子订单扩展属性:<br/> is_free_down_payment:是否免首付:true:是,false:否,可选字段<br/> car_back_payment:返还免首付金额,单位:分,<br/> car_ref_activity_id:服务商传入活动ID,依赖外部服务商传入;<br/>
	OrderAttr string `json:"order_attr,omitempty" xml:"order_attr,omitempty"`
	// assemblyRela
	AssemblyRela string `json:"assembly_rela,omitempty" xml:"assembly_rela,omitempty"`
	// assemblyPrice
	AssemblyPrice string `json:"assembly_price,omitempty" xml:"assembly_price,omitempty"`
	// assemblyItem
	AssemblyItem string `json:"assembly_item,omitempty" xml:"assembly_item,omitempty"`
	// 天猫国际子订单计税优惠金额
	SubOrderTaxPromotionFee string `json:"sub_order_tax_promotion_fee,omitempty" xml:"sub_order_tax_promotion_fee,omitempty"`
	// downPayment
	DownPayment string `json:"down_payment,omitempty" xml:"down_payment,omitempty"`
	// downPaymentRatio
	DownPaymentRatio string `json:"down_payment_ratio,omitempty" xml:"down_payment_ratio,omitempty"`
	// monthPayment
	MonthPayment string `json:"month_payment,omitempty" xml:"month_payment,omitempty"`
	// tailPayment
	TailPayment string `json:"tail_payment,omitempty" xml:"tail_payment,omitempty"`
	// installmentNum
	InstallmentNum string `json:"installment_num,omitempty" xml:"installment_num,omitempty"`
	// penalty
	Penalty string `json:"penalty,omitempty" xml:"penalty,omitempty"`
	// serviceFee
	ServiceFee string `json:"service_fee,omitempty" xml:"service_fee,omitempty"`
	// carTaker
	CarTaker string `json:"car_taker,omitempty" xml:"car_taker,omitempty"`
	// carTakerPhone
	CarTakerPhone string `json:"car_taker_phone,omitempty" xml:"car_taker_phone,omitempty"`
	// carTakerID
	CarTakerId string `json:"car_taker_id,omitempty" xml:"car_taker_id,omitempty"`
	// carStoreCode
	CarStoreCode string `json:"car_store_code,omitempty" xml:"car_store_code,omitempty"`
	// carStoreName
	CarStoreName string `json:"car_store_name,omitempty" xml:"car_store_name,omitempty"`
	// outUniqueId
	OutUniqueId string `json:"out_unique_id,omitempty" xml:"out_unique_id,omitempty"`
	// wsBankApplyNo
	WsBankApplyNo string `json:"ws_bank_apply_no,omitempty" xml:"ws_bank_apply_no,omitempty"`
	// oidStr
	OidStr string `json:"oid_str,omitempty" xml:"oid_str,omitempty"`
	// 天猫国际订单包税金额
	TaxCouponDiscount string `json:"tax_coupon_discount,omitempty" xml:"tax_coupon_discount,omitempty"`
	// nrReduceInvFail
	NrReduceInvFail string `json:"nr_reduce_inv_fail,omitempty" xml:"nr_reduce_inv_fail,omitempty"`
	// 新零售商家端商品唯一编号
	NrOuterIid string `json:"nr_outer_iid,omitempty" xml:"nr_outer_iid,omitempty"`
	// bind_oids字段的升级,在交易成功和交易关闭状态下也能获取到,支持返回绑定的多个子订单,多个子订单以半角逗号分隔
	BindOidsAllStatus string `json:"bind_oids_all_status,omitempty" xml:"bind_oids_all_status,omitempty"`
	// 导购员Id
	O2oGuideId string `json:"o2o_guide_id,omitempty" xml:"o2o_guide_id,omitempty"`
	// 导购员名称
	O2oGuideName string `json:"o2o_guide_name,omitempty" xml:"o2o_guide_name,omitempty"`
	// 门店Id
	O2oShopId string `json:"o2o_shop_id,omitempty" xml:"o2o_shop_id,omitempty"`
	// 门店名称
	O2oShopName string `json:"o2o_shop_name,omitempty" xml:"o2o_shop_name,omitempty"`
	// 云店交易链路,为tmall.daogoubao.cloudstore时表示云店链路
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 云店标记为1,且bizCode不为tmall.daogoubao.cloudstore时,为旗舰店订单
	CloudStore string `json:"cloud_store,omitempty" xml:"cloud_store,omitempty"`
	// 云店是否扣拥
	HjSettleNoCommission string `json:"hj_settle_no_commission,omitempty" xml:"hj_settle_no_commission,omitempty"`
	// 云店接单标记
	OrderTaking string `json:"order_taking,omitempty" xml:"order_taking,omitempty"`
	// 云店改价用token
	CloudStoreToken string `json:"cloud_store_token,omitempty" xml:"cloud_store_token,omitempty"`
	// 云店pos单号
	CloudStoreBindPos string `json:"cloud_store_bind_pos,omitempty" xml:"cloud_store_bind_pos,omitempty"`
	// 天猫未来店线下店铺 ID
	RetailStoreId string `json:"retail_store_id,omitempty" xml:"retail_store_id,omitempty"`
	// 天猫未来店外部 ERP 商品 ID
	OutItemId string `json:"out_item_id,omitempty" xml:"out_item_id,omitempty"`
	// 新零售全渠道订单:商家自有货品编码
	RtOmniOuterScId string `json:"rt_omni_outer_sc_id,omitempty" xml:"rt_omni_outer_sc_id,omitempty"`
	// 新零售全渠道订单:后端货品ID
	RtOmniScId string `json:"rt_omni_sc_id,omitempty" xml:"rt_omni_sc_id,omitempty"`
	// 有值表示买家修改了地址;1表示付款后改地址;2表示付款前改地址
	ModifyAddress string `json:"modify_address,omitempty" xml:"modify_address,omitempty"`
	// 买家修改地址时间
	TiModifyAddressTime string `json:"ti_modify_address_time,omitempty" xml:"ti_modify_address_time,omitempty"`
	// 有值表示信用购订单;1表示信用购一期;2表示信用购二期;3表示信用购三期
	CreditBuy string `json:"credit_buy,omitempty" xml:"credit_buy,omitempty"`
	// 子订单商家代缴税费
	STariffFee string `json:"s_tariff_fee,omitempty" xml:"s_tariff_fee,omitempty"`
	// 时效服务身份,如tmallPromise代表天猫时效承诺
	TimingPromise string `json:"timing_promise,omitempty" xml:"timing_promise,omitempty"`
	// 时效服务字段,服务字段,会有多个服务值,以英文半角逗号","切割
	PromiseService string `json:"promise_service,omitempty" xml:"promise_service,omitempty"`
	// 预计送达时间
	EsDate string `json:"es_date,omitempty" xml:"es_date,omitempty"`
	// 预计配送时间段
	EsRange string `json:"es_range,omitempty" xml:"es_range,omitempty"`
	// 预约配送,用户预约时间
	OsDate string `json:"os_date,omitempty" xml:"os_date,omitempty"`
	// 预约配送,用户预约时间段
	OsRange string `json:"os_range,omitempty" xml:"os_range,omitempty"`
	// 物流截单时间,分钟
	CutoffMinutes string `json:"cutoff_minutes,omitempty" xml:"cutoff_minutes,omitempty"`
	// 物流时效,相对时间,单位是天
	EsTime string `json:"es_time,omitempty" xml:"es_time,omitempty"`
	// 最晚发货时间
	DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
	// 最晚揽收时间
	CollectTime string `json:"collect_time,omitempty" xml:"collect_time,omitempty"`
	// 最晚派送时间
	DispatchTime string `json:"dispatch_time,omitempty" xml:"dispatch_time,omitempty"`
	// 最晚签收时间
	SignTime string `json:"sign_time,omitempty" xml:"sign_time,omitempty"`
	// 信用购履约结束时间
	PromiseEndTime string `json:"promise_end_time,omitempty" xml:"promise_end_time,omitempty"`
	// 前N有礼活动id
	OsActivityId string `json:"os_activity_id,omitempty" xml:"os_activity_id,omitempty"`
	// 前N有礼奖品的商品id
	OsFgItemId string `json:"os_fg_item_id,omitempty" xml:"os_fg_item_id,omitempty"`
	// 前N有礼获得奖品的数量
	OsGiftCount string `json:"os_gift_count,omitempty" xml:"os_gift_count,omitempty"`
	// 前N有礼中奖名次,获得奖品的订单才会有该字段
	OsSortNum string `json:"os_sort_num,omitempty" xml:"os_sort_num,omitempty"`
	// 使用淘金币的数量,以分为单位,和订单标propoint中间那一段一样
	Propoint string `json:"propoint,omitempty" xml:"propoint,omitempty"`
	// 特殊的退款类型,比如直播返现、价保
	SpecialRefundType string `json:"special_refund_type,omitempty" xml:"special_refund_type,omitempty"`
	// 透出的额外信息
	ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"`
	// 同城购渠道店id
	BrandLightShopStoreId string `json:"brand_light_shop_store_id,omitempty" xml:"brand_light_shop_store_id,omitempty"`
	// 同城购订单来源
	BrandLightShopSource string `json:"brand_light_shop_source,omitempty" xml:"brand_light_shop_source,omitempty"`
	// 服务供应链-服务订单类型,1:主子挂载;2:双主挂载;3:单独售卖
	ServiceOrderType string `json:"service_order_type,omitempty" xml:"service_order_type,omitempty"`
	// 服务供应链-服务商外部编码
	ServiceOuterId string `json:"service_outer_id,omitempty" xml:"service_outer_id,omitempty"`
	// 购物金核销子订单权益金分摊金额(单位为元)
	ExpandCardExpandPriceUsedSuborder string `json:"expand_card_expand_price_used_suborder,omitempty" xml:"expand_card_expand_price_used_suborder,omitempty"`
	// 购物金核销子订单本金分摊金额(单位为元)
	ExpandCardBasicPriceUsedSuborder string `json:"expand_card_basic_price_used_suborder,omitempty" xml:"expand_card_basic_price_used_suborder,omitempty"`
	// 预售订单立减金额
	Lijian string `json:"lijian,omitempty" xml:"lijian,omitempty"`
	// 优仓业务场景下 1(自动流转)/0(非自动流转)
	AutoFlow string `json:"auto_flow,omitempty" xml:"auto_flow,omitempty"`
	// 订单是有代发订单,为空表示该订单暂无代发单据,distribute-该子订单有已分配代发单据,cancel-订单的代发单据都已取消,
	DistributeStatus string `json:"distribute_status,omitempty" xml:"distribute_status,omitempty"`
	// 是否为闲鱼订单,1是,0否
	IsIdle string `json:"is_idle,omitempty" xml:"is_idle,omitempty"`
	// 赠品关联的id,主品订单下此字段表示赠品订单id,赠品订单表示主品订单id
	GiftMids string `json:"gift_mids,omitempty" xml:"gift_mids,omitempty"`
	// 承诺/最晚揽收时间
	PromiseCollectTime string `json:"promise_collect_time,omitempty" xml:"promise_collect_time,omitempty"`
	// 订单是否属于b2b代销
	B2bDaixiao string `json:"b2b_daixiao,omitempty" xml:"b2b_daixiao,omitempty"`
	// 套餐购套餐ID
	BundleId string `json:"bundle_id,omitempty" xml:"bundle_id,omitempty"`
	// 套餐购套餐名称
	BundleOutName string `json:"bundle_out_name,omitempty" xml:"bundle_out_name,omitempty"`
	// 主品关联的1元商品订单号
	OneYuanReservationOrders string `json:"one_yuan_reservation_orders,omitempty" xml:"one_yuan_reservation_orders,omitempty"`
	// 鉴定编码
	JewccNo string `json:"jewcc_no,omitempty" xml:"jewcc_no,omitempty"`
	// 订单修改时间,目前只有taobao.trade.ordersku.update会返回此字段。
	Modified string `json:"modified,omitempty" xml:"modified,omitempty"`
	// 商品数字ID
	NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"`
	// 子订单编号
	Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"`
	// 套餐ID
	ItemMealId int64 `json:"item_meal_id,omitempty" xml:"item_meal_id,omitempty"`
	// 购买数量。取值范围:大于零的整数
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
	// 交易商品对应的类目ID
	Cid int64 `json:"cid,omitempty" xml:"cid,omitempty"`
	// 捆绑的子订单号,表示该子订单要和捆绑的子订单一起发货,用于卖家子订单捆绑发货
	BindOid int64 `json:"bind_oid,omitempty" xml:"bind_oid,omitempty"`
	// 花呗分期期数
	FqgNum int64 `json:"fqg_num,omitempty" xml:"fqg_num,omitempty"`
	// sortInfo
	SortInfo *SortInfo `json:"sort_info,omitempty" xml:"sort_info,omitempty"`
	// 订单履约类型
	TradeFulfillmentType int64 `json:"trade_fulfillment_type,omitempty" xml:"trade_fulfillment_type,omitempty"`
	// 套餐购套餐类型标识 1营销套餐-PromoBundle 2人群套餐-CrowdBundle
	BundleType int64 `json:"bundle_type,omitempty" xml:"bundle_type,omitempty"`
	// 买家是否已评价。可选值:true(已评价),false(未评价)
	BuyerRate bool `json:"buyer_rate,omitempty" xml:"buyer_rate,omitempty"`
	// 卖家是否已评价。可选值:true(已评价),false(未评价)
	SellerRate bool `json:"seller_rate,omitempty" xml:"seller_rate,omitempty"`
	// 是否超卖
	IsOversold bool `json:"is_oversold,omitempty" xml:"is_oversold,omitempty"`
	// 是否是服务订单,是返回true,否返回false。
	IsServiceOrder bool `json:"is_service_order,omitempty" xml:"is_service_order,omitempty"`
	// 表示订单交易是否含有对应的代销采购单。如果该订单中存在一个对应的代销采购单,那么该值为true;反之,该值为false。
	IsDaixiao bool `json:"is_daixiao,omitempty" xml:"is_daixiao,omitempty"`
	// 子订单是否是www订单
	IsWww bool `json:"is_www,omitempty" xml:"is_www,omitempty"`
	// 是否发货
	IsShShip bool `json:"is_sh_ship,omitempty" xml:"is_sh_ship,omitempty"`
	// 是否商家承担手续费
	IsFqgSFee bool `json:"is_fqg_s_fee,omitempty" xml:"is_fqg_s_fee,omitempty"`
	// 天猫国际订单是否包税
	TaxFree bool `json:"tax_free,omitempty" xml:"tax_free,omitempty"`
	// 是否是考拉商品订单
	IsKaola bool `json:"is_kaola,omitempty" xml:"is_kaola,omitempty"`
	// 子订单优惠贬值
	IsDevalueFee bool `json:"is_devalue_fee,omitempty" xml:"is_devalue_fee,omitempty"`
	// 是否是赠品订单
	IsFreeGift bool `json:"is_free_gift,omitempty" xml:"is_free_gift,omitempty"`
	// 是否含有赠品
	HasGift bool `json:"has_gift,omitempty" xml:"has_gift,omitempty"`
	// 表示该子订单会ascp会自动流转到菜鸟仓发货
	IsForceDc bool `json:"is_force_dc,omitempty" xml:"is_force_dc,omitempty"`
	// 仅对赠品子单生效,退货时赠品是否需要随主品一起退回,字段缺失/true-需要退回,false-无需退回
	NeedReturn bool `json:"need_return,omitempty" xml:"need_return,omitempty"`
	// 是否家装分销订单,入参fields中传入orders.is_jzfx时返回
	IsJzfx bool `json:"is_jzfx,omitempty" xml:"is_jzfx,omitempty"`
}

Order 结构体

func GetOrder added in v1.3.4

func GetOrder() *Order

GetOrder() 从对象池中获取Order

type OrderAmount

type OrderAmount struct {
	// 商品标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// SKU的值。如:机身颜色:黑色;手机套餐:官方标配
	SkuPropertiesName string `json:"sku_properties_name,omitempty" xml:"sku_properties_name,omitempty"`
	// 商品价格。精确到2位小数;单位:元。如:200.07,表示:200元7分
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 子订单的系统优惠金额。精确到2位小数;单位:元。如:200.07,表示:200元7分
	DiscountFee string `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"`
	// 子订单的系统优惠的名称,对应于discount_fee的名称
	PromotionName string `json:"promotion_name,omitempty" xml:"promotion_name,omitempty"`
	// 卖家手工调整的子订单的优惠金额.格式为:1.01;单位:元;精确到小数点后两位.
	AdjustFee string `json:"adjust_fee,omitempty" xml:"adjust_fee,omitempty"`
	// 分摊之后的实付金额
	DivideOrderFee string `json:"divide_order_fee,omitempty" xml:"divide_order_fee,omitempty"`
	// 优惠分摊
	PartMjzDiscount string `json:"part_mjz_discount,omitempty" xml:"part_mjz_discount,omitempty"`
	// 子订单实付金额。精确到2位小数,单位:元。如:200.07,表示:200元7分。计算公式如下:payment = price * num + adjust_fee - discount_fee + post_fee(邮费,单笔子订单时子订单实付金额包含邮费,多笔子订单时不包含邮费);对于退款成功的子订单,由于主订单的优惠分摊金额,会造成该字段可能不为0.00元。建议使用退款前的实付金额减去退款单中的实际退款金额计算。
	Payment string `json:"payment,omitempty" xml:"payment,omitempty"`
	// 子交易订单编号
	Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"`
	// 子订单对应的商品数字id
	NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"`
	// 子订单对应的商品的sku_id
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 子交易订单中购买商品的数量
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
}

OrderAmount 结构体

func GetOrderAmount added in v1.3.4

func GetOrderAmount() *OrderAmount

GetOrderAmount() 从对象池中获取OrderAmount

type OrderAssembleResponse

type OrderAssembleResponse struct {
	// 回传结果List
	OrderGroupResponses []OrderGroupResponse `json:"order_group_responses,omitempty" xml:"order_group_responses>order_group_response,omitempty"`
}

OrderAssembleResponse 结构体

func GetOrderAssembleResponse added in v1.3.4

func GetOrderAssembleResponse() *OrderAssembleResponse

GetOrderAssembleResponse() 从对象池中获取OrderAssembleResponse

type OrderGroup

type OrderGroup struct {
	// 淘宝交易子订单id
	TaobaoSubOrderId string `json:"taobao_sub_order_id,omitempty" xml:"taobao_sub_order_id,omitempty"`
	// 淘宝单号可以是交易订单、换货单、补货单、代发单或分销单等,当 order_type=0时,order_id =  taobao_parent_order_id。
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// erp系统内的订单id
	ErpOrderId string `json:"erp_order_id,omitempty" xml:"erp_order_id,omitempty"`
	// 淘宝交易主订单id
	TaobaoParentOrderId string `json:"taobao_parent_order_id,omitempty" xml:"taobao_parent_order_id,omitempty"`
	// order_id的类型,0:淘宝交易订单,1: 换货单,2:分销单,3:补货单,4:代发单
	OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 商品类型, 0:下单货品,1:赠品,2:其他
	ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"`
}

OrderGroup 结构体

func GetOrderGroup added in v1.3.4

func GetOrderGroup() *OrderGroup

GetOrderGroup() 从对象池中获取OrderGroup

type OrderGroupResponse

type OrderGroupResponse struct {
	// 入参中的groupId
	GroupId string `json:"group_id,omitempty" xml:"group_id,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 回传结果
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

OrderGroupResponse 结构体

func GetOrderGroupResponse added in v1.3.4

func GetOrderGroupResponse() *OrderGroupResponse

GetOrderGroupResponse() 从对象池中获取OrderGroupResponse

type OrderMerge

type OrderMerge struct {
	// 收件人ID (Open Addressee ID),长度在128个字符之内。
	Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"`
	// 订单ID
	Tid string `json:"tid,omitempty" xml:"tid,omitempty"`
}

OrderMerge 结构体

func GetOrderMerge added in v1.3.4

func GetOrderMerge() *OrderMerge

GetOrderMerge() 从对象池中获取OrderMerge

type OrderQuery

type OrderQuery struct {
	// 收件人电话号码
	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
	// 收件人的手机号
	ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"`
	// 收件人的姓名
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 查询三个月内交易创建时间开始。格式:yyyy-MM-dd HH:mm:ss
	EndCreated string `json:"end_created,omitempty" xml:"end_created,omitempty"`
	// 查询交易创建时间结束。格式:yyyy-MM-dd HH:mm:ss
	StartCreated string `json:"start_created,omitempty" xml:"start_created,omitempty"`
}

OrderQuery 结构体

func GetOrderQuery added in v1.3.4

func GetOrderQuery() *OrderQuery

GetOrderQuery() 从对象池中获取OrderQuery

type PackageGoodsDetail added in v1.2.9

type PackageGoodsDetail struct {
	// 商品数字编号
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// sku_id
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 数量
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
}

PackageGoodsDetail 结构体

func GetPackageGoodsDetail added in v1.3.4

func GetPackageGoodsDetail() *PackageGoodsDetail

GetPackageGoodsDetail() 从对象池中获取PackageGoodsDetail

type PromotionDetail

type PromotionDetail struct {
	// 优惠信息的名称
	PromotionName string `json:"promotion_name,omitempty" xml:"promotion_name,omitempty"`
	// 优惠金额(免运费、限时打折时为空),单位:元
	DiscountFee string `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"`
	// 满就送商品时,所送商品的名称
	GiftItemName string `json:"gift_item_name,omitempty" xml:"gift_item_name,omitempty"`
	// 赠品的宝贝id
	GiftItemId string `json:"gift_item_id,omitempty" xml:"gift_item_id,omitempty"`
	// 满就送礼物的礼物数量
	GiftItemNum string `json:"gift_item_num,omitempty" xml:"gift_item_num,omitempty"`
	// 优惠活动的描述
	PromotionDesc string `json:"promotion_desc,omitempty" xml:"promotion_desc,omitempty"`
	// 优惠id,(由营销工具id、优惠活动id和优惠详情id组成,结构为:营销工具id-优惠活动id_优惠详情id,如mjs-123024_211143)
	PromotionId string `json:"promotion_id,omitempty" xml:"promotion_id,omitempty"`
	// 分摊优惠金额(免运费、限时打折时为空),单位:元
	KdDiscountFee string `json:"kd_discount_fee,omitempty" xml:"kd_discount_fee,omitempty"`
	// 若优惠项在主订单上,返回子订单的分摊信息
	KdChildDiscountFee string `json:"kd_child_discount_fee,omitempty" xml:"kd_child_discount_fee,omitempty"`
	// 交易的主订单或子订单号
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

PromotionDetail 结构体

func GetPromotionDetail added in v1.3.4

func GetPromotionDetail() *PromotionDetail

GetPromotionDetail() 从对象池中获取PromotionDetail

type Receiver

type Receiver struct {
	// 交易编号
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 收件人ID (Open Addressee ID),长度在128个字符之内。
	Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"`
	// 收件人的详细地址
	AddressDetail string `json:"address_detail,omitempty" xml:"address_detail,omitempty"`
	// 收货人街道地址
	Town string `json:"town,omitempty" xml:"town,omitempty"`
	// 收货人的所在地区
	District string `json:"district,omitempty" xml:"district,omitempty"`
	// 收货人的所在城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 收货人的所在省份
	State string `json:"state,omitempty" xml:"state,omitempty"`
	// 收货人国籍
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 收件人的电话号码
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 收件人的手机号
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 收件人的姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 隐私号过期时间
	SecretNoExpireTime string `json:"secret_no_expire_time,omitempty" xml:"secret_no_expire_time,omitempty"`
	// 交易编号
	Tid string `json:"tid,omitempty" xml:"tid,omitempty"`
	// oaid是否和tid当前的oaid匹配。true:匹配,false:不匹配。当不匹配时,建议通过taobao.trade.fullinfo.get获取最新的oaid。
	Matched bool `json:"matched,omitempty" xml:"matched,omitempty"`
	// 标记订单是否为隐私保护订单,为true时,mobile为隐私号
	PrivacyProtection bool `json:"privacy_protection,omitempty" xml:"privacy_protection,omitempty"`
}

Receiver 结构体

func GetReceiver added in v1.3.4

func GetReceiver() *Receiver

GetReceiver() 从对象池中获取Receiver

type ReceiverQuery

type ReceiverQuery struct {
	// 交易订单ID
	Tid string `json:"tid,omitempty" xml:"tid,omitempty"`
	// 收件人ID (Open Addressee ID),长度在128个字符之内。
	Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"`
	// 解密场景编号。不同场景,解密策略不同。请根据产品功能选择相应的场景编号。可选的场景:1001(顺丰电子面单发货)、1002(4通一达电子面单发货)、1003(EMS电子面单发货)、1004(其他电子面单发货)、1005(线下门店发货)、1006(手工单发货)、1007(代发货)、2001(客户售后服务)、2002(客户关怀),<a href="https://open.taobao.com/doc.htm?docId=120186&docType=1" target="_blank">详情点击</a>
	Scene string `json:"scene,omitempty" xml:"scene,omitempty"`
	// 隐私号绑定天数
	SecretNoDays int64 `json:"secret_no_days,omitempty" xml:"secret_no_days,omitempty"`
}

ReceiverQuery 结构体

func GetReceiverQuery added in v1.3.4

func GetReceiverQuery() *ReceiverQuery

GetReceiverQuery() 从对象池中获取ReceiverQuery

type SecretNo

type SecretNo struct {
	// 隐私号
	SecretNo string `json:"secret_no,omitempty" xml:"secret_no,omitempty"`
	// 延期后隐私号的过期时间
	ExpireTime string `json:"expire_time,omitempty" xml:"expire_time,omitempty"`
}

SecretNo 结构体

func GetSecretNo added in v1.3.4

func GetSecretNo() *SecretNo

GetSecretNo() 从对象池中获取SecretNo

type SecretNoExtendRequest

type SecretNoExtendRequest struct {
	// 收件人ID (Open Addressee ID),长度在128个字符之内。
	Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"`
	// 解密场景编号。不同场景,解密策略不同。请根据产品功能选择相应的场景编号。可选的场景:1001(顺丰电子面单发货)、1002(4通一达电子面单发货)、1003(EMS电子面单发货)、1004(其他电子面单发货)、1005(线下门店发货)、1006(手工单发货)、1007(代发货)、2001(客户售后服务)、2002(客户关怀)
	Scene string `json:"scene,omitempty" xml:"scene,omitempty"`
	// 虚拟号有效期延长天数,发货场景只能填7、15、30
	ExtendDays int64 `json:"extend_days,omitempty" xml:"extend_days,omitempty"`
	// 交易订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

SecretNoExtendRequest 结构体

func GetSecretNoExtendRequest added in v1.3.4

func GetSecretNoExtendRequest() *SecretNoExtendRequest

GetSecretNoExtendRequest() 从对象池中获取SecretNoExtendRequest

type SellerBillQueryRequest

type SellerBillQueryRequest struct {
	// 账单时间
	BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"`
	// 页号,从1开始
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 页大小,不得超过1000
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

SellerBillQueryRequest 结构体

func GetSellerBillQueryRequest added in v1.3.4

func GetSellerBillQueryRequest() *SellerBillQueryRequest

GetSellerBillQueryRequest() 从对象池中获取SellerBillQueryRequest

type SendGoodsDetail added in v1.2.9

type SendGoodsDetail struct {
	// 包裹详情
	GoodsDetails []PackageGoodsDetail `json:"goods_details,omitempty" xml:"goods_details>package_goods_detail,omitempty"`
	// 0普通1组合商品2组套商品3后置赠品4状态推进
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 0全部发货1部分发货
	ConsignStatus int64 `json:"consign_status,omitempty" xml:"consign_status,omitempty"`
	// 数量
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
}

SendGoodsDetail 结构体

func GetSendGoodsDetail added in v1.3.4

func GetSendGoodsDetail() *SendGoodsDetail

GetSendGoodsDetail() 从对象池中获取SendGoodsDetail

type ServiceOrder

type ServiceOrder struct {
	// 服务详情的URL地址
	ServiceDetailUrl string `json:"service_detail_url,omitempty" xml:"service_detail_url,omitempty"`
	// 服务价格,精确到小数点后两位:单位:元
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 子订单实付金额。精确到2位小数,单位:元。如:200.07,表示:200元7分。
	Payment string `json:"payment,omitempty" xml:"payment,omitempty"`
	// 商品名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 服务子订单总费用
	TotalFee string `json:"total_fee,omitempty" xml:"total_fee,omitempty"`
	// 买家昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 最近退款的id
	RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 卖家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 服务图片地址
	PicPath string `json:"pic_path,omitempty" xml:"pic_path,omitempty"`
	// 支持家装类物流的类型
	TmserSpuCode string `json:"tmser_spu_code,omitempty" xml:"tmser_spu_code,omitempty"`
	// 天猫汽车预约服务时间
	EtSerTime string `json:"et_ser_time,omitempty" xml:"et_ser_time,omitempty"`
	// 电子凭证预约门店地址
	EtShopName string `json:"et_shop_name,omitempty" xml:"et_shop_name,omitempty"`
	// 电子凭证核销门店地址
	EtVerifiedShopName string `json:"et_verified_shop_name,omitempty" xml:"et_verified_shop_name,omitempty"`
	// 车牌号
	EtPlateNumber string `json:"et_plate_number,omitempty" xml:"et_plate_number,omitempty"`
	// 虚拟服务子订单订单号(String类型)
	OidStr string `json:"oid_str,omitempty" xml:"oid_str,omitempty"`
	// appleCareEmail
	AppleCareEmail string `json:"apple_care_email,omitempty" xml:"apple_care_email,omitempty"`
	// appleCareMPN
	AppleCareMpn string `json:"apple_care_mpn,omitempty" xml:"apple_care_mpn,omitempty"`
	// 服务供应链-服务商外部编码标
	ServiceOuterId string `json:"service_outer_id,omitempty" xml:"service_outer_id,omitempty"`
	// 服务供应链-服务订单类型,1:主子挂载;2:双主挂载;3:单独售卖
	ServiceOrderType string `json:"service_order_type,omitempty" xml:"service_order_type,omitempty"`
	// 服务订单与实物订单关联关系
	ExtServiceBizId string `json:"ext_service_biz_id,omitempty" xml:"ext_service_biz_id,omitempty"`
	// 套餐购服务原价� (单位分)
	CommAmountUnit string `json:"comm_amount_unit,omitempty" xml:"comm_amount_unit,omitempty"`
	// 虚拟服务子订单订单号
	Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"`
	// 服务所属的交易订单号。如果服务为一年包换,则item_oid这笔订单享受改服务的保护
	ItemOid int64 `json:"item_oid,omitempty" xml:"item_oid,omitempty"`
	// 服务数字id
	ServiceId int64 `json:"service_id,omitempty" xml:"service_id,omitempty"`
	// 购买数量,取值范围为大于0的整数
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
	// 套餐购对应的成分品id
	CombineSubItemId int64 `json:"combine_sub_item_id,omitempty" xml:"combine_sub_item_id,omitempty"`
	// 套餐购对应的成分品的skuId
	CombineSubItemSkuId int64 `json:"combine_sub_item_sku_id,omitempty" xml:"combine_sub_item_sku_id,omitempty"`
}

ServiceOrder 结构体

func GetServiceOrder added in v1.3.4

func GetServiceOrder() *ServiceOrder

GetServiceOrder() 从对象池中获取ServiceOrder

type ShipInfo

type ShipInfo struct {
	// 发货方式(小写)
	TransportType string `json:"transport_type,omitempty" xml:"transport_type,omitempty"`
}

ShipInfo 结构体

func GetShipInfo added in v1.3.4

func GetShipInfo() *ShipInfo

GetShipInfo() 从对象池中获取ShipInfo

type SortInfo

type SortInfo struct {
	// daySortVal
	DaySortVal int64 `json:"day_sort_val,omitempty" xml:"day_sort_val,omitempty"`
	// hourSortVal
	HourSortVal int64 `json:"hour_sort_val,omitempty" xml:"hour_sort_val,omitempty"`
}

SortInfo 结构体

func GetSortInfo added in v1.3.4

func GetSortInfo() *SortInfo

GetSortInfo() 从对象池中获取SortInfo

type StepPayDetail

type StepPayDetail struct {
	// 支付宝交易号
	StepChannelNo string `json:"step_channel_no,omitempty" xml:"step_channel_no,omitempty"`
	// 支付方式
	StepInstrumentCode string `json:"step_instrument_code,omitempty" xml:"step_instrument_code,omitempty"`
	// 支付金额
	StepActualPayFee string `json:"step_actual_pay_fee,omitempty" xml:"step_actual_pay_fee,omitempty"`
	// 分阶段支付单Id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 支付状态
	PayStatus int64 `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 支付顺序
	StepNo int64 `json:"step_no,omitempty" xml:"step_no,omitempty"`
}

StepPayDetail 结构体

func GetStepPayDetail added in v1.3.4

func GetStepPayDetail() *StepPayDetail

GetStepPayDetail() 从对象池中获取StepPayDetail

type TaobaoFulfillmentOrderAssembleAPIRequest

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

TaobaoFulfillmentOrderAssembleAPIRequest 拆合单结果回传接口 API请求 taobao.fulfillment.order.assemble

拆合单结果回传接口

func GetTaobaoFulfillmentOrderAssembleAPIRequest added in v1.3.4

func GetTaobaoFulfillmentOrderAssembleAPIRequest() *TaobaoFulfillmentOrderAssembleAPIRequest

GetTaobaoFulfillmentOrderAssembleRequest 从 sync.Pool 获取 TaobaoFulfillmentOrderAssembleAPIRequest

func NewTaobaoFulfillmentOrderAssembleRequest

func NewTaobaoFulfillmentOrderAssembleRequest() *TaobaoFulfillmentOrderAssembleAPIRequest

NewTaobaoFulfillmentOrderAssembleRequest 初始化TaobaoFulfillmentOrderAssembleAPIRequest对象

func (TaobaoFulfillmentOrderAssembleAPIRequest) GetApiMethodName

func (r TaobaoFulfillmentOrderAssembleAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFulfillmentOrderAssembleAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFulfillmentOrderAssembleAPIRequest) GetAssembleOrders

GetAssembleOrders AssembleOrders Getter

func (TaobaoFulfillmentOrderAssembleAPIRequest) GetRawParams

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

func (TaobaoFulfillmentOrderAssembleAPIRequest) GetType

GetType Type Getter

func (*TaobaoFulfillmentOrderAssembleAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoFulfillmentOrderAssembleAPIRequest) SetAssembleOrders

func (r *TaobaoFulfillmentOrderAssembleAPIRequest) SetAssembleOrders(_assembleOrders *AssembleOrder) error

SetAssembleOrders is AssembleOrders Setter 批量回传集合,一次接口最多40

func (*TaobaoFulfillmentOrderAssembleAPIRequest) SetType

SetType is Type Setter 操作类型,支持参数为MERGE、CANCEL_MERGE。当进行CANCEL_MERGE操作时,只需要传入groupId即可,order_list可以为空

type TaobaoFulfillmentOrderAssembleAPIResponse

type TaobaoFulfillmentOrderAssembleAPIResponse struct {
	model.CommonResponse
	TaobaoFulfillmentOrderAssembleAPIResponseModel
}

TaobaoFulfillmentOrderAssembleAPIResponse 拆合单结果回传接口 API返回值 taobao.fulfillment.order.assemble

拆合单结果回传接口

func GetTaobaoFulfillmentOrderAssembleAPIResponse added in v1.3.4

func GetTaobaoFulfillmentOrderAssembleAPIResponse() *TaobaoFulfillmentOrderAssembleAPIResponse

GetTaobaoFulfillmentOrderAssembleAPIResponse 从 sync.Pool 获取 TaobaoFulfillmentOrderAssembleAPIResponse

func (*TaobaoFulfillmentOrderAssembleAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoFulfillmentOrderAssembleAPIResponseModel

type TaobaoFulfillmentOrderAssembleAPIResponseModel struct {
	XMLName xml.Name `xml:"fulfillment_order_assemble_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	CallErrorCode string `json:"call_error_code,omitempty" xml:"call_error_code,omitempty"`
	// 错误信息描述
	CallErrorMsg string `json:"call_error_msg,omitempty" xml:"call_error_msg,omitempty"`
	// 回传结果
	Model *OrderAssembleResponse `json:"model,omitempty" xml:"model,omitempty"`
	// 调用结果
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoFulfillmentOrderAssembleAPIResponseModel is 拆合单结果回传接口 成功返回结果

func (*TaobaoFulfillmentOrderAssembleAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTopOaidClientDecryptAPIRequest

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

TaobaoTopOaidClientDecryptAPIRequest 端侧OAID解密 API请求 taobao.top.oaid.client.decrypt

解码OAID(Open Addressee ID),返回收件人信息。该接口用于客户端直接查看订单隐私数据,解密数据不经过ISV服务器,且包含风控等安全检测。

func GetTaobaoTopOaidClientDecryptAPIRequest added in v1.3.4

func GetTaobaoTopOaidClientDecryptAPIRequest() *TaobaoTopOaidClientDecryptAPIRequest

GetTaobaoTopOaidClientDecryptRequest 从 sync.Pool 获取 TaobaoTopOaidClientDecryptAPIRequest

func NewTaobaoTopOaidClientDecryptRequest

func NewTaobaoTopOaidClientDecryptRequest() *TaobaoTopOaidClientDecryptAPIRequest

NewTaobaoTopOaidClientDecryptRequest 初始化TaobaoTopOaidClientDecryptAPIRequest对象

func (TaobaoTopOaidClientDecryptAPIRequest) GetApiMethodName

func (r TaobaoTopOaidClientDecryptAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopOaidClientDecryptAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopOaidClientDecryptAPIRequest) GetQueryList

GetQueryList QueryList Getter

func (TaobaoTopOaidClientDecryptAPIRequest) GetRawParams

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

func (TaobaoTopOaidClientDecryptAPIRequest) GetSecOnceToken

func (r TaobaoTopOaidClientDecryptAPIRequest) GetSecOnceToken() string

GetSecOnceToken SecOnceToken Getter

func (*TaobaoTopOaidClientDecryptAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTopOaidClientDecryptAPIRequest) SetQueryList

func (r *TaobaoTopOaidClientDecryptAPIRequest) SetQueryList(_queryList []ReceiverQuery) error

SetQueryList is QueryList Setter 解密请求列表,长度不要超过1(只能单笔解密,不支持批量解密)。

func (*TaobaoTopOaidClientDecryptAPIRequest) SetSecOnceToken

func (r *TaobaoTopOaidClientDecryptAPIRequest) SetSecOnceToken(_secOnceToken string) error

SetSecOnceToken is SecOnceToken Setter 安全令牌

type TaobaoTopOaidClientDecryptAPIResponse

type TaobaoTopOaidClientDecryptAPIResponse struct {
	model.CommonResponse
	TaobaoTopOaidClientDecryptAPIResponseModel
}

TaobaoTopOaidClientDecryptAPIResponse 端侧OAID解密 API返回值 taobao.top.oaid.client.decrypt

解码OAID(Open Addressee ID),返回收件人信息。该接口用于客户端直接查看订单隐私数据,解密数据不经过ISV服务器,且包含风控等安全检测。

func GetTaobaoTopOaidClientDecryptAPIResponse added in v1.3.4

func GetTaobaoTopOaidClientDecryptAPIResponse() *TaobaoTopOaidClientDecryptAPIResponse

GetTaobaoTopOaidClientDecryptAPIResponse 从 sync.Pool 获取 TaobaoTopOaidClientDecryptAPIResponse

func (*TaobaoTopOaidClientDecryptAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTopOaidClientDecryptAPIResponseModel

type TaobaoTopOaidClientDecryptAPIResponseModel struct {
	XMLName xml.Name `xml:"top_oaid_client_decrypt_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 收件人列表
	ReceiverList []Receiver `json:"receiver_list,omitempty" xml:"receiver_list>receiver,omitempty"`
}

TaobaoTopOaidClientDecryptAPIResponseModel is 端侧OAID解密 成功返回结果

func (*TaobaoTopOaidClientDecryptAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTopOaidDecryptAPIRequest

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

TaobaoTopOaidDecryptAPIRequest OAID解密 API请求 taobao.top.oaid.decrypt

解码OAID(Open Addressee ID),返回收件人信息。

func GetTaobaoTopOaidDecryptAPIRequest added in v1.3.4

func GetTaobaoTopOaidDecryptAPIRequest() *TaobaoTopOaidDecryptAPIRequest

GetTaobaoTopOaidDecryptRequest 从 sync.Pool 获取 TaobaoTopOaidDecryptAPIRequest

func NewTaobaoTopOaidDecryptRequest

func NewTaobaoTopOaidDecryptRequest() *TaobaoTopOaidDecryptAPIRequest

NewTaobaoTopOaidDecryptRequest 初始化TaobaoTopOaidDecryptAPIRequest对象

func (TaobaoTopOaidDecryptAPIRequest) GetApiMethodName

func (r TaobaoTopOaidDecryptAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopOaidDecryptAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopOaidDecryptAPIRequest) GetQueryList

func (r TaobaoTopOaidDecryptAPIRequest) GetQueryList() []ReceiverQuery

GetQueryList QueryList Getter

func (TaobaoTopOaidDecryptAPIRequest) GetRawParams

func (r TaobaoTopOaidDecryptAPIRequest) GetRawParams() model.Params

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

func (*TaobaoTopOaidDecryptAPIRequest) Reset added in v1.3.4

func (r *TaobaoTopOaidDecryptAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTopOaidDecryptAPIRequest) SetQueryList

func (r *TaobaoTopOaidDecryptAPIRequest) SetQueryList(_queryList []ReceiverQuery) error

SetQueryList is QueryList Setter 解密请求列表,最多支持20个。

type TaobaoTopOaidDecryptAPIResponse

type TaobaoTopOaidDecryptAPIResponse struct {
	model.CommonResponse
	TaobaoTopOaidDecryptAPIResponseModel
}

TaobaoTopOaidDecryptAPIResponse OAID解密 API返回值 taobao.top.oaid.decrypt

解码OAID(Open Addressee ID),返回收件人信息。

func GetTaobaoTopOaidDecryptAPIResponse added in v1.3.4

func GetTaobaoTopOaidDecryptAPIResponse() *TaobaoTopOaidDecryptAPIResponse

GetTaobaoTopOaidDecryptAPIResponse 从 sync.Pool 获取 TaobaoTopOaidDecryptAPIResponse

func (*TaobaoTopOaidDecryptAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTopOaidDecryptAPIResponseModel

type TaobaoTopOaidDecryptAPIResponseModel struct {
	XMLName xml.Name `xml:"top_oaid_decrypt_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 收件人列表
	ReceiverList []Receiver `json:"receiver_list,omitempty" xml:"receiver_list>receiver,omitempty"`
}

TaobaoTopOaidDecryptAPIResponseModel is OAID解密 成功返回结果

func (*TaobaoTopOaidDecryptAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTopOaidMergeAPIRequest

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

TaobaoTopOaidMergeAPIRequest OAID订单合并 API请求 taobao.top.oaid.merge

基于OAID(收件人ID, Open Addressee ID)做订单合并,确保相同收件人信息的订单合并到相同组。

func GetTaobaoTopOaidMergeAPIRequest added in v1.3.4

func GetTaobaoTopOaidMergeAPIRequest() *TaobaoTopOaidMergeAPIRequest

GetTaobaoTopOaidMergeRequest 从 sync.Pool 获取 TaobaoTopOaidMergeAPIRequest

func NewTaobaoTopOaidMergeRequest

func NewTaobaoTopOaidMergeRequest() *TaobaoTopOaidMergeAPIRequest

NewTaobaoTopOaidMergeRequest 初始化TaobaoTopOaidMergeAPIRequest对象

func (TaobaoTopOaidMergeAPIRequest) GetApiMethodName

func (r TaobaoTopOaidMergeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopOaidMergeAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopOaidMergeAPIRequest) GetMergeList

func (r TaobaoTopOaidMergeAPIRequest) GetMergeList() []OrderMerge

GetMergeList MergeList Getter

func (TaobaoTopOaidMergeAPIRequest) GetRawParams

func (r TaobaoTopOaidMergeAPIRequest) GetRawParams() model.Params

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

func (*TaobaoTopOaidMergeAPIRequest) Reset added in v1.3.4

func (r *TaobaoTopOaidMergeAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTopOaidMergeAPIRequest) SetMergeList

func (r *TaobaoTopOaidMergeAPIRequest) SetMergeList(_mergeList []OrderMerge) error

SetMergeList is MergeList Setter 合单请求列表,最多支持100个。

type TaobaoTopOaidMergeAPIResponse

type TaobaoTopOaidMergeAPIResponse struct {
	model.CommonResponse
	TaobaoTopOaidMergeAPIResponseModel
}

TaobaoTopOaidMergeAPIResponse OAID订单合并 API返回值 taobao.top.oaid.merge

基于OAID(收件人ID, Open Addressee ID)做订单合并,确保相同收件人信息的订单合并到相同组。

func GetTaobaoTopOaidMergeAPIResponse added in v1.3.4

func GetTaobaoTopOaidMergeAPIResponse() *TaobaoTopOaidMergeAPIResponse

GetTaobaoTopOaidMergeAPIResponse 从 sync.Pool 获取 TaobaoTopOaidMergeAPIResponse

func (*TaobaoTopOaidMergeAPIResponse) Reset added in v1.3.4

func (m *TaobaoTopOaidMergeAPIResponse) Reset()

Reset 清空结构体

type TaobaoTopOaidMergeAPIResponseModel

type TaobaoTopOaidMergeAPIResponseModel struct {
	XMLName xml.Name `xml:"top_oaid_merge_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 合单结果。注意:一个字符串中的多笔订单可以合单,不同字符串间的订单不可合单!!!<br/> 比如,["1111,2222"]表示订单1111和订单2222可合单,["1111","2222"]表示订单1111和订单2222不可以合单。
	TidList []string `json:"tid_list,omitempty" xml:"tid_list>string,omitempty"`
}

TaobaoTopOaidMergeAPIResponseModel is OAID订单合并 成功返回结果

func (*TaobaoTopOaidMergeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTopOnceTokenGetAPIRequest

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

TaobaoTopOnceTokenGetAPIRequest 网关一次性token获取 API请求 taobao.top.once.token.get

网关一次性token获取,对接文档:

func GetTaobaoTopOnceTokenGetAPIRequest added in v1.3.4

func GetTaobaoTopOnceTokenGetAPIRequest() *TaobaoTopOnceTokenGetAPIRequest

GetTaobaoTopOnceTokenGetRequest 从 sync.Pool 获取 TaobaoTopOnceTokenGetAPIRequest

func NewTaobaoTopOnceTokenGetRequest

func NewTaobaoTopOnceTokenGetRequest() *TaobaoTopOnceTokenGetAPIRequest

NewTaobaoTopOnceTokenGetRequest 初始化TaobaoTopOnceTokenGetAPIRequest对象

func (TaobaoTopOnceTokenGetAPIRequest) GetApiMethodName

func (r TaobaoTopOnceTokenGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopOnceTokenGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopOnceTokenGetAPIRequest) GetRawParams

func (r TaobaoTopOnceTokenGetAPIRequest) GetRawParams() model.Params

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

func (TaobaoTopOnceTokenGetAPIRequest) GetSecToken

func (r TaobaoTopOnceTokenGetAPIRequest) GetSecToken() string

GetSecToken SecToken Getter

func (*TaobaoTopOnceTokenGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTopOnceTokenGetAPIRequest) SetSecToken

func (r *TaobaoTopOnceTokenGetAPIRequest) SetSecToken(_secToken string) error

SetSecToken is SecToken Setter sec_token

type TaobaoTopOnceTokenGetAPIResponse

type TaobaoTopOnceTokenGetAPIResponse struct {
	model.CommonResponse
	TaobaoTopOnceTokenGetAPIResponseModel
}

TaobaoTopOnceTokenGetAPIResponse 网关一次性token获取 API返回值 taobao.top.once.token.get

网关一次性token获取,对接文档:

func GetTaobaoTopOnceTokenGetAPIResponse added in v1.3.4

func GetTaobaoTopOnceTokenGetAPIResponse() *TaobaoTopOnceTokenGetAPIResponse

GetTaobaoTopOnceTokenGetAPIResponse 从 sync.Pool 获取 TaobaoTopOnceTokenGetAPIResponse

func (*TaobaoTopOnceTokenGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTopOnceTokenGetAPIResponseModel

type TaobaoTopOnceTokenGetAPIResponseModel struct {
	XMLName xml.Name `xml:"top_once_token_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应编码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// token
	Token string `json:"token,omitempty" xml:"token,omitempty"`
	// 失败详情
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
}

TaobaoTopOnceTokenGetAPIResponseModel is 网关一次性token获取 成功返回结果

func (*TaobaoTopOnceTokenGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTopSecretAppkeyBillDetailAPIRequest

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

TaobaoTopSecretAppkeyBillDetailAPIRequest 服务商解密账单查询 API请求 taobao.top.secret.appkey.bill.detail

服务商解密账单查询,分页返回所有店铺的账单,每个店铺每天仅包含两条数据,当天产生的号租费 和 当天产生的通话费,仅对90天内的账单提供SLA保障。查询账单详情请使用taobao.top.secret.bill.detail接口。

func GetTaobaoTopSecretAppkeyBillDetailAPIRequest added in v1.3.4

func GetTaobaoTopSecretAppkeyBillDetailAPIRequest() *TaobaoTopSecretAppkeyBillDetailAPIRequest

GetTaobaoTopSecretAppkeyBillDetailRequest 从 sync.Pool 获取 TaobaoTopSecretAppkeyBillDetailAPIRequest

func NewTaobaoTopSecretAppkeyBillDetailRequest

func NewTaobaoTopSecretAppkeyBillDetailRequest() *TaobaoTopSecretAppkeyBillDetailAPIRequest

NewTaobaoTopSecretAppkeyBillDetailRequest 初始化TaobaoTopSecretAppkeyBillDetailAPIRequest对象

func (TaobaoTopSecretAppkeyBillDetailAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopSecretAppkeyBillDetailAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopSecretAppkeyBillDetailAPIRequest) GetAppBillQueryRequest

GetAppBillQueryRequest AppBillQueryRequest Getter

func (TaobaoTopSecretAppkeyBillDetailAPIRequest) GetRawParams

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

func (*TaobaoTopSecretAppkeyBillDetailAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTopSecretAppkeyBillDetailAPIRequest) SetAppBillQueryRequest

func (r *TaobaoTopSecretAppkeyBillDetailAPIRequest) SetAppBillQueryRequest(_appBillQueryRequest *AppBillQueryRequest) error

SetAppBillQueryRequest is AppBillQueryRequest Setter 卖家账单查询

type TaobaoTopSecretAppkeyBillDetailAPIResponse

type TaobaoTopSecretAppkeyBillDetailAPIResponse struct {
	model.CommonResponse
	TaobaoTopSecretAppkeyBillDetailAPIResponseModel
}

TaobaoTopSecretAppkeyBillDetailAPIResponse 服务商解密账单查询 API返回值 taobao.top.secret.appkey.bill.detail

服务商解密账单查询,分页返回所有店铺的账单,每个店铺每天仅包含两条数据,当天产生的号租费 和 当天产生的通话费,仅对90天内的账单提供SLA保障。查询账单详情请使用taobao.top.secret.bill.detail接口。

func GetTaobaoTopSecretAppkeyBillDetailAPIResponse added in v1.3.4

func GetTaobaoTopSecretAppkeyBillDetailAPIResponse() *TaobaoTopSecretAppkeyBillDetailAPIResponse

GetTaobaoTopSecretAppkeyBillDetailAPIResponse 从 sync.Pool 获取 TaobaoTopSecretAppkeyBillDetailAPIResponse

func (*TaobaoTopSecretAppkeyBillDetailAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTopSecretAppkeyBillDetailAPIResponseModel

type TaobaoTopSecretAppkeyBillDetailAPIResponseModel struct {
	XMLName xml.Name `xml:"top_secret_appkey_bill_detail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 账单明细
	Data []BillDetailInfo `json:"data,omitempty" xml:"data>bill_detail_info,omitempty"`
	// 账单总个数
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
}

TaobaoTopSecretAppkeyBillDetailAPIResponseModel is 服务商解密账单查询 成功返回结果

func (*TaobaoTopSecretAppkeyBillDetailAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTopSecretBillDetailAPIRequest

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

TaobaoTopSecretBillDetailAPIRequest 服务商的商家解密账单详情查询 API请求 taobao.top.secret.bill.detail

服务商的商家解密账单详情查询,仅对90天内的账单提供SLA保障。

func GetTaobaoTopSecretBillDetailAPIRequest added in v1.3.4

func GetTaobaoTopSecretBillDetailAPIRequest() *TaobaoTopSecretBillDetailAPIRequest

GetTaobaoTopSecretBillDetailRequest 从 sync.Pool 获取 TaobaoTopSecretBillDetailAPIRequest

func NewTaobaoTopSecretBillDetailRequest

func NewTaobaoTopSecretBillDetailRequest() *TaobaoTopSecretBillDetailAPIRequest

NewTaobaoTopSecretBillDetailRequest 初始化TaobaoTopSecretBillDetailAPIRequest对象

func (TaobaoTopSecretBillDetailAPIRequest) GetApiMethodName

func (r TaobaoTopSecretBillDetailAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopSecretBillDetailAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopSecretBillDetailAPIRequest) GetRawParams

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

func (TaobaoTopSecretBillDetailAPIRequest) GetSellerBillQueryRequest

func (r TaobaoTopSecretBillDetailAPIRequest) GetSellerBillQueryRequest() *SellerBillQueryRequest

GetSellerBillQueryRequest SellerBillQueryRequest Getter

func (*TaobaoTopSecretBillDetailAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTopSecretBillDetailAPIRequest) SetSellerBillQueryRequest

func (r *TaobaoTopSecretBillDetailAPIRequest) SetSellerBillQueryRequest(_sellerBillQueryRequest *SellerBillQueryRequest) error

SetSellerBillQueryRequest is SellerBillQueryRequest Setter 卖家账单查询

type TaobaoTopSecretBillDetailAPIResponse

type TaobaoTopSecretBillDetailAPIResponse struct {
	model.CommonResponse
	TaobaoTopSecretBillDetailAPIResponseModel
}

TaobaoTopSecretBillDetailAPIResponse 服务商的商家解密账单详情查询 API返回值 taobao.top.secret.bill.detail

服务商的商家解密账单详情查询,仅对90天内的账单提供SLA保障。

func GetTaobaoTopSecretBillDetailAPIResponse added in v1.3.4

func GetTaobaoTopSecretBillDetailAPIResponse() *TaobaoTopSecretBillDetailAPIResponse

GetTaobaoTopSecretBillDetailAPIResponse 从 sync.Pool 获取 TaobaoTopSecretBillDetailAPIResponse

func (*TaobaoTopSecretBillDetailAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTopSecretBillDetailAPIResponseModel

type TaobaoTopSecretBillDetailAPIResponseModel struct {
	XMLName xml.Name `xml:"top_secret_bill_detail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 账单明细
	Data []BillDetailInfo `json:"data,omitempty" xml:"data>bill_detail_info,omitempty"`
	// 账单总个数
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
}

TaobaoTopSecretBillDetailAPIResponseModel is 服务商的商家解密账单详情查询 成功返回结果

func (*TaobaoTopSecretBillDetailAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTopSecretExtendAPIRequest

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

TaobaoTopSecretExtendAPIRequest 虚拟号延期 API请求 taobao.top.secret.extend

虚拟号延期

func GetTaobaoTopSecretExtendAPIRequest added in v1.3.4

func GetTaobaoTopSecretExtendAPIRequest() *TaobaoTopSecretExtendAPIRequest

GetTaobaoTopSecretExtendRequest 从 sync.Pool 获取 TaobaoTopSecretExtendAPIRequest

func NewTaobaoTopSecretExtendRequest

func NewTaobaoTopSecretExtendRequest() *TaobaoTopSecretExtendAPIRequest

NewTaobaoTopSecretExtendRequest 初始化TaobaoTopSecretExtendAPIRequest对象

func (TaobaoTopSecretExtendAPIRequest) GetApiMethodName

func (r TaobaoTopSecretExtendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopSecretExtendAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopSecretExtendAPIRequest) GetExtendRequest

GetExtendRequest ExtendRequest Getter

func (TaobaoTopSecretExtendAPIRequest) GetRawParams

func (r TaobaoTopSecretExtendAPIRequest) GetRawParams() model.Params

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

func (*TaobaoTopSecretExtendAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTopSecretExtendAPIRequest) SetExtendRequest

func (r *TaobaoTopSecretExtendAPIRequest) SetExtendRequest(_extendRequest *SecretNoExtendRequest) error

SetExtendRequest is ExtendRequest Setter 虚拟号延期请求

type TaobaoTopSecretExtendAPIResponse

type TaobaoTopSecretExtendAPIResponse struct {
	model.CommonResponse
	TaobaoTopSecretExtendAPIResponseModel
}

TaobaoTopSecretExtendAPIResponse 虚拟号延期 API返回值 taobao.top.secret.extend

虚拟号延期

func GetTaobaoTopSecretExtendAPIResponse added in v1.3.4

func GetTaobaoTopSecretExtendAPIResponse() *TaobaoTopSecretExtendAPIResponse

GetTaobaoTopSecretExtendAPIResponse 从 sync.Pool 获取 TaobaoTopSecretExtendAPIResponse

func (*TaobaoTopSecretExtendAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTopSecretExtendAPIResponseModel

type TaobaoTopSecretExtendAPIResponseModel struct {
	XMLName xml.Name `xml:"top_secret_extend_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 隐私号延期返回结果
	Result *SecretNo `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoTopSecretExtendAPIResponseModel is 虚拟号延期 成功返回结果

func (*TaobaoTopSecretExtendAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeAmountGetAPIRequest

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

TaobaoTradeAmountGetAPIRequest 交易帐务查询 API请求 taobao.trade.amount.get

卖家查询该笔交易的资金帐务相关的数据; 1. 只供卖家使用,买家不可使用 2. 可查询所有的状态的交易,但不同状态时交易的相关数据可能会有不同

func GetTaobaoTradeAmountGetAPIRequest added in v1.3.4

func GetTaobaoTradeAmountGetAPIRequest() *TaobaoTradeAmountGetAPIRequest

GetTaobaoTradeAmountGetRequest 从 sync.Pool 获取 TaobaoTradeAmountGetAPIRequest

func NewTaobaoTradeAmountGetRequest

func NewTaobaoTradeAmountGetRequest() *TaobaoTradeAmountGetAPIRequest

NewTaobaoTradeAmountGetRequest 初始化TaobaoTradeAmountGetAPIRequest对象

func (TaobaoTradeAmountGetAPIRequest) GetApiMethodName

func (r TaobaoTradeAmountGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTradeAmountGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTradeAmountGetAPIRequest) GetFields

func (r TaobaoTradeAmountGetAPIRequest) GetFields() string

GetFields Fields Getter

func (TaobaoTradeAmountGetAPIRequest) GetRawParams

func (r TaobaoTradeAmountGetAPIRequest) GetRawParams() model.Params

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

func (TaobaoTradeAmountGetAPIRequest) GetTid

GetTid Tid Getter

func (*TaobaoTradeAmountGetAPIRequest) Reset added in v1.3.4

func (r *TaobaoTradeAmountGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTradeAmountGetAPIRequest) SetFields

func (r *TaobaoTradeAmountGetAPIRequest) SetFields(_fields string) error

SetFields is Fields Setter 订单帐务详情需要返回的字段信息,可选值如下:1. TradeAmount中可指定的fields:tid,alipay_no,created,pay_time,end_time,total_fee,payment,post_fee,cod_fee,commission_fee,buyer_obtain_point_fee2. OrderAmount中可指定的fields:order_amounts.oid,order_amounts.title,order_amounts.num_iid,order_amounts.sku_properties_name,order_amounts.sku_id,order_amounts.num,order_amounts.price,order_amounts.discount_fee,order_amounts.adjust_fee,order_amounts.payment,order_amounts.promotion_name3. order_amounts(返回OrderAmount的所有内容)4. promotion_details(指定该值会返回主订单的promotion_details中除id之外的所有字段)

func (*TaobaoTradeAmountGetAPIRequest) SetTid

func (r *TaobaoTradeAmountGetAPIRequest) SetTid(_tid int64) error

SetTid is Tid Setter 交易编号

type TaobaoTradeAmountGetAPIResponse

type TaobaoTradeAmountGetAPIResponse struct {
	model.CommonResponse
	TaobaoTradeAmountGetAPIResponseModel
}

TaobaoTradeAmountGetAPIResponse 交易帐务查询 API返回值 taobao.trade.amount.get

卖家查询该笔交易的资金帐务相关的数据; 1. 只供卖家使用,买家不可使用 2. 可查询所有的状态的交易,但不同状态时交易的相关数据可能会有不同

func GetTaobaoTradeAmountGetAPIResponse added in v1.3.4

func GetTaobaoTradeAmountGetAPIResponse() *TaobaoTradeAmountGetAPIResponse

GetTaobaoTradeAmountGetAPIResponse 从 sync.Pool 获取 TaobaoTradeAmountGetAPIResponse

func (*TaobaoTradeAmountGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeAmountGetAPIResponseModel

type TaobaoTradeAmountGetAPIResponseModel struct {
	XMLName xml.Name `xml:"trade_amount_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 主订单的财务信息详情
	TradeAmount *TradeAmount `json:"trade_amount,omitempty" xml:"trade_amount,omitempty"`
}

TaobaoTradeAmountGetAPIResponseModel is 交易帐务查询 成功返回结果

func (*TaobaoTradeAmountGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeCloseAPIRequest

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

TaobaoTradeCloseAPIRequest 卖家关闭一笔交易 API请求 taobao.trade.close

关闭一笔订单,可以是主订单或子订单。当订单从创建到关闭时间小于10s的时候,会报“CLOSE_TRADE_TOO_FAST”错误。

func GetTaobaoTradeCloseAPIRequest added in v1.3.4

func GetTaobaoTradeCloseAPIRequest() *TaobaoTradeCloseAPIRequest

GetTaobaoTradeCloseRequest 从 sync.Pool 获取 TaobaoTradeCloseAPIRequest

func NewTaobaoTradeCloseRequest

func NewTaobaoTradeCloseRequest() *TaobaoTradeCloseAPIRequest

NewTaobaoTradeCloseRequest 初始化TaobaoTradeCloseAPIRequest对象

func (TaobaoTradeCloseAPIRequest) GetApiMethodName

func (r TaobaoTradeCloseAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTradeCloseAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTradeCloseAPIRequest) GetCloseReason

func (r TaobaoTradeCloseAPIRequest) GetCloseReason() string

GetCloseReason CloseReason Getter

func (TaobaoTradeCloseAPIRequest) GetRawParams

func (r TaobaoTradeCloseAPIRequest) GetRawParams() model.Params

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

func (TaobaoTradeCloseAPIRequest) GetTid

func (r TaobaoTradeCloseAPIRequest) GetTid() int64

GetTid Tid Getter

func (*TaobaoTradeCloseAPIRequest) Reset added in v1.3.4

func (r *TaobaoTradeCloseAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTradeCloseAPIRequest) SetCloseReason

func (r *TaobaoTradeCloseAPIRequest) SetCloseReason(_closeReason string) error

SetCloseReason is CloseReason Setter 交易关闭原因。可以选择的理由有:1.未及时付款2、买家不想买了3、买家信息填写错误,重新拍4、恶意买家/同行捣乱5、缺货6、买家拍错了7、同城见面交易

func (*TaobaoTradeCloseAPIRequest) SetTid

func (r *TaobaoTradeCloseAPIRequest) SetTid(_tid int64) error

SetTid is Tid Setter 主订单或子订单编号。

type TaobaoTradeCloseAPIResponse

type TaobaoTradeCloseAPIResponse struct {
	model.CommonResponse
	TaobaoTradeCloseAPIResponseModel
}

TaobaoTradeCloseAPIResponse 卖家关闭一笔交易 API返回值 taobao.trade.close

关闭一笔订单,可以是主订单或子订单。当订单从创建到关闭时间小于10s的时候,会报“CLOSE_TRADE_TOO_FAST”错误。

func GetTaobaoTradeCloseAPIResponse added in v1.3.4

func GetTaobaoTradeCloseAPIResponse() *TaobaoTradeCloseAPIResponse

GetTaobaoTradeCloseAPIResponse 从 sync.Pool 获取 TaobaoTradeCloseAPIResponse

func (*TaobaoTradeCloseAPIResponse) Reset added in v1.3.4

func (m *TaobaoTradeCloseAPIResponse) Reset()

Reset 清空结构体

type TaobaoTradeCloseAPIResponseModel

type TaobaoTradeCloseAPIResponseModel struct {
	XMLName xml.Name `xml:"trade_close_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 关闭交易时返回的Trade信息,可用字段有tid和modified
	Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"`
}

TaobaoTradeCloseAPIResponseModel is 卖家关闭一笔交易 成功返回结果

func (*TaobaoTradeCloseAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeConfirmfeeGetAPIRequest

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

TaobaoTradeConfirmfeeGetAPIRequest 获取交易确认收货费用 API请求 taobao.trade.confirmfee.get

获取交易确认收货费用,可以获取主订单或子订单的确认收货费用

func GetTaobaoTradeConfirmfeeGetAPIRequest added in v1.3.4

func GetTaobaoTradeConfirmfeeGetAPIRequest() *TaobaoTradeConfirmfeeGetAPIRequest

GetTaobaoTradeConfirmfeeGetRequest 从 sync.Pool 获取 TaobaoTradeConfirmfeeGetAPIRequest

func NewTaobaoTradeConfirmfeeGetRequest

func NewTaobaoTradeConfirmfeeGetRequest() *TaobaoTradeConfirmfeeGetAPIRequest

NewTaobaoTradeConfirmfeeGetRequest 初始化TaobaoTradeConfirmfeeGetAPIRequest对象

func (TaobaoTradeConfirmfeeGetAPIRequest) GetApiMethodName

func (r TaobaoTradeConfirmfeeGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTradeConfirmfeeGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTradeConfirmfeeGetAPIRequest) GetRawParams

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

func (TaobaoTradeConfirmfeeGetAPIRequest) GetTid

GetTid Tid Getter

func (*TaobaoTradeConfirmfeeGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTradeConfirmfeeGetAPIRequest) SetTid

SetTid is Tid Setter 交易主订单或子订单ID

type TaobaoTradeConfirmfeeGetAPIResponse

type TaobaoTradeConfirmfeeGetAPIResponse struct {
	model.CommonResponse
	TaobaoTradeConfirmfeeGetAPIResponseModel
}

TaobaoTradeConfirmfeeGetAPIResponse 获取交易确认收货费用 API返回值 taobao.trade.confirmfee.get

获取交易确认收货费用,可以获取主订单或子订单的确认收货费用

func GetTaobaoTradeConfirmfeeGetAPIResponse added in v1.3.4

func GetTaobaoTradeConfirmfeeGetAPIResponse() *TaobaoTradeConfirmfeeGetAPIResponse

GetTaobaoTradeConfirmfeeGetAPIResponse 从 sync.Pool 获取 TaobaoTradeConfirmfeeGetAPIResponse

func (*TaobaoTradeConfirmfeeGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeConfirmfeeGetAPIResponseModel

type TaobaoTradeConfirmfeeGetAPIResponseModel struct {
	XMLName xml.Name `xml:"trade_confirmfee_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 获取到的交易确认收货费用
	TradeConfirmFee *TradeConfirmFee `json:"trade_confirm_fee,omitempty" xml:"trade_confirm_fee,omitempty"`
}

TaobaoTradeConfirmfeeGetAPIResponseModel is 获取交易确认收货费用 成功返回结果

func (*TaobaoTradeConfirmfeeGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeFullinfoGetAPIRequest

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

TaobaoTradeFullinfoGetAPIRequest 获取单笔交易的详细信息 API请求 taobao.trade.fullinfo.get

获取单笔交易的详细信息 <br/>1. 只有单笔订单的情况下Trade数据结构中才包含商品相关的信息 <br/>2. 获取到的Order中的payment字段在单笔子订单时包含物流费用,多笔子订单时不包含物流费用 <br/>3. 获取红包金额使用字段:tmall_coupon_fee(天猫商家订单使用的红包金额) <br/>4. 请按需获取字段,减少TOP系统的压力 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>

func GetTaobaoTradeFullinfoGetAPIRequest added in v1.3.4

func GetTaobaoTradeFullinfoGetAPIRequest() *TaobaoTradeFullinfoGetAPIRequest

GetTaobaoTradeFullinfoGetRequest 从 sync.Pool 获取 TaobaoTradeFullinfoGetAPIRequest

func NewTaobaoTradeFullinfoGetRequest

func NewTaobaoTradeFullinfoGetRequest() *TaobaoTradeFullinfoGetAPIRequest

NewTaobaoTradeFullinfoGetRequest 初始化TaobaoTradeFullinfoGetAPIRequest对象

func (TaobaoTradeFullinfoGetAPIRequest) GetApiMethodName

func (r TaobaoTradeFullinfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTradeFullinfoGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTradeFullinfoGetAPIRequest) GetFields

GetFields Fields Getter

func (TaobaoTradeFullinfoGetAPIRequest) GetIncludeOaid

func (r TaobaoTradeFullinfoGetAPIRequest) GetIncludeOaid() string

GetIncludeOaid IncludeOaid Getter

func (TaobaoTradeFullinfoGetAPIRequest) GetRawParams

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

func (TaobaoTradeFullinfoGetAPIRequest) GetTid

GetTid Tid Getter

func (*TaobaoTradeFullinfoGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTradeFullinfoGetAPIRequest) SetFields

func (r *TaobaoTradeFullinfoGetAPIRequest) SetFields(_fields string) error

SetFields is Fields Setter 需要返回的字段列表,多个字段用半角逗号分隔,可选值为返回示例中能看到的所有字段。

func (*TaobaoTradeFullinfoGetAPIRequest) SetIncludeOaid

func (r *TaobaoTradeFullinfoGetAPIRequest) SetIncludeOaid(_includeOaid string) error

SetIncludeOaid is IncludeOaid Setter include_oaid

func (*TaobaoTradeFullinfoGetAPIRequest) SetTid

SetTid is Tid Setter 交易编号

type TaobaoTradeFullinfoGetAPIResponse

type TaobaoTradeFullinfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoTradeFullinfoGetAPIResponseModel
}

TaobaoTradeFullinfoGetAPIResponse 获取单笔交易的详细信息 API返回值 taobao.trade.fullinfo.get

获取单笔交易的详细信息 <br/>1. 只有单笔订单的情况下Trade数据结构中才包含商品相关的信息 <br/>2. 获取到的Order中的payment字段在单笔子订单时包含物流费用,多笔子订单时不包含物流费用 <br/>3. 获取红包金额使用字段:tmall_coupon_fee(天猫商家订单使用的红包金额) <br/>4. 请按需获取字段,减少TOP系统的压力 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>

func GetTaobaoTradeFullinfoGetAPIResponse added in v1.3.4

func GetTaobaoTradeFullinfoGetAPIResponse() *TaobaoTradeFullinfoGetAPIResponse

GetTaobaoTradeFullinfoGetAPIResponse 从 sync.Pool 获取 TaobaoTradeFullinfoGetAPIResponse

func (*TaobaoTradeFullinfoGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeFullinfoGetAPIResponseModel

type TaobaoTradeFullinfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"trade_fullinfo_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 交易主订单信息
	Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"`
}

TaobaoTradeFullinfoGetAPIResponseModel is 获取单笔交易的详细信息 成功返回结果

func (*TaobaoTradeFullinfoGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeInvoiceAmountGetAPIRequest

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

TaobaoTradeInvoiceAmountGetAPIRequest 获取订单应开票金额 API请求 taobao.trade.invoice.amount.get

订单应开票金额计算

func GetTaobaoTradeInvoiceAmountGetAPIRequest added in v1.3.4

func GetTaobaoTradeInvoiceAmountGetAPIRequest() *TaobaoTradeInvoiceAmountGetAPIRequest

GetTaobaoTradeInvoiceAmountGetRequest 从 sync.Pool 获取 TaobaoTradeInvoiceAmountGetAPIRequest

func NewTaobaoTradeInvoiceAmountGetRequest

func NewTaobaoTradeInvoiceAmountGetRequest() *TaobaoTradeInvoiceAmountGetAPIRequest

NewTaobaoTradeInvoiceAmountGetRequest 初始化TaobaoTradeInvoiceAmountGetAPIRequest对象

func (TaobaoTradeInvoiceAmountGetAPIRequest) GetApiMethodName

func (r TaobaoTradeInvoiceAmountGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTradeInvoiceAmountGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTradeInvoiceAmountGetAPIRequest) GetRawParams

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

func (TaobaoTradeInvoiceAmountGetAPIRequest) GetTid

GetTid Tid Getter

func (*TaobaoTradeInvoiceAmountGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTradeInvoiceAmountGetAPIRequest) SetTid

SetTid is Tid Setter 业务订单ID

type TaobaoTradeInvoiceAmountGetAPIResponse

type TaobaoTradeInvoiceAmountGetAPIResponse struct {
	model.CommonResponse
	TaobaoTradeInvoiceAmountGetAPIResponseModel
}

TaobaoTradeInvoiceAmountGetAPIResponse 获取订单应开票金额 API返回值 taobao.trade.invoice.amount.get

订单应开票金额计算

func GetTaobaoTradeInvoiceAmountGetAPIResponse added in v1.3.4

func GetTaobaoTradeInvoiceAmountGetAPIResponse() *TaobaoTradeInvoiceAmountGetAPIResponse

GetTaobaoTradeInvoiceAmountGetAPIResponse 从 sync.Pool 获取 TaobaoTradeInvoiceAmountGetAPIResponse

func (*TaobaoTradeInvoiceAmountGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeInvoiceAmountGetAPIResponseModel

type TaobaoTradeInvoiceAmountGetAPIResponseModel struct {
	XMLName xml.Name `xml:"trade_invoice_amount_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 应开票给消费者的金额,单位分
	ConsumerInvoiceAmount string `json:"consumer_invoice_amount,omitempty" xml:"consumer_invoice_amount,omitempty"`
	// 应开票给平台的金额,单位分
	PlatformInvoiceAmount string `json:"platform_invoice_amount,omitempty" xml:"platform_invoice_amount,omitempty"`
}

TaobaoTradeInvoiceAmountGetAPIResponseModel is 获取订单应开票金额 成功返回结果

func (*TaobaoTradeInvoiceAmountGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeMemoAddAPIRequest

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

TaobaoTradeMemoAddAPIRequest 对一笔交易添加备注 API请求 taobao.trade.memo.add

根据登录用户的身份(买家或卖家),自动添加相应的交易备注,不能重复调用些接口添加备注,需要更新备注请用taobao.trade.memo.update

func GetTaobaoTradeMemoAddAPIRequest added in v1.3.4

func GetTaobaoTradeMemoAddAPIRequest() *TaobaoTradeMemoAddAPIRequest

GetTaobaoTradeMemoAddRequest 从 sync.Pool 获取 TaobaoTradeMemoAddAPIRequest

func NewTaobaoTradeMemoAddRequest

func NewTaobaoTradeMemoAddRequest() *TaobaoTradeMemoAddAPIRequest

NewTaobaoTradeMemoAddRequest 初始化TaobaoTradeMemoAddAPIRequest对象

func (TaobaoTradeMemoAddAPIRequest) GetApiMethodName

func (r TaobaoTradeMemoAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTradeMemoAddAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTradeMemoAddAPIRequest) GetFlag

func (r TaobaoTradeMemoAddAPIRequest) GetFlag() int64

GetFlag Flag Getter

func (TaobaoTradeMemoAddAPIRequest) GetMemo

GetMemo Memo Getter

func (TaobaoTradeMemoAddAPIRequest) GetRawParams

func (r TaobaoTradeMemoAddAPIRequest) GetRawParams() model.Params

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

func (TaobaoTradeMemoAddAPIRequest) GetTid

GetTid Tid Getter

func (*TaobaoTradeMemoAddAPIRequest) Reset added in v1.3.4

func (r *TaobaoTradeMemoAddAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTradeMemoAddAPIRequest) SetFlag

func (r *TaobaoTradeMemoAddAPIRequest) SetFlag(_flag int64) error

SetFlag is Flag Setter 交易备注旗帜,可选值为:0(灰色), 1(红色), 2(黄色), 3(绿色), 4(蓝色), 5(粉红色),默认值为0

func (*TaobaoTradeMemoAddAPIRequest) SetMemo

func (r *TaobaoTradeMemoAddAPIRequest) SetMemo(_memo string) error

SetMemo is Memo Setter 交易备注。最大长度: 1000个字节

func (*TaobaoTradeMemoAddAPIRequest) SetTid

func (r *TaobaoTradeMemoAddAPIRequest) SetTid(_tid int64) error

SetTid is Tid Setter 交易编号

type TaobaoTradeMemoAddAPIResponse

type TaobaoTradeMemoAddAPIResponse struct {
	model.CommonResponse
	TaobaoTradeMemoAddAPIResponseModel
}

TaobaoTradeMemoAddAPIResponse 对一笔交易添加备注 API返回值 taobao.trade.memo.add

根据登录用户的身份(买家或卖家),自动添加相应的交易备注,不能重复调用些接口添加备注,需要更新备注请用taobao.trade.memo.update

func GetTaobaoTradeMemoAddAPIResponse added in v1.3.4

func GetTaobaoTradeMemoAddAPIResponse() *TaobaoTradeMemoAddAPIResponse

GetTaobaoTradeMemoAddAPIResponse 从 sync.Pool 获取 TaobaoTradeMemoAddAPIResponse

func (*TaobaoTradeMemoAddAPIResponse) Reset added in v1.3.4

func (m *TaobaoTradeMemoAddAPIResponse) Reset()

Reset 清空结构体

type TaobaoTradeMemoAddAPIResponseModel

type TaobaoTradeMemoAddAPIResponseModel struct {
	XMLName xml.Name `xml:"trade_memo_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 对一笔交易添加备注后返回其对应的Trade,Trade中可用的返回字段有tid和created
	Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"`
}

TaobaoTradeMemoAddAPIResponseModel is 对一笔交易添加备注 成功返回结果

func (*TaobaoTradeMemoAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeMemoUpdateAPIRequest

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

TaobaoTradeMemoUpdateAPIRequest 修改交易备注 API请求 taobao.trade.memo.update

需要商家或以上权限才可调用此接口,可重复调用本接口更新交易备注,本接口同时具有添加备注的功能

func GetTaobaoTradeMemoUpdateAPIRequest added in v1.3.4

func GetTaobaoTradeMemoUpdateAPIRequest() *TaobaoTradeMemoUpdateAPIRequest

GetTaobaoTradeMemoUpdateRequest 从 sync.Pool 获取 TaobaoTradeMemoUpdateAPIRequest

func NewTaobaoTradeMemoUpdateRequest

func NewTaobaoTradeMemoUpdateRequest() *TaobaoTradeMemoUpdateAPIRequest

NewTaobaoTradeMemoUpdateRequest 初始化TaobaoTradeMemoUpdateAPIRequest对象

func (TaobaoTradeMemoUpdateAPIRequest) GetApiMethodName

func (r TaobaoTradeMemoUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTradeMemoUpdateAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTradeMemoUpdateAPIRequest) GetFlag

GetFlag Flag Getter

func (TaobaoTradeMemoUpdateAPIRequest) GetMemo

GetMemo Memo Getter

func (TaobaoTradeMemoUpdateAPIRequest) GetRawParams

func (r TaobaoTradeMemoUpdateAPIRequest) GetRawParams() model.Params

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

func (TaobaoTradeMemoUpdateAPIRequest) GetReset

GetReset Reset Getter

func (TaobaoTradeMemoUpdateAPIRequest) GetTid

GetTid Tid Getter

func (*TaobaoTradeMemoUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTradeMemoUpdateAPIRequest) SetFlag

func (r *TaobaoTradeMemoUpdateAPIRequest) SetFlag(_flag int64) error

SetFlag is Flag Setter 卖家交易备注旗帜,可选值为:0(灰色), 1(红色), 2(黄色), 3(绿色), 4(蓝色), 5(粉红色),默认值为0

func (*TaobaoTradeMemoUpdateAPIRequest) SetMemo

func (r *TaobaoTradeMemoUpdateAPIRequest) SetMemo(_memo string) error

SetMemo is Memo Setter 卖家交易备注。最大长度: 1000个字节

func (*TaobaoTradeMemoUpdateAPIRequest) SetReset

func (r *TaobaoTradeMemoUpdateAPIRequest) SetReset(_reset bool) error

SetReset is Reset Setter 是否对memo的值置空若为true,则不管传入的memo字段的值是否为空,都将会对已有的memo值清空,慎用;若用false,则会根据memo是否为空来修改memo的值:若memo为空则忽略对已有memo字段的修改,若memo非空,则使用新传入的memo覆盖已有的memo的值

func (*TaobaoTradeMemoUpdateAPIRequest) SetTid

SetTid is Tid Setter 交易编号

type TaobaoTradeMemoUpdateAPIResponse

type TaobaoTradeMemoUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoTradeMemoUpdateAPIResponseModel
}

TaobaoTradeMemoUpdateAPIResponse 修改交易备注 API返回值 taobao.trade.memo.update

需要商家或以上权限才可调用此接口,可重复调用本接口更新交易备注,本接口同时具有添加备注的功能

func GetTaobaoTradeMemoUpdateAPIResponse added in v1.3.4

func GetTaobaoTradeMemoUpdateAPIResponse() *TaobaoTradeMemoUpdateAPIResponse

GetTaobaoTradeMemoUpdateAPIResponse 从 sync.Pool 获取 TaobaoTradeMemoUpdateAPIResponse

func (*TaobaoTradeMemoUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeMemoUpdateAPIResponseModel

type TaobaoTradeMemoUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"trade_memo_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 更新交易的备注信息后返回的Trade,其中可用字段为tid和modified
	Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"`
}

TaobaoTradeMemoUpdateAPIResponseModel is 修改交易备注 成功返回结果

func (*TaobaoTradeMemoUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeOrderskuUpdateAPIRequest

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

TaobaoTradeOrderskuUpdateAPIRequest 更新交易的销售属性 API请求 taobao.trade.ordersku.update

只能更新发货前子订单的销售属性 <br/>只能更新价格相同的销售属性。对于拍下减库存的交易会同步更新销售属性的库存量。对于旺店的交易,要使用商品扩展信息中的SKU价格来比较。 <br/>必须使用sku_id或sku_props中的一个参数来更新,如果两个都传的话,sku_id优先

func GetTaobaoTradeOrderskuUpdateAPIRequest added in v1.3.4

func GetTaobaoTradeOrderskuUpdateAPIRequest() *TaobaoTradeOrderskuUpdateAPIRequest

GetTaobaoTradeOrderskuUpdateRequest 从 sync.Pool 获取 TaobaoTradeOrderskuUpdateAPIRequest

func NewTaobaoTradeOrderskuUpdateRequest

func NewTaobaoTradeOrderskuUpdateRequest() *TaobaoTradeOrderskuUpdateAPIRequest

NewTaobaoTradeOrderskuUpdateRequest 初始化TaobaoTradeOrderskuUpdateAPIRequest对象

func (TaobaoTradeOrderskuUpdateAPIRequest) GetApiMethodName

func (r TaobaoTradeOrderskuUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTradeOrderskuUpdateAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTradeOrderskuUpdateAPIRequest) GetOid

GetOid Oid Getter

func (TaobaoTradeOrderskuUpdateAPIRequest) GetRawParams

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

func (TaobaoTradeOrderskuUpdateAPIRequest) GetSkuId

GetSkuId SkuId Getter

func (TaobaoTradeOrderskuUpdateAPIRequest) GetSkuProps

GetSkuProps SkuProps Getter

func (*TaobaoTradeOrderskuUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTradeOrderskuUpdateAPIRequest) SetOid

SetOid is Oid Setter 子订单编号(对于单笔订单的交易可以传交易编号)。

func (*TaobaoTradeOrderskuUpdateAPIRequest) SetSkuId

func (r *TaobaoTradeOrderskuUpdateAPIRequest) SetSkuId(_skuId int64) error

SetSkuId is SkuId Setter 销售属性编号,可以通过taobao.item.skus.get获取订单对应的商品的所有销售属性。

func (*TaobaoTradeOrderskuUpdateAPIRequest) SetSkuProps

func (r *TaobaoTradeOrderskuUpdateAPIRequest) SetSkuProps(_skuProps string) error

SetSkuProps is SkuProps Setter 销售属性组合串,格式:p1:v1;p2:v2,如:1627207:28329;20509:28314。可以通过taobao.item.skus.get获取订单对应的商品的所有销售属性。

type TaobaoTradeOrderskuUpdateAPIResponse

type TaobaoTradeOrderskuUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoTradeOrderskuUpdateAPIResponseModel
}

TaobaoTradeOrderskuUpdateAPIResponse 更新交易的销售属性 API返回值 taobao.trade.ordersku.update

只能更新发货前子订单的销售属性 <br/>只能更新价格相同的销售属性。对于拍下减库存的交易会同步更新销售属性的库存量。对于旺店的交易,要使用商品扩展信息中的SKU价格来比较。 <br/>必须使用sku_id或sku_props中的一个参数来更新,如果两个都传的话,sku_id优先

func GetTaobaoTradeOrderskuUpdateAPIResponse added in v1.3.4

func GetTaobaoTradeOrderskuUpdateAPIResponse() *TaobaoTradeOrderskuUpdateAPIResponse

GetTaobaoTradeOrderskuUpdateAPIResponse 从 sync.Pool 获取 TaobaoTradeOrderskuUpdateAPIResponse

func (*TaobaoTradeOrderskuUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeOrderskuUpdateAPIResponseModel

type TaobaoTradeOrderskuUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"trade_ordersku_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 只返回oid和modified
	Order *Order `json:"order,omitempty" xml:"order,omitempty"`
}

TaobaoTradeOrderskuUpdateAPIResponseModel is 更新交易的销售属性 成功返回结果

func (*TaobaoTradeOrderskuUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradePostageUpdateAPIRequest

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

TaobaoTradePostageUpdateAPIRequest 修改交易邮费价格 API请求 taobao.trade.postage.update

修改订单邮费接口,通过传入订单编号和邮费价格,修改订单的邮费,返回修改时间modified,邮费post_fee,总费用total_fee。 <br/> <span style="color:red"> API取消加邮费功能通知:http://open.taobao.com/support/announcement_detail.htm?tid=24750</span>

func GetTaobaoTradePostageUpdateAPIRequest added in v1.3.4

func GetTaobaoTradePostageUpdateAPIRequest() *TaobaoTradePostageUpdateAPIRequest

GetTaobaoTradePostageUpdateRequest 从 sync.Pool 获取 TaobaoTradePostageUpdateAPIRequest

func NewTaobaoTradePostageUpdateRequest

func NewTaobaoTradePostageUpdateRequest() *TaobaoTradePostageUpdateAPIRequest

NewTaobaoTradePostageUpdateRequest 初始化TaobaoTradePostageUpdateAPIRequest对象

func (TaobaoTradePostageUpdateAPIRequest) GetApiMethodName

func (r TaobaoTradePostageUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTradePostageUpdateAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTradePostageUpdateAPIRequest) GetPostFee

GetPostFee PostFee Getter

func (TaobaoTradePostageUpdateAPIRequest) GetRawParams

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

func (TaobaoTradePostageUpdateAPIRequest) GetTid

GetTid Tid Getter

func (*TaobaoTradePostageUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTradePostageUpdateAPIRequest) SetPostFee

func (r *TaobaoTradePostageUpdateAPIRequest) SetPostFee(_postFee string) error

SetPostFee is PostFee Setter 邮费价格(邮费单位是元)

func (*TaobaoTradePostageUpdateAPIRequest) SetTid

SetTid is Tid Setter 主订单编号

type TaobaoTradePostageUpdateAPIResponse

type TaobaoTradePostageUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoTradePostageUpdateAPIResponseModel
}

TaobaoTradePostageUpdateAPIResponse 修改交易邮费价格 API返回值 taobao.trade.postage.update

修改订单邮费接口,通过传入订单编号和邮费价格,修改订单的邮费,返回修改时间modified,邮费post_fee,总费用total_fee。 <br/> <span style="color:red"> API取消加邮费功能通知:http://open.taobao.com/support/announcement_detail.htm?tid=24750</span>

func GetTaobaoTradePostageUpdateAPIResponse added in v1.3.4

func GetTaobaoTradePostageUpdateAPIResponse() *TaobaoTradePostageUpdateAPIResponse

GetTaobaoTradePostageUpdateAPIResponse 从 sync.Pool 获取 TaobaoTradePostageUpdateAPIResponse

func (*TaobaoTradePostageUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradePostageUpdateAPIResponseModel

type TaobaoTradePostageUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"trade_postage_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回trade类型,其中包含修改时间modified,修改邮费post_fee,修改后的总费用total_fee和买家实付款payment
	Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"`
}

TaobaoTradePostageUpdateAPIResponseModel is 修改交易邮费价格 成功返回结果

func (*TaobaoTradePostageUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeReceivetimeDelayAPIRequest

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

TaobaoTradeReceivetimeDelayAPIRequest 延长交易收货时间 API请求 taobao.trade.receivetime.delay

延长交易收货时间

func GetTaobaoTradeReceivetimeDelayAPIRequest added in v1.3.4

func GetTaobaoTradeReceivetimeDelayAPIRequest() *TaobaoTradeReceivetimeDelayAPIRequest

GetTaobaoTradeReceivetimeDelayRequest 从 sync.Pool 获取 TaobaoTradeReceivetimeDelayAPIRequest

func NewTaobaoTradeReceivetimeDelayRequest

func NewTaobaoTradeReceivetimeDelayRequest() *TaobaoTradeReceivetimeDelayAPIRequest

NewTaobaoTradeReceivetimeDelayRequest 初始化TaobaoTradeReceivetimeDelayAPIRequest对象

func (TaobaoTradeReceivetimeDelayAPIRequest) GetApiMethodName

func (r TaobaoTradeReceivetimeDelayAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTradeReceivetimeDelayAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTradeReceivetimeDelayAPIRequest) GetDays

GetDays Days Getter

func (TaobaoTradeReceivetimeDelayAPIRequest) GetRawParams

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

func (TaobaoTradeReceivetimeDelayAPIRequest) GetTid

GetTid Tid Getter

func (*TaobaoTradeReceivetimeDelayAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTradeReceivetimeDelayAPIRequest) SetDays

SetDays is Days Setter 延长收货的天数,可选值为:3, 5, 7, 10。

func (*TaobaoTradeReceivetimeDelayAPIRequest) SetTid

SetTid is Tid Setter 主订单号

type TaobaoTradeReceivetimeDelayAPIResponse

type TaobaoTradeReceivetimeDelayAPIResponse struct {
	model.CommonResponse
	TaobaoTradeReceivetimeDelayAPIResponseModel
}

TaobaoTradeReceivetimeDelayAPIResponse 延长交易收货时间 API返回值 taobao.trade.receivetime.delay

延长交易收货时间

func GetTaobaoTradeReceivetimeDelayAPIResponse added in v1.3.4

func GetTaobaoTradeReceivetimeDelayAPIResponse() *TaobaoTradeReceivetimeDelayAPIResponse

GetTaobaoTradeReceivetimeDelayAPIResponse 从 sync.Pool 获取 TaobaoTradeReceivetimeDelayAPIResponse

func (*TaobaoTradeReceivetimeDelayAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeReceivetimeDelayAPIResponseModel

type TaobaoTradeReceivetimeDelayAPIResponseModel struct {
	XMLName xml.Name `xml:"trade_receivetime_delay_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 更新后的交易数据,只包括tid和modified两个字段。
	Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"`
}

TaobaoTradeReceivetimeDelayAPIResponseModel is 延长交易收货时间 成功返回结果

func (*TaobaoTradeReceivetimeDelayAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeShippingaddressUpdateAPIRequest

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

TaobaoTradeShippingaddressUpdateAPIRequest 更改交易的收货地址 API请求 taobao.trade.shippingaddress.update

只能更新一笔交易里面的买家收货地址 <br/>只能更新发货前(即买家已付款,等待卖家发货状态)的交易的买家收货地址 <br/>更新后的发货地址可以通过taobao.trade.fullinfo.get查到 <br/>参数中所说的字节为GBK编码的(英文和数字占1字节,中文占2字节)

func GetTaobaoTradeShippingaddressUpdateAPIRequest added in v1.3.4

func GetTaobaoTradeShippingaddressUpdateAPIRequest() *TaobaoTradeShippingaddressUpdateAPIRequest

GetTaobaoTradeShippingaddressUpdateRequest 从 sync.Pool 获取 TaobaoTradeShippingaddressUpdateAPIRequest

func NewTaobaoTradeShippingaddressUpdateRequest

func NewTaobaoTradeShippingaddressUpdateRequest() *TaobaoTradeShippingaddressUpdateAPIRequest

NewTaobaoTradeShippingaddressUpdateRequest 初始化TaobaoTradeShippingaddressUpdateAPIRequest对象

func (TaobaoTradeShippingaddressUpdateAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTradeShippingaddressUpdateAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTradeShippingaddressUpdateAPIRequest) GetRawParams

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

func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverAddress

func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverAddress() string

GetReceiverAddress ReceiverAddress Getter

func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverCity

GetReceiverCity ReceiverCity Getter

func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverDistrict

func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverDistrict() string

GetReceiverDistrict ReceiverDistrict Getter

func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverMobile

func (r TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverMobile() string

GetReceiverMobile ReceiverMobile Getter

func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverName

GetReceiverName ReceiverName Getter

func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverPhone

GetReceiverPhone ReceiverPhone Getter

func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverState

GetReceiverState ReceiverState Getter

func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverTown

GetReceiverTown ReceiverTown Getter

func (TaobaoTradeShippingaddressUpdateAPIRequest) GetReceiverZip

GetReceiverZip ReceiverZip Getter

func (TaobaoTradeShippingaddressUpdateAPIRequest) GetTid

GetTid Tid Getter

func (*TaobaoTradeShippingaddressUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverAddress

func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverAddress(_receiverAddress string) error

SetReceiverAddress is ReceiverAddress Setter 收货地址。最大长度为228个字节。

func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverCity

func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverCity(_receiverCity string) error

SetReceiverCity is ReceiverCity Setter 城市。最大长度为32个字节。如:杭州

func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverDistrict

func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverDistrict(_receiverDistrict string) error

SetReceiverDistrict is ReceiverDistrict Setter 区/县。最大长度为32个字节。如:西湖区

func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverMobile

func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverMobile(_receiverMobile string) error

SetReceiverMobile is ReceiverMobile Setter 移动电话。最大长度为11个字节。传-1表示删除

func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverName

func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverName(_receiverName string) error

SetReceiverName is ReceiverName Setter 收货人全名。最大长度为50个字节。

func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverPhone

func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverPhone(_receiverPhone string) error

SetReceiverPhone is ReceiverPhone Setter 座机号码。最大长度为30个字节。传-1表示删除

func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverState

func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverState(_receiverState string) error

SetReceiverState is ReceiverState Setter 省份。最大长度为32个字节。如:浙江

func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverTown

func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverTown(_receiverTown string) error

SetReceiverTown is ReceiverTown Setter 四级地址。最大长度为32个字节。如:五常街道

func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverZip

func (r *TaobaoTradeShippingaddressUpdateAPIRequest) SetReceiverZip(_receiverZip string) error

SetReceiverZip is ReceiverZip Setter 邮政编码。必须由6个数字组成。注:邮政编码根据地址信息自动填入,不可单独修改

func (*TaobaoTradeShippingaddressUpdateAPIRequest) SetTid

SetTid is Tid Setter 交易编号。

type TaobaoTradeShippingaddressUpdateAPIResponse

type TaobaoTradeShippingaddressUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoTradeShippingaddressUpdateAPIResponseModel
}

TaobaoTradeShippingaddressUpdateAPIResponse 更改交易的收货地址 API返回值 taobao.trade.shippingaddress.update

只能更新一笔交易里面的买家收货地址 <br/>只能更新发货前(即买家已付款,等待卖家发货状态)的交易的买家收货地址 <br/>更新后的发货地址可以通过taobao.trade.fullinfo.get查到 <br/>参数中所说的字节为GBK编码的(英文和数字占1字节,中文占2字节)

func GetTaobaoTradeShippingaddressUpdateAPIResponse added in v1.3.4

func GetTaobaoTradeShippingaddressUpdateAPIResponse() *TaobaoTradeShippingaddressUpdateAPIResponse

GetTaobaoTradeShippingaddressUpdateAPIResponse 从 sync.Pool 获取 TaobaoTradeShippingaddressUpdateAPIResponse

func (*TaobaoTradeShippingaddressUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradeShippingaddressUpdateAPIResponseModel

type TaobaoTradeShippingaddressUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"trade_shippingaddress_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 交易结构
	Trade *Trade `json:"trade,omitempty" xml:"trade,omitempty"`
}

TaobaoTradeShippingaddressUpdateAPIResponseModel is 更改交易的收货地址 成功返回结果

func (*TaobaoTradeShippingaddressUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradesSoldGetAPIRequest

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

TaobaoTradesSoldGetAPIRequest 查询卖家已卖出的交易数据(根据创建时间) API请求 taobao.trades.sold.get

搜索当前会话用户作为卖家已卖出的交易数据(只能获取到三个月以内的交易信息) <br/>1. 返回的数据结果是以订单的创建时间倒序排列的。 <br/>2. 返回的数据结果只包含了订单的部分数据,可通过taobao.trade.fullinfo.get获取订单详情。 <br/>注意:type字段的说明,如果该字段不传,接口默认只查4种类型订单,非默认查询的订单是不返回。遇到订单查不到的情况的,解决办法就是type加上订单类型就可正常返回了。 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>

func GetTaobaoTradesSoldGetAPIRequest added in v1.3.4

func GetTaobaoTradesSoldGetAPIRequest() *TaobaoTradesSoldGetAPIRequest

GetTaobaoTradesSoldGetRequest 从 sync.Pool 获取 TaobaoTradesSoldGetAPIRequest

func NewTaobaoTradesSoldGetRequest

func NewTaobaoTradesSoldGetRequest() *TaobaoTradesSoldGetAPIRequest

NewTaobaoTradesSoldGetRequest 初始化TaobaoTradesSoldGetAPIRequest对象

func (TaobaoTradesSoldGetAPIRequest) GetApiMethodName

func (r TaobaoTradesSoldGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTradesSoldGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTradesSoldGetAPIRequest) GetBuyerNick

func (r TaobaoTradesSoldGetAPIRequest) GetBuyerNick() string

GetBuyerNick BuyerNick Getter

func (TaobaoTradesSoldGetAPIRequest) GetBuyerOpenId

func (r TaobaoTradesSoldGetAPIRequest) GetBuyerOpenId() string

GetBuyerOpenId BuyerOpenId Getter

func (TaobaoTradesSoldGetAPIRequest) GetEndCreated

func (r TaobaoTradesSoldGetAPIRequest) GetEndCreated() string

GetEndCreated EndCreated Getter

func (TaobaoTradesSoldGetAPIRequest) GetExtType

func (r TaobaoTradesSoldGetAPIRequest) GetExtType() string

GetExtType ExtType Getter

func (TaobaoTradesSoldGetAPIRequest) GetFields

func (r TaobaoTradesSoldGetAPIRequest) GetFields() string

GetFields Fields Getter

func (TaobaoTradesSoldGetAPIRequest) GetPageNo

func (r TaobaoTradesSoldGetAPIRequest) GetPageNo() int64

GetPageNo PageNo Getter

func (TaobaoTradesSoldGetAPIRequest) GetPageSize

func (r TaobaoTradesSoldGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoTradesSoldGetAPIRequest) GetRateStatus

func (r TaobaoTradesSoldGetAPIRequest) GetRateStatus() string

GetRateStatus RateStatus Getter

func (TaobaoTradesSoldGetAPIRequest) GetRawParams

func (r TaobaoTradesSoldGetAPIRequest) GetRawParams() model.Params

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

func (TaobaoTradesSoldGetAPIRequest) GetStartCreated

func (r TaobaoTradesSoldGetAPIRequest) GetStartCreated() string

GetStartCreated StartCreated Getter

func (TaobaoTradesSoldGetAPIRequest) GetStatus

func (r TaobaoTradesSoldGetAPIRequest) GetStatus() string

GetStatus Status Getter

func (TaobaoTradesSoldGetAPIRequest) GetTag

GetTag Tag Getter

func (TaobaoTradesSoldGetAPIRequest) GetType

GetType Type Getter

func (TaobaoTradesSoldGetAPIRequest) GetUseHasNext

func (r TaobaoTradesSoldGetAPIRequest) GetUseHasNext() bool

GetUseHasNext UseHasNext Getter

func (*TaobaoTradesSoldGetAPIRequest) Reset added in v1.3.4

func (r *TaobaoTradesSoldGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTradesSoldGetAPIRequest) SetBuyerNick

func (r *TaobaoTradesSoldGetAPIRequest) SetBuyerNick(_buyerNick string) error

SetBuyerNick is BuyerNick Setter 买家昵称

func (*TaobaoTradesSoldGetAPIRequest) SetBuyerOpenId

func (r *TaobaoTradesSoldGetAPIRequest) SetBuyerOpenId(_buyerOpenId string) error

SetBuyerOpenId is BuyerOpenId Setter 买家的openId

func (*TaobaoTradesSoldGetAPIRequest) SetEndCreated

func (r *TaobaoTradesSoldGetAPIRequest) SetEndCreated(_endCreated string) error

SetEndCreated is EndCreated Setter 查询交易创建时间结束。格式:yyyy-MM-dd HH:mm:ss

func (*TaobaoTradesSoldGetAPIRequest) SetExtType

func (r *TaobaoTradesSoldGetAPIRequest) SetExtType(_extType string) error

SetExtType is ExtType Setter 可选值有ershou(二手市场的订单),service(商城服务子订单)mark(双十一大促活动异常订单)作为扩展类型筛选只能做单个ext_type查询,不能全部查询所有的ext_type类型

func (*TaobaoTradesSoldGetAPIRequest) SetFields

func (r *TaobaoTradesSoldGetAPIRequest) SetFields(_fields string) error

SetFields is Fields Setter 需要返回的字段列表,多个字段用半角逗号分隔,可选值为返回示例中能看到的所有字段。rx_audit_status=0,处方药未审核

func (*TaobaoTradesSoldGetAPIRequest) SetPageNo

func (r *TaobaoTradesSoldGetAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 页码。默认值:1,可填整数,通过传入page_no来控制获取的页数,总页数=total_results÷page_size

func (*TaobaoTradesSoldGetAPIRequest) SetPageSize

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

SetPageSize is PageSize Setter 每页条数。 默认值:40;最大值:100,可填整数。通过page_no和page_size组合多次调用实现翻页获取全量数据。

func (*TaobaoTradesSoldGetAPIRequest) SetRateStatus

func (r *TaobaoTradesSoldGetAPIRequest) SetRateStatus(_rateStatus string) error

SetRateStatus is RateStatus Setter 评价状态,默认查询所有评价状态的数据,除了默认值外每次只能查询一种状态。<br>可选值:RATE_UNBUYER(买家未评)RATE_UNSELLER(卖家未评)RATE_BUYER_UNSELLER(买家已评,卖家未评)RATE_UNBUYER_SELLER(买家未评,卖家已评)RATE_BUYER_SELLER(买家已评,卖家已评)

func (*TaobaoTradesSoldGetAPIRequest) SetStartCreated

func (r *TaobaoTradesSoldGetAPIRequest) SetStartCreated(_startCreated string) error

SetStartCreated is StartCreated Setter 查询三个月内交易创建时间开始。格式:yyyy-MM-dd HH:mm:ss

func (*TaobaoTradesSoldGetAPIRequest) SetStatus

func (r *TaobaoTradesSoldGetAPIRequest) SetStatus(_status string) error

SetStatus is Status Setter 交易状态(<a href="http://open.taobao.com/doc/detail.htm?id=102856" target="_blank">查看可选值</a>),默认查询所有交易状态的数据,除了默认值外每次只能查询一种状态。

func (*TaobaoTradesSoldGetAPIRequest) SetTag

func (r *TaobaoTradesSoldGetAPIRequest) SetTag(_tag string) error

SetTag is Tag Setter 卖家对交易的自定义分组标签,目前可选值为:time_card(点卡软件代充),fee_card(话费软件代充)

func (*TaobaoTradesSoldGetAPIRequest) SetType

func (r *TaobaoTradesSoldGetAPIRequest) SetType(_type string) error

SetType is Type Setter 交易类型列表,同时查询多种交易类型可用逗号分隔。<span style="color:red;font-weight: bold;">默认同时查询guarantee_trade,auto_delivery,ec,cod,step 这5 种的交易类型的数据;查询所有交易类型的数据,需要设置下面全部可选值。</span>可选值:fixed(一口价)auction(拍卖)guarantee_trade(一口价、拍卖)step(分阶段付款,万人团,阶梯团订单)independent_simple_trade(旺店入门版交易)independent_shop_trade(旺店标准版交易)auto_delivery(自动发货)ec(直冲)cod(货到付款)game_equipment(游戏装备)shopex_trade(ShopEX交易)netcn_trade(万网交易)external_trade(统一外部交易)instant_trade (即时到账)b2c_cod(大商家货到付款)hotel_trade(酒店类型交易)super_market_trade(商超交易)super_market_cod_trade(商超货到付款交易)taohua(淘花网交易类型)waimai(外卖交易类型)o2o_offlinetrade(O2O交易)nopaid(即时到帐/趣味猜交易类型)step (万人团) eticket(电子凭证) tmall_i18n(天猫国际);nopaid (无付款交易)insurance_plus(保险)finance(基金)注:guarantee_trade是一个组合查询条件,并不是一种交易类型,获取批量或单个订单中不会返回此种类型的订单。pre_auth_type(预授权0元购) lazada(获取lazada订单类型)

func (*TaobaoTradesSoldGetAPIRequest) SetUseHasNext

func (r *TaobaoTradesSoldGetAPIRequest) SetUseHasNext(_useHasNext bool) error

SetUseHasNext is UseHasNext Setter 是否启用has_next的分页方式,如果指定true,则返回的结果中不包含总记录数,但是会新增一个是否存在下一页的的字段,通过此种方式获取增量交易,接口调用成功率在原有的基础上有所提升。

type TaobaoTradesSoldGetAPIResponse

type TaobaoTradesSoldGetAPIResponse struct {
	model.CommonResponse
	TaobaoTradesSoldGetAPIResponseModel
}

TaobaoTradesSoldGetAPIResponse 查询卖家已卖出的交易数据(根据创建时间) API返回值 taobao.trades.sold.get

搜索当前会话用户作为卖家已卖出的交易数据(只能获取到三个月以内的交易信息) <br/>1. 返回的数据结果是以订单的创建时间倒序排列的。 <br/>2. 返回的数据结果只包含了订单的部分数据,可通过taobao.trade.fullinfo.get获取订单详情。 <br/>注意:type字段的说明,如果该字段不传,接口默认只查4种类型订单,非默认查询的订单是不返回。遇到订单查不到的情况的,解决办法就是type加上订单类型就可正常返回了。 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>

func GetTaobaoTradesSoldGetAPIResponse added in v1.3.4

func GetTaobaoTradesSoldGetAPIResponse() *TaobaoTradesSoldGetAPIResponse

GetTaobaoTradesSoldGetAPIResponse 从 sync.Pool 获取 TaobaoTradesSoldGetAPIResponse

func (*TaobaoTradesSoldGetAPIResponse) Reset added in v1.3.4

func (m *TaobaoTradesSoldGetAPIResponse) Reset()

Reset 清空结构体

type TaobaoTradesSoldGetAPIResponseModel

type TaobaoTradesSoldGetAPIResponseModel struct {
	XMLName xml.Name `xml:"trades_sold_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 搜索到的交易信息列表,返回的Trade和Order中包含的具体信息为入参fields请求的字段信息
	Trades []Trade `json:"trades,omitempty" xml:"trades>trade,omitempty"`
	// 搜索到的交易信息总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// 是否存在下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
}

TaobaoTradesSoldGetAPIResponseModel is 查询卖家已卖出的交易数据(根据创建时间) 成功返回结果

func (*TaobaoTradesSoldGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradesSoldIncrementGetAPIRequest

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

TaobaoTradesSoldIncrementGetAPIRequest 查询卖家已卖出的增量交易数据(根据修改时间) API请求 taobao.trades.sold.increment.get

搜索当前会话用户作为卖家已卖出的增量交易数据(只能获取到三个月以内的交易信息) <br/>1. 一次请求只能查询时间跨度为一天的增量交易记录,即end_modified - start_modified <= 1天。 <br/>2. 返回的数据结果是以订单的修改时间倒序排列的,通过从后往前翻页的方式可以避免漏单问题。 <br/>3. 返回的数据结果只包含了订单的部分数据,可通过taobao.trade.fullinfo.get获取订单详情。 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>

func GetTaobaoTradesSoldIncrementGetAPIRequest added in v1.3.4

func GetTaobaoTradesSoldIncrementGetAPIRequest() *TaobaoTradesSoldIncrementGetAPIRequest

GetTaobaoTradesSoldIncrementGetRequest 从 sync.Pool 获取 TaobaoTradesSoldIncrementGetAPIRequest

func NewTaobaoTradesSoldIncrementGetRequest

func NewTaobaoTradesSoldIncrementGetRequest() *TaobaoTradesSoldIncrementGetAPIRequest

NewTaobaoTradesSoldIncrementGetRequest 初始化TaobaoTradesSoldIncrementGetAPIRequest对象

func (TaobaoTradesSoldIncrementGetAPIRequest) GetApiMethodName

func (r TaobaoTradesSoldIncrementGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTradesSoldIncrementGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTradesSoldIncrementGetAPIRequest) GetBuyerNick

GetBuyerNick BuyerNick Getter

func (TaobaoTradesSoldIncrementGetAPIRequest) GetBuyerOpenUid

func (r TaobaoTradesSoldIncrementGetAPIRequest) GetBuyerOpenUid() string

GetBuyerOpenUid BuyerOpenUid Getter

func (TaobaoTradesSoldIncrementGetAPIRequest) GetEndModified

GetEndModified EndModified Getter

func (TaobaoTradesSoldIncrementGetAPIRequest) GetExtType

GetExtType ExtType Getter

func (TaobaoTradesSoldIncrementGetAPIRequest) GetFields

GetFields Fields Getter

func (TaobaoTradesSoldIncrementGetAPIRequest) GetPageNo

GetPageNo PageNo Getter

func (TaobaoTradesSoldIncrementGetAPIRequest) GetPageSize

GetPageSize PageSize Getter

func (TaobaoTradesSoldIncrementGetAPIRequest) GetRawParams

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

func (TaobaoTradesSoldIncrementGetAPIRequest) GetStartModified

func (r TaobaoTradesSoldIncrementGetAPIRequest) GetStartModified() string

GetStartModified StartModified Getter

func (TaobaoTradesSoldIncrementGetAPIRequest) GetStatus

GetStatus Status Getter

func (TaobaoTradesSoldIncrementGetAPIRequest) GetTag

GetTag Tag Getter

func (TaobaoTradesSoldIncrementGetAPIRequest) GetType

GetType Type Getter

func (TaobaoTradesSoldIncrementGetAPIRequest) GetUseHasNext

func (r TaobaoTradesSoldIncrementGetAPIRequest) GetUseHasNext() bool

GetUseHasNext UseHasNext Getter

func (*TaobaoTradesSoldIncrementGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTradesSoldIncrementGetAPIRequest) SetBuyerNick

func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetBuyerNick(_buyerNick string) error

SetBuyerNick is BuyerNick Setter 买家昵称

func (*TaobaoTradesSoldIncrementGetAPIRequest) SetBuyerOpenUid

func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetBuyerOpenUid(_buyerOpenUid string) error

SetBuyerOpenUid is BuyerOpenUid Setter 买家openId

func (*TaobaoTradesSoldIncrementGetAPIRequest) SetEndModified

func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetEndModified(_endModified string) error

SetEndModified is EndModified Setter 查询修改结束时间,必须大于修改开始时间(修改时间跨度不能大于一天),格式:yyyy-MM-dd HH:mm:ss。<span style="color:red;font-weight: bold;">建议使用30分钟以内的时间跨度,能大大提高响应速度和成功率</span>。

func (*TaobaoTradesSoldIncrementGetAPIRequest) SetExtType

func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetExtType(_extType string) error

SetExtType is ExtType Setter 可选值有ershou(二手市场的订单),service(商城服务子订单)mark(双十一大促活动异常订单)作为扩展类型筛选只能做单个ext_type查询,不能全部查询所有的ext_type类型

func (*TaobaoTradesSoldIncrementGetAPIRequest) SetFields

func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetFields(_fields string) error

SetFields is Fields Setter 需要返回的字段列表,多个字段用半角逗号分隔,可选值为返回示例中能看到的所有字段。rx_audit_status=0为处方药未审核状态

func (*TaobaoTradesSoldIncrementGetAPIRequest) SetPageNo

func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 页码。取值范围:大于零的整数;默认值:1。<span style="color:red;font-weight: bold;">注:必须采用倒序的分页方式(从最后一页往回取)才能避免漏单问题。</span>

func (*TaobaoTradesSoldIncrementGetAPIRequest) SetPageSize

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

SetPageSize is PageSize Setter 每页条数。取值范围:1~100,默认值:40。<span style="color:red;font-weight: bold;">建议使用40~50,可以提高成功率,减少超时数量</span>。

func (*TaobaoTradesSoldIncrementGetAPIRequest) SetStartModified

func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetStartModified(_startModified string) error

SetStartModified is StartModified Setter 查询修改开始时间(修改时间跨度不能大于一天)。格式:yyyy-MM-dd HH:mm:ss

func (*TaobaoTradesSoldIncrementGetAPIRequest) SetStatus

func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetStatus(_status string) error

SetStatus is Status Setter 交易状态(<a href="http://open.taobao.com/doc/detail.htm?id=102856" target="_blank">查看可选值</a>),默认查询所有交易状态的数据,除了默认值外每次只能查询一种状态。

func (*TaobaoTradesSoldIncrementGetAPIRequest) SetTag

SetTag is Tag Setter 卖家对交易的自定义分组标签,目前可选值为:time_card(点卡软件代充),fee_card(话费软件代充)

func (*TaobaoTradesSoldIncrementGetAPIRequest) SetType

SetType is Type Setter 交易类型列表(<a href="http://open.taobao.com/doc/detail.htm?id=102855" target="_blank">查看可选值</a>),一次查询多种类型可用半角逗号分隔,默认同时查询guarantee_trade,auto_delivery,ec,cod,step这5种类型的数据。

func (*TaobaoTradesSoldIncrementGetAPIRequest) SetUseHasNext

func (r *TaobaoTradesSoldIncrementGetAPIRequest) SetUseHasNext(_useHasNext bool) error

SetUseHasNext is UseHasNext Setter 是否启用has_next的分页方式,如果指定true,则返回的结果中不包含总记录数,但是会新增一个是否存在下一页的的字段,<span style="color:red;font-weight: bold;">通过此种方式获取增量交易,效率在原有的基础上有80%的提升</span>。

type TaobaoTradesSoldIncrementGetAPIResponse

type TaobaoTradesSoldIncrementGetAPIResponse struct {
	model.CommonResponse
	TaobaoTradesSoldIncrementGetAPIResponseModel
}

TaobaoTradesSoldIncrementGetAPIResponse 查询卖家已卖出的增量交易数据(根据修改时间) API返回值 taobao.trades.sold.increment.get

搜索当前会话用户作为卖家已卖出的增量交易数据(只能获取到三个月以内的交易信息) <br/>1. 一次请求只能查询时间跨度为一天的增量交易记录,即end_modified - start_modified <= 1天。 <br/>2. 返回的数据结果是以订单的修改时间倒序排列的,通过从后往前翻页的方式可以避免漏单问题。 <br/>3. 返回的数据结果只包含了订单的部分数据,可通过taobao.trade.fullinfo.get获取订单详情。 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>

func GetTaobaoTradesSoldIncrementGetAPIResponse added in v1.3.4

func GetTaobaoTradesSoldIncrementGetAPIResponse() *TaobaoTradesSoldIncrementGetAPIResponse

GetTaobaoTradesSoldIncrementGetAPIResponse 从 sync.Pool 获取 TaobaoTradesSoldIncrementGetAPIResponse

func (*TaobaoTradesSoldIncrementGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradesSoldIncrementGetAPIResponseModel

type TaobaoTradesSoldIncrementGetAPIResponseModel struct {
	XMLName xml.Name `xml:"trades_sold_increment_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 搜索到的交易信息列表,返回的Trade和Order中包含的具体信息为入参fields请求的字段信息
	Trades []Trade `json:"trades,omitempty" xml:"trades>trade,omitempty"`
	// 搜索到的交易信息总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// 是否存在下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
}

TaobaoTradesSoldIncrementGetAPIResponseModel is 查询卖家已卖出的增量交易数据(根据修改时间) 成功返回结果

func (*TaobaoTradesSoldIncrementGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradesSoldIncrementvGetAPIRequest

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

TaobaoTradesSoldIncrementvGetAPIRequest 查询卖家已卖出的增量交易数据(根据入库时间) API请求 taobao.trades.sold.incrementv.get

搜索当前会话用户作为卖家已卖出的增量交易数据(只能获取到三个月以内的交易信息) <br/>1. 一次请求只能查询时间跨度为一天的增量交易记录,即end_create - start_create <= 1天。 <br/>2. 返回的数据结果是以订单入库时间的倒序排列的(该时间和订单修改时间不同),通过从后往前翻页的方式可以避免漏单问题。 <br/>3. 返回的数据结果只包含了订单的部分数据,可通过taobao.trade.fullinfo.get获取订单详情。 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>

func GetTaobaoTradesSoldIncrementvGetAPIRequest added in v1.3.4

func GetTaobaoTradesSoldIncrementvGetAPIRequest() *TaobaoTradesSoldIncrementvGetAPIRequest

GetTaobaoTradesSoldIncrementvGetRequest 从 sync.Pool 获取 TaobaoTradesSoldIncrementvGetAPIRequest

func NewTaobaoTradesSoldIncrementvGetRequest

func NewTaobaoTradesSoldIncrementvGetRequest() *TaobaoTradesSoldIncrementvGetAPIRequest

NewTaobaoTradesSoldIncrementvGetRequest 初始化TaobaoTradesSoldIncrementvGetAPIRequest对象

func (TaobaoTradesSoldIncrementvGetAPIRequest) GetApiMethodName

func (r TaobaoTradesSoldIncrementvGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTradesSoldIncrementvGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTradesSoldIncrementvGetAPIRequest) GetEndCreate

GetEndCreate EndCreate Getter

func (TaobaoTradesSoldIncrementvGetAPIRequest) GetExtType

GetExtType ExtType Getter

func (TaobaoTradesSoldIncrementvGetAPIRequest) GetFields

GetFields Fields Getter

func (TaobaoTradesSoldIncrementvGetAPIRequest) GetPageNo

GetPageNo PageNo Getter

func (TaobaoTradesSoldIncrementvGetAPIRequest) GetPageSize

GetPageSize PageSize Getter

func (TaobaoTradesSoldIncrementvGetAPIRequest) GetRawParams

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

func (TaobaoTradesSoldIncrementvGetAPIRequest) GetStartCreate

GetStartCreate StartCreate Getter

func (TaobaoTradesSoldIncrementvGetAPIRequest) GetStatus

GetStatus Status Getter

func (TaobaoTradesSoldIncrementvGetAPIRequest) GetTag

GetTag Tag Getter

func (TaobaoTradesSoldIncrementvGetAPIRequest) GetType

GetType Type Getter

func (TaobaoTradesSoldIncrementvGetAPIRequest) GetUseHasNext

GetUseHasNext UseHasNext Getter

func (*TaobaoTradesSoldIncrementvGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetEndCreate

func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetEndCreate(_endCreate string) error

SetEndCreate is EndCreate Setter 查询入库结束时间,必须大于入库开始时间(修改时间跨度不能大于一天),格式:yyyy-MM-dd HH:mm:ss。<span style="color:red;font-weight: bold;">建议使用30分钟以内的时间跨度,能大大提高响应速度和成功率</span>。

func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetExtType

func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetExtType(_extType string) error

SetExtType is ExtType Setter 可选值有ershou(二手市场的订单),service(商城服务子订单)mark(双十一大促活动异常订单)作为扩展类型筛选只能做单个ext_type查询,不能全部查询所有的ext_type类型

func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetFields

SetFields is Fields Setter 需要返回的字段列表,多个字段用半角逗号分隔,可选值为返回示例中能看到的所有字段。

func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetPageNo

func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 页码。取值范围:大于零的整数;默认值:1。<span style="color:red;font-weight: bold;">注:必须采用倒序的分页方式(从最后一页往回取)才能避免漏单问题。</span>

func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetPageSize

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

SetPageSize is PageSize Setter 每页条数。取值范围:1~100,默认值:40。<span style="color:red;font-weight: bold;">建议使用40~50,可以提高成功率,减少超时数量</span>。

func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetStartCreate

func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetStartCreate(_startCreate string) error

SetStartCreate is StartCreate Setter 查询入库开始时间(修改时间跨度不能大于一天)。格式:yyyy-MM-dd HH:mm:ss

func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetStatus

SetStatus is Status Setter 交易状态(<a href="http://open.taobao.com/doc/detail.htm?id=102856" target="_blank">查看可选值</a>),默认查询所有交易状态的数据,除了默认值外每次只能查询一种状态。

func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetTag

SetTag is Tag Setter 卖家对交易的自定义分组标签,目前可选值为:time_card(点卡软件代充),fee_card(话费软件代充)

func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetType

SetType is Type Setter 交易类型列表(<a href="http://open.taobao.com/doc/detail.htm?id=102855" target="_blank">查看可选值</a>),一次查询多种类型可用半角逗号分隔,默认同时查询guarantee_trade,auto_delivery,ec,cod,step这5种类型的数据。

func (*TaobaoTradesSoldIncrementvGetAPIRequest) SetUseHasNext

func (r *TaobaoTradesSoldIncrementvGetAPIRequest) SetUseHasNext(_useHasNext bool) error

SetUseHasNext is UseHasNext Setter 是否启用has_next的分页方式,如果指定true,则返回的结果中不包含总记录数,但是会新增一个是否存在下一页的的字段,<span style="color:red;font-weight: bold;">通过此种方式获取增量交易,效率在原有的基础上有80%的提升</span>。

type TaobaoTradesSoldIncrementvGetAPIResponse

type TaobaoTradesSoldIncrementvGetAPIResponse struct {
	model.CommonResponse
	TaobaoTradesSoldIncrementvGetAPIResponseModel
}

TaobaoTradesSoldIncrementvGetAPIResponse 查询卖家已卖出的增量交易数据(根据入库时间) API返回值 taobao.trades.sold.incrementv.get

搜索当前会话用户作为卖家已卖出的增量交易数据(只能获取到三个月以内的交易信息) <br/>1. 一次请求只能查询时间跨度为一天的增量交易记录,即end_create - start_create <= 1天。 <br/>2. 返回的数据结果是以订单入库时间的倒序排列的(该时间和订单修改时间不同),通过从后往前翻页的方式可以避免漏单问题。 <br/>3. 返回的数据结果只包含了订单的部分数据,可通过taobao.trade.fullinfo.get获取订单详情。 <br/><strong><a href="https://console.open.taobao.com/dingWeb.htm?from=tradeapi" target="_blank">点击查看更多交易API说明</a></strong>

func GetTaobaoTradesSoldIncrementvGetAPIResponse added in v1.3.4

func GetTaobaoTradesSoldIncrementvGetAPIResponse() *TaobaoTradesSoldIncrementvGetAPIResponse

GetTaobaoTradesSoldIncrementvGetAPIResponse 从 sync.Pool 获取 TaobaoTradesSoldIncrementvGetAPIResponse

func (*TaobaoTradesSoldIncrementvGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradesSoldIncrementvGetAPIResponseModel

type TaobaoTradesSoldIncrementvGetAPIResponseModel struct {
	XMLName xml.Name `xml:"trades_sold_incrementv_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 搜索到的交易信息列表,返回的Trade和Order中包含的具体信息为入参fields请求的字段信息
	Trades []Trade `json:"trades,omitempty" xml:"trades>trade,omitempty"`
	// 搜索到的交易信息总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// 是否存在下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
}

TaobaoTradesSoldIncrementvGetAPIResponseModel is 查询卖家已卖出的增量交易数据(根据入库时间) 成功返回结果

func (*TaobaoTradesSoldIncrementvGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradesSoldQueryAPIRequest

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

TaobaoTradesSoldQueryAPIRequest 根据收件人信息查询交易单号 API请求 taobao.trades.sold.query

根据收件人信息查询交易单号。

func GetTaobaoTradesSoldQueryAPIRequest added in v1.3.4

func GetTaobaoTradesSoldQueryAPIRequest() *TaobaoTradesSoldQueryAPIRequest

GetTaobaoTradesSoldQueryRequest 从 sync.Pool 获取 TaobaoTradesSoldQueryAPIRequest

func NewTaobaoTradesSoldQueryRequest

func NewTaobaoTradesSoldQueryRequest() *TaobaoTradesSoldQueryAPIRequest

NewTaobaoTradesSoldQueryRequest 初始化TaobaoTradesSoldQueryAPIRequest对象

func (TaobaoTradesSoldQueryAPIRequest) GetApiMethodName

func (r TaobaoTradesSoldQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTradesSoldQueryAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTradesSoldQueryAPIRequest) GetOrderType

func (r TaobaoTradesSoldQueryAPIRequest) GetOrderType() string

GetOrderType OrderType Getter

func (TaobaoTradesSoldQueryAPIRequest) GetQueryList

func (r TaobaoTradesSoldQueryAPIRequest) GetQueryList() []OrderQuery

GetQueryList QueryList Getter

func (TaobaoTradesSoldQueryAPIRequest) GetRawParams

func (r TaobaoTradesSoldQueryAPIRequest) GetRawParams() model.Params

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

func (TaobaoTradesSoldQueryAPIRequest) GetScene

GetScene Scene Getter

func (*TaobaoTradesSoldQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTradesSoldQueryAPIRequest) SetOrderType

func (r *TaobaoTradesSoldQueryAPIRequest) SetOrderType(_orderType string) error

SetOrderType is OrderType Setter 订单类型,默认值为1,可选值为:交易(1),分销(2),换货(3)

func (*TaobaoTradesSoldQueryAPIRequest) SetQueryList

func (r *TaobaoTradesSoldQueryAPIRequest) SetQueryList(_queryList []OrderQuery) error

SetQueryList is QueryList Setter 查询条件列表,多个条件之间是OR关系,最多支持20个。receiver_name、receiver_mobile、receiver_phone至少有一个值不为空。

func (*TaobaoTradesSoldQueryAPIRequest) SetScene

func (r *TaobaoTradesSoldQueryAPIRequest) SetScene(_scene string) error

SetScene is Scene Setter 业务场景编码。不同场景,策略不同。请根据产品功能选择相应的场景编号。可选的场景:1001(客服咨询)、1002(售后服务),<a href="https://open.taobao.com/doc.htm?docId=120186&docType=1" target="_blank">详情点击</a>

type TaobaoTradesSoldQueryAPIResponse

type TaobaoTradesSoldQueryAPIResponse struct {
	model.CommonResponse
	TaobaoTradesSoldQueryAPIResponseModel
}

TaobaoTradesSoldQueryAPIResponse 根据收件人信息查询交易单号 API返回值 taobao.trades.sold.query

根据收件人信息查询交易单号。

func GetTaobaoTradesSoldQueryAPIResponse added in v1.3.4

func GetTaobaoTradesSoldQueryAPIResponse() *TaobaoTradesSoldQueryAPIResponse

GetTaobaoTradesSoldQueryAPIResponse 从 sync.Pool 获取 TaobaoTradesSoldQueryAPIResponse

func (*TaobaoTradesSoldQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTradesSoldQueryAPIResponseModel

type TaobaoTradesSoldQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"trades_sold_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 订单ID列表。按照订单创建时间倒序,最多返回最近的100笔订单。
	TidList []string `json:"tid_list,omitempty" xml:"tid_list>string,omitempty"`
}

TaobaoTradesSoldQueryAPIResponseModel is 根据收件人信息查询交易单号 成功返回结果

func (*TaobaoTradesSoldQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type Trade

type Trade struct {
	// 订单列表
	Orders []Order `json:"orders,omitempty" xml:"orders>order,omitempty"`
	// 优惠详情
	PromotionDetails []PromotionDetail `json:"promotion_details,omitempty" xml:"promotion_details>promotion_detail,omitempty"`
	// 物流标签
	ServiceTags []LogisticsTag `json:"service_tags,omitempty" xml:"service_tags>logistics_tag,omitempty"`
	// 服务子订单列表
	ServiceOrders []ServiceOrder `json:"service_orders,omitempty" xml:"service_orders>service_order,omitempty"`
	// 子单物流发货信息
	LogisticsInfos []LogisticsInfo `json:"logistics_infos,omitempty" xml:"logistics_infos>logistics_info,omitempty"`
	// 分阶段支付详情
	StepPayDetails []StepPayDetail `json:"step_pay_details,omitempty" xml:"step_pay_details>step_pay_detail,omitempty"`
	// 同意退款检查标识字段
	AgreeRefundChecks []AgreeRefundCheck `json:"agree_refund_checks,omitempty" xml:"agree_refund_checks>agree_refund_check,omitempty"`
	// 阶段地址详情字段
	AddressDetails []AddressDetail `json:"address_details,omitempty" xml:"address_details>address_detail,omitempty"`
	// 交付计划
	DeliveryPlan []DeliveryPlan `json:"delivery_plan,omitempty" xml:"delivery_plan>delivery_plan,omitempty"`
	// 子订单组合品物流详情(仅支持拆单发货)
	CombineLogisticsDetails []CombineLogisticsDetail `json:"combine_logistics_details,omitempty" xml:"combine_logistics_details>combine_logistics_detail,omitempty"`
	// 物流时效信息
	LogisticsConsignInfo []LogisticsConsignInfo `json:"logistics_consign_info,omitempty" xml:"logistics_consign_info>logistics_consign_info,omitempty"`
	// 发货时效修改记录
	LogisticsModifyInfo []LogisticsModifyInfo `json:"logistics_modify_info,omitempty" xml:"logistics_modify_info>logistics_modify_info,omitempty"`
	// 补差关联订单号列表
	ReceiptRelIds []string `json:"receipt_rel_ids,omitempty" xml:"receipt_rel_ids>string,omitempty"`
	// 交易修改时间(用户对订单的任何修改都会更新此字段)。格式:yyyy-MM-dd HH:mm:ss
	Modified string `json:"modified,omitempty" xml:"modified,omitempty"`
	// 买家OpenUid
	BuyerOpenUid string `json:"buyer_open_uid,omitempty" xml:"buyer_open_uid,omitempty"`
	// 交易标题,以店铺名作为此标题的值。注:taobao.trades.get接口返回的Trade中的title是商品名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 交易类型列表,同时查询多种交易类型可用逗号分隔。默认同时查询guarantee_trade, auto_delivery, ec, cod的4种交易类型的数据 可选值 fixed(一口价) auction(拍卖) guarantee_trade(一口价、拍卖) auto_delivery(自动发货) independent_simple_trade(旺店入门版交易) independent_shop_trade(旺店标准版交易) ec(直冲) cod(货到付款) fenxiao(分销) game_equipment(游戏装备) shopex_trade(ShopEX交易) netcn_trade(万网交易) external_trade(统一外部交易)o2o_offlinetrade(O2O交易)step (万人团)nopaid(无付款订单)pre_auth_type(预授权0元购机交易)
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 交易创建时间。格式:yyyy-MM-dd HH:mm:ss
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 交易编号 (父订单的交易编号)
	Sid string `json:"sid,omitempty" xml:"sid,omitempty"`
	// Acookie订单唯一ID。
	AcookieId string `json:"acookie_id,omitempty" xml:"acookie_id,omitempty"`
	// 交易状态。可选值:    * TRADE_NO_CREATE_PAY(没有创建支付宝交易)    * WAIT_BUYER_PAY(等待买家付款)    * SELLER_CONSIGNED_PART(卖家部分发货)    * WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款)    * WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货)    * TRADE_BUYER_SIGNED(买家已签收,货到付款专用)    * TRADE_FINISHED(交易成功)    * TRADE_CLOSED(付款以后用户退款成功,交易自动关闭)    * TRADE_CLOSED_BY_TAOBAO(付款以前,卖家或买家主动关闭交易)    * PAY_PENDING(国际信用卡支付付款确认中)    * WAIT_PRE_AUTH_CONFIRM(0元购合约中)	* PAID_FORBID_CONSIGN(拼团中订单或者发货强管控的订单,已付款但禁止发货)
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 实付金额。精确到2位小数;单位:元。如:200.07,表示:200元7分
	Payment string `json:"payment,omitempty" xml:"payment,omitempty"`
	// 建议使用trade.promotion_details查询系统优惠系统优惠金额(如打折,VIP,满就送等),精确到2位小数,单位:元。如:200.07,表示:200元7分
	DiscountFee string `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"`
	// 卖家手工调整金额,精确到2位小数,单位:元。如:200.07,表示:200元7分。来源于订单价格修改,如果有多笔子订单的时候,这个为0,单笔的话则跟[order].adjust_fee一样
	AdjustFee string `json:"adjust_fee,omitempty" xml:"adjust_fee,omitempty"`
	// 邮费。精确到2位小数;单位:元。如:200.07,表示:200元7分
	PostFee string `json:"post_fee,omitempty" xml:"post_fee,omitempty"`
	// 商品金额(商品价格乘以数量的总金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分
	TotalFee string `json:"total_fee,omitempty" xml:"total_fee,omitempty"`
	// 付款时间。格式:yyyy-MM-dd HH:mm:ss。订单的付款时间即为物流订单的创建时间。
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 交易结束时间。交易成功时间(更新交易状态为成功的同时更新)/确认收货时间或者交易关闭时间 。格式:yyyy-MM-dd HH:mm:ss
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 卖家发货时间。格式:yyyy-MM-dd HH:mm:ss
	ConsignTime string `json:"consign_time,omitempty" xml:"consign_time,omitempty"`
	// 卖家实际收到的支付宝打款金额(由于子订单可以部分确认收货,这个金额会随着子订单的确认收货而不断增加,交易成功后等于买家实付款减去退款金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分
	ReceivedPayment string `json:"received_payment,omitempty" xml:"received_payment,omitempty"`
	// 交易佣金。精确到2位小数;单位:元。如:200.07,表示:200元7分
	CommissionFee string `json:"commission_fee,omitempty" xml:"commission_fee,omitempty"`
	// 买家备注(与淘宝网上订单的买家备注对应,只有买家才能查看该字段)
	BuyerMemo string `json:"buyer_memo,omitempty" xml:"buyer_memo,omitempty"`
	// 卖家备注(与淘宝网上订单的卖家备注对应,只有卖家才能查看该字段)
	SellerMemo string `json:"seller_memo,omitempty" xml:"seller_memo,omitempty"`
	// 买家下单的地区
	BuyerArea string `json:"buyer_area,omitempty" xml:"buyer_area,omitempty"`
	// 支付宝交易号,如:2009112081173831
	AlipayNo string `json:"alipay_no,omitempty" xml:"alipay_no,omitempty"`
	// 买家留言
	BuyerMessage string `json:"buyer_message,omitempty" xml:"buyer_message,omitempty"`
	// 商品图片绝对途径
	PicPath string `json:"pic_path,omitempty" xml:"pic_path,omitempty"`
	// 商品价格。精确到2位小数;单位:元。如:200.07,表示:200元7分
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 货到付款服务费。精确到2位小数;单位:元。如:12.07,表示:12元7分。
	CodFee string `json:"cod_fee,omitempty" xml:"cod_fee,omitempty"`
	// 货到付款物流状态。初始状态 NEW_CREATED,接单成功 ACCEPTED_BY_COMPANY,接单失败 REJECTED_BY_COMPANY,接单超时 RECIEVE_TIMEOUT,揽收成功 TAKEN_IN_SUCCESS,揽收失败 TAKEN_IN_FAILED,揽收超时 TAKEN_TIMEOUT,签收成功 SIGN_IN,签收失败 REJECTED_BY_OTHER_SIDE,订单等待发送给物流公司 WAITING_TO_BE_SENT,用户取消物流订单 CANCELED
	CodStatus string `json:"cod_status,omitempty" xml:"cod_status,omitempty"`
	// 买家货到付款服务费。精确到2位小数;单位:元。如:12.07,表示:12元7分
	BuyerCodFee string `json:"buyer_cod_fee,omitempty" xml:"buyer_cod_fee,omitempty"`
	// 卖家货到付款服务费。精确到2位小数;单位:元。如:12.07,表示:12元7分。卖家不承担服务费的订单:未发货的订单获取服务费为0,发货后就能获取到正确值。
	SellerCodFee string `json:"seller_cod_fee,omitempty" xml:"seller_cod_fee,omitempty"`
	// 快递代收款。精确到2位小数;单位:元。如:212.07,表示:212元7分
	ExpressAgencyFee string `json:"express_agency_fee,omitempty" xml:"express_agency_fee,omitempty"`
	// 创建交易时的物流方式(交易完成前,物流方式有可能改变,但系统里的这个字段一直不变)。可选值:free(卖家包邮),post(平邮),express(快递),ems(EMS),virtual(虚拟发货),25(次日必达),26(预约配送),seller(商家自配送),instant(即时配送)。
	ShippingType string `json:"shipping_type,omitempty" xml:"shipping_type,omitempty"`
	// 买家支付宝账号
	BuyerAlipayNo string `json:"buyer_alipay_no,omitempty" xml:"buyer_alipay_no,omitempty"`
	// 收货人的姓名(加密)
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 收货人国籍
	ReceiverCountry string `json:"receiver_country,omitempty" xml:"receiver_country,omitempty"`
	// 收货人的所在省份
	ReceiverState string `json:"receiver_state,omitempty" xml:"receiver_state,omitempty"`
	// 收货人的所在城市<br/>注:因为国家对于城市和地区的划分的有:省直辖市和省直辖县级行政区(区级别的)划分的,淘宝这边根据这个差异保存在不同字段里面比如:广东广州:广州属于一个直辖市是放在的receiver_city的字段里面;而河南济源:济源属于省直辖县级行政区划分,是区级别的,放在了receiver_district里面<br/>建议:程序依赖于城市字段做物流等判断的操作,最好加一个判断逻辑:如果返回值里面只有receiver_district参数,该参数作为城市
	ReceiverCity string `json:"receiver_city,omitempty" xml:"receiver_city,omitempty"`
	// 收货人的所在地区<br/>注:因为国家对于城市和地区的划分的有:省直辖市和省直辖县级行政区(区级别的)划分的,淘宝这边根据这个差异保存在不同字段里面比如:广东广州:广州属于一个直辖市是放在的receiver_city的字段里面;而河南济源:济源属于省直辖县级行政区划分,是区级别的,放在了receiver_district里面<br/>建议:程序依赖于城市字段做物流等判断的操作,最好加一个判断逻辑:如果返回值里面只有receiver_district参数,该参数作为城市
	ReceiverDistrict string `json:"receiver_district,omitempty" xml:"receiver_district,omitempty"`
	// 收货人街道地址
	ReceiverTown string `json:"receiver_town,omitempty" xml:"receiver_town,omitempty"`
	// 收货人的详细地址(加密)
	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`
	// 收货人的邮编
	ReceiverZip string `json:"receiver_zip,omitempty" xml:"receiver_zip,omitempty"`
	// 收货人的手机号码(加密)
	ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"`
	// 收货人的电话号码(加密)
	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
	// 买家邮件地址
	BuyerEmail string `json:"buyer_email,omitempty" xml:"buyer_email,omitempty"`
	// 卖家支付宝账号
	SellerAlipayNo string `json:"seller_alipay_no,omitempty" xml:"seller_alipay_no,omitempty"`
	// 卖家手机
	SellerMobile string `json:"seller_mobile,omitempty" xml:"seller_mobile,omitempty"`
	// 卖家电话
	SellerPhone string `json:"seller_phone,omitempty" xml:"seller_phone,omitempty"`
	// 卖家姓名
	SellerName string `json:"seller_name,omitempty" xml:"seller_name,omitempty"`
	// 卖家邮件地址
	SellerEmail string `json:"seller_email,omitempty" xml:"seller_email,omitempty"`
	// 交易中剩余的确认收货金额(这个金额会随着子订单确认收货而不断减少,交易成功后会变为零)。精确到2位小数;单位:元。如:200.07,表示:200 元7分
	AvailableConfirmFee string `json:"available_confirm_fee,omitempty" xml:"available_confirm_fee,omitempty"`
	// 超时到期时间。格式:yyyy-MM-dd HH:mm:ss。业务规则:前提条件:只有在买家已付款,卖家已发货的情况下才有效如果申请了退款,那么超时会落在子订单上;比如说3笔ABC,A申请了,那么返回的是BC的列表, 主定单不存在如果没有申请过退款,那么超时会挂在主定单上;比如ABC,返回主定单,ABC的超时和主定单相同
	TimeoutActionTime string `json:"timeout_action_time,omitempty" xml:"timeout_action_time,omitempty"`
	// 交易快照地址
	SnapshotUrl string `json:"snapshot_url,omitempty" xml:"snapshot_url,omitempty"`
	// 交易备注。
	TradeMemo string `json:"trade_memo,omitempty" xml:"trade_memo,omitempty"`
	// 交易促销详细信息
	Promotion string `json:"promotion,omitempty" xml:"promotion,omitempty"`
	// 使用信用卡支付金额数
	CreditCardFee string `json:"credit_card_fee,omitempty" xml:"credit_card_fee,omitempty"`
	// 分阶段付款的订单状态(例如万人团订单等),目前有四个返回状态FRONT_NOPAID_FINAL_NOPAID(定金未付尾款未付),FRONT_PAID_FINAL_NOPAID(定金已付尾款未付),FRONT_PAID_FINAL_PAID(定金和尾款都付),FRONT_PAID_FRONT_FORFEITED(预售定金罚没)
	StepTradeStatus string `json:"step_trade_status,omitempty" xml:"step_trade_status,omitempty"`
	// 分阶段付款的已付金额(万人团订单已付金额)
	StepPaidFee string `json:"step_paid_fee,omitempty" xml:"step_paid_fee,omitempty"`
	// 电子凭证的垂直信息
	EticketExt string `json:"eticket_ext,omitempty" xml:"eticket_ext,omitempty"`
	// 订单出现异常问题的时候,给予用户的描述,没有异常的时候,此值为空
	MarkDesc string `json:"mark_desc,omitempty" xml:"mark_desc,omitempty"`
	// 订单的运费险,单位为元
	YfxFee string `json:"yfx_fee,omitempty" xml:"yfx_fee,omitempty"`
	// 运费险支付号
	YfxId string `json:"yfx_id,omitempty" xml:"yfx_id,omitempty"`
	// 运费险类型
	YfxType string `json:"yfx_type,omitempty" xml:"yfx_type,omitempty"`
	// 订单将在此时间前发出,主要用于预售订单
	SendTime string `json:"send_time,omitempty" xml:"send_time,omitempty"`
	// 物流到货时效截单时间,格式 HH:mm
	ArriveCutTime string `json:"arrive_cut_time,omitempty" xml:"arrive_cut_time,omitempty"`
	// 导购宝=crm
	O2o string `json:"o2o,omitempty" xml:"o2o,omitempty"`
	// 导购员id
	O2oGuideId string `json:"o2o_guide_id,omitempty" xml:"o2o_guide_id,omitempty"`
	// 导购员名称
	O2oGuideName string `json:"o2o_guide_name,omitempty" xml:"o2o_guide_name,omitempty"`
	// 导购员门店id
	O2oShopId string `json:"o2o_shop_id,omitempty" xml:"o2o_shop_id,omitempty"`
	// 导购门店名称
	O2oShopName string `json:"o2o_shop_name,omitempty" xml:"o2o_shop_name,omitempty"`
	// 导购宝提货方式,inshop:店内提货,online:线上发货
	O2oDelivery string `json:"o2o_delivery,omitempty" xml:"o2o_delivery,omitempty"`
	// 外部订单号
	O2oOutTradeId string `json:"o2o_out_trade_id,omitempty" xml:"o2o_out_trade_id,omitempty"`
	// 线下自提门店编码
	ShopCode string `json:"shop_code,omitempty" xml:"shop_code,omitempty"`
	// 拼音名
	HkEnName string `json:"hk_en_name,omitempty" xml:"hk_en_name,omitempty"`
	// 航班号
	HkFlightNo string `json:"hk_flight_no,omitempty" xml:"hk_flight_no,omitempty"`
	// 中文名
	HkChinaName string `json:"hk_china_name,omitempty" xml:"hk_china_name,omitempty"`
	// 证件号码
	HkCardCode string `json:"hk_card_code,omitempty" xml:"hk_card_code,omitempty"`
	// 证件类型001代表港澳通行证类型、002代表入台证003代表护照
	HkCardType string `json:"hk_card_type,omitempty" xml:"hk_card_type,omitempty"`
	// 航班飞行时间
	HkFlightDate string `json:"hk_flight_date,omitempty" xml:"hk_flight_date,omitempty"`
	// 性别M: 男性,F: 女性
	HkGender string `json:"hk_gender,omitempty" xml:"hk_gender,omitempty"`
	// 出生日期
	HkBirthday string `json:"hk_birthday,omitempty" xml:"hk_birthday,omitempty"`
	// 提货地点
	HkPickup string `json:"hk_pickup,omitempty" xml:"hk_pickup,omitempty"`
	// 提货地点id
	HkPickupId string `json:"hk_pickup_id,omitempty" xml:"hk_pickup_id,omitempty"`
	// 商家的预计发货时间
	EstConTime string `json:"est_con_time,omitempty" xml:"est_con_time,omitempty"`
	// 交易内部来源。WAP(手机);HITAO(嗨淘);TOP(TOP平台);TAOBAO(普通淘宝);JHS(聚划算)一笔订单可能同时有以上多个标记,则以逗号分隔
	TradeFrom string `json:"trade_from,omitempty" xml:"trade_from,omitempty"`
	// 交易外部来源:ownshop(商家官网)
	TradeSource string `json:"trade_source,omitempty" xml:"trade_source,omitempty"`
	// 天猫国际官网直供主订单关税税费
	OrderTaxFee string `json:"order_tax_fee,omitempty" xml:"order_tax_fee,omitempty"`
	// 天猫汽车服务预约时间
	EtSerTime string `json:"et_ser_time,omitempty" xml:"et_ser_time,omitempty"`
	// 电子凭证预约门店地址
	EtShopName string `json:"et_shop_name,omitempty" xml:"et_shop_name,omitempty"`
	// 电子凭证核销门店地址
	EtVerifiedShopName string `json:"et_verified_shop_name,omitempty" xml:"et_verified_shop_name,omitempty"`
	// 车牌号码
	EtPlateNumber string `json:"et_plate_number,omitempty" xml:"et_plate_number,omitempty"`
	// 抢单状态<br/>0,未处理待分发;1,抢单中;2,已抢单;3,已发货;-1,超时;-2,处理异常;-3,匹配失败;-4,取消抢单;-5,退款取消;-9,逻辑删除
	O2oSnatchStatus string `json:"o2o_snatch_status,omitempty" xml:"o2o_snatch_status,omitempty"`
	// 天猫电子凭证家装
	EticketServiceAddr string `json:"eticket_service_addr,omitempty" xml:"eticket_service_addr,omitempty"`
	// 电子凭证扫码购-扫码支付订单type
	EtType string `json:"et_type,omitempty" xml:"et_type,omitempty"`
	// 垂直市场
	Market string `json:"market,omitempty" xml:"market,omitempty"`
	// 门店预约自提订单标
	Obs string `json:"obs,omitempty" xml:"obs,omitempty"`
	// 满返红包的金额;如果没有满返红包,则值为 0.00
	PaidCouponFee string `json:"paid_coupon_fee,omitempty" xml:"paid_coupon_fee,omitempty"`
	// 线下门店自提
	ShopPick string `json:"shop_pick,omitempty" xml:"shop_pick,omitempty"`
	// 处方药审核状态
	RxAuditStatus string `json:"rx_audit_status,omitempty" xml:"rx_audit_status,omitempty"`
	// yyyyMMdd
	EsDate string `json:"es_date,omitempty" xml:"es_date,omitempty"`
	// hh:mm-hh:mm
	EsRange string `json:"es_range,omitempty" xml:"es_range,omitempty"`
	// yyyyMMdd
	OsDate string `json:"os_date,omitempty" xml:"os_date,omitempty"`
	// hh:mm-hh:mm
	OsRange string `json:"os_range,omitempty" xml:"os_range,omitempty"`
	// 主订单扩展属性;payCurrency:HKD(港币)、TWD(台币)
	TradeAttr string `json:"trade_attr,omitempty" xml:"trade_attr,omitempty"`
	// 星盘标识字段
	OmniAttr string `json:"omni_attr,omitempty" xml:"omni_attr,omitempty"`
	// 星盘业务字段
	OmniParam string `json:"omni_param,omitempty" xml:"omni_param,omitempty"`
	// assembly
	Assembly string `json:"assembly,omitempty" xml:"assembly,omitempty"`
	// 采购订单标识
	Identity string `json:"identity,omitempty" xml:"identity,omitempty"`
	// 组装O2O多阶段尾款订单的明细数据 总阶段数,当前阶数,阶段金额(单位:分),支付状态,例如 3_1_100_paid ; 3_2_2000_nopaid
	O2oStepTradeDetail string `json:"o2o_step_trade_detail,omitempty" xml:"o2o_step_trade_detail,omitempty"`
	// 特权定金订单的尾款订单ID
	O2oStepOrderId string `json:"o2o_step_order_id,omitempty" xml:"o2o_step_order_id,omitempty"`
	// 分阶段订单的特权定金订单ID
	O2oEtOrderId string `json:"o2o_et_order_id,omitempty" xml:"o2o_et_order_id,omitempty"`
	// 分阶段订单的特权定金抵扣金额,单位:分
	O2oVoucherPrice string `json:"o2o_voucher_price,omitempty" xml:"o2o_voucher_price,omitempty"`
	// 天猫国际计税优惠金额
	OrderTaxPromotionFee string `json:"order_tax_promotion_fee,omitempty" xml:"order_tax_promotion_fee,omitempty"`
	// tidStr
	TidStr string `json:"tid_str,omitempty" xml:"tid_str,omitempty"`
	// 包含的交易服务类型
	ServiceType string `json:"service_type,omitempty" xml:"service_type,omitempty"`
	// o2oServiceMobile
	O2oServiceMobile string `json:"o2o_service_mobile,omitempty" xml:"o2o_service_mobile,omitempty"`
	// o2oServiceName
	O2oServiceName string `json:"o2o_service_name,omitempty" xml:"o2o_service_name,omitempty"`
	// o2oServiceState
	O2oServiceState string `json:"o2o_service_state,omitempty" xml:"o2o_service_state,omitempty"`
	// o2oServiceCity
	O2oServiceCity string `json:"o2o_service_city,omitempty" xml:"o2o_service_city,omitempty"`
	// o2oServiceDistrict
	O2oServiceDistrict string `json:"o2o_service_district,omitempty" xml:"o2o_service_district,omitempty"`
	// o2oServiceTown
	O2oServiceTown string `json:"o2o_service_town,omitempty" xml:"o2o_service_town,omitempty"`
	// o2oServiceAddress
	O2oServiceAddress string `json:"o2o_service_address,omitempty" xml:"o2o_service_address,omitempty"`
	// o2oStepTradeDetailNew
	O2oStepTradeDetailNew string `json:"o2o_step_trade_detail_new,omitempty" xml:"o2o_step_trade_detail_new,omitempty"`
	// o2oXiaopiao
	O2oXiaopiao string `json:"o2o_xiaopiao,omitempty" xml:"o2o_xiaopiao,omitempty"`
	// o2oContract
	O2oContract string `json:"o2o_contract,omitempty" xml:"o2o_contract,omitempty"`
	// rechargeFee
	RechargeFee string `json:"recharge_fee,omitempty" xml:"recharge_fee,omitempty"`
	// retailStoreCode
	RetailStoreCode string `json:"retail_store_code,omitempty" xml:"retail_store_code,omitempty"`
	// retailOutOrderId
	RetailOutOrderId string `json:"retail_out_order_id,omitempty" xml:"retail_out_order_id,omitempty"`
	// platformSubsidyFee
	PlatformSubsidyFee string `json:"platform_subsidy_fee,omitempty" xml:"platform_subsidy_fee,omitempty"`
	// nrOffline
	NrOffline string `json:"nr_offline,omitempty" xml:"nr_offline,omitempty"`
	// 网厅订单垂直表信息
	WttParam string `json:"wtt_param,omitempty" xml:"wtt_param,omitempty"`
	// sellerNick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// buyerNick
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// nrStoreOrderId
	NrStoreOrderId string `json:"nr_store_order_id,omitempty" xml:"nr_store_order_id,omitempty"`
	// 门店 ID
	NrShopId string `json:"nr_shop_id,omitempty" xml:"nr_shop_id,omitempty"`
	// 门店名称
	NrShopName string `json:"nr_shop_name,omitempty" xml:"nr_shop_name,omitempty"`
	// 导购员ID
	NrShopGuideId string `json:"nr_shop_guide_id,omitempty" xml:"nr_shop_guide_id,omitempty"`
	// 导购员名称
	NrShopGuideName string `json:"nr_shop_guide_name,omitempty" xml:"nr_shop_guide_name,omitempty"`
	// 一小时达不处理订单
	NrNoHandle string `json:"nr_no_handle,omitempty" xml:"nr_no_handle,omitempty"`
	// 为tmall.daogoubao.cloudstore时表示云店链路
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 为1,且bizCode不为tmall.daogoubao.cloudstore时,为旗舰店订单
	CloudStore string `json:"cloud_store,omitempty" xml:"cloud_store,omitempty"`
	// 暂不公开
	DoneeNick string `json:"donee_nick,omitempty" xml:"donee_nick,omitempty"`
	// 暂不公开
	DoneeOpenUid string `json:"donee_open_uid,omitempty" xml:"donee_open_uid,omitempty"`
	// 苏宁自提门店code
	SuningShopCode string `json:"suning_shop_code,omitempty" xml:"suning_shop_code,omitempty"`
	// 允许的appkey,逗号分隔
	AllowAppkeys string `json:"allow_appkeys,omitempty" xml:"allow_appkeys,omitempty"`
	// 天猫未来店线下店铺 ID
	RetailStoreId string `json:"retail_store_id,omitempty" xml:"retail_store_id,omitempty"`
	// 区分istore订单来源
	Ua string `json:"ua,omitempty" xml:"ua,omitempty"`
	// linkedmall透传参数
	LinkedmallExtInfo string `json:"linkedmall_ext_info,omitempty" xml:"linkedmall_ext_info,omitempty"`
	// 支付渠道:0 用户主动支付 1 系统代扣 2 保险赔付
	PayChannel string `json:"pay_channel,omitempty" xml:"pay_channel,omitempty"`
	// 新零售全渠道订单:订单类型,自提订单:pickUp,电商发货:tmall,门店发货(配送、骑手):storeSend
	RtOmniSendType string `json:"rt_omni_send_type,omitempty" xml:"rt_omni_send_type,omitempty"`
	// 新零售全渠道订单:发货门店ID
	RtOmniStoreId string `json:"rt_omni_store_id,omitempty" xml:"rt_omni_store_id,omitempty"`
	// 新零售全渠道订单:商家自有发货门店编码
	RtOmniOuterStoreId string `json:"rt_omni_outer_store_id,omitempty" xml:"rt_omni_outer_store_id,omitempty"`
	// 同城预约配送开始时间
	TcpsStart string `json:"tcps_start,omitempty" xml:"tcps_start,omitempty"`
	// 同城业务类型,com.tmall.dsd:定时送,storeDsd-fn-3-1:淘速达3公里蜂鸟配送
	TcpsCode string `json:"tcps_code,omitempty" xml:"tcps_code,omitempty"`
	// 同城预约配送结束时间
	TcpsEnd string `json:"tcps_end,omitempty" xml:"tcps_end,omitempty"`
	// 主订单商家代缴税费
	MTariffFee string `json:"m_tariff_fee,omitempty" xml:"m_tariff_fee,omitempty"`
	// 时效服务身份,如tmallPromise代表天猫时效承诺
	TimingPromise string `json:"timing_promise,omitempty" xml:"timing_promise,omitempty"`
	// 时效服务字段,服务字段,会有多个服务值,以英文半角逗号","切割
	PromiseService string `json:"promise_service,omitempty" xml:"promise_service,omitempty"`
	// 物流截单时间,分钟
	CutoffMinutes string `json:"cutoff_minutes,omitempty" xml:"cutoff_minutes,omitempty"`
	// 物流时效,相对时间,单位是天
	EsTime string `json:"es_time,omitempty" xml:"es_time,omitempty"`
	// 最晚发货时间,日期
	DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
	// 最晚揽收时间,日期
	CollectTime string `json:"collect_time,omitempty" xml:"collect_time,omitempty"`
	// 最晚派送时间,日期
	DispatchTime string `json:"dispatch_time,omitempty" xml:"dispatch_time,omitempty"`
	// 最晚签收时间,日期
	SignTime string `json:"sign_time,omitempty" xml:"sign_time,omitempty"`
	// 外部会员id
	OuterPartnerMemberId string `json:"outer_partner_member_id,omitempty" xml:"outer_partner_member_id,omitempty"`
	// 叶子分类
	RootCat string `json:"root_cat,omitempty" xml:"root_cat,omitempty"`
	// 1-gifting订单
	Gifting string `json:"gifting,omitempty" xml:"gifting,omitempty"`
	// 1-coffee gifting订单
	GiftingTakeout string `json:"gifting_takeout,omitempty" xml:"gifting_takeout,omitempty"`
	// 预约安装时间
	OiDate string `json:"oi_date,omitempty" xml:"oi_date,omitempty"`
	// 预约安装时间段
	OiRange string `json:"oi_range,omitempty" xml:"oi_range,omitempty"`
	// 暂不安装
	HoldInstall string `json:"hold_install,omitempty" xml:"hold_install,omitempty"`
	// 订单来源
	AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"`
	// 同城站类型
	EasyHomeCityType string `json:"easy_home_city_type,omitempty" xml:"easy_home_city_type,omitempty"`
	// 同城站关联订单号
	NrDepositOrderId string `json:"nr_deposit_order_id,omitempty" xml:"nr_deposit_order_id,omitempty"`
	// 摊位id
	NrStoreCode string `json:"nr_store_code,omitempty" xml:"nr_store_code,omitempty"`
	// 使用淘金币的数量,以分为单位,和订单标propoint中间那一段一样,没有返回null
	Propoint string `json:"propoint,omitempty" xml:"propoint,omitempty"`
	// 是否周期送订单
	ZqsOrderTag string `json:"zqs_order_tag,omitempty" xml:"zqs_order_tag,omitempty"`
	// 天鲜配冰柜id
	TxpFreezerId string `json:"txp_freezer_id,omitempty" xml:"txp_freezer_id,omitempty"`
	// 天鲜配自提方式
	TxpReceiveMethod string `json:"txp_receive_method,omitempty" xml:"txp_receive_method,omitempty"`
	// 透出的额外信息
	ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"`
	// 收货地址有变更,返回"1"
	Lm string `json:"lm,omitempty" xml:"lm,omitempty"`
	// 同城购订单来源
	BrandLightShopSource string `json:"brand_light_shop_source,omitempty" xml:"brand_light_shop_source,omitempty"`
	// 同城购渠道店id
	BrandLightShopStoreId string `json:"brand_light_shop_store_id,omitempty" xml:"brand_light_shop_store_id,omitempty"`
	// 标识完美履约订单
	IsWmly string `json:"is_wmly,omitempty" xml:"is_wmly,omitempty"`
	// 全渠道包裹信息
	OmniPackage string `json:"omni_package,omitempty" xml:"omni_package,omitempty"`
	// 新康众扩展数据
	NczExtAttr string `json:"ncz_ext_attr,omitempty" xml:"ncz_ext_attr,omitempty"`
	// 苹果发票详情
	InvoiceDetailPay string `json:"invoice_detail_pay,omitempty" xml:"invoice_detail_pay,omitempty"`
	// 苹果发票详情
	InvoiceDetailMidRefund string `json:"invoice_detail_mid_refund,omitempty" xml:"invoice_detail_mid_refund,omitempty"`
	// 苹果发票详情
	InvoiceDetailAfterRefund string `json:"invoice_detail_after_refund,omitempty" xml:"invoice_detail_after_refund,omitempty"`
	// 买卡订单本金
	ExpandCardBasicPrice string `json:"expand_card_basic_price,omitempty" xml:"expand_card_basic_price,omitempty"`
	// 买卡订单权益金
	ExpandCardExpandPrice string `json:"expand_card_expand_price,omitempty" xml:"expand_card_expand_price,omitempty"`
	// 用卡订单所用的本金
	ExpandCardBasicPriceUsed string `json:"expand_card_basic_price_used,omitempty" xml:"expand_card_basic_price_used,omitempty"`
	// 用卡订单所用的权益金
	ExpandCardExpandPriceUsed string `json:"expand_card_expand_price_used,omitempty" xml:"expand_card_expand_price_used,omitempty"`
	// 配送cp
	DeliveryCps string `json:"delivery_cps,omitempty" xml:"delivery_cps,omitempty"`
	// 业务身份
	AsdpBizType string `json:"asdp_biz_type,omitempty" xml:"asdp_biz_type,omitempty"`
	// 关联下单订单
	OrderFollowId string `json:"order_follow_id,omitempty" xml:"order_follow_id,omitempty"`
	// 送货上门标
	AsdpAds string `json:"asdp_ads,omitempty" xml:"asdp_ads,omitempty"`
	// 消费者催发货标识,lg表示消费者做过催发货
	ObTag string `json:"ob_tag,omitempty" xml:"ob_tag,omitempty"`
	// 是否疫情登记的订单。0=未登记,1=已登记
	DrugRegister string `json:"drug_register,omitempty" xml:"drug_register,omitempty"`
	// 阶段收货地址标识字段
	StageAddressType string `json:"stage_address_type,omitempty" xml:"stage_address_type,omitempty"`
	// 订单分组ID
	OgId string `json:"og_id,omitempty" xml:"og_id,omitempty"`
	// 承诺/最晚送达时间
	PromiseSignTime string `json:"promise_sign_time,omitempty" xml:"promise_sign_time,omitempty"`
	// 全渠道订单相关字段
	OmnichannelParam string `json:"omnichannel_param,omitempty" xml:"omnichannel_param,omitempty"`
	// 入参fields字段必须包含receiver_name、receiver_address、created、receiver_mobile、receiver_phone 5个字段,否则无法生成oaid。
	Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"`
	// 淘鲜达生鲜半日达
	ScenarioGroup string `json:"scenario_group,omitempty" xml:"scenario_group,omitempty"`
	// 拼团玩法垂直标
	PlayType string `json:"play_type,omitempty" xml:"play_type,omitempty"`
	// 优先发货时间
	PriorityConsignTime string `json:"priority_consign_time,omitempty" xml:"priority_consign_time,omitempty"`
	// 天猫国际实名认证状态,1:实名完成 0:实名未完成
	RealNameAuthStatus string `json:"real_name_auth_status,omitempty" xml:"real_name_auth_status,omitempty"`
	// 天猫国际第三方报关标识,1:第三方报关 0:非第三方报关
	ThirdPartyCustomsDeclaration string `json:"third_party_customs_declaration,omitempty" xml:"third_party_customs_declaration,omitempty"`
	// 补差类型,ITEM:商品补差 POSTAGE:邮费补差 OTHER:其他补差
	ReceiptType string `json:"receipt_type,omitempty" xml:"receipt_type,omitempty"`
	// 同步到卖家库的时间,taobao.trades.sold.incrementv.get接口返回此字段
	AsyncModified string `json:"async_modified,omitempty" xml:"async_modified,omitempty"`
	// 卡易售垂直表信息,去除下单ip之后的结果
	NutFeature string `json:"nut_feature,omitempty" xml:"nut_feature,omitempty"`
	// 次日达,三日达等送达类型
	LgAgingType string `json:"lg_aging_type,omitempty" xml:"lg_aging_type,omitempty"`
	// 次日达订单送达时间
	LgAging string `json:"lg_aging,omitempty" xml:"lg_aging,omitempty"`
	// 天猫直送服务
	CnService string `json:"cn_service,omitempty" xml:"cn_service,omitempty"`
	// 地址aid字段
	Aid string `json:"aid,omitempty" xml:"aid,omitempty"`
	// 交易编号 (父订单的交易编号)
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 商品数字编号
	NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"`
	// 商品购买数量。取值范围:大于零的整数,对于一个trade对应多个order的时候(一笔主订单,对应多笔子订单),num=0,num是一个跟商品关联的属性,一笔订单对应多比子订单的时候,主订单上的num无意义。
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
	// 买家使用积分,下单时生成,且一直不变。格式:100;单位:个.
	PointFee int64 `json:"point_fee,omitempty" xml:"point_fee,omitempty"`
	// 买家实际使用积分(扣除部分退款使用的积分),交易完成后生成(交易成功或关闭),交易未完成时该字段值为0。格式:100;单位:个
	RealPointFee int64 `json:"real_point_fee,omitempty" xml:"real_point_fee,omitempty"`
	// 买家获得积分,返点的积分。格式:100;单位:个。返点的积分要交易成功之后才能获得。
	BuyerObtainPointFee int64 `json:"buyer_obtain_point_fee,omitempty" xml:"buyer_obtain_point_fee,omitempty"`
	// 买家备注旗帜(与淘宝网上订单的买家备注旗帜对应,只有买家才能查看该字段)红、黄、绿、蓝、紫 分别对应 1、2、3、4、5
	BuyerFlag int64 `json:"buyer_flag,omitempty" xml:"buyer_flag,omitempty"`
	// 卖家备注旗帜(与淘宝网上订单的卖家备注旗帜对应,只有卖家才能查看该字段)红、黄、绿、蓝、紫 分别对应 1、2、3、4、5
	SellerFlag int64 `json:"seller_flag,omitempty" xml:"seller_flag,omitempty"`
	// 物流到货时效,单位天
	ArriveInterval int64 `json:"arrive_interval,omitempty" xml:"arrive_interval,omitempty"`
	// 物流发货时效,单位小时
	ConsignInterval int64 `json:"consign_interval,omitempty" xml:"consign_interval,omitempty"`
	// 付款时使用的支付宝积分的额度,单位分,比如返回1,则为1分钱
	AlipayPoint int64 `json:"alipay_point,omitempty" xml:"alipay_point,omitempty"`
	// 天猫点券卡实付款金额,单位分
	PccAf int64 `json:"pcc_af,omitempty" xml:"pcc_af,omitempty"`
	// 交易扩展表信息
	TradeExt *TradeExt `json:"trade_ext,omitempty" xml:"trade_ext,omitempty"`
	// 扫码购关联门店
	EtShopId int64 `json:"et_shop_id,omitempty" xml:"et_shop_id,omitempty"`
	// 100
	CouponFee int64 `json:"coupon_fee,omitempty" xml:"coupon_fee,omitempty"`
	// TOP拦截标识,0不拦截,1拦截
	TopHold int64 `json:"top_hold,omitempty" xml:"top_hold,omitempty"`
	// 聚划算一起买字段
	ForbidConsign int64 `json:"forbid_consign,omitempty" xml:"forbid_consign,omitempty"`
	// 天猫拼团拦截标示
	TeamBuyHold int64 `json:"team_buy_hold,omitempty" xml:"team_buy_hold,omitempty"`
	// 分享购拦截
	ShareGroupHold int64 `json:"share_group_hold,omitempty" xml:"share_group_hold,omitempty"`
	// 天猫国际拦截
	OfpHold int64 `json:"ofp_hold,omitempty" xml:"ofp_hold,omitempty"`
	// 聚划算火拼标记
	DelayCreateDelivery int64 `json:"delay_create_delivery,omitempty" xml:"delay_create_delivery,omitempty"`
	// top定义订单类型
	Toptype int64 `json:"toptype,omitempty" xml:"toptype,omitempty"`
	// sortInfo
	SortInfo *SortInfo `json:"sort_info,omitempty" xml:"sort_info,omitempty"`
	// 1已排序 2不排序
	Sorted int64 `json:"sorted,omitempty" xml:"sorted,omitempty"`
	// 苏宁自提门店是否有效
	SuningShopValid int64 `json:"suning_shop_valid,omitempty" xml:"suning_shop_valid,omitempty"`
	// 购物金信息输出
	ExpandcardInfo *ExpandCardInfo `json:"expandcard_info,omitempty" xml:"expandcard_info,omitempty"`
	// 天猫商家使用,订单使用的红包信息
	TmallCouponFee int64 `json:"tmall_coupon_fee,omitempty" xml:"tmall_coupon_fee,omitempty"`
	// 三方鉴定信息
	IdentifyInfo *IdentifyInfo `json:"identify_info,omitempty" xml:"identify_info,omitempty"`
	// 物流服务
	LogisticsAgreement *LogisticsAgreement `json:"logistics_agreement,omitempty" xml:"logistics_agreement,omitempty"`
	// 买家的支付宝id号,在UIC中有记录,买家支付宝的唯一标示,不因为买家更换Email账号而改变。
	AlipayId int64 `json:"alipay_id,omitempty" xml:"alipay_id,omitempty"`
	// 卖家是否已评价。可选值:true(已评价),false(未评价)
	SellerRate bool `json:"seller_rate,omitempty" xml:"seller_rate,omitempty"`
	// 买家是否已评价。可选值:true(已评价),false(未评价)。如买家只评价未打分,此字段仍返回false
	BuyerRate bool `json:"buyer_rate,omitempty" xml:"buyer_rate,omitempty"`
	// 是否包含邮费。与available_confirm_fee同时使用。可选值:true(包含),false(不包含)
	HasPostFee bool `json:"has_post_fee,omitempty" xml:"has_post_fee,omitempty"`
	// 是否3D交易
	Is3D bool `json:"is_3D,omitempty" xml:"is_3D,omitempty"`
	// 是否保障速递,如果为true,则为保障速递订单,使用线下联系发货接口发货,如果未false,则该订单非保障速递,根据卖家设置的订单流转规则可使用物流宝或者常规物流发货。
	IsLgtype bool `json:"is_lgtype,omitempty" xml:"is_lgtype,omitempty"`
	// 表示是否是品牌特卖(常规特卖,不包括特卖惠和特实惠)订单,如果是返回true,如果不是返回false。当此字段与is_force_wlb均为true时,订单强制物流宝发货。
	IsBrandSale bool `json:"is_brand_sale,omitempty" xml:"is_brand_sale,omitempty"`
	// 订单是否强制使用物流宝发货。当此字段与is_brand_sale均为true时,订单强制物流宝发货。此字段为false时,该订单根据流转规则设置可以使用物流宝或者常规方式发货
	IsForceWlb bool `json:"is_force_wlb,omitempty" xml:"is_force_wlb,omitempty"`
	// 订单中是否包含运费险订单,如果包含运费险订单返回true,不包含运费险订单,返回false
	HasYfx bool `json:"has_yfx,omitempty" xml:"has_yfx,omitempty"`
	// 买家可以通过此字段查询是否当前交易可以评论,can_rate=true可以评价,false则不能评价。
	CanRate bool `json:"can_rate,omitempty" xml:"can_rate,omitempty"`
	// 卖家是否可以对订单进行评价
	SellerCanRate bool `json:"seller_can_rate,omitempty" xml:"seller_can_rate,omitempty"`
	// 是否是多次发货的订单如果卖家对订单进行多次发货,则为true否则为false
	IsPartConsign bool `json:"is_part_consign,omitempty" xml:"is_part_consign,omitempty"`
	// 表示订单交易是否含有对应的代销采购单。如果该订单中存在一个对应的代销采购单,那么该值为true;反之,该值为false。
	IsDaixiao bool `json:"is_daixiao,omitempty" xml:"is_daixiao,omitempty"`
	// 表示订单交易是否网厅订单。 如果该订单是网厅订单,那么该值为true;反之,该值为false。
	IsWt bool `json:"is_wt,omitempty" xml:"is_wt,omitempty"`
	// 在返回的trade对象上专门增加一个字段zero_purchase来区分,这个为true的就是0元购机预授权交易
	ZeroPurchase bool `json:"zero_purchase,omitempty" xml:"zero_purchase,omitempty"`
	// 是否屏蔽发货
	IsShShip bool `json:"is_sh_ship,omitempty" xml:"is_sh_ship,omitempty"`
	// 邮关订单
	PostGateDeclare bool `json:"post_gate_declare,omitempty" xml:"post_gate_declare,omitempty"`
	// 跨境订单
	CrossBondedDeclare bool `json:"cross_bonded_declare,omitempty" xml:"cross_bonded_declare,omitempty"`
	// 暂不公开
	IsGift bool `json:"is_gift,omitempty" xml:"is_gift,omitempty"`
	// 是否预售
	NewPresell bool `json:"new_presell,omitempty" xml:"new_presell,omitempty"`
	// 是否优享
	YouXiang bool `json:"you_xiang,omitempty" xml:"you_xiang,omitempty"`
	// 区分istore订单和普通订单
	IsIstore bool `json:"is_istore,omitempty" xml:"is_istore,omitempty"`
	// 是否是Openmall订单
	IsOpenmall bool `json:"is_openmall,omitempty" xml:"is_openmall,omitempty"`
	// 是否是码上收订单
	VLogisticsCreate bool `json:"v_logistics_create,omitempty" xml:"v_logistics_create,omitempty"`
	// 是否是非物流订单
	QRPay bool `json:"q_r_pay,omitempty" xml:"q_r_pay,omitempty"`
	// 通用的是否预售,默认是false,需要传general_new_presell参数才能真正识别是否是预售订单
	GeneralNewPresell bool `json:"general_new_presell,omitempty" xml:"general_new_presell,omitempty"`
	// 是否是周期购订单
	IsCycleBuy bool `json:"is_cycle_buy,omitempty" xml:"is_cycle_buy,omitempty"`
	// ascp会自动流转到菜鸟仓发货
	IsForceDc bool `json:"is_force_dc,omitempty" xml:"is_force_dc,omitempty"`
	// 判断订单是否有买家留言,有买家留言返回true,否则返回false
	HasBuyerMessage bool `json:"has_buyer_message,omitempty" xml:"has_buyer_message,omitempty"`
	// 是否是智慧门店订单,只有true,或者 null 两种情况
	IsO2oPassport bool `json:"is_o2o_passport,omitempty" xml:"is_o2o_passport,omitempty"`
	// tmallDelivery
	TmallDelivery bool `json:"tmall_delivery,omitempty" xml:"tmall_delivery,omitempty"`
	// threeplTiming
	ThreeplTiming bool `json:"threepl_timing,omitempty" xml:"threepl_timing,omitempty"`
	// 无物流信息返回true,平台属性,业务不要依赖
	NoShipping bool `json:"no_shipping,omitempty" xml:"no_shipping,omitempty"`
}

Trade 结构体

func GetTrade added in v1.3.4

func GetTrade() *Trade

GetTrade() 从对象池中获取Trade

type TradeAmount

type TradeAmount struct {
	// 子订单的帐务金额详情列表
	OrderAmounts []OrderAmount `json:"order_amounts,omitempty" xml:"order_amounts>order_amount,omitempty"`
	// 主交易订单的系统级优惠详情
	PromotionDetails []PromotionDetail `json:"promotion_details,omitempty" xml:"promotion_details>promotion_detail,omitempty"`
	// 支付宝交易号,如:2009112081173831
	AlipayNo string `json:"alipay_no,omitempty" xml:"alipay_no,omitempty"`
	// 交易创建时间
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 付款时间。格式:yyyy-MM-dd HH:mm:ss
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 交易成功时间(更新交易状态为成功的同时更新)/确认收货时间。格式:yyyy-MM-dd HH:mm:ss
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 主订单的商品金额(各子订单中商品price * num的和,不包括任何优惠信息)。精确到2位小数;单位:元。如:200.07,表示:200元7分
	TotalFee string `json:"total_fee,omitempty" xml:"total_fee,omitempty"`
	// 邮费。精确到2位小数;单位:元。如:200.07,表示:200元7分。目前只提供整笔交易的邮费,暂不提供各子订单的邮费
	PostFee string `json:"post_fee,omitempty" xml:"post_fee,omitempty"`
	// 货到付款服务费。精确到2位小数;单位:元。如:12.07,表示:12元7分
	CodFee string `json:"cod_fee,omitempty" xml:"cod_fee,omitempty"`
	// 买家货到付款服务费。精确到2位小数;单位:元。如:12.07,表示:12元7分
	BuyerCodFee string `json:"buyer_cod_fee,omitempty" xml:"buyer_cod_fee,omitempty"`
	// 卖家货到付款服务费。精确到2位小数;单位:元。如:12.07,表示:12元7分
	SellerCodFee string `json:"seller_cod_fee,omitempty" xml:"seller_cod_fee,omitempty"`
	// 快递代收款。精确到2位小数;单位:元。如:212.07,表示:212元7分
	ExpressAgencyFee string `json:"express_agency_fee,omitempty" xml:"express_agency_fee,omitempty"`
	// 主订单实付金额。精确到2位小数;单位:元。如:200.07,表示:200元7分,计算公式如下:如果主订单只有一笔子订单 payment = 子订单的实付金额 + 货到付款服务费(如果是货到付款订单) - 主订单的系统级优惠;如果主订单有多笔子订单 payment = 各子订单的实付金额之和 + 货到付款服务费(如果是货到付款订单) + 邮费 - 主订单的系统级优惠
	Payment string `json:"payment,omitempty" xml:"payment,omitempty"`
	// 交易佣金。精确到2位小数;单位:元。如:200.07,表示:200元7分
	CommissionFee string `json:"commission_fee,omitempty" xml:"commission_fee,omitempty"`
	// 买家获得积分,返点的积分。格式:100;单位:个
	BuyerObtainPointFee string `json:"buyer_obtain_point_fee,omitempty" xml:"buyer_obtain_point_fee,omitempty"`
	// 交易主订单编号
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
}

TradeAmount 结构体

func GetTradeAmount added in v1.3.4

func GetTradeAmount() *TradeAmount

GetTradeAmount() 从对象池中获取TradeAmount

type TradeConfirmFee

type TradeConfirmFee struct {
	// 确认收货的金额(不包含邮费)。精确到2位小数;单位:元。如:200.07,表示:200元7分
	ConfirmFee string `json:"confirm_fee,omitempty" xml:"confirm_fee,omitempty"`
	// 需确认收货的邮费,当不是最后一笔收货或者没有邮费时是0.00。精确到2位小数;单位:元。如:200.07,表示:200元7分
	ConfirmPostFee string `json:"confirm_post_fee,omitempty" xml:"confirm_post_fee,omitempty"`
	// 是否是最后一笔订单(只对子订单有效,当其他子订单都是交易完成时,返回true,否则false)
	IsLastOrder bool `json:"is_last_order,omitempty" xml:"is_last_order,omitempty"`
}

TradeConfirmFee 结构体

func GetTradeConfirmFee added in v1.3.4

func GetTradeConfirmFee() *TradeConfirmFee

GetTradeConfirmFee() 从对象池中获取TradeConfirmFee

type TradeExt

type TradeExt struct {
	// 第三方个性化数据
	ExtraData string `json:"extra_data,omitempty" xml:"extra_data,omitempty"`
	// attributes标记
	ExtAttributes string `json:"ext_attributes,omitempty" xml:"ext_attributes,omitempty"`
	// enable前扩展标识位
	BeforeEnableFlag int64 `json:"before_enable_flag,omitempty" xml:"before_enable_flag,omitempty"`
	// 关闭订单前扩展标识位
	BeforeCloseFlag int64 `json:"before_close_flag,omitempty" xml:"before_close_flag,omitempty"`
	// 付款前扩展标识位
	BeforePayFlag int64 `json:"before_pay_flag,omitempty" xml:"before_pay_flag,omitempty"`
	// 发货前扩展标识位
	BeforeShipFlag int64 `json:"before_ship_flag,omitempty" xml:"before_ship_flag,omitempty"`
	// 确认收货前扩展标识位
	BeforeConfirmFlag int64 `json:"before_confirm_flag,omitempty" xml:"before_confirm_flag,omitempty"`
	// 评价前扩展标识位
	BeforeRateFlag int64 `json:"before_rate_flag,omitempty" xml:"before_rate_flag,omitempty"`
	// 退款前扩展标识位
	BeforeRefundFlag int64 `json:"before_refund_flag,omitempty" xml:"before_refund_flag,omitempty"`
	// 修改前扩展标识位
	BeforeModifyFlag int64 `json:"before_modify_flag,omitempty" xml:"before_modify_flag,omitempty"`
	// 第三方状态,第三方自由定义
	ThirdPartyStatus int64 `json:"third_party_status,omitempty" xml:"third_party_status,omitempty"`
}

TradeExt 结构体

func GetTradeExt added in v1.3.4

func GetTradeExt() *TradeExt

GetTradeExt() 从对象池中获取TradeExt

Source Files

Jump to

Keyboard shortcuts

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