Documentation ¶
Overview ¶
Package openmall 包含OpenMall-API相关结构体
Index ¶
- type PostDo
- type RefundMessage
- type RefundMessagePic
- type RefundRemindTimeout
- type TaobaoOpenmallItemGetAPIRequest
- func (r TaobaoOpenmallItemGetAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallItemGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallItemGetAPIRequest) GetItemId() int64
- func (r TaobaoOpenmallItemGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoOpenmallItemGetAPIRequest) SetItemId(_itemId int64) error
- type TaobaoOpenmallItemGetAPIResponse
- type TaobaoOpenmallItemGetAPIResponseModel
- type TaobaoOpenmallItemGetResultDo
- type TaobaoOpenmallItemSaleareaGetAPIRequest
- func (r TaobaoOpenmallItemSaleareaGetAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallItemSaleareaGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallItemSaleareaGetAPIRequest) GetItemId() int64
- func (r TaobaoOpenmallItemSaleareaGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallItemSaleareaGetAPIRequest) GetSkuIds() string
- func (r *TaobaoOpenmallItemSaleareaGetAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoOpenmallItemSaleareaGetAPIRequest) SetSkuIds(_skuIds string) error
- type TaobaoOpenmallItemSaleareaGetAPIResponse
- type TaobaoOpenmallItemSaleareaGetAPIResponseModel
- type TaobaoOpenmallItemSaleareaGetResultDo
- type TaobaoOpenmallItemsQueryAPIRequest
- func (r TaobaoOpenmallItemsQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallItemsQueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallItemsQueryAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallItemsQueryAPIRequest) GetItemIds() string
- func (r TaobaoOpenmallItemsQueryAPIRequest) GetPageNo() int64
- func (r TaobaoOpenmallItemsQueryAPIRequest) GetPageSize() int64
- func (r TaobaoOpenmallItemsQueryAPIRequest) GetRawParams() model.Params
- func (r *TaobaoOpenmallItemsQueryAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallItemsQueryAPIRequest) SetItemIds(_itemIds string) error
- func (r *TaobaoOpenmallItemsQueryAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoOpenmallItemsQueryAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaoOpenmallItemsQueryAPIResponse
- type TaobaoOpenmallItemsQueryAPIResponseModel
- type TaobaoOpenmallItemsQueryResultDo
- type TaobaoOpenmallRefundBatchGetAPIRequest
- func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetEndCreated() string
- func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetPageIndex() int64
- func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetPageSize() int64
- func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetStartCreated() string
- func (r *TaobaoOpenmallRefundBatchGetAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallRefundBatchGetAPIRequest) SetEndCreated(_endCreated string) error
- func (r *TaobaoOpenmallRefundBatchGetAPIRequest) SetPageIndex(_pageIndex int64) error
- func (r *TaobaoOpenmallRefundBatchGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoOpenmallRefundBatchGetAPIRequest) SetStartCreated(_startCreated string) error
- type TaobaoOpenmallRefundBatchGetAPIResponse
- type TaobaoOpenmallRefundBatchGetAPIResponseModel
- type TaobaoOpenmallRefundCloseAPIRequest
- func (r TaobaoOpenmallRefundCloseAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallRefundCloseAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallRefundCloseAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallRefundCloseAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallRefundCloseAPIRequest) GetRefundId() int64
- func (r *TaobaoOpenmallRefundCloseAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallRefundCloseAPIRequest) SetRefundId(_refundId int64) error
- type TaobaoOpenmallRefundCloseAPIResponse
- type TaobaoOpenmallRefundCloseAPIResponseModel
- type TaobaoOpenmallRefundCreateAPIRequest
- func (r TaobaoOpenmallRefundCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallRefundCreateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallRefundCreateAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallRefundCreateAPIRequest) GetGoodsStatus() string
- func (r TaobaoOpenmallRefundCreateAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallRefundCreateAPIRequest) GetRefundDesc() string
- func (r TaobaoOpenmallRefundCreateAPIRequest) GetRefundFee() int64
- func (r TaobaoOpenmallRefundCreateAPIRequest) GetRefundReason() string
- func (r TaobaoOpenmallRefundCreateAPIRequest) GetRefundType() string
- func (r TaobaoOpenmallRefundCreateAPIRequest) GetTid() int64
- func (r *TaobaoOpenmallRefundCreateAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallRefundCreateAPIRequest) SetGoodsStatus(_goodsStatus string) error
- func (r *TaobaoOpenmallRefundCreateAPIRequest) SetRefundDesc(_refundDesc string) error
- func (r *TaobaoOpenmallRefundCreateAPIRequest) SetRefundFee(_refundFee int64) error
- func (r *TaobaoOpenmallRefundCreateAPIRequest) SetRefundReason(_refundReason string) error
- func (r *TaobaoOpenmallRefundCreateAPIRequest) SetRefundType(_refundType string) error
- func (r *TaobaoOpenmallRefundCreateAPIRequest) SetTid(_tid int64) error
- type TaobaoOpenmallRefundCreateAPIResponse
- type TaobaoOpenmallRefundCreateAPIResponseModel
- type TaobaoOpenmallRefundGetAPIRequest
- func (r TaobaoOpenmallRefundGetAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallRefundGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallRefundGetAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallRefundGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallRefundGetAPIRequest) GetRefundId() int64
- func (r *TaobaoOpenmallRefundGetAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallRefundGetAPIRequest) SetRefundId(_refundId int64) error
- type TaobaoOpenmallRefundGetAPIResponse
- type TaobaoOpenmallRefundGetAPIResponseModel
- type TaobaoOpenmallRefundImageUploadAPIRequest
- func (r TaobaoOpenmallRefundImageUploadAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallRefundImageUploadAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallRefundImageUploadAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallRefundImageUploadAPIRequest) GetImage() *model.File
- func (r TaobaoOpenmallRefundImageUploadAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallRefundImageUploadAPIRequest) GetRefundId() int64
- func (r *TaobaoOpenmallRefundImageUploadAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallRefundImageUploadAPIRequest) SetImage(_image *model.File) error
- func (r *TaobaoOpenmallRefundImageUploadAPIRequest) SetRefundId(_refundId int64) error
- type TaobaoOpenmallRefundImageUploadAPIResponse
- type TaobaoOpenmallRefundImageUploadAPIResponseModel
- type TaobaoOpenmallRefundMessageGetAPIRequest
- func (r TaobaoOpenmallRefundMessageGetAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallRefundMessageGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallRefundMessageGetAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallRefundMessageGetAPIRequest) GetPageNo() int64
- func (r TaobaoOpenmallRefundMessageGetAPIRequest) GetPageSize() int64
- func (r TaobaoOpenmallRefundMessageGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallRefundMessageGetAPIRequest) GetRefundId() int64
- func (r *TaobaoOpenmallRefundMessageGetAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallRefundMessageGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoOpenmallRefundMessageGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoOpenmallRefundMessageGetAPIRequest) SetRefundId(_refundId int64) error
- type TaobaoOpenmallRefundMessageGetAPIResponse
- type TaobaoOpenmallRefundMessageGetAPIResponseModel
- type TaobaoOpenmallRefundMessageSubmitAPIRequest
- func (r TaobaoOpenmallRefundMessageSubmitAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallRefundMessageSubmitAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallRefundMessageSubmitAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallRefundMessageSubmitAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallRefundMessageSubmitAPIRequest) GetRefundId() int64
- func (r TaobaoOpenmallRefundMessageSubmitAPIRequest) GetRefundMessage() *RefundMessage
- func (r *TaobaoOpenmallRefundMessageSubmitAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallRefundMessageSubmitAPIRequest) SetRefundId(_refundId int64) error
- func (r *TaobaoOpenmallRefundMessageSubmitAPIRequest) SetRefundMessage(_refundMessage *RefundMessage) error
- type TaobaoOpenmallRefundMessageSubmitAPIResponse
- type TaobaoOpenmallRefundMessageSubmitAPIResponseModel
- type TaobaoOpenmallRefundModifyAPIRequest
- func (r TaobaoOpenmallRefundModifyAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallRefundModifyAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallRefundModifyAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallRefundModifyAPIRequest) GetGoodsStatus() string
- func (r TaobaoOpenmallRefundModifyAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallRefundModifyAPIRequest) GetRefundDesc() string
- func (r TaobaoOpenmallRefundModifyAPIRequest) GetRefundFee() int64
- func (r TaobaoOpenmallRefundModifyAPIRequest) GetRefundId() int64
- func (r TaobaoOpenmallRefundModifyAPIRequest) GetRefundReason() string
- func (r TaobaoOpenmallRefundModifyAPIRequest) GetRefundType() string
- func (r *TaobaoOpenmallRefundModifyAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallRefundModifyAPIRequest) SetGoodsStatus(_goodsStatus string) error
- func (r *TaobaoOpenmallRefundModifyAPIRequest) SetRefundDesc(_refundDesc string) error
- func (r *TaobaoOpenmallRefundModifyAPIRequest) SetRefundFee(_refundFee int64) error
- func (r *TaobaoOpenmallRefundModifyAPIRequest) SetRefundId(_refundId int64) error
- func (r *TaobaoOpenmallRefundModifyAPIRequest) SetRefundReason(_refundReason string) error
- func (r *TaobaoOpenmallRefundModifyAPIRequest) SetRefundType(_refundType string) error
- type TaobaoOpenmallRefundModifyAPIResponse
- type TaobaoOpenmallRefundModifyAPIResponseModel
- type TaobaoOpenmallRefundSubmitAPIRequest
- func (r TaobaoOpenmallRefundSubmitAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallRefundSubmitAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallRefundSubmitAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallRefundSubmitAPIRequest) GetLogisticsCompanyCode() string
- func (r TaobaoOpenmallRefundSubmitAPIRequest) GetLogisticsCompanyName() string
- func (r TaobaoOpenmallRefundSubmitAPIRequest) GetLogisticsNo() string
- func (r TaobaoOpenmallRefundSubmitAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallRefundSubmitAPIRequest) GetRefundId() int64
- func (r *TaobaoOpenmallRefundSubmitAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallRefundSubmitAPIRequest) SetLogisticsCompanyCode(_logisticsCompanyCode string) error
- func (r *TaobaoOpenmallRefundSubmitAPIRequest) SetLogisticsCompanyName(_logisticsCompanyName string) error
- func (r *TaobaoOpenmallRefundSubmitAPIRequest) SetLogisticsNo(_logisticsNo string) error
- func (r *TaobaoOpenmallRefundSubmitAPIRequest) SetRefundId(_refundId int64) error
- type TaobaoOpenmallRefundSubmitAPIResponse
- type TaobaoOpenmallRefundSubmitAPIResponseModel
- type TaobaoOpenmallTraceSearchAPIRequest
- func (r TaobaoOpenmallTraceSearchAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallTraceSearchAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallTraceSearchAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallTraceSearchAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallTraceSearchAPIRequest) GetTid() int64
- func (r *TaobaoOpenmallTraceSearchAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallTraceSearchAPIRequest) SetTid(_tid int64) error
- type TaobaoOpenmallTraceSearchAPIResponse
- type TaobaoOpenmallTraceSearchAPIResponseModel
- type TaobaoOpenmallTradeAddressParseAPIRequest
- func (r TaobaoOpenmallTradeAddressParseAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallTradeAddressParseAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallTradeAddressParseAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallTradeAddressParseAPIRequest) GetRawAddress() string
- func (r TaobaoOpenmallTradeAddressParseAPIRequest) GetRawParams() model.Params
- func (r *TaobaoOpenmallTradeAddressParseAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallTradeAddressParseAPIRequest) SetRawAddress(_rawAddress string) error
- type TaobaoOpenmallTradeAddressParseAPIResponse
- type TaobaoOpenmallTradeAddressParseAPIResponseModel
- type TaobaoOpenmallTradeAgreepayAPIRequest
- func (r TaobaoOpenmallTradeAgreepayAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallTradeAgreepayAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallTradeAgreepayAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallTradeAgreepayAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallTradeAgreepayAPIRequest) GetTid() int64
- func (r *TaobaoOpenmallTradeAgreepayAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallTradeAgreepayAPIRequest) SetTid(_tid int64) error
- type TaobaoOpenmallTradeAgreepayAPIResponse
- type TaobaoOpenmallTradeAgreepayAPIResponseModel
- type TaobaoOpenmallTradeBatchGetAPIRequest
- func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetEndCreated() string
- func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetPageIndex() int64
- func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetPageSize() int64
- func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetStartCreated() string
- func (r *TaobaoOpenmallTradeBatchGetAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallTradeBatchGetAPIRequest) SetEndCreated(_endCreated string) error
- func (r *TaobaoOpenmallTradeBatchGetAPIRequest) SetPageIndex(_pageIndex int64) error
- func (r *TaobaoOpenmallTradeBatchGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoOpenmallTradeBatchGetAPIRequest) SetStartCreated(_startCreated string) error
- type TaobaoOpenmallTradeBatchGetAPIResponse
- type TaobaoOpenmallTradeBatchGetAPIResponseModel
- type TaobaoOpenmallTradeCloseAPIRequest
- func (r TaobaoOpenmallTradeCloseAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallTradeCloseAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallTradeCloseAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallTradeCloseAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallTradeCloseAPIRequest) GetReason() string
- func (r TaobaoOpenmallTradeCloseAPIRequest) GetTid() int64
- func (r *TaobaoOpenmallTradeCloseAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallTradeCloseAPIRequest) SetReason(_reason string) error
- func (r *TaobaoOpenmallTradeCloseAPIRequest) SetTid(_tid int64) error
- type TaobaoOpenmallTradeCloseAPIResponse
- type TaobaoOpenmallTradeCloseAPIResponseModel
- type TaobaoOpenmallTradeConfirmAPIRequest
- func (r TaobaoOpenmallTradeConfirmAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallTradeConfirmAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallTradeConfirmAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallTradeConfirmAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallTradeConfirmAPIRequest) GetTid() int64
- func (r *TaobaoOpenmallTradeConfirmAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallTradeConfirmAPIRequest) SetTid(_tid int64) error
- type TaobaoOpenmallTradeConfirmAPIResponse
- type TaobaoOpenmallTradeConfirmAPIResponseModel
- type TaobaoOpenmallTradeCreateAPIRequest
- func (r TaobaoOpenmallTradeCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallTradeCreateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallTradeCreateAPIRequest) GetParamTopTradeCreateDO() *TopTradeCreateDo
- func (r TaobaoOpenmallTradeCreateAPIRequest) GetRawParams() model.Params
- func (r *TaobaoOpenmallTradeCreateAPIRequest) SetParamTopTradeCreateDO(_paramTopTradeCreateDO *TopTradeCreateDo) error
- type TaobaoOpenmallTradeCreateAPIResponse
- type TaobaoOpenmallTradeCreateAPIResponseModel
- type TaobaoOpenmallTradeGetAPIRequest
- func (r TaobaoOpenmallTradeGetAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallTradeGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallTradeGetAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallTradeGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallTradeGetAPIRequest) GetTid() int64
- func (r *TaobaoOpenmallTradeGetAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallTradeGetAPIRequest) SetTid(_tid int64) error
- type TaobaoOpenmallTradeGetAPIResponse
- type TaobaoOpenmallTradeGetAPIResponseModel
- type TaobaoOpenmallTradeRenderAPIRequest
- func (r TaobaoOpenmallTradeRenderAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallTradeRenderAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallTradeRenderAPIRequest) GetParamTopTradeCreateDO() *TopTradeCreateDo
- func (r TaobaoOpenmallTradeRenderAPIRequest) GetRawParams() model.Params
- func (r *TaobaoOpenmallTradeRenderAPIRequest) SetParamTopTradeCreateDO(_paramTopTradeCreateDO *TopTradeCreateDo) error
- type TaobaoOpenmallTradeRenderAPIResponse
- type TaobaoOpenmallTradeRenderAPIResponseModel
- type TaobaoOpenmallTradeShipaddressUpdateAPIRequest
- func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetDistributor() string
- func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverAddress() string
- func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverCity() string
- func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverDistrict() string
- func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverMobile() string
- func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverName() string
- func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverPhone() string
- func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverState() string
- func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverZip() string
- func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetTid() int64
- func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetDistributor(_distributor string) error
- func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverAddress(_receiverAddress string) error
- func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverCity(_receiverCity string) error
- func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverDistrict(_receiverDistrict string) error
- func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverMobile(_receiverMobile string) error
- func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverName(_receiverName string) error
- func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverPhone(_receiverPhone string) error
- func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverState(_receiverState string) error
- func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverZip(_receiverZip string) error
- func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetTid(_tid int64) error
- type TaobaoOpenmallTradeShipaddressUpdateAPIResponse
- type TaobaoOpenmallTradeShipaddressUpdateAPIResponseModel
- type TopItemImageVo
- type TopItemSkuVo
- type TopItemVo
- type TopLogisticsDetailTraceVo
- type TopOrderVo
- type TopParseAddressEntryVo
- type TopParseAddressVo
- type TopPostageVo
- type TopRefundVo
- type TopSaleAreaVo
- type TopTradeCreateDo
- type TopTradeDetailVo
- type TopTradeResultVo
- type TransitStepInfoVo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostDo ¶
type PostDo struct { // 运费金额,运费0为包邮 Amount string `json:"amount,omitempty" xml:"amount,omitempty"` // 发货方式 快递,EMS等 Name string `json:"name,omitempty" xml:"name,omitempty"` // 物流方式,可选值 ems, post, express ShippingType string `json:"shipping_type,omitempty" xml:"shipping_type,omitempty"` }
PostDo 结构体
type RefundMessage ¶
type RefundMessage struct { // 退款单结构 RefundMessagePics []RefundMessagePic `json:"refund_message_pics,omitempty" xml:"refund_message_pics>refund_message_pic,omitempty"` // 退款留言 RefundMessage string `json:"refund_message,omitempty" xml:"refund_message,omitempty"` // 留言时间 Time string `json:"time,omitempty" xml:"time,omitempty"` // 操作角色ID,1(卖家主账户),2(卖家子账户),3(小二)、4(买家)、5(系统)、6(系统超时)、7(服务商);openmall中提交的留言角色均为4买家身份 Role int64 `json:"role,omitempty" xml:"role,omitempty"` }
RefundMessage 结构体
type RefundMessagePic ¶
type RefundMessagePic struct { // 退款单图片留言 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 退款单图片地址 Pic string `json:"pic,omitempty" xml:"pic,omitempty"` // 使用taobao.openmall.refund.image.upload得到的上传token PicToken string `json:"pic_token,omitempty" xml:"pic_token,omitempty"` }
RefundMessagePic 结构体
type RefundRemindTimeout ¶
type RefundRemindTimeout struct { // 超时时间。格式:yyyy-MM-dd HH:mm:ss Timeout string `json:"timeout,omitempty" xml:"timeout,omitempty"` // 是否存在超时。可选值:true(是),false(否) ExistTimeout bool `json:"exist_timeout,omitempty" xml:"exist_timeout,omitempty"` }
RefundRemindTimeout 结构体
type TaobaoOpenmallItemGetAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallItemGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallItemGetAPIRequest 获取商品详情物料 API请求 taobao.openmall.item.get
获取联盟开放的openmall商品
func NewTaobaoOpenmallItemGetRequest ¶
func NewTaobaoOpenmallItemGetRequest() *TaobaoOpenmallItemGetAPIRequest
NewTaobaoOpenmallItemGetRequest 初始化TaobaoOpenmallItemGetAPIRequest对象
func (TaobaoOpenmallItemGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallItemGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallItemGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallItemGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallItemGetAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoOpenmallItemGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoOpenmallItemGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallItemGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoOpenmallItemGetAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoOpenmallItemGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
type TaobaoOpenmallItemGetAPIResponse ¶
type TaobaoOpenmallItemGetAPIResponse struct { model.CommonResponse TaobaoOpenmallItemGetAPIResponseModel }
TaobaoOpenmallItemGetAPIResponse 获取商品详情物料 API返回值 taobao.openmall.item.get
获取联盟开放的openmall商品
type TaobaoOpenmallItemGetAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallItemGetAPIResponseModel struct { XMLName xml.Name `xml:"openmall_item_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *TaobaoOpenmallItemGetResultDo `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallItemGetAPIResponseModel is 获取商品详情物料 成功返回结果
type TaobaoOpenmallItemGetResultDo ¶
type TaobaoOpenmallItemGetResultDo struct { // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 商品 Item *TopItemVo `json:"item,omitempty" xml:"item,omitempty"` // 调用是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoOpenmallItemGetResultDo 结构体
type TaobaoOpenmallItemSaleareaGetAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallItemSaleareaGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallItemSaleareaGetAPIRequest 查询商品可售区域 API请求 taobao.openmall.item.salearea.get
获取openmall商品的可售区域
func NewTaobaoOpenmallItemSaleareaGetRequest ¶
func NewTaobaoOpenmallItemSaleareaGetRequest() *TaobaoOpenmallItemSaleareaGetAPIRequest
NewTaobaoOpenmallItemSaleareaGetRequest 初始化TaobaoOpenmallItemSaleareaGetAPIRequest对象
func (TaobaoOpenmallItemSaleareaGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallItemSaleareaGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallItemSaleareaGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallItemSaleareaGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallItemSaleareaGetAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoOpenmallItemSaleareaGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoOpenmallItemSaleareaGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallItemSaleareaGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallItemSaleareaGetAPIRequest) GetSkuIds ¶ added in v1.2.0
func (r TaobaoOpenmallItemSaleareaGetAPIRequest) GetSkuIds() string
GetSkuIds SkuIds Getter
func (*TaobaoOpenmallItemSaleareaGetAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoOpenmallItemSaleareaGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*TaobaoOpenmallItemSaleareaGetAPIRequest) SetSkuIds ¶ added in v1.2.0
func (r *TaobaoOpenmallItemSaleareaGetAPIRequest) SetSkuIds(_skuIds string) error
SetSkuIds is SkuIds Setter 商品SKU
type TaobaoOpenmallItemSaleareaGetAPIResponse ¶
type TaobaoOpenmallItemSaleareaGetAPIResponse struct { model.CommonResponse TaobaoOpenmallItemSaleareaGetAPIResponseModel }
TaobaoOpenmallItemSaleareaGetAPIResponse 查询商品可售区域 API返回值 taobao.openmall.item.salearea.get
获取openmall商品的可售区域
type TaobaoOpenmallItemSaleareaGetAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallItemSaleareaGetAPIResponseModel struct { XMLName xml.Name `xml:"openmall_item_salearea_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *TaobaoOpenmallItemSaleareaGetResultDo `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallItemSaleareaGetAPIResponseModel is 查询商品可售区域 成功返回结果
type TaobaoOpenmallItemSaleareaGetResultDo ¶
type TaobaoOpenmallItemSaleareaGetResultDo struct { // 可售区域结果 SaleAreaList []TopSaleAreaVo `json:"sale_area_list,omitempty" xml:"sale_area_list>top_sale_area_vo,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 调用是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoOpenmallItemSaleareaGetResultDo 结构体
type TaobaoOpenmallItemsQueryAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallItemsQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallItemsQueryAPIRequest 批量获取商品列表 API请求 taobao.openmall.items.query
批量获取对联盟开放的商品列表。
func NewTaobaoOpenmallItemsQueryRequest ¶
func NewTaobaoOpenmallItemsQueryRequest() *TaobaoOpenmallItemsQueryAPIRequest
NewTaobaoOpenmallItemsQueryRequest 初始化TaobaoOpenmallItemsQueryAPIRequest对象
func (TaobaoOpenmallItemsQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallItemsQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallItemsQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallItemsQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallItemsQueryAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallItemsQueryAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallItemsQueryAPIRequest) GetItemIds ¶ added in v1.2.0
func (r TaobaoOpenmallItemsQueryAPIRequest) GetItemIds() string
GetItemIds ItemIds Getter
func (TaobaoOpenmallItemsQueryAPIRequest) GetPageNo ¶ added in v1.2.0
func (r TaobaoOpenmallItemsQueryAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoOpenmallItemsQueryAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoOpenmallItemsQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoOpenmallItemsQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallItemsQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoOpenmallItemsQueryAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallItemsQueryAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 当不输入渠道商时,展示全网公有商品池;当输入渠道商的淘宝Nick时,展示该渠道私有供给商品列表
func (*TaobaoOpenmallItemsQueryAPIRequest) SetItemIds ¶ added in v1.2.0
func (r *TaobaoOpenmallItemsQueryAPIRequest) SetItemIds(_itemIds string) error
SetItemIds is ItemIds Setter 已废弃,请勿使用
func (*TaobaoOpenmallItemsQueryAPIRequest) SetPageNo ¶ added in v1.2.0
func (r *TaobaoOpenmallItemsQueryAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认:1
func (*TaobaoOpenmallItemsQueryAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoOpenmallItemsQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
type TaobaoOpenmallItemsQueryAPIResponse ¶
type TaobaoOpenmallItemsQueryAPIResponse struct { model.CommonResponse TaobaoOpenmallItemsQueryAPIResponseModel }
TaobaoOpenmallItemsQueryAPIResponse 批量获取商品列表 API返回值 taobao.openmall.items.query
批量获取对联盟开放的商品列表。
type TaobaoOpenmallItemsQueryAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallItemsQueryAPIResponseModel struct { XMLName xml.Name `xml:"openmall_items_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *TaobaoOpenmallItemsQueryResultDo `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallItemsQueryAPIResponseModel is 批量获取商品列表 成功返回结果
type TaobaoOpenmallItemsQueryResultDo ¶
type TaobaoOpenmallItemsQueryResultDo struct { // 商品列表 ItemList []TopItemVo `json:"item_list,omitempty" xml:"item_list>top_item_vo,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 调用是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoOpenmallItemsQueryResultDo 结构体
type TaobaoOpenmallRefundBatchGetAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallRefundBatchGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallRefundBatchGetAPIRequest 批量获取openmall退款单 API请求 taobao.openmall.refund.batch.get
批量获取openmall退款单 注意:该接口信息存在延迟,如需实时详情请访问taobao.openmall.refund.get
func NewTaobaoOpenmallRefundBatchGetRequest ¶
func NewTaobaoOpenmallRefundBatchGetRequest() *TaobaoOpenmallRefundBatchGetAPIRequest
NewTaobaoOpenmallRefundBatchGetRequest 初始化TaobaoOpenmallRefundBatchGetAPIRequest对象
func (TaobaoOpenmallRefundBatchGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallRefundBatchGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallRefundBatchGetAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallRefundBatchGetAPIRequest) GetEndCreated ¶ added in v1.2.0
func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetEndCreated() string
GetEndCreated EndCreated Getter
func (TaobaoOpenmallRefundBatchGetAPIRequest) GetPageIndex ¶ added in v1.2.0
func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetPageIndex() int64
GetPageIndex PageIndex Getter
func (TaobaoOpenmallRefundBatchGetAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoOpenmallRefundBatchGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallRefundBatchGetAPIRequest) GetStartCreated ¶ added in v1.2.0
func (r TaobaoOpenmallRefundBatchGetAPIRequest) GetStartCreated() string
GetStartCreated StartCreated Getter
func (*TaobaoOpenmallRefundBatchGetAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundBatchGetAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 查询的渠道商Nick
func (*TaobaoOpenmallRefundBatchGetAPIRequest) SetEndCreated ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundBatchGetAPIRequest) SetEndCreated(_endCreated string) error
SetEndCreated is EndCreated Setter 查询范围结束时间,闭区间
func (*TaobaoOpenmallRefundBatchGetAPIRequest) SetPageIndex ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundBatchGetAPIRequest) SetPageIndex(_pageIndex int64) error
SetPageIndex is PageIndex Setter 翻页页码,从1开始
func (*TaobaoOpenmallRefundBatchGetAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundBatchGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页面大小,不超过100
func (*TaobaoOpenmallRefundBatchGetAPIRequest) SetStartCreated ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundBatchGetAPIRequest) SetStartCreated(_startCreated string) error
SetStartCreated is StartCreated Setter 查询范围开始时间,闭区间
type TaobaoOpenmallRefundBatchGetAPIResponse ¶
type TaobaoOpenmallRefundBatchGetAPIResponse struct { model.CommonResponse TaobaoOpenmallRefundBatchGetAPIResponseModel }
TaobaoOpenmallRefundBatchGetAPIResponse 批量获取openmall退款单 API返回值 taobao.openmall.refund.batch.get
批量获取openmall退款单 注意:该接口信息存在延迟,如需实时详情请访问taobao.openmall.refund.get
type TaobaoOpenmallRefundBatchGetAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallRefundBatchGetAPIResponseModel struct { XMLName xml.Name `xml:"openmall_refund_batch_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 退款列表 Entities []TopRefundVo `json:"entities,omitempty" xml:"entities>top_refund_vo,omitempty"` // 范围内总的退款单个数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoOpenmallRefundBatchGetAPIResponseModel is 批量获取openmall退款单 成功返回结果
type TaobaoOpenmallRefundCloseAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallRefundCloseAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallRefundCloseAPIRequest 关闭OpenMall退款单 API请求 taobao.openmall.refund.close
关闭OpenMall退款单
func NewTaobaoOpenmallRefundCloseRequest ¶
func NewTaobaoOpenmallRefundCloseRequest() *TaobaoOpenmallRefundCloseAPIRequest
NewTaobaoOpenmallRefundCloseRequest 初始化TaobaoOpenmallRefundCloseAPIRequest对象
func (TaobaoOpenmallRefundCloseAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallRefundCloseAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallRefundCloseAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallRefundCloseAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallRefundCloseAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallRefundCloseAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallRefundCloseAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallRefundCloseAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallRefundCloseAPIRequest) GetRefundId ¶ added in v1.2.0
func (r TaobaoOpenmallRefundCloseAPIRequest) GetRefundId() int64
GetRefundId RefundId Getter
func (*TaobaoOpenmallRefundCloseAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundCloseAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 渠道
func (*TaobaoOpenmallRefundCloseAPIRequest) SetRefundId ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundCloseAPIRequest) SetRefundId(_refundId int64) error
SetRefundId is RefundId Setter 退款ID
type TaobaoOpenmallRefundCloseAPIResponse ¶
type TaobaoOpenmallRefundCloseAPIResponse struct { model.CommonResponse TaobaoOpenmallRefundCloseAPIResponseModel }
TaobaoOpenmallRefundCloseAPIResponse 关闭OpenMall退款单 API返回值 taobao.openmall.refund.close
关闭OpenMall退款单
type TaobaoOpenmallRefundCloseAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallRefundCloseAPIResponseModel struct { XMLName xml.Name `xml:"openmall_refund_close_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否关闭成功 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallRefundCloseAPIResponseModel is 关闭OpenMall退款单 成功返回结果
type TaobaoOpenmallRefundCreateAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallRefundCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallRefundCreateAPIRequest 创建OpenMall退款单 API请求 taobao.openmall.refund.create
创建OpenMall退款单 如存在未完结的退款单,则返回该退款单ID
func NewTaobaoOpenmallRefundCreateRequest ¶
func NewTaobaoOpenmallRefundCreateRequest() *TaobaoOpenmallRefundCreateAPIRequest
NewTaobaoOpenmallRefundCreateRequest 初始化TaobaoOpenmallRefundCreateAPIRequest对象
func (TaobaoOpenmallRefundCreateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallRefundCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallRefundCreateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallRefundCreateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallRefundCreateAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallRefundCreateAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallRefundCreateAPIRequest) GetGoodsStatus ¶ added in v1.2.0
func (r TaobaoOpenmallRefundCreateAPIRequest) GetGoodsStatus() string
GetGoodsStatus GoodsStatus Getter
func (TaobaoOpenmallRefundCreateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallRefundCreateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallRefundCreateAPIRequest) GetRefundDesc ¶ added in v1.2.0
func (r TaobaoOpenmallRefundCreateAPIRequest) GetRefundDesc() string
GetRefundDesc RefundDesc Getter
func (TaobaoOpenmallRefundCreateAPIRequest) GetRefundFee ¶ added in v1.2.0
func (r TaobaoOpenmallRefundCreateAPIRequest) GetRefundFee() int64
GetRefundFee RefundFee Getter
func (TaobaoOpenmallRefundCreateAPIRequest) GetRefundReason ¶ added in v1.2.0
func (r TaobaoOpenmallRefundCreateAPIRequest) GetRefundReason() string
GetRefundReason RefundReason Getter
func (TaobaoOpenmallRefundCreateAPIRequest) GetRefundType ¶ added in v1.2.0
func (r TaobaoOpenmallRefundCreateAPIRequest) GetRefundType() string
GetRefundType RefundType Getter
func (TaobaoOpenmallRefundCreateAPIRequest) GetTid ¶ added in v1.2.0
func (r TaobaoOpenmallRefundCreateAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoOpenmallRefundCreateAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundCreateAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 分销者联盟身份
func (*TaobaoOpenmallRefundCreateAPIRequest) SetGoodsStatus ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundCreateAPIRequest) SetGoodsStatus(_goodsStatus string) error
SetGoodsStatus is GoodsStatus Setter 货品状态,可选值 BUYER_NOT_RECEIVED(买家未收到货)、BUYER_RECEIVED(买家已收到货)、UNSHIPPED(未发货)
func (*TaobaoOpenmallRefundCreateAPIRequest) SetRefundDesc ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundCreateAPIRequest) SetRefundDesc(_refundDesc string) error
SetRefundDesc is RefundDesc Setter 买家的退货描述
func (*TaobaoOpenmallRefundCreateAPIRequest) SetRefundFee ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundCreateAPIRequest) SetRefundFee(_refundFee int64) error
SetRefundFee is RefundFee Setter 退款金额,分
func (*TaobaoOpenmallRefundCreateAPIRequest) SetRefundReason ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundCreateAPIRequest) SetRefundReason(_refundReason string) error
SetRefundReason is RefundReason Setter 退款类别,可选值OTHER_REASON(其他)、SEVEN_DAYS_WITHOUT_REASON(7天无理由,不退邮费)
func (*TaobaoOpenmallRefundCreateAPIRequest) SetRefundType ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundCreateAPIRequest) SetRefundType(_refundType string) error
SetRefundType is RefundType Setter 退款类型,可选值refund(仅退款)、return_and_refund(退款退货)
func (*TaobaoOpenmallRefundCreateAPIRequest) SetTid ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundCreateAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 订单号
type TaobaoOpenmallRefundCreateAPIResponse ¶
type TaobaoOpenmallRefundCreateAPIResponse struct { model.CommonResponse TaobaoOpenmallRefundCreateAPIResponseModel }
TaobaoOpenmallRefundCreateAPIResponse 创建OpenMall退款单 API返回值 taobao.openmall.refund.create
创建OpenMall退款单 如存在未完结的退款单,则返回该退款单ID
type TaobaoOpenmallRefundCreateAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallRefundCreateAPIResponseModel struct { XMLName xml.Name `xml:"openmall_refund_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 退款单状态 Status string `json:"status,omitempty" xml:"status,omitempty"` // 退款ID RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` }
TaobaoOpenmallRefundCreateAPIResponseModel is 创建OpenMall退款单 成功返回结果
type TaobaoOpenmallRefundGetAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallRefundGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallRefundGetAPIRequest 获取OpenMall退款单详情 API请求 taobao.openmall.refund.get
获取OpenMall退款单详情
func NewTaobaoOpenmallRefundGetRequest ¶
func NewTaobaoOpenmallRefundGetRequest() *TaobaoOpenmallRefundGetAPIRequest
NewTaobaoOpenmallRefundGetRequest 初始化TaobaoOpenmallRefundGetAPIRequest对象
func (TaobaoOpenmallRefundGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallRefundGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallRefundGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallRefundGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallRefundGetAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallRefundGetAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallRefundGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallRefundGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallRefundGetAPIRequest) GetRefundId ¶ added in v1.2.0
func (r TaobaoOpenmallRefundGetAPIRequest) GetRefundId() int64
GetRefundId RefundId Getter
func (*TaobaoOpenmallRefundGetAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundGetAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 渠道商身份
func (*TaobaoOpenmallRefundGetAPIRequest) SetRefundId ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundGetAPIRequest) SetRefundId(_refundId int64) error
SetRefundId is RefundId Setter 退款单ID
type TaobaoOpenmallRefundGetAPIResponse ¶
type TaobaoOpenmallRefundGetAPIResponse struct { model.CommonResponse TaobaoOpenmallRefundGetAPIResponseModel }
TaobaoOpenmallRefundGetAPIResponse 获取OpenMall退款单详情 API返回值 taobao.openmall.refund.get
获取OpenMall退款单详情
type TaobaoOpenmallRefundGetAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallRefundGetAPIResponseModel struct { XMLName xml.Name `xml:"openmall_refund_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 系统自动生成 Refund *TopRefundVo `json:"refund,omitempty" xml:"refund,omitempty"` }
TaobaoOpenmallRefundGetAPIResponseModel is 获取OpenMall退款单详情 成功返回结果
type TaobaoOpenmallRefundImageUploadAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallRefundImageUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallRefundImageUploadAPIRequest OpenMall退款图片上传 API请求 taobao.openmall.refund.image.upload
OpenMall退款图片上传
func NewTaobaoOpenmallRefundImageUploadRequest ¶
func NewTaobaoOpenmallRefundImageUploadRequest() *TaobaoOpenmallRefundImageUploadAPIRequest
NewTaobaoOpenmallRefundImageUploadRequest 初始化TaobaoOpenmallRefundImageUploadAPIRequest对象
func (TaobaoOpenmallRefundImageUploadAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallRefundImageUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallRefundImageUploadAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallRefundImageUploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallRefundImageUploadAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallRefundImageUploadAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallRefundImageUploadAPIRequest) GetImage ¶ added in v1.2.0
func (r TaobaoOpenmallRefundImageUploadAPIRequest) GetImage() *model.File
GetImage Image Getter
func (TaobaoOpenmallRefundImageUploadAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallRefundImageUploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallRefundImageUploadAPIRequest) GetRefundId ¶ added in v1.2.0
func (r TaobaoOpenmallRefundImageUploadAPIRequest) GetRefundId() int64
GetRefundId RefundId Getter
func (*TaobaoOpenmallRefundImageUploadAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundImageUploadAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 渠道商Nick
func (*TaobaoOpenmallRefundImageUploadAPIRequest) SetImage ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundImageUploadAPIRequest) SetImage(_image *model.File) error
SetImage is Image Setter 上传图片,必须为jpg或png格式,建议小于2M
func (*TaobaoOpenmallRefundImageUploadAPIRequest) SetRefundId ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundImageUploadAPIRequest) SetRefundId(_refundId int64) error
SetRefundId is RefundId Setter 该图片归属的退款单ID
type TaobaoOpenmallRefundImageUploadAPIResponse ¶
type TaobaoOpenmallRefundImageUploadAPIResponse struct { model.CommonResponse TaobaoOpenmallRefundImageUploadAPIResponseModel }
TaobaoOpenmallRefundImageUploadAPIResponse OpenMall退款图片上传 API返回值 taobao.openmall.refund.image.upload
OpenMall退款图片上传
type TaobaoOpenmallRefundImageUploadAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallRefundImageUploadAPIResponseModel struct { XMLName xml.Name `xml:"openmall_refund_image_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 图片上传对应Token,用于提交留言接口 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallRefundImageUploadAPIResponseModel is OpenMall退款图片上传 成功返回结果
type TaobaoOpenmallRefundMessageGetAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallRefundMessageGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallRefundMessageGetAPIRequest openmall获取退款单留言 API请求 taobao.openmall.refund.message.get
openmall获取退款单留言
func NewTaobaoOpenmallRefundMessageGetRequest ¶
func NewTaobaoOpenmallRefundMessageGetRequest() *TaobaoOpenmallRefundMessageGetAPIRequest
NewTaobaoOpenmallRefundMessageGetRequest 初始化TaobaoOpenmallRefundMessageGetAPIRequest对象
func (TaobaoOpenmallRefundMessageGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallRefundMessageGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallRefundMessageGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallRefundMessageGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallRefundMessageGetAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallRefundMessageGetAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallRefundMessageGetAPIRequest) GetPageNo ¶ added in v1.2.0
func (r TaobaoOpenmallRefundMessageGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoOpenmallRefundMessageGetAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoOpenmallRefundMessageGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoOpenmallRefundMessageGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallRefundMessageGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallRefundMessageGetAPIRequest) GetRefundId ¶ added in v1.2.0
func (r TaobaoOpenmallRefundMessageGetAPIRequest) GetRefundId() int64
GetRefundId RefundId Getter
func (*TaobaoOpenmallRefundMessageGetAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundMessageGetAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 分销者身份
func (*TaobaoOpenmallRefundMessageGetAPIRequest) SetPageNo ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundMessageGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 翻页页码
func (*TaobaoOpenmallRefundMessageGetAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundMessageGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 翻页大小
func (*TaobaoOpenmallRefundMessageGetAPIRequest) SetRefundId ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundMessageGetAPIRequest) SetRefundId(_refundId int64) error
SetRefundId is RefundId Setter 退款单号
type TaobaoOpenmallRefundMessageGetAPIResponse ¶
type TaobaoOpenmallRefundMessageGetAPIResponse struct { model.CommonResponse TaobaoOpenmallRefundMessageGetAPIResponseModel }
TaobaoOpenmallRefundMessageGetAPIResponse openmall获取退款单留言 API返回值 taobao.openmall.refund.message.get
openmall获取退款单留言
type TaobaoOpenmallRefundMessageGetAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallRefundMessageGetAPIResponseModel struct { XMLName xml.Name `xml:"openmall_refund_message_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 留言列表 ResultsList []RefundMessage `json:"results_list,omitempty" xml:"results_list>refund_message,omitempty"` }
TaobaoOpenmallRefundMessageGetAPIResponseModel is openmall获取退款单留言 成功返回结果
type TaobaoOpenmallRefundMessageSubmitAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallRefundMessageSubmitAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallRefundMessageSubmitAPIRequest 提交退款单留言 API请求 taobao.openmall.refund.message.submit
OpenMall业务提交退款单留言
func NewTaobaoOpenmallRefundMessageSubmitRequest ¶
func NewTaobaoOpenmallRefundMessageSubmitRequest() *TaobaoOpenmallRefundMessageSubmitAPIRequest
NewTaobaoOpenmallRefundMessageSubmitRequest 初始化TaobaoOpenmallRefundMessageSubmitAPIRequest对象
func (TaobaoOpenmallRefundMessageSubmitAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallRefundMessageSubmitAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallRefundMessageSubmitAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallRefundMessageSubmitAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallRefundMessageSubmitAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallRefundMessageSubmitAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallRefundMessageSubmitAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallRefundMessageSubmitAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallRefundMessageSubmitAPIRequest) GetRefundId ¶ added in v1.2.0
func (r TaobaoOpenmallRefundMessageSubmitAPIRequest) GetRefundId() int64
GetRefundId RefundId Getter
func (TaobaoOpenmallRefundMessageSubmitAPIRequest) GetRefundMessage ¶ added in v1.2.0
func (r TaobaoOpenmallRefundMessageSubmitAPIRequest) GetRefundMessage() *RefundMessage
GetRefundMessage RefundMessage Getter
func (*TaobaoOpenmallRefundMessageSubmitAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundMessageSubmitAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 分销者身份
func (*TaobaoOpenmallRefundMessageSubmitAPIRequest) SetRefundId ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundMessageSubmitAPIRequest) SetRefundId(_refundId int64) error
SetRefundId is RefundId Setter 退款单ID
func (*TaobaoOpenmallRefundMessageSubmitAPIRequest) SetRefundMessage ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundMessageSubmitAPIRequest) SetRefundMessage(_refundMessage *RefundMessage) error
SetRefundMessage is RefundMessage Setter 提交留言结构
type TaobaoOpenmallRefundMessageSubmitAPIResponse ¶
type TaobaoOpenmallRefundMessageSubmitAPIResponse struct { model.CommonResponse TaobaoOpenmallRefundMessageSubmitAPIResponseModel }
TaobaoOpenmallRefundMessageSubmitAPIResponse 提交退款单留言 API返回值 taobao.openmall.refund.message.submit
OpenMall业务提交退款单留言
type TaobaoOpenmallRefundMessageSubmitAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallRefundMessageSubmitAPIResponseModel struct { XMLName xml.Name `xml:"openmall_refund_message_submit_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 提交结果 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallRefundMessageSubmitAPIResponseModel is 提交退款单留言 成功返回结果
type TaobaoOpenmallRefundModifyAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallRefundModifyAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallRefundModifyAPIRequest 修改OpenMall退款申请 API请求 taobao.openmall.refund.modify
修改OpenMall退款申请
func NewTaobaoOpenmallRefundModifyRequest ¶
func NewTaobaoOpenmallRefundModifyRequest() *TaobaoOpenmallRefundModifyAPIRequest
NewTaobaoOpenmallRefundModifyRequest 初始化TaobaoOpenmallRefundModifyAPIRequest对象
func (TaobaoOpenmallRefundModifyAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallRefundModifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallRefundModifyAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallRefundModifyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallRefundModifyAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallRefundModifyAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallRefundModifyAPIRequest) GetGoodsStatus ¶ added in v1.2.0
func (r TaobaoOpenmallRefundModifyAPIRequest) GetGoodsStatus() string
GetGoodsStatus GoodsStatus Getter
func (TaobaoOpenmallRefundModifyAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallRefundModifyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallRefundModifyAPIRequest) GetRefundDesc ¶ added in v1.2.0
func (r TaobaoOpenmallRefundModifyAPIRequest) GetRefundDesc() string
GetRefundDesc RefundDesc Getter
func (TaobaoOpenmallRefundModifyAPIRequest) GetRefundFee ¶ added in v1.2.0
func (r TaobaoOpenmallRefundModifyAPIRequest) GetRefundFee() int64
GetRefundFee RefundFee Getter
func (TaobaoOpenmallRefundModifyAPIRequest) GetRefundId ¶ added in v1.2.0
func (r TaobaoOpenmallRefundModifyAPIRequest) GetRefundId() int64
GetRefundId RefundId Getter
func (TaobaoOpenmallRefundModifyAPIRequest) GetRefundReason ¶ added in v1.2.0
func (r TaobaoOpenmallRefundModifyAPIRequest) GetRefundReason() string
GetRefundReason RefundReason Getter
func (TaobaoOpenmallRefundModifyAPIRequest) GetRefundType ¶ added in v1.2.0
func (r TaobaoOpenmallRefundModifyAPIRequest) GetRefundType() string
GetRefundType RefundType Getter
func (*TaobaoOpenmallRefundModifyAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundModifyAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 分销者联盟身份
func (*TaobaoOpenmallRefundModifyAPIRequest) SetGoodsStatus ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundModifyAPIRequest) SetGoodsStatus(_goodsStatus string) error
SetGoodsStatus is GoodsStatus Setter 货品状态,可选值 BUYER_NOT_RECEIVED(买家未收到货)、BUYER_RECEIVED(买家已收到货)、UNSHIPPED(未发货)
func (*TaobaoOpenmallRefundModifyAPIRequest) SetRefundDesc ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundModifyAPIRequest) SetRefundDesc(_refundDesc string) error
SetRefundDesc is RefundDesc Setter 买家的退货描述
func (*TaobaoOpenmallRefundModifyAPIRequest) SetRefundFee ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundModifyAPIRequest) SetRefundFee(_refundFee int64) error
SetRefundFee is RefundFee Setter 退款金额,分
func (*TaobaoOpenmallRefundModifyAPIRequest) SetRefundId ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundModifyAPIRequest) SetRefundId(_refundId int64) error
SetRefundId is RefundId Setter 退款单ID
func (*TaobaoOpenmallRefundModifyAPIRequest) SetRefundReason ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundModifyAPIRequest) SetRefundReason(_refundReason string) error
SetRefundReason is RefundReason Setter 退款类别,可选值OTHER_REASON(其他,默认)、SEVEN_DAYS_WITHOUT_REASON(7天无理由,不退邮费)
func (*TaobaoOpenmallRefundModifyAPIRequest) SetRefundType ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundModifyAPIRequest) SetRefundType(_refundType string) error
SetRefundType is RefundType Setter 退款类型,可选值refund(仅退款)、return_and_refund(退款退货)
type TaobaoOpenmallRefundModifyAPIResponse ¶
type TaobaoOpenmallRefundModifyAPIResponse struct { model.CommonResponse TaobaoOpenmallRefundModifyAPIResponseModel }
TaobaoOpenmallRefundModifyAPIResponse 修改OpenMall退款申请 API返回值 taobao.openmall.refund.modify
修改OpenMall退款申请
type TaobaoOpenmallRefundModifyAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallRefundModifyAPIResponseModel struct { XMLName xml.Name `xml:"openmall_refund_modify_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallRefundModifyAPIResponseModel is 修改OpenMall退款申请 成功返回结果
type TaobaoOpenmallRefundSubmitAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallRefundSubmitAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallRefundSubmitAPIRequest 提交OpenMall退款单物流 API请求 taobao.openmall.refund.submit
提交OpenMall退款单物流
func NewTaobaoOpenmallRefundSubmitRequest ¶
func NewTaobaoOpenmallRefundSubmitRequest() *TaobaoOpenmallRefundSubmitAPIRequest
NewTaobaoOpenmallRefundSubmitRequest 初始化TaobaoOpenmallRefundSubmitAPIRequest对象
func (TaobaoOpenmallRefundSubmitAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallRefundSubmitAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallRefundSubmitAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallRefundSubmitAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallRefundSubmitAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallRefundSubmitAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallRefundSubmitAPIRequest) GetLogisticsCompanyCode ¶ added in v1.2.0
func (r TaobaoOpenmallRefundSubmitAPIRequest) GetLogisticsCompanyCode() string
GetLogisticsCompanyCode LogisticsCompanyCode Getter
func (TaobaoOpenmallRefundSubmitAPIRequest) GetLogisticsCompanyName ¶ added in v1.2.0
func (r TaobaoOpenmallRefundSubmitAPIRequest) GetLogisticsCompanyName() string
GetLogisticsCompanyName LogisticsCompanyName Getter
func (TaobaoOpenmallRefundSubmitAPIRequest) GetLogisticsNo ¶ added in v1.2.0
func (r TaobaoOpenmallRefundSubmitAPIRequest) GetLogisticsNo() string
GetLogisticsNo LogisticsNo Getter
func (TaobaoOpenmallRefundSubmitAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallRefundSubmitAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallRefundSubmitAPIRequest) GetRefundId ¶ added in v1.2.0
func (r TaobaoOpenmallRefundSubmitAPIRequest) GetRefundId() int64
GetRefundId RefundId Getter
func (*TaobaoOpenmallRefundSubmitAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundSubmitAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 渠道
func (*TaobaoOpenmallRefundSubmitAPIRequest) SetLogisticsCompanyCode ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundSubmitAPIRequest) SetLogisticsCompanyCode(_logisticsCompanyCode string) error
SetLogisticsCompanyCode is LogisticsCompanyCode Setter 物流公司编码
func (*TaobaoOpenmallRefundSubmitAPIRequest) SetLogisticsCompanyName ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundSubmitAPIRequest) SetLogisticsCompanyName(_logisticsCompanyName string) error
SetLogisticsCompanyName is LogisticsCompanyName Setter 物流公司名称
func (*TaobaoOpenmallRefundSubmitAPIRequest) SetLogisticsNo ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundSubmitAPIRequest) SetLogisticsNo(_logisticsNo string) error
SetLogisticsNo is LogisticsNo Setter 快递单号
func (*TaobaoOpenmallRefundSubmitAPIRequest) SetRefundId ¶ added in v1.2.0
func (r *TaobaoOpenmallRefundSubmitAPIRequest) SetRefundId(_refundId int64) error
SetRefundId is RefundId Setter 退款单ID
type TaobaoOpenmallRefundSubmitAPIResponse ¶
type TaobaoOpenmallRefundSubmitAPIResponse struct { model.CommonResponse TaobaoOpenmallRefundSubmitAPIResponseModel }
TaobaoOpenmallRefundSubmitAPIResponse 提交OpenMall退款单物流 API返回值 taobao.openmall.refund.submit
提交OpenMall退款单物流
type TaobaoOpenmallRefundSubmitAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallRefundSubmitAPIResponseModel struct { XMLName xml.Name `xml:"openmall_refund_submit_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 提交物流单成功 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallRefundSubmitAPIResponseModel is 提交OpenMall退款单物流 成功返回结果
type TaobaoOpenmallTraceSearchAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallTraceSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallTraceSearchAPIRequest 获取Openmall订单物流流转信息 API请求 taobao.openmall.trace.search
获取Openmall订单物流流转信息
func NewTaobaoOpenmallTraceSearchRequest ¶
func NewTaobaoOpenmallTraceSearchRequest() *TaobaoOpenmallTraceSearchAPIRequest
NewTaobaoOpenmallTraceSearchRequest 初始化TaobaoOpenmallTraceSearchAPIRequest对象
func (TaobaoOpenmallTraceSearchAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallTraceSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallTraceSearchAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallTraceSearchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallTraceSearchAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallTraceSearchAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallTraceSearchAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallTraceSearchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallTraceSearchAPIRequest) GetTid ¶ added in v1.2.0
func (r TaobaoOpenmallTraceSearchAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoOpenmallTraceSearchAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallTraceSearchAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 签约支付宝代扣的账号
func (*TaobaoOpenmallTraceSearchAPIRequest) SetTid ¶ added in v1.2.0
func (r *TaobaoOpenmallTraceSearchAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝订单编号
type TaobaoOpenmallTraceSearchAPIResponse ¶
type TaobaoOpenmallTraceSearchAPIResponse struct { model.CommonResponse TaobaoOpenmallTraceSearchAPIResponseModel }
TaobaoOpenmallTraceSearchAPIResponse 获取Openmall订单物流流转信息 API返回值 taobao.openmall.trace.search
获取Openmall订单物流流转信息
type TaobaoOpenmallTraceSearchAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallTraceSearchAPIResponseModel struct { XMLName xml.Name `xml:"openmall_trace_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *TopLogisticsDetailTraceVo `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallTraceSearchAPIResponseModel is 获取Openmall订单物流流转信息 成功返回结果
type TaobaoOpenmallTradeAddressParseAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallTradeAddressParseAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallTradeAddressParseAPIRequest openmall服务地址区域码解析 API请求 taobao.openmall.trade.address.parse
openmall服务,解析地址区域码,获取创建订单等接口中的区域码信息
func NewTaobaoOpenmallTradeAddressParseRequest ¶
func NewTaobaoOpenmallTradeAddressParseRequest() *TaobaoOpenmallTradeAddressParseAPIRequest
NewTaobaoOpenmallTradeAddressParseRequest 初始化TaobaoOpenmallTradeAddressParseAPIRequest对象
func (TaobaoOpenmallTradeAddressParseAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallTradeAddressParseAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallTradeAddressParseAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallTradeAddressParseAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallTradeAddressParseAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallTradeAddressParseAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallTradeAddressParseAPIRequest) GetRawAddress ¶ added in v1.2.0
func (r TaobaoOpenmallTradeAddressParseAPIRequest) GetRawAddress() string
GetRawAddress RawAddress Getter
func (TaobaoOpenmallTradeAddressParseAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallTradeAddressParseAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoOpenmallTradeAddressParseAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeAddressParseAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 渠道商分销者淘宝账号
func (*TaobaoOpenmallTradeAddressParseAPIRequest) SetRawAddress ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeAddressParseAPIRequest) SetRawAddress(_rawAddress string) error
SetRawAddress is RawAddress Setter 需解析的地址信息,建议只传地址选择器中的省市区,街道门牌号等用户手动输入数据不传
type TaobaoOpenmallTradeAddressParseAPIResponse ¶
type TaobaoOpenmallTradeAddressParseAPIResponse struct { model.CommonResponse TaobaoOpenmallTradeAddressParseAPIResponseModel }
TaobaoOpenmallTradeAddressParseAPIResponse openmall服务地址区域码解析 API返回值 taobao.openmall.trade.address.parse
openmall服务,解析地址区域码,获取创建订单等接口中的区域码信息
type TaobaoOpenmallTradeAddressParseAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallTradeAddressParseAPIResponseModel struct { XMLName xml.Name `xml:"openmall_trade_address_parse_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 一组地址解析结构,解析正确率与地址完整度相关 Result *TopParseAddressVo `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallTradeAddressParseAPIResponseModel is openmall服务地址区域码解析 成功返回结果
type TaobaoOpenmallTradeAgreepayAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallTradeAgreepayAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallTradeAgreepayAPIRequest openmall订单支付 API请求 taobao.openmall.trade.agreepay
openmall订单支付
func NewTaobaoOpenmallTradeAgreepayRequest ¶
func NewTaobaoOpenmallTradeAgreepayRequest() *TaobaoOpenmallTradeAgreepayAPIRequest
NewTaobaoOpenmallTradeAgreepayRequest 初始化TaobaoOpenmallTradeAgreepayAPIRequest对象
func (TaobaoOpenmallTradeAgreepayAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallTradeAgreepayAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallTradeAgreepayAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallTradeAgreepayAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallTradeAgreepayAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallTradeAgreepayAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallTradeAgreepayAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallTradeAgreepayAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallTradeAgreepayAPIRequest) GetTid ¶ added in v1.2.0
func (r TaobaoOpenmallTradeAgreepayAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoOpenmallTradeAgreepayAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeAgreepayAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 媒体渠道,代表分销者的身份,签约支付宝代扣的渠道商淘宝账号nick
func (*TaobaoOpenmallTradeAgreepayAPIRequest) SetTid ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeAgreepayAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝交易单号
type TaobaoOpenmallTradeAgreepayAPIResponse ¶
type TaobaoOpenmallTradeAgreepayAPIResponse struct { model.CommonResponse TaobaoOpenmallTradeAgreepayAPIResponseModel }
TaobaoOpenmallTradeAgreepayAPIResponse openmall订单支付 API返回值 taobao.openmall.trade.agreepay
openmall订单支付
type TaobaoOpenmallTradeAgreepayAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallTradeAgreepayAPIResponseModel struct { XMLName xml.Name `xml:"openmall_trade_agreepay_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallTradeAgreepayAPIResponseModel is openmall订单支付 成功返回结果
type TaobaoOpenmallTradeBatchGetAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallTradeBatchGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallTradeBatchGetAPIRequest 批量获取openmall订单 API请求 taobao.openmall.trade.batch.get
批量获取openmall订单 注意:该接口数据存在延迟,实时数据请通过taobao.openmall.trade.get获取
func NewTaobaoOpenmallTradeBatchGetRequest ¶
func NewTaobaoOpenmallTradeBatchGetRequest() *TaobaoOpenmallTradeBatchGetAPIRequest
NewTaobaoOpenmallTradeBatchGetRequest 初始化TaobaoOpenmallTradeBatchGetAPIRequest对象
func (TaobaoOpenmallTradeBatchGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallTradeBatchGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallTradeBatchGetAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallTradeBatchGetAPIRequest) GetEndCreated ¶ added in v1.2.0
func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetEndCreated() string
GetEndCreated EndCreated Getter
func (TaobaoOpenmallTradeBatchGetAPIRequest) GetPageIndex ¶ added in v1.2.0
func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetPageIndex() int64
GetPageIndex PageIndex Getter
func (TaobaoOpenmallTradeBatchGetAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoOpenmallTradeBatchGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallTradeBatchGetAPIRequest) GetStartCreated ¶ added in v1.2.0
func (r TaobaoOpenmallTradeBatchGetAPIRequest) GetStartCreated() string
GetStartCreated StartCreated Getter
func (*TaobaoOpenmallTradeBatchGetAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeBatchGetAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 渠道商Nick
func (*TaobaoOpenmallTradeBatchGetAPIRequest) SetEndCreated ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeBatchGetAPIRequest) SetEndCreated(_endCreated string) error
SetEndCreated is EndCreated Setter 查询范围结束时间,闭区间
func (*TaobaoOpenmallTradeBatchGetAPIRequest) SetPageIndex ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeBatchGetAPIRequest) SetPageIndex(_pageIndex int64) error
SetPageIndex is PageIndex Setter 查询页码,从1开始
func (*TaobaoOpenmallTradeBatchGetAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeBatchGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页面大小,不超过100
func (*TaobaoOpenmallTradeBatchGetAPIRequest) SetStartCreated ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeBatchGetAPIRequest) SetStartCreated(_startCreated string) error
SetStartCreated is StartCreated Setter 查询范围开始时间,闭区间
type TaobaoOpenmallTradeBatchGetAPIResponse ¶
type TaobaoOpenmallTradeBatchGetAPIResponse struct { model.CommonResponse TaobaoOpenmallTradeBatchGetAPIResponseModel }
TaobaoOpenmallTradeBatchGetAPIResponse 批量获取openmall订单 API返回值 taobao.openmall.trade.batch.get
批量获取openmall订单 注意:该接口数据存在延迟,实时数据请通过taobao.openmall.trade.get获取
type TaobaoOpenmallTradeBatchGetAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallTradeBatchGetAPIResponseModel struct { XMLName xml.Name `xml:"openmall_trade_batch_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 订单列表 Entities []TopTradeDetailVo `json:"entities,omitempty" xml:"entities>top_trade_detail_vo,omitempty"` // 范围内总订单数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoOpenmallTradeBatchGetAPIResponseModel is 批量获取openmall订单 成功返回结果
type TaobaoOpenmallTradeCloseAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallTradeCloseAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallTradeCloseAPIRequest 关闭订单 API请求 taobao.openmall.trade.close
关闭订单
func NewTaobaoOpenmallTradeCloseRequest ¶
func NewTaobaoOpenmallTradeCloseRequest() *TaobaoOpenmallTradeCloseAPIRequest
NewTaobaoOpenmallTradeCloseRequest 初始化TaobaoOpenmallTradeCloseAPIRequest对象
func (TaobaoOpenmallTradeCloseAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallTradeCloseAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallTradeCloseAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallTradeCloseAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallTradeCloseAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallTradeCloseAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallTradeCloseAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallTradeCloseAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallTradeCloseAPIRequest) GetReason ¶ added in v1.2.0
func (r TaobaoOpenmallTradeCloseAPIRequest) GetReason() string
GetReason Reason Getter
func (TaobaoOpenmallTradeCloseAPIRequest) GetTid ¶ added in v1.2.0
func (r TaobaoOpenmallTradeCloseAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoOpenmallTradeCloseAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeCloseAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 分销者信息
func (*TaobaoOpenmallTradeCloseAPIRequest) SetReason ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeCloseAPIRequest) SetReason(_reason string) error
SetReason is Reason Setter 关单原因
func (*TaobaoOpenmallTradeCloseAPIRequest) SetTid ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeCloseAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝订单号
type TaobaoOpenmallTradeCloseAPIResponse ¶
type TaobaoOpenmallTradeCloseAPIResponse struct { model.CommonResponse TaobaoOpenmallTradeCloseAPIResponseModel }
TaobaoOpenmallTradeCloseAPIResponse 关闭订单 API返回值 taobao.openmall.trade.close
关闭订单
type TaobaoOpenmallTradeCloseAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallTradeCloseAPIResponseModel struct { XMLName xml.Name `xml:"openmall_trade_close_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 出参 Result *TopTradeResultVo `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallTradeCloseAPIResponseModel is 关闭订单 成功返回结果
type TaobaoOpenmallTradeConfirmAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallTradeConfirmAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallTradeConfirmAPIRequest 确认收货 API请求 taobao.openmall.trade.confirm
确认订单收货
func NewTaobaoOpenmallTradeConfirmRequest ¶
func NewTaobaoOpenmallTradeConfirmRequest() *TaobaoOpenmallTradeConfirmAPIRequest
NewTaobaoOpenmallTradeConfirmRequest 初始化TaobaoOpenmallTradeConfirmAPIRequest对象
func (TaobaoOpenmallTradeConfirmAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallTradeConfirmAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallTradeConfirmAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallTradeConfirmAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallTradeConfirmAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallTradeConfirmAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallTradeConfirmAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallTradeConfirmAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallTradeConfirmAPIRequest) GetTid ¶ added in v1.2.0
func (r TaobaoOpenmallTradeConfirmAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoOpenmallTradeConfirmAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeConfirmAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 分销者信息
func (*TaobaoOpenmallTradeConfirmAPIRequest) SetTid ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeConfirmAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝订单号
type TaobaoOpenmallTradeConfirmAPIResponse ¶
type TaobaoOpenmallTradeConfirmAPIResponse struct { model.CommonResponse TaobaoOpenmallTradeConfirmAPIResponseModel }
TaobaoOpenmallTradeConfirmAPIResponse 确认收货 API返回值 taobao.openmall.trade.confirm
确认订单收货
type TaobaoOpenmallTradeConfirmAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallTradeConfirmAPIResponseModel struct { XMLName xml.Name `xml:"openmall_trade_confirm_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *TopTradeResultVo `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallTradeConfirmAPIResponseModel is 确认收货 成功返回结果
type TaobaoOpenmallTradeCreateAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallTradeCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallTradeCreateAPIRequest 创建订单 API请求 taobao.openmall.trade.create
创建Openmall订单
func NewTaobaoOpenmallTradeCreateRequest ¶
func NewTaobaoOpenmallTradeCreateRequest() *TaobaoOpenmallTradeCreateAPIRequest
NewTaobaoOpenmallTradeCreateRequest 初始化TaobaoOpenmallTradeCreateAPIRequest对象
func (TaobaoOpenmallTradeCreateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallTradeCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallTradeCreateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallTradeCreateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallTradeCreateAPIRequest) GetParamTopTradeCreateDO ¶ added in v1.2.0
func (r TaobaoOpenmallTradeCreateAPIRequest) GetParamTopTradeCreateDO() *TopTradeCreateDo
GetParamTopTradeCreateDO ParamTopTradeCreateDO Getter
func (TaobaoOpenmallTradeCreateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallTradeCreateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoOpenmallTradeCreateAPIRequest) SetParamTopTradeCreateDO ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeCreateAPIRequest) SetParamTopTradeCreateDO(_paramTopTradeCreateDO *TopTradeCreateDo) error
SetParamTopTradeCreateDO is ParamTopTradeCreateDO Setter 请求入参
type TaobaoOpenmallTradeCreateAPIResponse ¶
type TaobaoOpenmallTradeCreateAPIResponse struct { model.CommonResponse TaobaoOpenmallTradeCreateAPIResponseModel }
TaobaoOpenmallTradeCreateAPIResponse 创建订单 API返回值 taobao.openmall.trade.create
创建Openmall订单
type TaobaoOpenmallTradeCreateAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallTradeCreateAPIResponseModel struct { XMLName xml.Name `xml:"openmall_trade_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *TopTradeResultVo `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallTradeCreateAPIResponseModel is 创建订单 成功返回结果
type TaobaoOpenmallTradeGetAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallTradeGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallTradeGetAPIRequest 查询订单详情 API请求 taobao.openmall.trade.get
查询订单详情
func NewTaobaoOpenmallTradeGetRequest ¶
func NewTaobaoOpenmallTradeGetRequest() *TaobaoOpenmallTradeGetAPIRequest
NewTaobaoOpenmallTradeGetRequest 初始化TaobaoOpenmallTradeGetAPIRequest对象
func (TaobaoOpenmallTradeGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallTradeGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallTradeGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallTradeGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallTradeGetAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallTradeGetAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallTradeGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallTradeGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallTradeGetAPIRequest) GetTid ¶ added in v1.2.0
func (r TaobaoOpenmallTradeGetAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoOpenmallTradeGetAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeGetAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 分销者信息
func (*TaobaoOpenmallTradeGetAPIRequest) SetTid ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeGetAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝订单号
type TaobaoOpenmallTradeGetAPIResponse ¶
type TaobaoOpenmallTradeGetAPIResponse struct { model.CommonResponse TaobaoOpenmallTradeGetAPIResponseModel }
TaobaoOpenmallTradeGetAPIResponse 查询订单详情 API返回值 taobao.openmall.trade.get
查询订单详情
type TaobaoOpenmallTradeGetAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallTradeGetAPIResponseModel struct { XMLName xml.Name `xml:"openmall_trade_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *TopTradeDetailVo `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallTradeGetAPIResponseModel is 查询订单详情 成功返回结果
type TaobaoOpenmallTradeRenderAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallTradeRenderAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallTradeRenderAPIRequest 渲染订单价格 API请求 taobao.openmall.trade.render
请求渲染订单价格
func NewTaobaoOpenmallTradeRenderRequest ¶
func NewTaobaoOpenmallTradeRenderRequest() *TaobaoOpenmallTradeRenderAPIRequest
NewTaobaoOpenmallTradeRenderRequest 初始化TaobaoOpenmallTradeRenderAPIRequest对象
func (TaobaoOpenmallTradeRenderAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallTradeRenderAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallTradeRenderAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallTradeRenderAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallTradeRenderAPIRequest) GetParamTopTradeCreateDO ¶ added in v1.2.0
func (r TaobaoOpenmallTradeRenderAPIRequest) GetParamTopTradeCreateDO() *TopTradeCreateDo
GetParamTopTradeCreateDO ParamTopTradeCreateDO Getter
func (TaobaoOpenmallTradeRenderAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallTradeRenderAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoOpenmallTradeRenderAPIRequest) SetParamTopTradeCreateDO ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeRenderAPIRequest) SetParamTopTradeCreateDO(_paramTopTradeCreateDO *TopTradeCreateDo) error
SetParamTopTradeCreateDO is ParamTopTradeCreateDO Setter 请求入参
type TaobaoOpenmallTradeRenderAPIResponse ¶
type TaobaoOpenmallTradeRenderAPIResponse struct { model.CommonResponse TaobaoOpenmallTradeRenderAPIResponseModel }
TaobaoOpenmallTradeRenderAPIResponse 渲染订单价格 API返回值 taobao.openmall.trade.render
请求渲染订单价格
type TaobaoOpenmallTradeRenderAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallTradeRenderAPIResponseModel struct { XMLName xml.Name `xml:"openmall_trade_render_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *TopTradeResultVo `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoOpenmallTradeRenderAPIResponseModel is 渲染订单价格 成功返回结果
type TaobaoOpenmallTradeShipaddressUpdateAPIRequest ¶ added in v1.2.0
type TaobaoOpenmallTradeShipaddressUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpenmallTradeShipaddressUpdateAPIRequest Openmall订单收货地址修改 API请求 taobao.openmall.trade.shipaddress.update
Openmall订单收货地址修改
func NewTaobaoOpenmallTradeShipaddressUpdateRequest ¶
func NewTaobaoOpenmallTradeShipaddressUpdateRequest() *TaobaoOpenmallTradeShipaddressUpdateAPIRequest
NewTaobaoOpenmallTradeShipaddressUpdateRequest 初始化TaobaoOpenmallTradeShipaddressUpdateAPIRequest对象
func (TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetDistributor ¶ added in v1.2.0
func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetDistributor() string
GetDistributor Distributor Getter
func (TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverAddress ¶ added in v1.2.0
func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverAddress() string
GetReceiverAddress ReceiverAddress Getter
func (TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverCity ¶ added in v1.2.0
func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverCity() string
GetReceiverCity ReceiverCity Getter
func (TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverDistrict ¶ added in v1.2.0
func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverDistrict() string
GetReceiverDistrict ReceiverDistrict Getter
func (TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverMobile ¶ added in v1.2.0
func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverMobile() string
GetReceiverMobile ReceiverMobile Getter
func (TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverName ¶ added in v1.2.0
func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverName() string
GetReceiverName ReceiverName Getter
func (TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverPhone ¶ added in v1.2.0
func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverPhone() string
GetReceiverPhone ReceiverPhone Getter
func (TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverState ¶ added in v1.2.0
func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverState() string
GetReceiverState ReceiverState Getter
func (TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverZip ¶ added in v1.2.0
func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetReceiverZip() string
GetReceiverZip ReceiverZip Getter
func (TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetTid ¶ added in v1.2.0
func (r TaobaoOpenmallTradeShipaddressUpdateAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetDistributor ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetDistributor(_distributor string) error
SetDistributor is Distributor Setter 媒体渠道,代表分销者的身份,签约支付宝代扣的渠道商淘宝账号nick
func (*TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverAddress ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverAddress(_receiverAddress string) error
SetReceiverAddress is ReceiverAddress Setter 收货地址。最大长度为228个字节。
func (*TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverCity ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverCity(_receiverCity string) error
SetReceiverCity is ReceiverCity Setter 城市。最大长度为32个字节。如:杭州
func (*TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverDistrict ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverDistrict(_receiverDistrict string) error
SetReceiverDistrict is ReceiverDistrict Setter 区/县。最大长度为32个字节。如:西湖区
func (*TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverMobile ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverMobile(_receiverMobile string) error
SetReceiverMobile is ReceiverMobile Setter 移动电话。最大长度为11个字节。
func (*TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverName ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverName(_receiverName string) error
SetReceiverName is ReceiverName Setter 收货人全名。最大长度为50个字节。
func (*TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverPhone ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverPhone(_receiverPhone string) error
SetReceiverPhone is ReceiverPhone Setter 固定电话。最大长度为30个字节。
func (*TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverState ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverState(_receiverState string) error
SetReceiverState is ReceiverState Setter 省份。最大长度为32个字节。如:浙江
func (*TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverZip ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetReceiverZip(_receiverZip string) error
SetReceiverZip is ReceiverZip Setter 6位数字的邮编
func (*TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetTid ¶ added in v1.2.0
func (r *TaobaoOpenmallTradeShipaddressUpdateAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝订单号
type TaobaoOpenmallTradeShipaddressUpdateAPIResponse ¶
type TaobaoOpenmallTradeShipaddressUpdateAPIResponse struct { model.CommonResponse TaobaoOpenmallTradeShipaddressUpdateAPIResponseModel }
TaobaoOpenmallTradeShipaddressUpdateAPIResponse Openmall订单收货地址修改 API返回值 taobao.openmall.trade.shipaddress.update
Openmall订单收货地址修改
type TaobaoOpenmallTradeShipaddressUpdateAPIResponseModel ¶ added in v1.2.0
type TaobaoOpenmallTradeShipaddressUpdateAPIResponseModel struct { XMLName xml.Name `xml:"openmall_trade_shipaddress_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 订单号 Tid string `json:"tid,omitempty" xml:"tid,omitempty"` }
TaobaoOpenmallTradeShipaddressUpdateAPIResponseModel is Openmall订单收货地址修改 成功返回结果
type TopItemImageVo ¶
type TopItemImageVo struct { // 商品图片链接 Url string `json:"url,omitempty" xml:"url,omitempty"` // 商品属性,itemImages中不返回 Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // 图片放在第几张(多图时设置),propertyImages中不返回 Position int64 `json:"position,omitempty" xml:"position,omitempty"` // 图片ID,itemImages中不返回 ImageId int64 `json:"image_id,omitempty" xml:"image_id,omitempty"` }
TopItemImageVo 结构体
type TopItemSkuVo ¶
type TopItemSkuVo struct { // 属于这个sku的商品的价格 取值范围:0-100000000;精确到2位小数;单位:元。如:200.07,表示:200元7分。 Price string `json:"price,omitempty" xml:"price,omitempty"` // sku所对应的销售属性串,由 属性名ID(pid)、属性值ID(vid)组成。 格式为:pid1:vid1;pid2:vid2 ;pid3:vid3… pid和vid对应的中文名称,可以从item_properties字段中获取。 Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // sku描述,以分号分隔描述项,### 分隔翻译内容;注意,当为别名时,翻译项中将没有冒号分隔 Description string `json:"description,omitempty" xml:"description,omitempty"` // 属于这个sku的商品的数量 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // sku的id SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` }
TopItemSkuVo 结构体
type TopItemVo ¶
type TopItemVo struct { // 商品图片 ItemImages []TopItemImageVo `json:"item_images,omitempty" xml:"item_images>top_item_image_vo,omitempty"` // 运费列表 Postages []TopPostageVo `json:"postages,omitempty" xml:"postages>top_postage_vo,omitempty"` // 商品属性图片 PropertyImages []TopItemImageVo `json:"property_images,omitempty" xml:"property_images>top_item_image_vo,omitempty"` // sku列表 Skus []TopItemSkuVo `json:"skus,omitempty" xml:"skus>top_item_sku_vo,omitempty"` // 商品所在城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 商品成本价,精确到2位小数,单位:元。如:200.07,表示200元7分。 CostPrice string `json:"cost_price,omitempty" xml:"cost_price,omitempty"` // 商品描述, 字数要大于5个字符,小于25000个字符 Description string `json:"description,omitempty" xml:"description,omitempty"` // 商品视频列表,多个视频用逗号分隔。 ItemVideos string `json:"item_videos,omitempty" xml:"item_videos,omitempty"` // 商品主图 PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // 商品的属性列表,由属性名ID(pid)、属性值ID(vid)、属性名(pid_name)、属性值(vid_name)组成。格式如:pid1:vid1:pid_name1:vid_name1;pid2:vid2:pid_name2:vid_name2…… ItemProperties string `json:"item_properties,omitempty" xml:"item_properties,omitempty"` // 商品所在省份 Prov string `json:"prov,omitempty" xml:"prov,omitempty"` // 表示商品的体积,用于按体积计费的运费模板。该值的单位为立方米(m3)。该值支持两种格式的设置: 格式1:bulk:3,单位为立方米(m3),表示直接设置为商品的体积; 格式2:width:10;breadth:10;height:10,单位为米(m)。 Size string `json:"size,omitempty" xml:"size,omitempty"` // 商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品的重量,用于按重量计费的运费模板。注意:单位为kg Weight string `json:"weight,omitempty" xml:"weight,omitempty"` // 属性值别名,比如颜色的自定义名称 PropertyAlias string `json:"property_alias,omitempty" xml:"property_alias,omitempty"` // 商品店铺名称 ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"` // 当前商品是否支持hold单,当为false时,下单接口中的need_erp_hold不生效 SupportErpHold string `json:"support_erp_hold,omitempty" xml:"support_erp_hold,omitempty"` // 商品类目 CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 库存 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 商品状态:上架(1)、下架(0) ItemStatus int64 `json:"item_status,omitempty" xml:"item_status,omitempty"` // 商品人气 Popularity int64 `json:"popularity,omitempty" xml:"popularity,omitempty"` // 商品状态:上架(1)、下架(0) Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 是否虚拟商品 IsVirtual bool `json:"is_virtual,omitempty" xml:"is_virtual,omitempty"` // 是否区域限购。值为true时,通过taobao.openmall.item.salearea.get获取商品可销售区域;值为false时,该商品所有区域都可销售。 AreaLimit bool `json:"area_limit,omitempty" xml:"area_limit,omitempty"` }
TopItemVo 结构体
type TopLogisticsDetailTraceVo ¶
type TopLogisticsDetailTraceVo struct { // 流转信息列表 TraceList []TransitStepInfoVo `json:"trace_list,omitempty" xml:"trace_list>transit_step_info_vo,omitempty"` // 物流公司名称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 运单号 OutSid string `json:"out_sid,omitempty" xml:"out_sid,omitempty"` // 订单的物流状态(仅支持线上发货online订单,线下发货offline发出后直接变为已签收,OpenMall场景如无法判断请直接忽略,直接获取最后一个trace节点描述) * 等候发送给物流公司 *已提交给物流公司,等待物流公司接单 *已经确认消息接收,等待物流公司接单 *物流公司已接单 *物流公司不接单 *物流公司揽收失败 *物流公司揽收成功 *签收失败 *对方已签收 *对方拒绝签收 Status string `json:"status,omitempty" xml:"status,omitempty"` // 淘宝交易单ID Tid string `json:"tid,omitempty" xml:"tid,omitempty"` }
TopLogisticsDetailTraceVo 结构体
type TopOrderVo ¶
type TopOrderVo struct { // 子订单发货时间,当卖家对订单进行了多次发货,子订单的发货时间和主订单的发货时间可能不一样了,那么就需要以子订单的时间为准。(没有进行多次发货的订单,主订单的发货时间和子订单的发货时间都一样) ConsignTime string `json:"consign_time,omitempty" xml:"consign_time,omitempty"` // 子订单的交易结束时间说明:子订单有单独的结束时间,与主订单的结束时间可能有所不同,在有退款发起的时候或者是主订单分阶段付款的时候,子订单的结束时间会早于主订单的结束时间,所以开放这个字段便于订单结束状态的判断 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 子订单预计发货时间 EstimateConTime string `json:"estimate_con_time,omitempty" xml:"estimate_con_time,omitempty"` // 商品备注 ItemMemo string `json:"item_memo,omitempty" xml:"item_memo,omitempty"` // 外部网店自己定义的Sku编号 OuterSkuId string `json:"outer_sku_id,omitempty" xml:"outer_sku_id,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分 Price string `json:"price,omitempty" xml:"price,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"` // SKU的值。如:机身颜色:黑色;手机套餐:官方标配 SkuPropertiesName string `json:"sku_properties_name,omitempty" xml:"sku_properties_name,omitempty"` // 商品SKUID SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 订单状态。可选值: TRADE_NO_CREATE_PAY(没有创建支付宝交易,暂无) WAIT_BUYER_PAY(等待买家付款) WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款) WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货) TRADE_BUYER_SIGNED(买家已签收,货到付款专用,暂无) TRADE_FINISHED(交易成功) TRADE_CLOSED(付款以后用户退款成功,交易自动关闭) TRADE_CLOSED_BY_TAOBAO(付款以前,卖家或买家主动关闭交易) PAY_PENDING(国际信用卡支付付款确认中,暂无) Status string `json:"status,omitempty" xml:"status,omitempty"` // 商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 应付金额(商品价格 * 商品数量 + 手工调整金额 - 子订单级订单优惠金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分 TotalFee string `json:"total_fee,omitempty" xml:"total_fee,omitempty"` // 物流公司名称 LogisticsCompany string `json:"logistics_company,omitempty" xml:"logistics_company,omitempty"` // 子订单包裹运输号 InvoiceNo string `json:"invoice_no,omitempty" xml:"invoice_no,omitempty"` // 购买数量。取值范围:大于零的整数 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 商品数字ID NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 子订单编号 Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"` // 最近退款ID RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 是否发货 IsShShip bool `json:"is_sh_ship,omitempty" xml:"is_sh_ship,omitempty"` }
TopOrderVo 结构体
type TopParseAddressEntryVo ¶ added in v1.2.7
type TopParseAddressEntryVo struct { // 地区编码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 地域名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 地区级别,2代表省、自治区、直辖市、特别行政区;3代表地级市、 地区、盟、自治州;4代表县、区、自治县、旗;5代表乡、镇、街道,openmall中请取第三或者第四级别地域编码传入即可 Scope int64 `json:"scope,omitempty" xml:"scope,omitempty"` }
TopParseAddressEntryVo 结构体
type TopParseAddressVo ¶ added in v1.2.7
type TopParseAddressVo struct { // 地址解析结构 Entries []TopParseAddressEntryVo `json:"entries,omitempty" xml:"entries>top_parse_address_entry_vo,omitempty"` }
TopParseAddressVo 结构体
type TopPostageVo ¶
type TopPostageVo struct { // 增费:支持0.00-999.99(最多包含两位小数) AddFee string `json:"add_fee,omitempty" xml:"add_fee,omitempty"` // 增费标准。 当valuation为0时,支持1-9999范围内的整数; 当valuation为1时,支持0.1-9999.9范围内的小数,只能包含一位小数(单位为千克); 当valuation为3时,支持0.1-999.9范围内的数值,数值只能包含一位小数(单位为 立方米)。 AddStandard string `json:"add_standard,omitempty" xml:"add_standard,omitempty"` // 涉及的地区,多个地区用逗号分隔。地区码可以用taobao.areas.get接口获取,或者参考:http://www.mca.gov.cn/article/sj/xzqh/2020/2020/202003301019.html 当值为1时,表示全国所有地区。 PostArea string `json:"post_area,omitempty" xml:"post_area,omitempty"` // 运费方式,可选值:平邮 (post)、快递公司(express)、EMS (ems)、货到付款(cod)、物流宝保障速递(wlb)、家装物流(furniture)。 PostType string `json:"post_type,omitempty" xml:"post_type,omitempty"` // 首费,范围0.00-999.99(最多包含两位小数)。 StartFee string `json:"start_fee,omitempty" xml:"start_fee,omitempty"` // 首费标准。 当valuation(记价方式)为1时,支持0.1-9999.9范围内的小数只能包含一位小数(单位为千克); 当valuation(记价方式)为3时,支持0.1-999.9范围内的数值,数值只能包含一位小数(单位为 立方米)。 StartStandard string `json:"start_standard,omitempty" xml:"start_standard,omitempty"` // 运费计算方式,可选值:0(件数)、1(重量)、3(体积)。 Valuation int64 `json:"valuation,omitempty" xml:"valuation,omitempty"` }
TopPostageVo 结构体
type TopRefundVo ¶
type TopRefundVo struct { // 退款单状态,此接口存在延迟,详情参考taobao.openmall.refund.get Status string `json:"status,omitempty" xml:"status,omitempty"` // 退款单创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 请求退款金额 RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 货物状态。可选值BUYER_NOT_RECEIVED (买家未收到货) BUYER_RECEIVED (买家已收到货) BUYER_RETURNED_GOODS (买家已退货) GoodStatus string `json:"good_status,omitempty" xml:"good_status,omitempty"` // 更新时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 实付金额。精确到2位小数;单位:元。如:200.07,表示:200元7分 Payment string `json:"payment,omitempty" xml:"payment,omitempty"` // 退款阶段,可选值:onsale/aftersale RefundPhase string `json:"refund_phase,omitempty" xml:"refund_phase,omitempty"` // 卖家退货地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 创建交易时的物流方式。 可选值:ems, express, post, free ShippingType string `json:"shipping_type,omitempty" xml:"shipping_type,omitempty"` // 商品SKU信息 Sku string `json:"sku,omitempty" xml:"sku,omitempty"` // 交易总金额 TotalFee string `json:"total_fee,omitempty" xml:"total_fee,omitempty"` // 退货运单号 Sid string `json:"sid,omitempty" xml:"sid,omitempty"` // 物流公司名称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 退货邮编 PostCode string `json:"post_code,omitempty" xml:"post_code,omitempty"` // 退货时收货人电话 FixPhone string `json:"fix_phone,omitempty" xml:"fix_phone,omitempty"` // 退货时收货人手机号 Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"` // 退货时收货人姓名 ConsigneeFullName string `json:"consignee_full_name,omitempty" xml:"consignee_full_name,omitempty"` // 退款单ID RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 对应订单ID Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 商品数量 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 商品ID NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 退款超时结构 RefundRemindTimeout *RefundRemindTimeout `json:"refund_remind_timeout,omitempty" xml:"refund_remind_timeout,omitempty"` // 买家是否需要退货。可选值:true(是),false(否) HasGoodReturn bool `json:"has_good_return,omitempty" xml:"has_good_return,omitempty"` // 当该退款单为 未发货仅退款 申请时,因卖家坚持发货而导致关单的情况下,该字段值为true;其余条件为空或false ClosedBySellerShip bool `json:"closed_by_seller_ship,omitempty" xml:"closed_by_seller_ship,omitempty"` }
TopRefundVo 结构体
type TopSaleAreaVo ¶
type TopSaleAreaVo struct { // 可售区域信息,JSON数组格式的字符串。区域的层次用树状结构表示。 包含的字段有: areaId:区域码; subSaleArea:所属子区域的可售信息; 树的叶子节点表示可售区域。 树的枝节点只是聚合可售区域,表达区域的层次关系。 SaleAreaInfo string `json:"sale_area_info,omitempty" xml:"sale_area_info,omitempty"` // 商品SKU ID SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` }
TopSaleAreaVo 结构体
type TopTradeCreateDo ¶
type TopTradeCreateDo struct { // 收货地址的收件人地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 买家来源渠道,可选值 WeiXin(微信渠道),DouYin(抖音), KuaiShou (快手),Other(其他) BuyerChannel string `json:"buyer_channel,omitempty" xml:"buyer_channel,omitempty"` // 买家来源渠道对应ID,例如微信的openId BuyerChannelId string `json:"buyer_channel_id,omitempty" xml:"buyer_channel_id,omitempty"` // 买家留言 BuyerMemo string `json:"buyer_memo,omitempty" xml:"buyer_memo,omitempty"` // 买家手机号 BuyerPhone string `json:"buyer_phone,omitempty" xml:"buyer_phone,omitempty"` // 媒体渠道,代表分销者的身份,签约支付宝代扣的渠道商淘宝账号nick Distributor string `json:"distributor,omitempty" xml:"distributor,omitempty"` // 收货地址的区域码,从taobao.areas.get接口获取区域码,文档地址:https://open.taobao.com/api.htm?spm=a219a.7386653.0.0.77e7669aoxOfiV&source=search&docId=59&docType=2 Divisioncode string `json:"divisioncode,omitempty" xml:"divisioncode,omitempty"` // 计划采购金额(单位元),如最终订单成交价与期望金额不同则直接关单采购失败,计算方式:运费+商品成本价 ExpectOrderFee string `json:"expect_order_fee,omitempty" xml:"expect_order_fee,omitempty"` // 收货地址的手机号码 Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"` // 收货地址的收件人姓名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 订单的外部订单号,用来防止重复提交。需要以TOP: appkey_(如:100000_) 开头,最长32位 OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"` // 外部订单交易金额(单位元),即消费者在渠道的实付金额 OuterOrderFee string `json:"outer_order_fee,omitempty" xml:"outer_order_fee,omitempty"` // 收货地址的电话号码 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 收货地址的邮编,为空或者6位数字的邮编 Postcode string `json:"postcode,omitempty" xml:"postcode,omitempty"` // 创建交易时的物流方式。 具体的值从 taobao.openmall.trade.render 接口获取,邮费0说明为包邮 ShippingType string `json:"shipping_type,omitempty" xml:"shipping_type,omitempty"` // 商品的id NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品数量 Nums int64 `json:"nums,omitempty" xml:"nums,omitempty"` // 商品对应的SKUID,无SKU商品传0 SkuIids int64 `json:"sku_iids,omitempty" xml:"sku_iids,omitempty"` // 创建订单传入true的时候,订单支付后会进入半小时的hold单(订单状态为:PAID_FORBID_CONSIGN),此时订单不会发货,用户可以调用Openmall地址修改接口修改订单收货地址,半小时结束后订单自动结束hold单进入发货流程订单状态为(WAIT_SELLER_SEND_GOODS) NeedErpHold bool `json:"need_erp_hold,omitempty" xml:"need_erp_hold,omitempty"` }
TopTradeCreateDo 结构体
type TopTradeDetailVo ¶
type TopTradeDetailVo struct { // 订单列表 Orders []TopOrderVo `json:"orders,omitempty" xml:"orders>top_order_vo,omitempty"` // 外部outid OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"` // 实付金额 Payment string `json:"payment,omitempty" xml:"payment,omitempty"` // 邮费 PostFee string `json:"post_fee,omitempty" xml:"post_fee,omitempty"` // 订单状态,该字段存在延迟,请参考taoboa.openmall.trade.get Status string `json:"status,omitempty" xml:"status,omitempty"` // 支付宝交易号 AlipayNo string `json:"alipay_no,omitempty" xml:"alipay_no,omitempty"` // 下单用户渠道 BuyerChannel string `json:"buyer_channel,omitempty" xml:"buyer_channel,omitempty"` // 下单用户渠道openid BuyerChannelId string `json:"buyer_channel_id,omitempty" xml:"buyer_channel_id,omitempty"` // 买家备注 BuyerMemo string `json:"buyer_memo,omitempty" xml:"buyer_memo,omitempty"` // 卖家发货时间。格式:yyyy-MM-dd HH:mm:ss ConsignTime string `json:"consign_time,omitempty" xml:"consign_time,omitempty"` // 交易创建时间。格式:yyyy-MM-dd HH:mm:ss Created string `json:"created,omitempty" xml:"created,omitempty"` // 下单媒体渠道 Distributor string `json:"distributor,omitempty" xml:"distributor,omitempty"` // 交易结束时间。交易成功时间(更新交易状态为成功的同时更新)/确认收货时间或者交易关闭时间 。格式:yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 商家的预计发货时间 EstConTime string `json:"est_con_time,omitempty" xml:"est_con_time,omitempty"` // 订单出现异常问题的时候,给予用户的描述,没有异常的时候,此值为空 MarkDesc string `json:"mark_desc,omitempty" xml:"mark_desc,omitempty"` // 交易修改时间(用户对订单的任何修改都会更新此字段)。格式:yyyy-MM-dd HH:mm:ss Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 付款时间。格式:yyyy-MM-dd HH:mm:ss。订单的付款时间即为物流订单的创建时间。 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 商品价格。精确到2位小数;单位:元。如:200.07,表示:200元7分 Price string `json:"price,omitempty" xml:"price,omitempty"` // 收货人的详细地址 ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"` // 收货人的所在城市 注:因为国家对于城市和地区的划分的有:省直辖市和省直辖县级行政区(区级别的)划分的,淘宝这边根据这个差异保存在不同字段里面比如:广东广州:广州属于一个直辖市是放在的receiver_city的字段里面;而河南济源:济源属于省直辖县级行政区划分,是区级别的,放在了receiver_district里面 建议:程序依赖于城市字段做物流等判断的操作,最好加一个判断逻辑:如果返回值里面只有receiver_district参数,该参数作为城市 ReceiverCity string `json:"receiver_city,omitempty" xml:"receiver_city,omitempty"` // 收货人国籍 ReceiverCountry string `json:"receiver_country,omitempty" xml:"receiver_country,omitempty"` // 收货人的所在地区 注:因为国家对于城市和地区的划分的有:省直辖市和省直辖县级行政区(区级别的)划分的,淘宝这边根据这个差异保存在不同字段里面比如:广东广州:广州属于一个直辖市是放在的receiver_city的字段里面;而河南济源:济源属于省直辖县级行政区划分,是区级别的,放在了receiver_district里面 建议:程序依赖于城市字段做物流等判断的操作,最好加一个判断逻辑:如果返回值里面只有receiver_district参数,该参数作为城市 ReceiverDistrict string `json:"receiver_district,omitempty" xml:"receiver_district,omitempty"` // 收货人手机号 ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"` // 收货人姓名 ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"` // 收货人电话 ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"` // 收货人的所在省份 ReceiverState string `json:"receiver_state,omitempty" xml:"receiver_state,omitempty"` // 收货人街道地址 ReceiverTown string `json:"receiver_town,omitempty" xml:"receiver_town,omitempty"` // 收货人的邮编 ReceiverZip string `json:"receiver_zip,omitempty" xml:"receiver_zip,omitempty"` // 商家 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 创建交易时的物流方式(交易完成前,物流方式有可能改变,但系统里的这个字段一直不变)。可选值:free(卖家包邮),post(平邮),express(快递) ShippingType string `json:"shipping_type,omitempty" xml:"shipping_type,omitempty"` // 运单号,订单实际物流单号取 orders中的invoice_no和logistics_company Sid string `json:"sid,omitempty" xml:"sid,omitempty"` // 交易标题,以店铺名作为此标题的值。注:taobao.trades.get接口返回的Trade中的title是商品名称 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品金额(商品价格乘以数量的总金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分 TotalFee string `json:"total_fee,omitempty" xml:"total_fee,omitempty"` // 交易备注。 TradeMemo string `json:"trade_memo,omitempty" xml:"trade_memo,omitempty"` // 订单ID Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 商品ID NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品数量 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 是否包含邮费 HasPostFee bool `json:"has_post_fee,omitempty" xml:"has_post_fee,omitempty"` }
TopTradeDetailVo 结构体
type TopTradeResultVo ¶
type TopTradeResultVo struct { // 运费列表 Posts []PostDo `json:"posts,omitempty" xml:"posts>post_do,omitempty"` // 淘宝交易ID Tid string `json:"tid,omitempty" xml:"tid,omitempty"` // 发货地址 Location string `json:"location,omitempty" xml:"location,omitempty"` // 发货地址对应的areaid AreaId int64 `json:"area_id,omitempty" xml:"area_id,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` }
TopTradeResultVo 结构体
type TransitStepInfoVo ¶
type TransitStepInfoVo struct { // 节点说明 Action string `json:"action,omitempty" xml:"action,omitempty"` // 状态描述 StatusDesc string `json:"status_desc,omitempty" xml:"status_desc,omitempty"` // 状态发生的时间 StatusTime string `json:"status_time,omitempty" xml:"status_time,omitempty"` }
TransitStepInfoVo 结构体
Source Files ¶
- PostDo.go
- RefundMessage.go
- RefundMessagePic.go
- RefundRemindTimeout.go
- TaobaoOpenmallItemGetAPIRequest.go
- TaobaoOpenmallItemGetAPIResponse.go
- TaobaoOpenmallItemGetResultDo.go
- TaobaoOpenmallItemSaleareaGetAPIRequest.go
- TaobaoOpenmallItemSaleareaGetAPIResponse.go
- TaobaoOpenmallItemSaleareaGetResultDo.go
- TaobaoOpenmallItemsQueryAPIRequest.go
- TaobaoOpenmallItemsQueryAPIResponse.go
- TaobaoOpenmallItemsQueryResultDo.go
- TaobaoOpenmallRefundBatchGetAPIRequest.go
- TaobaoOpenmallRefundBatchGetAPIResponse.go
- TaobaoOpenmallRefundCloseAPIRequest.go
- TaobaoOpenmallRefundCloseAPIResponse.go
- TaobaoOpenmallRefundCreateAPIRequest.go
- TaobaoOpenmallRefundCreateAPIResponse.go
- TaobaoOpenmallRefundGetAPIRequest.go
- TaobaoOpenmallRefundGetAPIResponse.go
- TaobaoOpenmallRefundImageUploadAPIRequest.go
- TaobaoOpenmallRefundImageUploadAPIResponse.go
- TaobaoOpenmallRefundMessageGetAPIRequest.go
- TaobaoOpenmallRefundMessageGetAPIResponse.go
- TaobaoOpenmallRefundMessageSubmitAPIRequest.go
- TaobaoOpenmallRefundMessageSubmitAPIResponse.go
- TaobaoOpenmallRefundModifyAPIRequest.go
- TaobaoOpenmallRefundModifyAPIResponse.go
- TaobaoOpenmallRefundSubmitAPIRequest.go
- TaobaoOpenmallRefundSubmitAPIResponse.go
- TaobaoOpenmallTraceSearchAPIRequest.go
- TaobaoOpenmallTraceSearchAPIResponse.go
- TaobaoOpenmallTradeAddressParseAPIRequest.go
- TaobaoOpenmallTradeAddressParseAPIResponse.go
- TaobaoOpenmallTradeAgreepayAPIRequest.go
- TaobaoOpenmallTradeAgreepayAPIResponse.go
- TaobaoOpenmallTradeBatchGetAPIRequest.go
- TaobaoOpenmallTradeBatchGetAPIResponse.go
- TaobaoOpenmallTradeCloseAPIRequest.go
- TaobaoOpenmallTradeCloseAPIResponse.go
- TaobaoOpenmallTradeConfirmAPIRequest.go
- TaobaoOpenmallTradeConfirmAPIResponse.go
- TaobaoOpenmallTradeCreateAPIRequest.go
- TaobaoOpenmallTradeCreateAPIResponse.go
- TaobaoOpenmallTradeGetAPIRequest.go
- TaobaoOpenmallTradeGetAPIResponse.go
- TaobaoOpenmallTradeRenderAPIRequest.go
- TaobaoOpenmallTradeRenderAPIResponse.go
- TaobaoOpenmallTradeShipaddressUpdateAPIRequest.go
- TaobaoOpenmallTradeShipaddressUpdateAPIResponse.go
- TopItemImageVo.go
- TopItemSkuVo.go
- TopItemVo.go
- TopLogisticsDetailTraceVo.go
- TopOrderVo.go
- TopParseAddressEntryVo.go
- TopParseAddressVo.go
- TopPostageVo.go
- TopRefundVo.go
- TopSaleAreaVo.go
- TopTradeCreateDo.go
- TopTradeDetailVo.go
- TopTradeResultVo.go
- TransitStepInfoVo.go
- doc.go