tbrefund

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package tbrefund 包含淘宝退款API,相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAddress added in v1.3.4

func ReleaseAddress(v *Address)

ReleaseAddress 释放Address

func ReleaseCombineSubItemDo added in v1.3.4

func ReleaseCombineSubItemDo(v *CombineSubItemDo)

ReleaseCombineSubItemDo 释放CombineSubItemDo

func ReleaseDispute added in v1.3.4

func ReleaseDispute(v *Dispute)

ReleaseDispute 释放Dispute

func ReleaseMaxRefundFee added in v1.3.4

func ReleaseMaxRefundFee(v *MaxRefundFee)

ReleaseMaxRefundFee 释放MaxRefundFee

func ReleaseOperation added in v1.3.4

func ReleaseOperation(v *Operation)

ReleaseOperation 释放Operation

func ReleasePicUrl added in v1.3.4

func ReleasePicUrl(v *PicUrl)

ReleasePicUrl 释放PicUrl

func ReleaseQueryRefundStatusResponse added in v1.3.4

func ReleaseQueryRefundStatusResponse(v *QueryRefundStatusResponse)

ReleaseQueryRefundStatusResponse 释放QueryRefundStatusResponse

func ReleaseReason added in v1.3.4

func ReleaseReason(v *Reason)

ReleaseReason 释放Reason

func ReleaseRefund added in v1.3.4

func ReleaseRefund(v *Refund)

ReleaseRefund 释放Refund

func ReleaseRefundDetail added in v1.3.4

func ReleaseRefundDetail(v *RefundDetail)

ReleaseRefundDetail 释放RefundDetail

func ReleaseRefundMappingResult added in v1.3.4

func ReleaseRefundMappingResult(v *RefundMappingResult)

ReleaseRefundMappingResult 释放RefundMappingResult

func ReleaseRefundMessage added in v1.3.4

func ReleaseRefundMessage(v *RefundMessage)

ReleaseRefundMessage 释放RefundMessage

func ReleaseRefundQueryByOrderIdRequest added in v1.3.4

func ReleaseRefundQueryByOrderIdRequest(v *RefundQueryByOrderIdRequest)

ReleaseRefundQueryByOrderIdRequest 释放RefundQueryByOrderIdRequest

func ReleaseRefundRemindTimeout added in v1.3.4

func ReleaseRefundRemindTimeout(v *RefundRemindTimeout)

ReleaseRefundRemindTimeout 释放RefundRemindTimeout

func ReleaseTaobaoRefundDetailGetAPIRequest added in v1.3.4

func ReleaseTaobaoRefundDetailGetAPIRequest(v *TaobaoRefundDetailGetAPIRequest)

ReleaseTaobaoRefundDetailGetAPIRequest 将 TaobaoRefundDetailGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoRefundDetailGetAPIResponse added in v1.3.4

func ReleaseTaobaoRefundDetailGetAPIResponse(v *TaobaoRefundDetailGetAPIResponse)

ReleaseTaobaoRefundDetailGetAPIResponse 将 TaobaoRefundDetailGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRefundGetAPIRequest added in v1.3.4

func ReleaseTaobaoRefundGetAPIRequest(v *TaobaoRefundGetAPIRequest)

ReleaseTaobaoRefundGetAPIRequest 将 TaobaoRefundGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoRefundGetAPIResponse added in v1.3.4

func ReleaseTaobaoRefundGetAPIResponse(v *TaobaoRefundGetAPIResponse)

ReleaseTaobaoRefundGetAPIResponse 将 TaobaoRefundGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRefundMessageAddAPIRequest added in v1.3.4

func ReleaseTaobaoRefundMessageAddAPIRequest(v *TaobaoRefundMessageAddAPIRequest)

ReleaseTaobaoRefundMessageAddAPIRequest 将 TaobaoRefundMessageAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoRefundMessageAddAPIResponse added in v1.3.4

func ReleaseTaobaoRefundMessageAddAPIResponse(v *TaobaoRefundMessageAddAPIResponse)

ReleaseTaobaoRefundMessageAddAPIResponse 将 TaobaoRefundMessageAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRefundMessagesGetAPIRequest added in v1.3.4

func ReleaseTaobaoRefundMessagesGetAPIRequest(v *TaobaoRefundMessagesGetAPIRequest)

ReleaseTaobaoRefundMessagesGetAPIRequest 将 TaobaoRefundMessagesGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoRefundMessagesGetAPIResponse added in v1.3.4

func ReleaseTaobaoRefundMessagesGetAPIResponse(v *TaobaoRefundMessagesGetAPIResponse)

ReleaseTaobaoRefundMessagesGetAPIResponse 将 TaobaoRefundMessagesGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRefundNegotiatereturnAPIRequest added in v1.3.4

func ReleaseTaobaoRefundNegotiatereturnAPIRequest(v *TaobaoRefundNegotiatereturnAPIRequest)

ReleaseTaobaoRefundNegotiatereturnAPIRequest 将 TaobaoRefundNegotiatereturnAPIRequest 放入 sync.Pool

func ReleaseTaobaoRefundNegotiatereturnAPIResponse added in v1.3.4

func ReleaseTaobaoRefundNegotiatereturnAPIResponse(v *TaobaoRefundNegotiatereturnAPIResponse)

ReleaseTaobaoRefundNegotiatereturnAPIResponse 将 TaobaoRefundNegotiatereturnAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRefundNegotiatereturnRenderAPIRequest added in v1.3.4

func ReleaseTaobaoRefundNegotiatereturnRenderAPIRequest(v *TaobaoRefundNegotiatereturnRenderAPIRequest)

ReleaseTaobaoRefundNegotiatereturnRenderAPIRequest 将 TaobaoRefundNegotiatereturnRenderAPIRequest 放入 sync.Pool

func ReleaseTaobaoRefundNegotiatereturnRenderAPIResponse added in v1.3.4

func ReleaseTaobaoRefundNegotiatereturnRenderAPIResponse(v *TaobaoRefundNegotiatereturnRenderAPIResponse)

ReleaseTaobaoRefundNegotiatereturnRenderAPIResponse 将 TaobaoRefundNegotiatereturnRenderAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRefundRefusereasonGetAPIRequest added in v1.3.4

func ReleaseTaobaoRefundRefusereasonGetAPIRequest(v *TaobaoRefundRefusereasonGetAPIRequest)

ReleaseTaobaoRefundRefusereasonGetAPIRequest 将 TaobaoRefundRefusereasonGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoRefundRefusereasonGetAPIResponse added in v1.3.4

func ReleaseTaobaoRefundRefusereasonGetAPIResponse(v *TaobaoRefundRefusereasonGetAPIResponse)

ReleaseTaobaoRefundRefusereasonGetAPIResponse 将 TaobaoRefundRefusereasonGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRefundStatusGetAPIRequest added in v1.3.4

func ReleaseTaobaoRefundStatusGetAPIRequest(v *TaobaoRefundStatusGetAPIRequest)

ReleaseTaobaoRefundStatusGetAPIRequest 将 TaobaoRefundStatusGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoRefundStatusGetAPIResponse added in v1.3.4

func ReleaseTaobaoRefundStatusGetAPIResponse(v *TaobaoRefundStatusGetAPIResponse)

ReleaseTaobaoRefundStatusGetAPIResponse 将 TaobaoRefundStatusGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRefundStatusGetResultSet added in v1.3.4

func ReleaseTaobaoRefundStatusGetResultSet(v *TaobaoRefundStatusGetResultSet)

ReleaseTaobaoRefundStatusGetResultSet 释放TaobaoRefundStatusGetResultSet

func ReleaseTaobaoRefundsApplyGetAPIRequest added in v1.3.4

func ReleaseTaobaoRefundsApplyGetAPIRequest(v *TaobaoRefundsApplyGetAPIRequest)

ReleaseTaobaoRefundsApplyGetAPIRequest 将 TaobaoRefundsApplyGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoRefundsApplyGetAPIResponse added in v1.3.4

func ReleaseTaobaoRefundsApplyGetAPIResponse(v *TaobaoRefundsApplyGetAPIResponse)

ReleaseTaobaoRefundsApplyGetAPIResponse 将 TaobaoRefundsApplyGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRpRefundInterceptAPIRequest added in v1.3.4

func ReleaseTaobaoRpRefundInterceptAPIRequest(v *TaobaoRpRefundInterceptAPIRequest)

ReleaseTaobaoRpRefundInterceptAPIRequest 将 TaobaoRpRefundInterceptAPIRequest 放入 sync.Pool

func ReleaseTaobaoRpRefundInterceptAPIResponse added in v1.3.4

func ReleaseTaobaoRpRefundInterceptAPIResponse(v *TaobaoRpRefundInterceptAPIResponse)

ReleaseTaobaoRpRefundInterceptAPIResponse 将 TaobaoRpRefundInterceptAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRpRefundReviewAPIRequest added in v1.3.4

func ReleaseTaobaoRpRefundReviewAPIRequest(v *TaobaoRpRefundReviewAPIRequest)

ReleaseTaobaoRpRefundReviewAPIRequest 将 TaobaoRpRefundReviewAPIRequest 放入 sync.Pool

func ReleaseTaobaoRpRefundReviewAPIResponse added in v1.3.4

func ReleaseTaobaoRpRefundReviewAPIResponse(v *TaobaoRpRefundReviewAPIResponse)

ReleaseTaobaoRpRefundReviewAPIResponse 将 TaobaoRpRefundReviewAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRpRefundsAgreeAPIRequest added in v1.3.4

func ReleaseTaobaoRpRefundsAgreeAPIRequest(v *TaobaoRpRefundsAgreeAPIRequest)

ReleaseTaobaoRpRefundsAgreeAPIRequest 将 TaobaoRpRefundsAgreeAPIRequest 放入 sync.Pool

func ReleaseTaobaoRpRefundsAgreeAPIResponse added in v1.3.4

func ReleaseTaobaoRpRefundsAgreeAPIResponse(v *TaobaoRpRefundsAgreeAPIResponse)

ReleaseTaobaoRpRefundsAgreeAPIResponse 将 TaobaoRpRefundsAgreeAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRpReturngoodsAgreeAPIRequest added in v1.3.4

func ReleaseTaobaoRpReturngoodsAgreeAPIRequest(v *TaobaoRpReturngoodsAgreeAPIRequest)

ReleaseTaobaoRpReturngoodsAgreeAPIRequest 将 TaobaoRpReturngoodsAgreeAPIRequest 放入 sync.Pool

func ReleaseTaobaoRpReturngoodsAgreeAPIResponse added in v1.3.4

func ReleaseTaobaoRpReturngoodsAgreeAPIResponse(v *TaobaoRpReturngoodsAgreeAPIResponse)

ReleaseTaobaoRpReturngoodsAgreeAPIResponse 将 TaobaoRpReturngoodsAgreeAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRpReturngoodsRefillAPIRequest added in v1.3.4

func ReleaseTaobaoRpReturngoodsRefillAPIRequest(v *TaobaoRpReturngoodsRefillAPIRequest)

ReleaseTaobaoRpReturngoodsRefillAPIRequest 将 TaobaoRpReturngoodsRefillAPIRequest 放入 sync.Pool

func ReleaseTaobaoRpReturngoodsRefillAPIResponse added in v1.3.4

func ReleaseTaobaoRpReturngoodsRefillAPIResponse(v *TaobaoRpReturngoodsRefillAPIResponse)

ReleaseTaobaoRpReturngoodsRefillAPIResponse 将 TaobaoRpReturngoodsRefillAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRpReturngoodsRefuseAPIRequest added in v1.3.4

func ReleaseTaobaoRpReturngoodsRefuseAPIRequest(v *TaobaoRpReturngoodsRefuseAPIRequest)

ReleaseTaobaoRpReturngoodsRefuseAPIRequest 将 TaobaoRpReturngoodsRefuseAPIRequest 放入 sync.Pool

func ReleaseTaobaoRpReturngoodsRefuseAPIResponse added in v1.3.4

func ReleaseTaobaoRpReturngoodsRefuseAPIResponse(v *TaobaoRpReturngoodsRefuseAPIResponse)

ReleaseTaobaoRpReturngoodsRefuseAPIResponse 将 TaobaoRpReturngoodsRefuseAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSpecialRefundGetAPIRequest added in v1.3.4

func ReleaseTaobaoSpecialRefundGetAPIRequest(v *TaobaoSpecialRefundGetAPIRequest)

ReleaseTaobaoSpecialRefundGetAPIRequest 将 TaobaoSpecialRefundGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoSpecialRefundGetAPIResponse added in v1.3.4

func ReleaseTaobaoSpecialRefundGetAPIResponse(v *TaobaoSpecialRefundGetAPIResponse)

ReleaseTaobaoSpecialRefundGetAPIResponse 将 TaobaoSpecialRefundGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSpecialRefundsReceiveGetAPIRequest added in v1.3.4

func ReleaseTaobaoSpecialRefundsReceiveGetAPIRequest(v *TaobaoSpecialRefundsReceiveGetAPIRequest)

ReleaseTaobaoSpecialRefundsReceiveGetAPIRequest 将 TaobaoSpecialRefundsReceiveGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoSpecialRefundsReceiveGetAPIResponse added in v1.3.4

func ReleaseTaobaoSpecialRefundsReceiveGetAPIResponse(v *TaobaoSpecialRefundsReceiveGetAPIResponse)

ReleaseTaobaoSpecialRefundsReceiveGetAPIResponse 将 TaobaoSpecialRefundsReceiveGetAPIResponse 保存到 sync.Pool

func ReleaseTmallDisputeReceiveGetAPIRequest added in v1.3.4

func ReleaseTmallDisputeReceiveGetAPIRequest(v *TmallDisputeReceiveGetAPIRequest)

ReleaseTmallDisputeReceiveGetAPIRequest 将 TmallDisputeReceiveGetAPIRequest 放入 sync.Pool

func ReleaseTmallDisputeReceiveGetAPIResponse added in v1.3.4

func ReleaseTmallDisputeReceiveGetAPIResponse(v *TmallDisputeReceiveGetAPIResponse)

ReleaseTmallDisputeReceiveGetAPIResponse 将 TmallDisputeReceiveGetAPIResponse 保存到 sync.Pool

func ReleaseTmallDisputeReceiveGetResultSet added in v1.3.4

func ReleaseTmallDisputeReceiveGetResultSet(v *TmallDisputeReceiveGetResultSet)

ReleaseTmallDisputeReceiveGetResultSet 释放TmallDisputeReceiveGetResultSet

Types

type Address

type Address struct {
	// 收件人姓名
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 邮政编码
	PostCode string `json:"post_code,omitempty" xml:"post_code,omitempty"`
	// 收件人手机
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 国家
	CountryName string `json:"country_name,omitempty" xml:"country_name,omitempty"`
	// 省
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 市
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 区
	AreaName string `json:"area_name,omitempty" xml:"area_name,omitempty"`
	// 乡镇/街道
	TownName string `json:"town_name,omitempty" xml:"town_name,omitempty"`
	// 乡镇/街道地址详情
	AddressDetail string `json:"address_detail,omitempty" xml:"address_detail,omitempty"`
	// 行政区划代码
	DivisionCode string `json:"division_code,omitempty" xml:"division_code,omitempty"`
	// 地址ID
	AddressId int64 `json:"address_id,omitempty" xml:"address_id,omitempty"`
}

Address 结构体

func GetAddress added in v1.3.4

func GetAddress() *Address

GetAddress() 从对象池中获取Address

type CombineSubItemDo added in v1.2.9

type CombineSubItemDo struct {
	// 商品数字编号
	NumIid string `json:"num_iid,omitempty" xml:"num_iid,omitempty"`
	// 商品标题
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// sku_id
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 商家外部编码(可与商家外部系统对接)
	OuterIid string `json:"outer_iid,omitempty" xml:"outer_iid,omitempty"`
	// 123
	OuterSkuId string `json:"outer_sku_id,omitempty" xml:"outer_sku_id,omitempty"`
	// 数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

CombineSubItemDo 结构体

func GetCombineSubItemDo added in v1.3.4

func GetCombineSubItemDo() *CombineSubItemDo

GetCombineSubItemDo() 从对象池中获取CombineSubItemDo

type Dispute

type Dispute struct {
	// 卖家收货地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 支付宝单号
	AlipayNo string `json:"alipay_no,omitempty" xml:"alipay_no,omitempty"`
	// 纠纷单上的各项属性
	Attribute string `json:"attribute,omitempty" xml:"attribute,omitempty"`
	// 正向交易单号
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 买家收货地址(换货)
	BuyerAddress string `json:"buyer_address,omitempty" xml:"buyer_address,omitempty"`
	// 买家发货物流公司(换货)
	BuyerLogisticName string `json:"buyer_logistic_name,omitempty" xml:"buyer_logistic_name,omitempty"`
	// 买家发货物流单号(换货)
	BuyerLogisticNo string `json:"buyer_logistic_no,omitempty" xml:"buyer_logistic_no,omitempty"`
	// 买家收货人姓名(换货)
	BuyerName string `json:"buyer_name,omitempty" xml:"buyer_name,omitempty"`
	// 买家联系方式(换货)
	BuyerPhone string `json:"buyer_phone,omitempty" xml:"buyer_phone,omitempty"`
	// 卖家发货物流单号
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 纠纷单创建时间
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 纠纷说明
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 纠纷类型,常见的有:仅退款、退货退款、换货
	DisputeRequest string `json:"dispute_request,omitempty" xml:"dispute_request,omitempty"`
	// 买家退货时间
	GoodReturnTime string `json:"good_return_time,omitempty" xml:"good_return_time,omitempty"`
	// 货物状态
	GoodStatus string `json:"good_status,omitempty" xml:"good_status,omitempty"`
	// 纠纷单修改时间
	Modified string `json:"modified,omitempty" xml:"modified,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(交易被淘宝关闭) ALL_WAIT_PAY(包含:WAIT_BUYER_PAY、TRADE_NO_CREATE_PAY) ALL_CLOSED(包含:TRADE_CLOSED、TRADE_CLOSED_BY_TAOBAO) 取自"http://open.taobao.com/dev/index.php/%E4%BA%A4%E6%98%93%E7%8A%B6%E6%80%81"
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 退款原因
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// 退还金额(退还给买家的金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分
	RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 纠纷单号id
	RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 退款阶段,可选值:onsale/aftersale
	RefundPhase string `json:"refund_phase,omitempty" xml:"refund_phase,omitempty"`
	// 卖家发货物流公司(换货)
	SellerLogisticName string `json:"seller_logistic_name,omitempty" xml:"seller_logistic_name,omitempty"`
	// 卖家发货物流单号(换货)
	SellerLogisticNo string `json:"seller_logistic_no,omitempty" xml:"seller_logistic_no,omitempty"`
	// 逆向纠纷状态。其中,仅退款/退货退款的状态为:(1, "买家已经申请退款,等待卖家同意"),(2, "卖家已经同意退款,等待买家退货"),(3, "买家已经退货,等待卖家确认收货"),(4, "退款关闭"),(5, "退款成功"),(6, "卖家拒绝退款”),(7, "等待买家确认重新邮寄的货物"),(8, "等待卖家确认退货地址");换货的状态为:(1, "换货待处理"),(2, "待买家退货"),(3, "买家已退货,待收货"),(4, "换货关闭"),(5, "换货成功"),(6, "待买家修改"),(12, "待发出换货商品"),(13, "待买家收货"),(14, "请退款")
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 超时时间
	TimeOut string `json:"time_out,omitempty" xml:"time_out,omitempty"`
	// 商品名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 买家openId
	BuyerOpenUid string `json:"buyer_open_uid,omitempty" xml:"buyer_open_uid,omitempty"`
	// 买家昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 买家购买数量
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
	// 子订单号。如果是单笔交易oid会等于tid
	Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"`
	// 买家是否需要退货。可选值:true(是),false(否)
	HasGoodReturn bool `json:"has_good_return,omitempty" xml:"has_good_return,omitempty"`
}

Dispute 结构体

func GetDispute added in v1.3.4

func GetDispute() *Dispute

GetDispute() 从对象池中获取Dispute

type MaxRefundFee

type MaxRefundFee struct {
	// 可以协商的最大退款金额
	MaxRefundFee int64 `json:"max_refund_fee,omitempty" xml:"max_refund_fee,omitempty"`
}

MaxRefundFee 结构体

func GetMaxRefundFee added in v1.3.4

func GetMaxRefundFee() *MaxRefundFee

GetMaxRefundFee() 从对象池中获取MaxRefundFee

type Operation

type Operation struct {
	// 操作编码
	OperationCode string `json:"operation_code,omitempty" xml:"operation_code,omitempty"`
	// 操作提示文案
	Tips string `json:"tips,omitempty" xml:"tips,omitempty"`
}

Operation 结构体

func GetOperation added in v1.3.4

func GetOperation() *Operation

GetOperation() 从对象池中获取Operation

type PicUrl

type PicUrl struct {
	// 图片链接地址
	Url string `json:"url,omitempty" xml:"url,omitempty"`
}

PicUrl 结构体

func GetPicUrl added in v1.3.4

func GetPicUrl() *PicUrl

GetPicUrl() 从对象池中获取PicUrl

type QueryRefundStatusResponse

type QueryRefundStatusResponse struct {
	// 更新时间。格式:yyyy-MM-dd HH:mm:ss
	Modified string `json:"modified,omitempty" xml:"modified,omitempty"`
	// 退款状态。可选值WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意) WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货) WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货) SELLER_REFUSE_BUYER(卖家拒绝退款) CLOSED(退款关闭) SUCCESS(退款成功)
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 退款单id
	RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 淘宝交易单号
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 子订单号
	Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"`
}

QueryRefundStatusResponse 结构体

func GetQueryRefundStatusResponse added in v1.3.4

func GetQueryRefundStatusResponse() *QueryRefundStatusResponse

GetQueryRefundStatusResponse() 从对象池中获取QueryRefundStatusResponse

type Reason

type Reason struct {
	// 退款原因文案
	ReasonText string `json:"reason_text,omitempty" xml:"reason_text,omitempty"`
	// 已经影响商品完好
	ReasonTips string `json:"reason_tips,omitempty" xml:"reason_tips,omitempty"`
	// 退款原因ID
	ReasonId int64 `json:"reason_id,omitempty" xml:"reason_id,omitempty"`
}

Reason 结构体

func GetReason added in v1.3.4

func GetReason() *Reason

GetReason() 从对象池中获取Reason

type Refund

type Refund struct {
	// 组合品信息
	CombineItemInfo []CombineSubItemDo `json:"combine_item_info,omitempty" xml:"combine_item_info>combine_sub_item_do,omitempty"`
	// 卖家收货地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 支付宝交易号
	AlipayNo string `json:"alipay_no,omitempty" xml:"alipay_no,omitempty"`
	// attribute
	Attribute string `json:"attribute,omitempty" xml:"attribute,omitempty"`
	// 买家昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 物流公司名称
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 退款申请时间。格式:yyyy-MM-dd HH:mm:ss
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 退款说明
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 退货时间。格式:yyyy-MM-dd HH:mm:ss
	GoodReturnTime string `json:"good_return_time,omitempty" xml:"good_return_time,omitempty"`
	// 货物状态。可选值BUYER_NOT_RECEIVED (买家未收到货) BUYER_RECEIVED (买家已收到货) BUYER_RETURNED_GOODS (买家已退货)
	GoodStatus string `json:"good_status,omitempty" xml:"good_status,omitempty"`
	// 更新时间。格式:yyyy-MM-dd HH:mm:ss
	Modified string `json:"modified,omitempty" xml:"modified,omitempty"`
	// 退款约束,可选值:cannot_refuse(不允许操作),refund_onweb(需要到网页版操作)
	OperationContraint string `json:"operation_contraint,omitempty" xml:"operation_contraint,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(交易被淘宝关闭) ALL_WAIT_PAY(包含:WAIT_BUYER_PAY、TRADE_NO_CREATE_PAY) ALL_CLOSED(包含:TRADE_CLOSED、TRADE_CLOSED_BY_TAOBAO) 取自"http://open.taobao.com/dev/index.php/%E4%BA%A4%E6%98%93%E7%8A%B6%E6%80%81"
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 商品外部商家编码
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 支付给卖家的金额(交易总金额-退还给买家的金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分
	Payment string `json:"payment,omitempty" xml:"payment,omitempty"`
	// 商品价格。精确到2位小数;单位:元。如:200.07,表示:200元7分
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 退款原因
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// 退还金额(退还给买家的金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分
	RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 退款单号
	RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 退款阶段,可选值:onsale(售中)/aftersale(售后)
	RefundPhase string `json:"refund_phase,omitempty" xml:"refund_phase,omitempty"`
	// 卖家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 物流方式.可选值:free(卖家包邮),post(平邮),express(快递),ems(EMS).
	ShippingType string `json:"shipping_type,omitempty" xml:"shipping_type,omitempty"`
	// 退货运单号
	Sid string `json:"sid,omitempty" xml:"sid,omitempty"`
	// 商品SKU信息
	Sku string `json:"sku,omitempty" xml:"sku,omitempty"`
	// 分账给卖家的钱
	SplitSellerFee string `json:"split_seller_fee,omitempty" xml:"split_seller_fee,omitempty"`
	// 分账给淘宝的钱
	SplitTaobaoFee string `json:"split_taobao_fee,omitempty" xml:"split_taobao_fee,omitempty"`
	// 退款状态。可选值WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意) WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货) WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货) SELLER_REFUSE_BUYER(卖家拒绝退款) CLOSED(退款关闭) SUCCESS(退款成功)
	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"`
	// 买家账号的OpenUID
	BuyerOpenUid string `json:"buyer_open_uid,omitempty" xml:"buyer_open_uid,omitempty"`
	// crm改造新增ouid返回
	Ouid string `json:"ouid,omitempty" xml:"ouid,omitempty"`
	// 退款类型,可选值REFUND(仅退款),REFUND_AND_RETURN(退货退款),TMALL_EXCHANGE(天猫换货),TAOBAO_EXCHANGE(淘宝换货),REPAIR(维修),RESHIPPING(补寄),OTHERS(其他)
	DisputeType string `json:"dispute_type,omitempty" xml:"dispute_type,omitempty"`
	// 逆向特殊部分退类型:价保服务(priceProtect)、退差返现(cashBack)
	SpecialRefundType string `json:"special_refund_type,omitempty" xml:"special_refund_type,omitempty"`
	// 退款先行垫付默认的未申请状态 0;退款先行垫付申请中  1;退款先行垫付,垫付完成 2;退款先行垫付,卖家拒绝收货 3;退款先行垫付,垫付关闭 4;退款先行垫付,垫付分账成功 5;
	AdvanceStatus int64 `json:"advance_status,omitempty" xml:"advance_status,omitempty"`
	// 不需客服介入1;需要客服介入2;客服已经介入3;客服初审完成4;客服主管复审失败5;客服处理完成6;系统撤销(B2B使用),维权撤销(集市使用) 7;支持买家 8;支持卖家 9;举证中 10;开放申诉 11;
	CsStatus int64 `json:"cs_status,omitempty" xml:"cs_status,omitempty"`
	// 商品数量
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
	// 申请退款的商品数字编号
	NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"`
	// 子订单号。如果是单笔交易oid会等于tid
	Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"`
	// 退款超时结构RefundRemindTimeout
	RefundRemindTimeout *RefundRemindTimeout `json:"refund_remind_timeout,omitempty" xml:"refund_remind_timeout,omitempty"`
	// 退款版本号(时间戳)
	RefundVersion int64 `json:"refund_version,omitempty" xml:"refund_version,omitempty"`
	// 淘宝交易单号
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 买家是否需要退货。可选值:true(是),false(否)
	HasGoodReturn bool `json:"has_good_return,omitempty" xml:"has_good_return,omitempty"`
}

Refund 结构体

func GetRefund added in v1.3.4

func GetRefund() *Refund

GetRefund() 从对象池中获取Refund

type RefundDetail

type RefundDetail struct {
	// 退款当前可以执行的操作
	AllowedOperations []Operation `json:"allowed_operations,omitempty" xml:"allowed_operations>operation,omitempty"`
	// 退款当前不可以执行的操作
	NotAllowedOperations []Operation `json:"not_allowed_operations,omitempty" xml:"not_allowed_operations>operation,omitempty"`
	// 退款版本号
	RefundVersion int64 `json:"refund_version,omitempty" xml:"refund_version,omitempty"`
}

RefundDetail 结构体

func GetRefundDetail added in v1.3.4

func GetRefundDetail() *RefundDetail

GetRefundDetail() 从对象池中获取RefundDetail

type RefundMappingResult

type RefundMappingResult struct {
	// 结果信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 退款ID
	RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

RefundMappingResult 结构体

func GetRefundMappingResult added in v1.3.4

func GetRefundMappingResult() *RefundMappingResult

GetRefundMappingResult() 从对象池中获取RefundMappingResult

type RefundMessage

type RefundMessage struct {
	// 图片链接
	PicUrls []PicUrl `json:"pic_urls,omitempty" xml:"pic_urls>pic_url,omitempty"`
	// 留言创建时间。格式:yyyy-MM-dd HH:mm:ss
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 留言内容。最大长度: 400个字节
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 退款类型:NORMAL(普通留言),RETURN_GOODS_APPROVED(卖家留退货地址时留言);如果为RETURN_GOODS_APPROVED,则退款留言中有卖家收货地址
	MessageType string `json:"message_type,omitempty" xml:"message_type,omitempty"`
	// 留言者昵称
	OwnerNick string `json:"owner_nick,omitempty" xml:"owner_nick,omitempty"`
	// 留言者身份1代表买家,2代表卖家,3代表小二
	OwnerRole string `json:"owner_role,omitempty" xml:"owner_role,omitempty"`
	// 退款编号。
	RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 退款阶段,可选值:onsale(售中), aftersale(售后)
	RefundPhase string `json:"refund_phase,omitempty" xml:"refund_phase,omitempty"`
	// 留言者openid
	OwnerOpenUid string `json:"owner_open_uid,omitempty" xml:"owner_open_uid,omitempty"`
	// 留言编号
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 留言者编号
	OwnerId int64 `json:"owner_id,omitempty" xml:"owner_id,omitempty"`
}

RefundMessage 结构体

func GetRefundMessage added in v1.3.4

func GetRefundMessage() *RefundMessage

GetRefundMessage() 从对象池中获取RefundMessage

type RefundQueryByOrderIdRequest

type RefundQueryByOrderIdRequest struct {
	// 订单号
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
}

RefundQueryByOrderIdRequest 结构体

func GetRefundQueryByOrderIdRequest added in v1.3.4

func GetRefundQueryByOrderIdRequest() *RefundQueryByOrderIdRequest

GetRefundQueryByOrderIdRequest() 从对象池中获取RefundQueryByOrderIdRequest

type RefundRemindTimeout

type RefundRemindTimeout struct {
	// 超时时间。格式:yyyy-MM-dd HH:mm:ss
	Timeout string `json:"timeout,omitempty" xml:"timeout,omitempty"`
	// 提醒的类型(退款详情中提示信息的类型)
	RemindType int64 `json:"remind_type,omitempty" xml:"remind_type,omitempty"`
	// 是否存在超时。可选值:true(是),false(否)
	ExistTimeout bool `json:"exist_timeout,omitempty" xml:"exist_timeout,omitempty"`
}

RefundRemindTimeout 结构体

func GetRefundRemindTimeout added in v1.3.4

func GetRefundRemindTimeout() *RefundRemindTimeout

GetRefundRemindTimeout() 从对象池中获取RefundRemindTimeout

type TaobaoRefundDetailGetAPIRequest

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

TaobaoRefundDetailGetAPIRequest 退款详情页渲染 API请求 taobao.refund.detail.get

退款详情页渲染

func GetTaobaoRefundDetailGetAPIRequest added in v1.3.4

func GetTaobaoRefundDetailGetAPIRequest() *TaobaoRefundDetailGetAPIRequest

GetTaobaoRefundDetailGetRequest 从 sync.Pool 获取 TaobaoRefundDetailGetAPIRequest

func NewTaobaoRefundDetailGetRequest

func NewTaobaoRefundDetailGetRequest() *TaobaoRefundDetailGetAPIRequest

NewTaobaoRefundDetailGetRequest 初始化TaobaoRefundDetailGetAPIRequest对象

func (TaobaoRefundDetailGetAPIRequest) GetApiMethodName

func (r TaobaoRefundDetailGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRefundDetailGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRefundDetailGetAPIRequest) GetFields

GetFields Fields Getter

func (TaobaoRefundDetailGetAPIRequest) GetRawParams

func (r TaobaoRefundDetailGetAPIRequest) GetRawParams() model.Params

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

func (TaobaoRefundDetailGetAPIRequest) GetRefundId

func (r TaobaoRefundDetailGetAPIRequest) GetRefundId() int64

GetRefundId RefundId Getter

func (*TaobaoRefundDetailGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRefundDetailGetAPIRequest) SetFields

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

SetFields is Fields Setter 需要返回的字段。目前支持有:allowedOperations,refund_version

func (*TaobaoRefundDetailGetAPIRequest) SetRefundId

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

SetRefundId is RefundId Setter 退款编号

type TaobaoRefundDetailGetAPIResponse

type TaobaoRefundDetailGetAPIResponse struct {
	model.CommonResponse
	TaobaoRefundDetailGetAPIResponseModel
}

TaobaoRefundDetailGetAPIResponse 退款详情页渲染 API返回值 taobao.refund.detail.get

退款详情页渲染

func GetTaobaoRefundDetailGetAPIResponse added in v1.3.4

func GetTaobaoRefundDetailGetAPIResponse() *TaobaoRefundDetailGetAPIResponse

GetTaobaoRefundDetailGetAPIResponse 从 sync.Pool 获取 TaobaoRefundDetailGetAPIResponse

func (*TaobaoRefundDetailGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundDetailGetAPIResponseModel

type TaobaoRefundDetailGetAPIResponseModel struct {
	XMLName xml.Name `xml:"refund_detail_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 退款详情
	Detail *RefundDetail `json:"detail,omitempty" xml:"detail,omitempty"`
}

TaobaoRefundDetailGetAPIResponseModel is 退款详情页渲染 成功返回结果

func (*TaobaoRefundDetailGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundGetAPIRequest

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

TaobaoRefundGetAPIRequest 获取单笔退款详情 API请求 taobao.refund.get

获取单笔退款详情

func GetTaobaoRefundGetAPIRequest added in v1.3.4

func GetTaobaoRefundGetAPIRequest() *TaobaoRefundGetAPIRequest

GetTaobaoRefundGetRequest 从 sync.Pool 获取 TaobaoRefundGetAPIRequest

func NewTaobaoRefundGetRequest

func NewTaobaoRefundGetRequest() *TaobaoRefundGetAPIRequest

NewTaobaoRefundGetRequest 初始化TaobaoRefundGetAPIRequest对象

func (TaobaoRefundGetAPIRequest) GetApiMethodName

func (r TaobaoRefundGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRefundGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRefundGetAPIRequest) GetFields

func (r TaobaoRefundGetAPIRequest) GetFields() []string

GetFields Fields Getter

func (TaobaoRefundGetAPIRequest) GetRawParams

func (r TaobaoRefundGetAPIRequest) GetRawParams() model.Params

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

func (TaobaoRefundGetAPIRequest) GetRefundId

func (r TaobaoRefundGetAPIRequest) GetRefundId() int64

GetRefundId RefundId Getter

func (*TaobaoRefundGetAPIRequest) Reset added in v1.3.4

func (r *TaobaoRefundGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRefundGetAPIRequest) SetFields

func (r *TaobaoRefundGetAPIRequest) SetFields(_fields []string) error

SetFields is Fields Setter 需要返回的字段。目前支持有:refund_id, alipay_no, tid, oid, buyer_nick, seller_nick, total_fee, status, created, refund_fee, good_status, has_good_return, payment, reason, desc, num_iid, title, price, num, good_return_time, company_name, sid, address, shipping_type, refund_remind_timeout, refund_phase, refund_version, operation_contraint, attribute, outer_id,dispute_type,sku,end_time

func (*TaobaoRefundGetAPIRequest) SetRefundId

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

SetRefundId is RefundId Setter 退款单号

type TaobaoRefundGetAPIResponse

type TaobaoRefundGetAPIResponse struct {
	model.CommonResponse
	TaobaoRefundGetAPIResponseModel
}

TaobaoRefundGetAPIResponse 获取单笔退款详情 API返回值 taobao.refund.get

获取单笔退款详情

func GetTaobaoRefundGetAPIResponse added in v1.3.4

func GetTaobaoRefundGetAPIResponse() *TaobaoRefundGetAPIResponse

GetTaobaoRefundGetAPIResponse 从 sync.Pool 获取 TaobaoRefundGetAPIResponse

func (*TaobaoRefundGetAPIResponse) Reset added in v1.3.4

func (m *TaobaoRefundGetAPIResponse) Reset()

Reset 清空结构体

type TaobaoRefundGetAPIResponseModel

type TaobaoRefundGetAPIResponseModel struct {
	XMLName xml.Name `xml:"refund_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 退款详情
	Refund *Refund `json:"refund,omitempty" xml:"refund,omitempty"`
}

TaobaoRefundGetAPIResponseModel is 获取单笔退款详情 成功返回结果

func (*TaobaoRefundGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundMessageAddAPIRequest

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

TaobaoRefundMessageAddAPIRequest 创建退款留言/凭证 API请求 taobao.refund.message.add

创建退款留言/凭证

func GetTaobaoRefundMessageAddAPIRequest added in v1.3.4

func GetTaobaoRefundMessageAddAPIRequest() *TaobaoRefundMessageAddAPIRequest

GetTaobaoRefundMessageAddRequest 从 sync.Pool 获取 TaobaoRefundMessageAddAPIRequest

func NewTaobaoRefundMessageAddRequest

func NewTaobaoRefundMessageAddRequest() *TaobaoRefundMessageAddAPIRequest

NewTaobaoRefundMessageAddRequest 初始化TaobaoRefundMessageAddAPIRequest对象

func (TaobaoRefundMessageAddAPIRequest) GetApiMethodName

func (r TaobaoRefundMessageAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRefundMessageAddAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRefundMessageAddAPIRequest) GetContent

GetContent Content Getter

func (TaobaoRefundMessageAddAPIRequest) GetImage

GetImage Image Getter

func (TaobaoRefundMessageAddAPIRequest) GetRawParams

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

func (TaobaoRefundMessageAddAPIRequest) GetRefundId

func (r TaobaoRefundMessageAddAPIRequest) GetRefundId() int64

GetRefundId RefundId Getter

func (*TaobaoRefundMessageAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRefundMessageAddAPIRequest) SetContent

func (r *TaobaoRefundMessageAddAPIRequest) SetContent(_content string) error

SetContent is Content Setter 留言内容。最大长度: 400个字节

func (*TaobaoRefundMessageAddAPIRequest) SetImage

func (r *TaobaoRefundMessageAddAPIRequest) SetImage(_image *model.File) error

SetImage is Image Setter 图片(凭证)。类型: JPG,GIF,PNG;最大为: 500K

func (*TaobaoRefundMessageAddAPIRequest) SetRefundId

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

SetRefundId is RefundId Setter 退款编号。

type TaobaoRefundMessageAddAPIResponse

type TaobaoRefundMessageAddAPIResponse struct {
	model.CommonResponse
	TaobaoRefundMessageAddAPIResponseModel
}

TaobaoRefundMessageAddAPIResponse 创建退款留言/凭证 API返回值 taobao.refund.message.add

创建退款留言/凭证

func GetTaobaoRefundMessageAddAPIResponse added in v1.3.4

func GetTaobaoRefundMessageAddAPIResponse() *TaobaoRefundMessageAddAPIResponse

GetTaobaoRefundMessageAddAPIResponse 从 sync.Pool 获取 TaobaoRefundMessageAddAPIResponse

func (*TaobaoRefundMessageAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundMessageAddAPIResponseModel

type TaobaoRefundMessageAddAPIResponseModel struct {
	XMLName xml.Name `xml:"refund_message_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 退款信息。包含id和created
	RefundMessage *RefundMessage `json:"refund_message,omitempty" xml:"refund_message,omitempty"`
}

TaobaoRefundMessageAddAPIResponseModel is 创建退款留言/凭证 成功返回结果

func (*TaobaoRefundMessageAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundMessagesGetAPIRequest

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

TaobaoRefundMessagesGetAPIRequest 查询退款留言/凭证列表 API请求 taobao.refund.messages.get

查询退款留言/凭证列表

func GetTaobaoRefundMessagesGetAPIRequest added in v1.3.4

func GetTaobaoRefundMessagesGetAPIRequest() *TaobaoRefundMessagesGetAPIRequest

GetTaobaoRefundMessagesGetRequest 从 sync.Pool 获取 TaobaoRefundMessagesGetAPIRequest

func NewTaobaoRefundMessagesGetRequest

func NewTaobaoRefundMessagesGetRequest() *TaobaoRefundMessagesGetAPIRequest

NewTaobaoRefundMessagesGetRequest 初始化TaobaoRefundMessagesGetAPIRequest对象

func (TaobaoRefundMessagesGetAPIRequest) GetApiMethodName

func (r TaobaoRefundMessagesGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRefundMessagesGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRefundMessagesGetAPIRequest) GetFields

func (r TaobaoRefundMessagesGetAPIRequest) GetFields() []string

GetFields Fields Getter

func (TaobaoRefundMessagesGetAPIRequest) GetPageNo

GetPageNo PageNo Getter

func (TaobaoRefundMessagesGetAPIRequest) GetPageSize

func (r TaobaoRefundMessagesGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoRefundMessagesGetAPIRequest) GetRawParams

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

func (TaobaoRefundMessagesGetAPIRequest) GetRefundId

func (r TaobaoRefundMessagesGetAPIRequest) GetRefundId() int64

GetRefundId RefundId Getter

func (TaobaoRefundMessagesGetAPIRequest) GetRefundPhase

func (r TaobaoRefundMessagesGetAPIRequest) GetRefundPhase() string

GetRefundPhase RefundPhase Getter

func (*TaobaoRefundMessagesGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRefundMessagesGetAPIRequest) SetFields

func (r *TaobaoRefundMessagesGetAPIRequest) SetFields(_fields []string) error

SetFields is Fields Setter 需返回的字段列表。可选值:RefundMessage结构体中的所有字段,以半角逗号(,)分隔。

func (*TaobaoRefundMessagesGetAPIRequest) SetPageNo

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

SetPageNo is PageNo Setter 页码

func (*TaobaoRefundMessagesGetAPIRequest) SetPageSize

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

SetPageSize is PageSize Setter 每页条数

func (*TaobaoRefundMessagesGetAPIRequest) SetRefundId

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

SetRefundId is RefundId Setter 退款单号

func (*TaobaoRefundMessagesGetAPIRequest) SetRefundPhase

func (r *TaobaoRefundMessagesGetAPIRequest) SetRefundPhase(_refundPhase string) error

SetRefundPhase is RefundPhase Setter 退款阶段,可选值:onsale(售中),aftersale(售后),天猫退款为必传。

type TaobaoRefundMessagesGetAPIResponse

type TaobaoRefundMessagesGetAPIResponse struct {
	model.CommonResponse
	TaobaoRefundMessagesGetAPIResponseModel
}

TaobaoRefundMessagesGetAPIResponse 查询退款留言/凭证列表 API返回值 taobao.refund.messages.get

查询退款留言/凭证列表

func GetTaobaoRefundMessagesGetAPIResponse added in v1.3.4

func GetTaobaoRefundMessagesGetAPIResponse() *TaobaoRefundMessagesGetAPIResponse

GetTaobaoRefundMessagesGetAPIResponse 从 sync.Pool 获取 TaobaoRefundMessagesGetAPIResponse

func (*TaobaoRefundMessagesGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundMessagesGetAPIResponseModel

type TaobaoRefundMessagesGetAPIResponseModel struct {
	XMLName xml.Name `xml:"refund_messages_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询到的退款留言/凭证列表
	RefundMessages []RefundMessage `json:"refund_messages,omitempty" xml:"refund_messages>refund_message,omitempty"`
	// 查询到的退款留言/凭证总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

TaobaoRefundMessagesGetAPIResponseModel is 查询退款留言/凭证列表 成功返回结果

func (*TaobaoRefundMessagesGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundNegotiatereturnAPIRequest

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

TaobaoRefundNegotiatereturnAPIRequest 协商退货退款 API请求 taobao.refund.negotiatereturn

协商退货退款

func GetTaobaoRefundNegotiatereturnAPIRequest added in v1.3.4

func GetTaobaoRefundNegotiatereturnAPIRequest() *TaobaoRefundNegotiatereturnAPIRequest

GetTaobaoRefundNegotiatereturnRequest 从 sync.Pool 获取 TaobaoRefundNegotiatereturnAPIRequest

func NewTaobaoRefundNegotiatereturnRequest

func NewTaobaoRefundNegotiatereturnRequest() *TaobaoRefundNegotiatereturnAPIRequest

NewTaobaoRefundNegotiatereturnRequest 初始化TaobaoRefundNegotiatereturnAPIRequest对象

func (TaobaoRefundNegotiatereturnAPIRequest) GetAddressId

GetAddressId AddressId Getter

func (TaobaoRefundNegotiatereturnAPIRequest) GetApiMethodName

func (r TaobaoRefundNegotiatereturnAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRefundNegotiatereturnAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRefundNegotiatereturnAPIRequest) GetRawParams

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

func (TaobaoRefundNegotiatereturnAPIRequest) GetRefundFee

GetRefundFee RefundFee Getter

func (TaobaoRefundNegotiatereturnAPIRequest) GetRefundId

GetRefundId RefundId Getter

func (TaobaoRefundNegotiatereturnAPIRequest) GetRefundVersion

func (r TaobaoRefundNegotiatereturnAPIRequest) GetRefundVersion() int64

GetRefundVersion RefundVersion Getter

func (*TaobaoRefundNegotiatereturnAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRefundNegotiatereturnAPIRequest) SetAddressId

func (r *TaobaoRefundNegotiatereturnAPIRequest) SetAddressId(_addressId int64) error

SetAddressId is AddressId Setter 地址ID,通过协商退货退款渲染接口获取到的

func (*TaobaoRefundNegotiatereturnAPIRequest) SetRefundFee

func (r *TaobaoRefundNegotiatereturnAPIRequest) SetRefundFee(_refundFee int64) error

SetRefundFee is RefundFee Setter 退款金额,单位(分)

func (*TaobaoRefundNegotiatereturnAPIRequest) SetRefundId

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

SetRefundId is RefundId Setter 退款编号

func (*TaobaoRefundNegotiatereturnAPIRequest) SetRefundVersion

func (r *TaobaoRefundNegotiatereturnAPIRequest) SetRefundVersion(_refundVersion int64) error

SetRefundVersion is RefundVersion Setter 退款版本号

type TaobaoRefundNegotiatereturnAPIResponse

type TaobaoRefundNegotiatereturnAPIResponse struct {
	model.CommonResponse
	TaobaoRefundNegotiatereturnAPIResponseModel
}

TaobaoRefundNegotiatereturnAPIResponse 协商退货退款 API返回值 taobao.refund.negotiatereturn

协商退货退款

func GetTaobaoRefundNegotiatereturnAPIResponse added in v1.3.4

func GetTaobaoRefundNegotiatereturnAPIResponse() *TaobaoRefundNegotiatereturnAPIResponse

GetTaobaoRefundNegotiatereturnAPIResponse 从 sync.Pool 获取 TaobaoRefundNegotiatereturnAPIResponse

func (*TaobaoRefundNegotiatereturnAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundNegotiatereturnAPIResponseModel

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

TaobaoRefundNegotiatereturnAPIResponseModel is 协商退货退款 成功返回结果

func (*TaobaoRefundNegotiatereturnAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundNegotiatereturnRenderAPIRequest

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

TaobaoRefundNegotiatereturnRenderAPIRequest 协商退货退款渲染 API请求 taobao.refund.negotiatereturn.render

协商退货退款渲染

func GetTaobaoRefundNegotiatereturnRenderAPIRequest added in v1.3.4

func GetTaobaoRefundNegotiatereturnRenderAPIRequest() *TaobaoRefundNegotiatereturnRenderAPIRequest

GetTaobaoRefundNegotiatereturnRenderRequest 从 sync.Pool 获取 TaobaoRefundNegotiatereturnRenderAPIRequest

func NewTaobaoRefundNegotiatereturnRenderRequest

func NewTaobaoRefundNegotiatereturnRenderRequest() *TaobaoRefundNegotiatereturnRenderAPIRequest

NewTaobaoRefundNegotiatereturnRenderRequest 初始化TaobaoRefundNegotiatereturnRenderAPIRequest对象

func (TaobaoRefundNegotiatereturnRenderAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRefundNegotiatereturnRenderAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRefundNegotiatereturnRenderAPIRequest) GetRawParams

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

func (TaobaoRefundNegotiatereturnRenderAPIRequest) GetRefundId

GetRefundId RefundId Getter

func (*TaobaoRefundNegotiatereturnRenderAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRefundNegotiatereturnRenderAPIRequest) SetRefundId

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

SetRefundId is RefundId Setter 退款编号

type TaobaoRefundNegotiatereturnRenderAPIResponse

type TaobaoRefundNegotiatereturnRenderAPIResponse struct {
	model.CommonResponse
	TaobaoRefundNegotiatereturnRenderAPIResponseModel
}

TaobaoRefundNegotiatereturnRenderAPIResponse 协商退货退款渲染 API返回值 taobao.refund.negotiatereturn.render

协商退货退款渲染

func GetTaobaoRefundNegotiatereturnRenderAPIResponse added in v1.3.4

func GetTaobaoRefundNegotiatereturnRenderAPIResponse() *TaobaoRefundNegotiatereturnRenderAPIResponse

GetTaobaoRefundNegotiatereturnRenderAPIResponse 从 sync.Pool 获取 TaobaoRefundNegotiatereturnRenderAPIResponse

func (*TaobaoRefundNegotiatereturnRenderAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundNegotiatereturnRenderAPIResponseModel

type TaobaoRefundNegotiatereturnRenderAPIResponseModel struct {
	XMLName xml.Name `xml:"refund_negotiatereturn_render_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 可以协商的退款原因列表
	ReasonList []Reason `json:"reason_list,omitempty" xml:"reason_list>reason,omitempty"`
	// 卖家退货地址列表
	AddressList []Address `json:"address_list,omitempty" xml:"address_list>address,omitempty"`
	// 申请协商提示文案
	ApplyTips string `json:"apply_tips,omitempty" xml:"apply_tips,omitempty"`
	// 退款版本号
	RefundVersion int64 `json:"refund_version,omitempty" xml:"refund_version,omitempty"`
	// 可以协商的最大退款金额
	MaxRefundFee *MaxRefundFee `json:"max_refund_fee,omitempty" xml:"max_refund_fee,omitempty"`
}

TaobaoRefundNegotiatereturnRenderAPIResponseModel is 协商退货退款渲染 成功返回结果

func (*TaobaoRefundNegotiatereturnRenderAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundRefusereasonGetAPIRequest

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

TaobaoRefundRefusereasonGetAPIRequest 获取拒绝原因列表 API请求 taobao.refund.refusereason.get

获取商家拒绝原因列表

func GetTaobaoRefundRefusereasonGetAPIRequest added in v1.3.4

func GetTaobaoRefundRefusereasonGetAPIRequest() *TaobaoRefundRefusereasonGetAPIRequest

GetTaobaoRefundRefusereasonGetRequest 从 sync.Pool 获取 TaobaoRefundRefusereasonGetAPIRequest

func NewTaobaoRefundRefusereasonGetRequest

func NewTaobaoRefundRefusereasonGetRequest() *TaobaoRefundRefusereasonGetAPIRequest

NewTaobaoRefundRefusereasonGetRequest 初始化TaobaoRefundRefusereasonGetAPIRequest对象

func (TaobaoRefundRefusereasonGetAPIRequest) GetApiMethodName

func (r TaobaoRefundRefusereasonGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRefundRefusereasonGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRefundRefusereasonGetAPIRequest) GetFields

GetFields Fields Getter

func (TaobaoRefundRefusereasonGetAPIRequest) GetRawParams

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

func (TaobaoRefundRefusereasonGetAPIRequest) GetRefundId

GetRefundId RefundId Getter

func (TaobaoRefundRefusereasonGetAPIRequest) GetRefundPhase

func (r TaobaoRefundRefusereasonGetAPIRequest) GetRefundPhase() string

GetRefundPhase RefundPhase Getter

func (*TaobaoRefundRefusereasonGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRefundRefusereasonGetAPIRequest) SetFields

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

SetFields is Fields Setter 返回参数

func (*TaobaoRefundRefusereasonGetAPIRequest) SetRefundId

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

SetRefundId is RefundId Setter 退款编号

func (*TaobaoRefundRefusereasonGetAPIRequest) SetRefundPhase

func (r *TaobaoRefundRefusereasonGetAPIRequest) SetRefundPhase(_refundPhase string) error

SetRefundPhase is RefundPhase Setter 售中或售后

type TaobaoRefundRefusereasonGetAPIResponse

type TaobaoRefundRefusereasonGetAPIResponse struct {
	model.CommonResponse
	TaobaoRefundRefusereasonGetAPIResponseModel
}

TaobaoRefundRefusereasonGetAPIResponse 获取拒绝原因列表 API返回值 taobao.refund.refusereason.get

获取商家拒绝原因列表

func GetTaobaoRefundRefusereasonGetAPIResponse added in v1.3.4

func GetTaobaoRefundRefusereasonGetAPIResponse() *TaobaoRefundRefusereasonGetAPIResponse

GetTaobaoRefundRefusereasonGetAPIResponse 从 sync.Pool 获取 TaobaoRefundRefusereasonGetAPIResponse

func (*TaobaoRefundRefusereasonGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundRefusereasonGetAPIResponseModel

type TaobaoRefundRefusereasonGetAPIResponseModel struct {
	XMLName xml.Name `xml:"refund_refusereason_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 卖家拒绝原因对象
	Reasons []Reason `json:"reasons,omitempty" xml:"reasons>reason,omitempty"`
	// 原因个数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// 是否存在下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
}

TaobaoRefundRefusereasonGetAPIResponseModel is 获取拒绝原因列表 成功返回结果

func (*TaobaoRefundRefusereasonGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundStatusGetAPIRequest

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

TaobaoRefundStatusGetAPIRequest 查询退款状态 API请求 taobao.refund.status.get

根据主订单或者子订单id查询退款状态,入参传入主订单或者子订单号1.如果当传入子订单时,返回子订单最后一笔退款单的状态,如果子订单申请退款退款返回空list.2.如果传传入主订单,则返回主订单下所有子订单的最后一笔退款单状态,如果对应的子订单没有生成退款单,则对应子订单对应数据返回。

func GetTaobaoRefundStatusGetAPIRequest added in v1.3.4

func GetTaobaoRefundStatusGetAPIRequest() *TaobaoRefundStatusGetAPIRequest

GetTaobaoRefundStatusGetRequest 从 sync.Pool 获取 TaobaoRefundStatusGetAPIRequest

func NewTaobaoRefundStatusGetRequest

func NewTaobaoRefundStatusGetRequest() *TaobaoRefundStatusGetAPIRequest

NewTaobaoRefundStatusGetRequest 初始化TaobaoRefundStatusGetAPIRequest对象

func (TaobaoRefundStatusGetAPIRequest) GetApiMethodName

func (r TaobaoRefundStatusGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRefundStatusGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRefundStatusGetAPIRequest) GetQueryParam

GetQueryParam QueryParam Getter

func (TaobaoRefundStatusGetAPIRequest) GetRawParams

func (r TaobaoRefundStatusGetAPIRequest) GetRawParams() model.Params

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

func (*TaobaoRefundStatusGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRefundStatusGetAPIRequest) SetQueryParam

func (r *TaobaoRefundStatusGetAPIRequest) SetQueryParam(_queryParam *RefundQueryByOrderIdRequest) error

SetQueryParam is QueryParam Setter 入参对象

type TaobaoRefundStatusGetAPIResponse

type TaobaoRefundStatusGetAPIResponse struct {
	model.CommonResponse
	TaobaoRefundStatusGetAPIResponseModel
}

TaobaoRefundStatusGetAPIResponse 查询退款状态 API返回值 taobao.refund.status.get

根据主订单或者子订单id查询退款状态,入参传入主订单或者子订单号1.如果当传入子订单时,返回子订单最后一笔退款单的状态,如果子订单申请退款退款返回空list.2.如果传传入主订单,则返回主订单下所有子订单的最后一笔退款单状态,如果对应的子订单没有生成退款单,则对应子订单对应数据返回。

func GetTaobaoRefundStatusGetAPIResponse added in v1.3.4

func GetTaobaoRefundStatusGetAPIResponse() *TaobaoRefundStatusGetAPIResponse

GetTaobaoRefundStatusGetAPIResponse 从 sync.Pool 获取 TaobaoRefundStatusGetAPIResponse

func (*TaobaoRefundStatusGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundStatusGetAPIResponseModel

type TaobaoRefundStatusGetAPIResponseModel struct {
	XMLName xml.Name `xml:"refund_status_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参对象
	ResultPackage *TaobaoRefundStatusGetResultSet `json:"result_package,omitempty" xml:"result_package,omitempty"`
}

TaobaoRefundStatusGetAPIResponseModel is 查询退款状态 成功返回结果

func (*TaobaoRefundStatusGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundStatusGetResultSet

type TaobaoRefundStatusGetResultSet struct {
	// 数组对象
	ResultList []QueryRefundStatusResponse `json:"result_list,omitempty" xml:"result_list>query_refund_status_response,omitempty"`
	// 错误码,没有表示无异常
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

TaobaoRefundStatusGetResultSet 结构体

func GetTaobaoRefundStatusGetResultSet added in v1.3.4

func GetTaobaoRefundStatusGetResultSet() *TaobaoRefundStatusGetResultSet

GetTaobaoRefundStatusGetResultSet() 从对象池中获取TaobaoRefundStatusGetResultSet

type TaobaoRefundsApplyGetAPIRequest

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

TaobaoRefundsApplyGetAPIRequest 查询买家申请的退款列表 API请求 taobao.refunds.apply.get

查询买家申请的退款列表,且查询外店的退款列表时需要指定交易类型

func GetTaobaoRefundsApplyGetAPIRequest added in v1.3.4

func GetTaobaoRefundsApplyGetAPIRequest() *TaobaoRefundsApplyGetAPIRequest

GetTaobaoRefundsApplyGetRequest 从 sync.Pool 获取 TaobaoRefundsApplyGetAPIRequest

func NewTaobaoRefundsApplyGetRequest

func NewTaobaoRefundsApplyGetRequest() *TaobaoRefundsApplyGetAPIRequest

NewTaobaoRefundsApplyGetRequest 初始化TaobaoRefundsApplyGetAPIRequest对象

func (TaobaoRefundsApplyGetAPIRequest) GetApiMethodName

func (r TaobaoRefundsApplyGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRefundsApplyGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRefundsApplyGetAPIRequest) GetFields

func (r TaobaoRefundsApplyGetAPIRequest) GetFields() []string

GetFields Fields Getter

func (TaobaoRefundsApplyGetAPIRequest) GetPageNo

func (r TaobaoRefundsApplyGetAPIRequest) GetPageNo() int64

GetPageNo PageNo Getter

func (TaobaoRefundsApplyGetAPIRequest) GetPageSize

func (r TaobaoRefundsApplyGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoRefundsApplyGetAPIRequest) GetRawParams

func (r TaobaoRefundsApplyGetAPIRequest) GetRawParams() model.Params

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

func (TaobaoRefundsApplyGetAPIRequest) GetSellerNick

func (r TaobaoRefundsApplyGetAPIRequest) GetSellerNick() string

GetSellerNick SellerNick Getter

func (TaobaoRefundsApplyGetAPIRequest) GetStatus

GetStatus Status Getter

func (TaobaoRefundsApplyGetAPIRequest) GetType

GetType Type Getter

func (*TaobaoRefundsApplyGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRefundsApplyGetAPIRequest) SetFields

func (r *TaobaoRefundsApplyGetAPIRequest) SetFields(_fields []string) error

SetFields is Fields Setter 需要返回的字段。目前支持有:refund_id, tid, title, buyer_nick, seller_nick, total_fee, status, created, refund_fee

func (*TaobaoRefundsApplyGetAPIRequest) SetPageNo

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

SetPageNo is PageNo Setter 页码。传入值为 1 代表第一页,传入值为 2 代表第二页,依此类推。默认返回的数据是从第一页开始

func (*TaobaoRefundsApplyGetAPIRequest) SetPageSize

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

SetPageSize is PageSize Setter 每页条数。取值范围:大于零的整数; 默认值:40;最大值:100

func (*TaobaoRefundsApplyGetAPIRequest) SetSellerNick

func (r *TaobaoRefundsApplyGetAPIRequest) SetSellerNick(_sellerNick string) error

SetSellerNick is SellerNick Setter 卖家昵称

func (*TaobaoRefundsApplyGetAPIRequest) SetStatus

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

SetStatus is Status Setter 退款状态,默认查询所有退款状态的数据,除了默认值外每次只能查询一种状态。<br/>WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意) <br/>WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货) <br/>WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货) <br/>SELLER_REFUSE_BUYER(卖家拒绝退款) <br/>CLOSED(退款关闭) <br/>SUCCESS(退款成功)

func (*TaobaoRefundsApplyGetAPIRequest) SetType

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

SetType is Type Setter 交易类型列表,一次查询多种类型可用半角逗号分隔,默认同时查询guarantee_trade, auto_delivery的2种类型的数据。<br/>fixed(一口价) <br/>auction(拍卖) <br/>guarantee_trade(一口价、拍卖) <br/>independent_simple_trade(旺店入门版交易) <br/>independent_shop_trade(旺店标准版交易) <br/>auto_delivery(自动发货) <br/>ec(直冲) <br/>cod(货到付款) <br/>fenxiao(分销) <br/>game_equipment(游戏装备) <br/>shopex_trade(ShopEX交易) <br/>netcn_trade(万网交易) <br/>external_trade(统一外部交易)

type TaobaoRefundsApplyGetAPIResponse

type TaobaoRefundsApplyGetAPIResponse struct {
	model.CommonResponse
	TaobaoRefundsApplyGetAPIResponseModel
}

TaobaoRefundsApplyGetAPIResponse 查询买家申请的退款列表 API返回值 taobao.refunds.apply.get

查询买家申请的退款列表,且查询外店的退款列表时需要指定交易类型

func GetTaobaoRefundsApplyGetAPIResponse added in v1.3.4

func GetTaobaoRefundsApplyGetAPIResponse() *TaobaoRefundsApplyGetAPIResponse

GetTaobaoRefundsApplyGetAPIResponse 从 sync.Pool 获取 TaobaoRefundsApplyGetAPIResponse

func (*TaobaoRefundsApplyGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundsApplyGetAPIResponseModel

type TaobaoRefundsApplyGetAPIResponseModel struct {
	XMLName xml.Name `xml:"refunds_apply_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 搜索到的退款信息列表
	Refunds []Refund `json:"refunds,omitempty" xml:"refunds>refund,omitempty"`
	// 搜索到的交易信息总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

TaobaoRefundsApplyGetAPIResponseModel is 查询买家申请的退款列表 成功返回结果

func (*TaobaoRefundsApplyGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRpRefundInterceptAPIRequest

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

TaobaoRpRefundInterceptAPIRequest 卖家发起拦截 API请求 taobao.rp.refund.intercept

卖家发起拦截

func GetTaobaoRpRefundInterceptAPIRequest added in v1.3.4

func GetTaobaoRpRefundInterceptAPIRequest() *TaobaoRpRefundInterceptAPIRequest

GetTaobaoRpRefundInterceptRequest 从 sync.Pool 获取 TaobaoRpRefundInterceptAPIRequest

func NewTaobaoRpRefundInterceptRequest

func NewTaobaoRpRefundInterceptRequest() *TaobaoRpRefundInterceptAPIRequest

NewTaobaoRpRefundInterceptRequest 初始化TaobaoRpRefundInterceptAPIRequest对象

func (TaobaoRpRefundInterceptAPIRequest) GetApiMethodName

func (r TaobaoRpRefundInterceptAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRpRefundInterceptAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRpRefundInterceptAPIRequest) GetRawParams

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

func (TaobaoRpRefundInterceptAPIRequest) GetRefundId

func (r TaobaoRpRefundInterceptAPIRequest) GetRefundId() int64

GetRefundId RefundId Getter

func (TaobaoRpRefundInterceptAPIRequest) GetRefundVersion

func (r TaobaoRpRefundInterceptAPIRequest) GetRefundVersion() int64

GetRefundVersion RefundVersion Getter

func (*TaobaoRpRefundInterceptAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRpRefundInterceptAPIRequest) SetRefundId

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

SetRefundId is RefundId Setter 退款编号

func (*TaobaoRpRefundInterceptAPIRequest) SetRefundVersion

func (r *TaobaoRpRefundInterceptAPIRequest) SetRefundVersion(_refundVersion int64) error

SetRefundVersion is RefundVersion Setter 退款版本号

type TaobaoRpRefundInterceptAPIResponse

type TaobaoRpRefundInterceptAPIResponse struct {
	model.CommonResponse
	TaobaoRpRefundInterceptAPIResponseModel
}

TaobaoRpRefundInterceptAPIResponse 卖家发起拦截 API返回值 taobao.rp.refund.intercept

卖家发起拦截

func GetTaobaoRpRefundInterceptAPIResponse added in v1.3.4

func GetTaobaoRpRefundInterceptAPIResponse() *TaobaoRpRefundInterceptAPIResponse

GetTaobaoRpRefundInterceptAPIResponse 从 sync.Pool 获取 TaobaoRpRefundInterceptAPIResponse

func (*TaobaoRpRefundInterceptAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRpRefundInterceptAPIResponseModel

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

TaobaoRpRefundInterceptAPIResponseModel is 卖家发起拦截 成功返回结果

func (*TaobaoRpRefundInterceptAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRpRefundReviewAPIRequest

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

TaobaoRpRefundReviewAPIRequest 审核退款单 API请求 taobao.rp.refund.review

审核退款单,标志是否可用于批量退款,目前仅支持天猫订单。

func GetTaobaoRpRefundReviewAPIRequest added in v1.3.4

func GetTaobaoRpRefundReviewAPIRequest() *TaobaoRpRefundReviewAPIRequest

GetTaobaoRpRefundReviewRequest 从 sync.Pool 获取 TaobaoRpRefundReviewAPIRequest

func NewTaobaoRpRefundReviewRequest

func NewTaobaoRpRefundReviewRequest() *TaobaoRpRefundReviewAPIRequest

NewTaobaoRpRefundReviewRequest 初始化TaobaoRpRefundReviewAPIRequest对象

func (TaobaoRpRefundReviewAPIRequest) GetApiMethodName

func (r TaobaoRpRefundReviewAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRpRefundReviewAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRpRefundReviewAPIRequest) GetMessage

func (r TaobaoRpRefundReviewAPIRequest) GetMessage() string

GetMessage Message Getter

func (TaobaoRpRefundReviewAPIRequest) GetOperator

func (r TaobaoRpRefundReviewAPIRequest) GetOperator() string

GetOperator Operator Getter

func (TaobaoRpRefundReviewAPIRequest) GetRawParams

func (r TaobaoRpRefundReviewAPIRequest) GetRawParams() model.Params

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

func (TaobaoRpRefundReviewAPIRequest) GetRefundId

func (r TaobaoRpRefundReviewAPIRequest) GetRefundId() int64

GetRefundId RefundId Getter

func (TaobaoRpRefundReviewAPIRequest) GetRefundPhase

func (r TaobaoRpRefundReviewAPIRequest) GetRefundPhase() string

GetRefundPhase RefundPhase Getter

func (TaobaoRpRefundReviewAPIRequest) GetRefundVersion

func (r TaobaoRpRefundReviewAPIRequest) GetRefundVersion() int64

GetRefundVersion RefundVersion Getter

func (TaobaoRpRefundReviewAPIRequest) GetResult

func (r TaobaoRpRefundReviewAPIRequest) GetResult() bool

GetResult Result Getter

func (*TaobaoRpRefundReviewAPIRequest) Reset added in v1.3.4

func (r *TaobaoRpRefundReviewAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRpRefundReviewAPIRequest) SetMessage

func (r *TaobaoRpRefundReviewAPIRequest) SetMessage(_message string) error

SetMessage is Message Setter 审核留言

func (*TaobaoRpRefundReviewAPIRequest) SetOperator

func (r *TaobaoRpRefundReviewAPIRequest) SetOperator(_operator string) error

SetOperator is Operator Setter 审核人姓名

func (*TaobaoRpRefundReviewAPIRequest) SetRefundId

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

SetRefundId is RefundId Setter 退款单编号

func (*TaobaoRpRefundReviewAPIRequest) SetRefundPhase

func (r *TaobaoRpRefundReviewAPIRequest) SetRefundPhase(_refundPhase string) error

SetRefundPhase is RefundPhase Setter 退款阶段,可选值:售中:onsale,售后:aftersale

func (*TaobaoRpRefundReviewAPIRequest) SetRefundVersion

func (r *TaobaoRpRefundReviewAPIRequest) SetRefundVersion(_refundVersion int64) error

SetRefundVersion is RefundVersion Setter 退款最后更新时间,以时间戳的方式表示

func (*TaobaoRpRefundReviewAPIRequest) SetResult

func (r *TaobaoRpRefundReviewAPIRequest) SetResult(_result bool) error

SetResult is Result Setter 审核是否可用于批量退款,可选值:true(审核通过),false(审核不通过或反审核)

type TaobaoRpRefundReviewAPIResponse

type TaobaoRpRefundReviewAPIResponse struct {
	model.CommonResponse
	TaobaoRpRefundReviewAPIResponseModel
}

TaobaoRpRefundReviewAPIResponse 审核退款单 API返回值 taobao.rp.refund.review

审核退款单,标志是否可用于批量退款,目前仅支持天猫订单。

func GetTaobaoRpRefundReviewAPIResponse added in v1.3.4

func GetTaobaoRpRefundReviewAPIResponse() *TaobaoRpRefundReviewAPIResponse

GetTaobaoRpRefundReviewAPIResponse 从 sync.Pool 获取 TaobaoRpRefundReviewAPIResponse

func (*TaobaoRpRefundReviewAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRpRefundReviewAPIResponseModel

type TaobaoRpRefundReviewAPIResponseModel struct {
	XMLName xml.Name `xml:"rp_refund_review_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoRpRefundReviewAPIResponseModel is 审核退款单 成功返回结果

func (*TaobaoRpRefundReviewAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRpRefundsAgreeAPIRequest

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

TaobaoRpRefundsAgreeAPIRequest 同意退款 API请求 taobao.rp.refunds.agree

卖家同意退款,支持批量退款,只允许子账号操作。淘宝退款一次最多能退20笔,总金额不超过6000元;天猫退款一次最多能退30笔,总金额不超过10000元。

func GetTaobaoRpRefundsAgreeAPIRequest added in v1.3.4

func GetTaobaoRpRefundsAgreeAPIRequest() *TaobaoRpRefundsAgreeAPIRequest

GetTaobaoRpRefundsAgreeRequest 从 sync.Pool 获取 TaobaoRpRefundsAgreeAPIRequest

func NewTaobaoRpRefundsAgreeRequest

func NewTaobaoRpRefundsAgreeRequest() *TaobaoRpRefundsAgreeAPIRequest

NewTaobaoRpRefundsAgreeRequest 初始化TaobaoRpRefundsAgreeAPIRequest对象

func (TaobaoRpRefundsAgreeAPIRequest) GetApiMethodName

func (r TaobaoRpRefundsAgreeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRpRefundsAgreeAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRpRefundsAgreeAPIRequest) GetCode

GetCode Code Getter

func (TaobaoRpRefundsAgreeAPIRequest) GetRawParams

func (r TaobaoRpRefundsAgreeAPIRequest) GetRawParams() model.Params

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

func (TaobaoRpRefundsAgreeAPIRequest) GetRefundInfos

func (r TaobaoRpRefundsAgreeAPIRequest) GetRefundInfos() string

GetRefundInfos RefundInfos Getter

func (*TaobaoRpRefundsAgreeAPIRequest) Reset added in v1.3.4

func (r *TaobaoRpRefundsAgreeAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRpRefundsAgreeAPIRequest) SetCode

func (r *TaobaoRpRefundsAgreeAPIRequest) SetCode(_code string) error

SetCode is Code Setter 短信验证码,如果退款金额达到一定的数量,后端会返回调用失败,并同时往卖家的手机发送一条短信验证码。接下来用收到的短信验证码再次发起API调用即可完成退款操作。

func (*TaobaoRpRefundsAgreeAPIRequest) SetRefundInfos

func (r *TaobaoRpRefundsAgreeAPIRequest) SetRefundInfos(_refundInfos string) error

SetRefundInfos is RefundInfos Setter 退款信息,格式:refund_id|amount|version|phase,其中refund_id为退款编号,amount为退款金额(以分为单位),version为退款最后更新时间(时间戳格式),phase为退款阶段(可选值为:onsale, aftersale,天猫退款必值,淘宝退款不需要传),多个退款以半角逗号分隔。

type TaobaoRpRefundsAgreeAPIResponse

type TaobaoRpRefundsAgreeAPIResponse struct {
	model.CommonResponse
	TaobaoRpRefundsAgreeAPIResponseModel
}

TaobaoRpRefundsAgreeAPIResponse 同意退款 API返回值 taobao.rp.refunds.agree

卖家同意退款,支持批量退款,只允许子账号操作。淘宝退款一次最多能退20笔,总金额不超过6000元;天猫退款一次最多能退30笔,总金额不超过10000元。

func GetTaobaoRpRefundsAgreeAPIResponse added in v1.3.4

func GetTaobaoRpRefundsAgreeAPIResponse() *TaobaoRpRefundsAgreeAPIResponse

GetTaobaoRpRefundsAgreeAPIResponse 从 sync.Pool 获取 TaobaoRpRefundsAgreeAPIResponse

func (*TaobaoRpRefundsAgreeAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRpRefundsAgreeAPIResponseModel

type TaobaoRpRefundsAgreeAPIResponseModel struct {
	XMLName xml.Name `xml:"rp_refunds_agree_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 退款操作结果列表
	Results []RefundMappingResult `json:"results,omitempty" xml:"results>refund_mapping_result,omitempty"`
	// 信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 批量退款操作情况,可选值:OP_SUCC(全部成功),SOME_OP_SUCC(部分成功),OP_FAILURE_UE(全部失败)
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 操作成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

TaobaoRpRefundsAgreeAPIResponseModel is 同意退款 成功返回结果

func (*TaobaoRpRefundsAgreeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRpReturngoodsAgreeAPIRequest

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

TaobaoRpReturngoodsAgreeAPIRequest 卖家同意退货 API请求 taobao.rp.returngoods.agree

卖家同意退货,支持淘宝和天猫的订单。

func GetTaobaoRpReturngoodsAgreeAPIRequest added in v1.3.4

func GetTaobaoRpReturngoodsAgreeAPIRequest() *TaobaoRpReturngoodsAgreeAPIRequest

GetTaobaoRpReturngoodsAgreeRequest 从 sync.Pool 获取 TaobaoRpReturngoodsAgreeAPIRequest

func NewTaobaoRpReturngoodsAgreeRequest

func NewTaobaoRpReturngoodsAgreeRequest() *TaobaoRpReturngoodsAgreeAPIRequest

NewTaobaoRpReturngoodsAgreeRequest 初始化TaobaoRpReturngoodsAgreeAPIRequest对象

func (TaobaoRpReturngoodsAgreeAPIRequest) GetAddress

GetAddress Address Getter

func (TaobaoRpReturngoodsAgreeAPIRequest) GetApiMethodName

func (r TaobaoRpReturngoodsAgreeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRpReturngoodsAgreeAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRpReturngoodsAgreeAPIRequest) GetMobile

GetMobile Mobile Getter

func (TaobaoRpReturngoodsAgreeAPIRequest) GetName

GetName Name Getter

func (TaobaoRpReturngoodsAgreeAPIRequest) GetPost

GetPost Post Getter

func (TaobaoRpReturngoodsAgreeAPIRequest) GetPostFeeBearRole

func (r TaobaoRpReturngoodsAgreeAPIRequest) GetPostFeeBearRole() int64

GetPostFeeBearRole PostFeeBearRole Getter

func (TaobaoRpReturngoodsAgreeAPIRequest) GetRawParams

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

func (TaobaoRpReturngoodsAgreeAPIRequest) GetRefundId

func (r TaobaoRpReturngoodsAgreeAPIRequest) GetRefundId() int64

GetRefundId RefundId Getter

func (TaobaoRpReturngoodsAgreeAPIRequest) GetRefundPhase

func (r TaobaoRpReturngoodsAgreeAPIRequest) GetRefundPhase() string

GetRefundPhase RefundPhase Getter

func (TaobaoRpReturngoodsAgreeAPIRequest) GetRefundVersion

func (r TaobaoRpReturngoodsAgreeAPIRequest) GetRefundVersion() int64

GetRefundVersion RefundVersion Getter

func (TaobaoRpReturngoodsAgreeAPIRequest) GetRemark

GetRemark Remark Getter

func (TaobaoRpReturngoodsAgreeAPIRequest) GetSellerAddressId

func (r TaobaoRpReturngoodsAgreeAPIRequest) GetSellerAddressId() int64

GetSellerAddressId SellerAddressId Getter

func (TaobaoRpReturngoodsAgreeAPIRequest) GetTel

GetTel Tel Getter

func (TaobaoRpReturngoodsAgreeAPIRequest) GetVirtualReturnGoods

func (r TaobaoRpReturngoodsAgreeAPIRequest) GetVirtualReturnGoods() bool

GetVirtualReturnGoods VirtualReturnGoods Getter

func (*TaobaoRpReturngoodsAgreeAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRpReturngoodsAgreeAPIRequest) SetAddress

func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetAddress(_address string) error

SetAddress is Address Setter 卖家提供的退货地址,淘宝退款为必填项。

func (*TaobaoRpReturngoodsAgreeAPIRequest) SetMobile

func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetMobile(_mobile string) error

SetMobile is Mobile Setter 卖家手机,淘宝退款为必填项。

func (*TaobaoRpReturngoodsAgreeAPIRequest) SetName

SetName is Name Setter 卖家姓名,淘宝退款为必填项。

func (*TaobaoRpReturngoodsAgreeAPIRequest) SetPost

SetPost is Post Setter 卖家提供的退货地址的邮编,淘宝退款为必填项。

func (*TaobaoRpReturngoodsAgreeAPIRequest) SetPostFeeBearRole

func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetPostFeeBearRole(_postFeeBearRole int64) error

SetPostFeeBearRole is PostFeeBearRole Setter 邮费承担方,买家承担值为1,卖家承担值为0

func (*TaobaoRpReturngoodsAgreeAPIRequest) SetRefundId

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

SetRefundId is RefundId Setter 退款编号

func (*TaobaoRpReturngoodsAgreeAPIRequest) SetRefundPhase

func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetRefundPhase(_refundPhase string) error

SetRefundPhase is RefundPhase Setter 售中:onsale,售后:aftersale,天猫退款为必填项。

func (*TaobaoRpReturngoodsAgreeAPIRequest) SetRefundVersion

func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetRefundVersion(_refundVersion int64) error

SetRefundVersion is RefundVersion Setter 退款版本号,天猫退款为必填项。

func (*TaobaoRpReturngoodsAgreeAPIRequest) SetRemark

func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetRemark(_remark string) error

SetRemark is Remark Setter 卖家退货留言,天猫退款为必填项。

func (*TaobaoRpReturngoodsAgreeAPIRequest) SetSellerAddressId

func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetSellerAddressId(_sellerAddressId int64) error

SetSellerAddressId is SellerAddressId Setter 卖家收货地址编号,天猫淘宝退款都为必填项。

func (*TaobaoRpReturngoodsAgreeAPIRequest) SetTel

SetTel is Tel Setter 卖家座机,淘宝退款为必填项。

func (*TaobaoRpReturngoodsAgreeAPIRequest) SetVirtualReturnGoods

func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetVirtualReturnGoods(_virtualReturnGoods bool) error

SetVirtualReturnGoods is VirtualReturnGoods Setter 是否虚拟退货,可选项

type TaobaoRpReturngoodsAgreeAPIResponse

type TaobaoRpReturngoodsAgreeAPIResponse struct {
	model.CommonResponse
	TaobaoRpReturngoodsAgreeAPIResponseModel
}

TaobaoRpReturngoodsAgreeAPIResponse 卖家同意退货 API返回值 taobao.rp.returngoods.agree

卖家同意退货,支持淘宝和天猫的订单。

func GetTaobaoRpReturngoodsAgreeAPIResponse added in v1.3.4

func GetTaobaoRpReturngoodsAgreeAPIResponse() *TaobaoRpReturngoodsAgreeAPIResponse

GetTaobaoRpReturngoodsAgreeAPIResponse 从 sync.Pool 获取 TaobaoRpReturngoodsAgreeAPIResponse

func (*TaobaoRpReturngoodsAgreeAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRpReturngoodsAgreeAPIResponseModel

type TaobaoRpReturngoodsAgreeAPIResponseModel struct {
	XMLName xml.Name `xml:"rp_returngoods_agree_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 操作成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoRpReturngoodsAgreeAPIResponseModel is 卖家同意退货 成功返回结果

func (*TaobaoRpReturngoodsAgreeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRpReturngoodsRefillAPIRequest

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

TaobaoRpReturngoodsRefillAPIRequest 卖家回填物流信息 API请求 taobao.rp.returngoods.refill

卖家收到货物回填物流信息,如果买家已经回填物流信息,则接口报错,目前仅支持天猫订单。

func GetTaobaoRpReturngoodsRefillAPIRequest added in v1.3.4

func GetTaobaoRpReturngoodsRefillAPIRequest() *TaobaoRpReturngoodsRefillAPIRequest

GetTaobaoRpReturngoodsRefillRequest 从 sync.Pool 获取 TaobaoRpReturngoodsRefillAPIRequest

func NewTaobaoRpReturngoodsRefillRequest

func NewTaobaoRpReturngoodsRefillRequest() *TaobaoRpReturngoodsRefillAPIRequest

NewTaobaoRpReturngoodsRefillRequest 初始化TaobaoRpReturngoodsRefillAPIRequest对象

func (TaobaoRpReturngoodsRefillAPIRequest) GetApiMethodName

func (r TaobaoRpReturngoodsRefillAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRpReturngoodsRefillAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRpReturngoodsRefillAPIRequest) GetLogisticsCompanyCode

func (r TaobaoRpReturngoodsRefillAPIRequest) GetLogisticsCompanyCode() string

GetLogisticsCompanyCode LogisticsCompanyCode Getter

func (TaobaoRpReturngoodsRefillAPIRequest) GetLogisticsWaybillNo

func (r TaobaoRpReturngoodsRefillAPIRequest) GetLogisticsWaybillNo() string

GetLogisticsWaybillNo LogisticsWaybillNo Getter

func (TaobaoRpReturngoodsRefillAPIRequest) GetRawParams

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

func (TaobaoRpReturngoodsRefillAPIRequest) GetRefundId

GetRefundId RefundId Getter

func (TaobaoRpReturngoodsRefillAPIRequest) GetRefundPhase

func (r TaobaoRpReturngoodsRefillAPIRequest) GetRefundPhase() string

GetRefundPhase RefundPhase Getter

func (*TaobaoRpReturngoodsRefillAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRpReturngoodsRefillAPIRequest) SetLogisticsCompanyCode

func (r *TaobaoRpReturngoodsRefillAPIRequest) SetLogisticsCompanyCode(_logisticsCompanyCode string) error

SetLogisticsCompanyCode is LogisticsCompanyCode Setter 物流公司编号

func (*TaobaoRpReturngoodsRefillAPIRequest) SetLogisticsWaybillNo

func (r *TaobaoRpReturngoodsRefillAPIRequest) SetLogisticsWaybillNo(_logisticsWaybillNo string) error

SetLogisticsWaybillNo is LogisticsWaybillNo Setter 物流公司运单号

func (*TaobaoRpReturngoodsRefillAPIRequest) SetRefundId

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

SetRefundId is RefundId Setter 退款单编号

func (*TaobaoRpReturngoodsRefillAPIRequest) SetRefundPhase

func (r *TaobaoRpReturngoodsRefillAPIRequest) SetRefundPhase(_refundPhase string) error

SetRefundPhase is RefundPhase Setter 退款阶段,可选值:售中:onsale,售后:aftersale

type TaobaoRpReturngoodsRefillAPIResponse

type TaobaoRpReturngoodsRefillAPIResponse struct {
	model.CommonResponse
	TaobaoRpReturngoodsRefillAPIResponseModel
}

TaobaoRpReturngoodsRefillAPIResponse 卖家回填物流信息 API返回值 taobao.rp.returngoods.refill

卖家收到货物回填物流信息,如果买家已经回填物流信息,则接口报错,目前仅支持天猫订单。

func GetTaobaoRpReturngoodsRefillAPIResponse added in v1.3.4

func GetTaobaoRpReturngoodsRefillAPIResponse() *TaobaoRpReturngoodsRefillAPIResponse

GetTaobaoRpReturngoodsRefillAPIResponse 从 sync.Pool 获取 TaobaoRpReturngoodsRefillAPIResponse

func (*TaobaoRpReturngoodsRefillAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRpReturngoodsRefillAPIResponseModel

type TaobaoRpReturngoodsRefillAPIResponseModel struct {
	XMLName xml.Name `xml:"rp_returngoods_refill_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 验货操作是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoRpReturngoodsRefillAPIResponseModel is 卖家回填物流信息 成功返回结果

func (*TaobaoRpReturngoodsRefillAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRpReturngoodsRefuseAPIRequest

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

TaobaoRpReturngoodsRefuseAPIRequest 卖家拒绝退货 API请求 taobao.rp.returngoods.refuse

卖家拒绝退货,目前仅支持天猫退货。

func GetTaobaoRpReturngoodsRefuseAPIRequest added in v1.3.4

func GetTaobaoRpReturngoodsRefuseAPIRequest() *TaobaoRpReturngoodsRefuseAPIRequest

GetTaobaoRpReturngoodsRefuseRequest 从 sync.Pool 获取 TaobaoRpReturngoodsRefuseAPIRequest

func NewTaobaoRpReturngoodsRefuseRequest

func NewTaobaoRpReturngoodsRefuseRequest() *TaobaoRpReturngoodsRefuseAPIRequest

NewTaobaoRpReturngoodsRefuseRequest 初始化TaobaoRpReturngoodsRefuseAPIRequest对象

func (TaobaoRpReturngoodsRefuseAPIRequest) GetApiMethodName

func (r TaobaoRpReturngoodsRefuseAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRpReturngoodsRefuseAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRpReturngoodsRefuseAPIRequest) GetRawParams

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

func (TaobaoRpReturngoodsRefuseAPIRequest) GetRefundId

GetRefundId RefundId Getter

func (TaobaoRpReturngoodsRefuseAPIRequest) GetRefundPhase

func (r TaobaoRpReturngoodsRefuseAPIRequest) GetRefundPhase() string

GetRefundPhase RefundPhase Getter

func (TaobaoRpReturngoodsRefuseAPIRequest) GetRefundVersion

func (r TaobaoRpReturngoodsRefuseAPIRequest) GetRefundVersion() int64

GetRefundVersion RefundVersion Getter

func (TaobaoRpReturngoodsRefuseAPIRequest) GetRefuseProof

func (r TaobaoRpReturngoodsRefuseAPIRequest) GetRefuseProof() *model.File

GetRefuseProof RefuseProof Getter

func (TaobaoRpReturngoodsRefuseAPIRequest) GetRefuseReasonId

func (r TaobaoRpReturngoodsRefuseAPIRequest) GetRefuseReasonId() int64

GetRefuseReasonId RefuseReasonId Getter

func (*TaobaoRpReturngoodsRefuseAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRpReturngoodsRefuseAPIRequest) SetRefundId

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

SetRefundId is RefundId Setter 退款编号

func (*TaobaoRpReturngoodsRefuseAPIRequest) SetRefundPhase

func (r *TaobaoRpReturngoodsRefuseAPIRequest) SetRefundPhase(_refundPhase string) error

SetRefundPhase is RefundPhase Setter 退款服务状态,售后或者售中

func (*TaobaoRpReturngoodsRefuseAPIRequest) SetRefundVersion

func (r *TaobaoRpReturngoodsRefuseAPIRequest) SetRefundVersion(_refundVersion int64) error

SetRefundVersion is RefundVersion Setter 退款版本号

func (*TaobaoRpReturngoodsRefuseAPIRequest) SetRefuseProof

func (r *TaobaoRpReturngoodsRefuseAPIRequest) SetRefuseProof(_refuseProof *model.File) error

SetRefuseProof is RefuseProof Setter 拒绝退货凭证图片,必须图片格式,大小不能超过5M

func (*TaobaoRpReturngoodsRefuseAPIRequest) SetRefuseReasonId

func (r *TaobaoRpReturngoodsRefuseAPIRequest) SetRefuseReasonId(_refuseReasonId int64) error

SetRefuseReasonId is RefuseReasonId Setter 拒绝原因编号,会提供拒绝原因列表供选择

type TaobaoRpReturngoodsRefuseAPIResponse

type TaobaoRpReturngoodsRefuseAPIResponse struct {
	model.CommonResponse
	TaobaoRpReturngoodsRefuseAPIResponseModel
}

TaobaoRpReturngoodsRefuseAPIResponse 卖家拒绝退货 API返回值 taobao.rp.returngoods.refuse

卖家拒绝退货,目前仅支持天猫退货。

func GetTaobaoRpReturngoodsRefuseAPIResponse added in v1.3.4

func GetTaobaoRpReturngoodsRefuseAPIResponse() *TaobaoRpReturngoodsRefuseAPIResponse

GetTaobaoRpReturngoodsRefuseAPIResponse 从 sync.Pool 获取 TaobaoRpReturngoodsRefuseAPIResponse

func (*TaobaoRpReturngoodsRefuseAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRpReturngoodsRefuseAPIResponseModel

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

TaobaoRpReturngoodsRefuseAPIResponseModel is 卖家拒绝退货 成功返回结果

func (*TaobaoRpReturngoodsRefuseAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSpecialRefundGetAPIRequest

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

TaobaoSpecialRefundGetAPIRequest 特殊部分退纠纷单查询 API请求 taobao.special.refund.get

获取单笔特殊部分退的纠纷单查询

func GetTaobaoSpecialRefundGetAPIRequest added in v1.3.4

func GetTaobaoSpecialRefundGetAPIRequest() *TaobaoSpecialRefundGetAPIRequest

GetTaobaoSpecialRefundGetRequest 从 sync.Pool 获取 TaobaoSpecialRefundGetAPIRequest

func NewTaobaoSpecialRefundGetRequest

func NewTaobaoSpecialRefundGetRequest() *TaobaoSpecialRefundGetAPIRequest

NewTaobaoSpecialRefundGetRequest 初始化TaobaoSpecialRefundGetAPIRequest对象

func (TaobaoSpecialRefundGetAPIRequest) GetApiMethodName

func (r TaobaoSpecialRefundGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSpecialRefundGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSpecialRefundGetAPIRequest) GetFields

func (r TaobaoSpecialRefundGetAPIRequest) GetFields() []string

GetFields Fields Getter

func (TaobaoSpecialRefundGetAPIRequest) GetRawParams

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

func (TaobaoSpecialRefundGetAPIRequest) GetRefundId

func (r TaobaoSpecialRefundGetAPIRequest) GetRefundId() int64

GetRefundId RefundId Getter

func (*TaobaoSpecialRefundGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoSpecialRefundGetAPIRequest) SetFields

func (r *TaobaoSpecialRefundGetAPIRequest) SetFields(_fields []string) error

SetFields is Fields Setter 需要返回的字段。目前支持有:refund_id, alipay_no, tid, oid, buyer_nick, seller_nick, total_fee, status, created, refund_fee, good_status, has_good_return, payment, reason, desc, num_iid, title, price, num, good_return_time, company_name, sid, address, shipping_type, refund_remind_timeout, refund_phase, refund_version, operation_contraint, attribute, outer_id, sku

func (*TaobaoSpecialRefundGetAPIRequest) SetRefundId

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

SetRefundId is RefundId Setter 退款单号

type TaobaoSpecialRefundGetAPIResponse

type TaobaoSpecialRefundGetAPIResponse struct {
	model.CommonResponse
	TaobaoSpecialRefundGetAPIResponseModel
}

TaobaoSpecialRefundGetAPIResponse 特殊部分退纠纷单查询 API返回值 taobao.special.refund.get

获取单笔特殊部分退的纠纷单查询

func GetTaobaoSpecialRefundGetAPIResponse added in v1.3.4

func GetTaobaoSpecialRefundGetAPIResponse() *TaobaoSpecialRefundGetAPIResponse

GetTaobaoSpecialRefundGetAPIResponse 从 sync.Pool 获取 TaobaoSpecialRefundGetAPIResponse

func (*TaobaoSpecialRefundGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSpecialRefundGetAPIResponseModel

type TaobaoSpecialRefundGetAPIResponseModel struct {
	XMLName xml.Name `xml:"special_refund_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 退款详情
	Refund *Refund `json:"refund,omitempty" xml:"refund,omitempty"`
}

TaobaoSpecialRefundGetAPIResponseModel is 特殊部分退纠纷单查询 成功返回结果

func (*TaobaoSpecialRefundGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSpecialRefundsReceiveGetAPIRequest

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

TaobaoSpecialRefundsReceiveGetAPIRequest 特殊退款类型的纠纷单列表查询 API请求 taobao.special.refunds.receive.get

特殊退款类型的纠纷单列表查询

func GetTaobaoSpecialRefundsReceiveGetAPIRequest added in v1.3.4

func GetTaobaoSpecialRefundsReceiveGetAPIRequest() *TaobaoSpecialRefundsReceiveGetAPIRequest

GetTaobaoSpecialRefundsReceiveGetRequest 从 sync.Pool 获取 TaobaoSpecialRefundsReceiveGetAPIRequest

func NewTaobaoSpecialRefundsReceiveGetRequest

func NewTaobaoSpecialRefundsReceiveGetRequest() *TaobaoSpecialRefundsReceiveGetAPIRequest

NewTaobaoSpecialRefundsReceiveGetRequest 初始化TaobaoSpecialRefundsReceiveGetAPIRequest对象

func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetApiMethodName

func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetBuyerNick

GetBuyerNick BuyerNick Getter

func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetBuyerOpenUid

GetBuyerOpenUid BuyerOpenUid Getter

func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetEndModified

GetEndModified EndModified Getter

func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetFields

GetFields Fields Getter

func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetPageNo

GetPageNo PageNo Getter

func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetPageSize

GetPageSize PageSize Getter

func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetRawParams

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

func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetStartModified

func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetStartModified() string

GetStartModified StartModified Getter

func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetStatus

GetStatus Status Getter

func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetType

GetType Type Getter

func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetUseHasNext

GetUseHasNext UseHasNext Getter

func (*TaobaoSpecialRefundsReceiveGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetBuyerNick

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

SetBuyerNick is BuyerNick Setter 买家昵称

func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetBuyerOpenUid

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

SetBuyerOpenUid is BuyerOpenUid Setter 买家openId

func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetEndModified

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

SetEndModified is EndModified Setter 查询修改时间结束。格式: yyyy-MM-dd HH:mm:ss

func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetFields

func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetFields(_fields []string) error

SetFields is Fields Setter 需要返回的字段。目前支持有:refund_id, tid, title, buyer_nick, seller_nick, total_fee, status, created, refund_fee, oid, good_status, company_name, sid, payment, reason, desc, has_good_return, modified, order_status,refund_phase

func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetPageNo

SetPageNo is PageNo Setter 页码。取值范围:大于零的整数; 默认值:1

func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetPageSize

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

SetPageSize is PageSize Setter 每页条数。取值范围:大于零的整数; 默认值:40;最大值:100

func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetStartModified

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

SetStartModified is StartModified Setter 查询修改时间开始。格式: yyyy-MM-dd HH:mm:ss

func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetStatus

SetStatus is Status Setter 退款状态,默认查询所有退款状态的数据,除了默认值外每次只能查询一种状态。WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意) WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货) WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货) SELLER_REFUSE_BUYER(卖家拒绝退款) CLOSED(退款关闭) SUCCESS(退款成功)

func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetType

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

func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetUseHasNext

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

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

type TaobaoSpecialRefundsReceiveGetAPIResponse

type TaobaoSpecialRefundsReceiveGetAPIResponse struct {
	model.CommonResponse
	TaobaoSpecialRefundsReceiveGetAPIResponseModel
}

TaobaoSpecialRefundsReceiveGetAPIResponse 特殊退款类型的纠纷单列表查询 API返回值 taobao.special.refunds.receive.get

特殊退款类型的纠纷单列表查询

func GetTaobaoSpecialRefundsReceiveGetAPIResponse added in v1.3.4

func GetTaobaoSpecialRefundsReceiveGetAPIResponse() *TaobaoSpecialRefundsReceiveGetAPIResponse

GetTaobaoSpecialRefundsReceiveGetAPIResponse 从 sync.Pool 获取 TaobaoSpecialRefundsReceiveGetAPIResponse

func (*TaobaoSpecialRefundsReceiveGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSpecialRefundsReceiveGetAPIResponseModel

type TaobaoSpecialRefundsReceiveGetAPIResponseModel struct {
	XMLName xml.Name `xml:"special_refunds_receive_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 搜索到的退款信息列表
	Refunds []Refund `json:"refunds,omitempty" xml:"refunds>refund,omitempty"`
	// 搜索到的退款信息总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// 是否存在下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
}

TaobaoSpecialRefundsReceiveGetAPIResponseModel is 特殊退款类型的纠纷单列表查询 成功返回结果

func (*TaobaoSpecialRefundsReceiveGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallDisputeReceiveGetAPIRequest

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

TmallDisputeReceiveGetAPIRequest 天猫逆向纠纷查询 API请求 tmall.dispute.receive.get

展示商家所有退款信息

func GetTmallDisputeReceiveGetAPIRequest added in v1.3.4

func GetTmallDisputeReceiveGetAPIRequest() *TmallDisputeReceiveGetAPIRequest

GetTmallDisputeReceiveGetRequest 从 sync.Pool 获取 TmallDisputeReceiveGetAPIRequest

func NewTmallDisputeReceiveGetRequest

func NewTmallDisputeReceiveGetRequest() *TmallDisputeReceiveGetAPIRequest

NewTmallDisputeReceiveGetRequest 初始化TmallDisputeReceiveGetAPIRequest对象

func (TmallDisputeReceiveGetAPIRequest) GetApiMethodName

func (r TmallDisputeReceiveGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallDisputeReceiveGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallDisputeReceiveGetAPIRequest) GetBuyerNick

func (r TmallDisputeReceiveGetAPIRequest) GetBuyerNick() string

GetBuyerNick BuyerNick Getter

func (TmallDisputeReceiveGetAPIRequest) GetBuyerOpenUid

func (r TmallDisputeReceiveGetAPIRequest) GetBuyerOpenUid() string

GetBuyerOpenUid BuyerOpenUid Getter

func (TmallDisputeReceiveGetAPIRequest) GetEndModified

func (r TmallDisputeReceiveGetAPIRequest) GetEndModified() string

GetEndModified EndModified Getter

func (TmallDisputeReceiveGetAPIRequest) GetFields

func (r TmallDisputeReceiveGetAPIRequest) GetFields() []string

GetFields Fields Getter

func (TmallDisputeReceiveGetAPIRequest) GetPageNo

GetPageNo PageNo Getter

func (TmallDisputeReceiveGetAPIRequest) GetPageSize

func (r TmallDisputeReceiveGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TmallDisputeReceiveGetAPIRequest) GetRawParams

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

func (TmallDisputeReceiveGetAPIRequest) GetRefundId

func (r TmallDisputeReceiveGetAPIRequest) GetRefundId() int64

GetRefundId RefundId Getter

func (TmallDisputeReceiveGetAPIRequest) GetStartModified

func (r TmallDisputeReceiveGetAPIRequest) GetStartModified() string

GetStartModified StartModified Getter

func (TmallDisputeReceiveGetAPIRequest) GetStatus

GetStatus Status Getter

func (TmallDisputeReceiveGetAPIRequest) GetType

GetType Type Getter

func (TmallDisputeReceiveGetAPIRequest) GetUseHasNext

func (r TmallDisputeReceiveGetAPIRequest) GetUseHasNext() bool

GetUseHasNext UseHasNext Getter

func (*TmallDisputeReceiveGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallDisputeReceiveGetAPIRequest) SetBuyerNick

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

SetBuyerNick is BuyerNick Setter 买家昵称

func (*TmallDisputeReceiveGetAPIRequest) SetBuyerOpenUid

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

SetBuyerOpenUid is BuyerOpenUid Setter 买家openId

func (*TmallDisputeReceiveGetAPIRequest) SetEndModified

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

SetEndModified is EndModified Setter 查询修改时间结束。格式: yyyy-MM-dd HH:mm:ss

func (*TmallDisputeReceiveGetAPIRequest) SetFields

func (r *TmallDisputeReceiveGetAPIRequest) SetFields(_fields []string) error

SetFields is Fields Setter 需要返回的字段。目前支持有:refund_id, alipay_no, tid, buyer_nick, seller_nick, status, created, modified, order_status, refund_fee, good_status, show_return_logistic(展现买家退货的物流信息), show_exchange_logistic(展现换货的物流信息), time_out, oid, refund_version, title, num, dispute_request, reason, desc

func (*TmallDisputeReceiveGetAPIRequest) SetPageNo

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

SetPageNo is PageNo Setter 页码。取值范围:大于零的整数; 默认值:1

func (*TmallDisputeReceiveGetAPIRequest) SetPageSize

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

SetPageSize is PageSize Setter 每页条数。取值范围:大于零的整数; 默认值:20;最大值:100

func (*TmallDisputeReceiveGetAPIRequest) SetRefundId

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

SetRefundId is RefundId Setter 逆向纠纷单号id

func (*TmallDisputeReceiveGetAPIRequest) SetStartModified

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

SetStartModified is StartModified Setter 查询修改时间开始。格式: yyyy-MM-dd HH:mm:ss

func (*TmallDisputeReceiveGetAPIRequest) SetStatus

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

SetStatus is Status Setter 退款状态,默认查询所有退款状态的数据,除了默认值外每次只能查询一种状态。WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意);WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货);WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货);CLOSED(退款关闭); SUCCESS(退款成功);SELLER_REFUSE_BUYER(卖家拒绝退款);WAIT_BUYER_CONFIRM_REDO_SEND_GOODS(等待买家确认重新邮寄的货物);WAIT_SELLER_CONFIRM_RETURN_ADDRESS(等待卖家确认退货地址);WAIT_SELLER_CONSIGN_GOOGDS(卖家确认收货,等待卖家发货);EXCHANGE_TRANSFORM_TO_REFUND(换货关闭,转退货退款);EXCHANGE_WAIT_BUYER_CONFIRM_GOODS(卖家已发货,等待买家确认收货);POST_FEE_DISPUTE_WAIT_ACTIVATE(邮费单已创建,待激活)

func (*TmallDisputeReceiveGetAPIRequest) SetType

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

SetType is Type Setter 交易类型列表,一次查询多种类型可用半角逗号分隔,默认同时查询guarantee_trade, auto_delivery这两种类型的数据,查看可选值

func (*TmallDisputeReceiveGetAPIRequest) SetUseHasNext

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

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

type TmallDisputeReceiveGetAPIResponse

type TmallDisputeReceiveGetAPIResponse struct {
	model.CommonResponse
	TmallDisputeReceiveGetAPIResponseModel
}

TmallDisputeReceiveGetAPIResponse 天猫逆向纠纷查询 API返回值 tmall.dispute.receive.get

展示商家所有退款信息

func GetTmallDisputeReceiveGetAPIResponse added in v1.3.4

func GetTmallDisputeReceiveGetAPIResponse() *TmallDisputeReceiveGetAPIResponse

GetTmallDisputeReceiveGetAPIResponse 从 sync.Pool 获取 TmallDisputeReceiveGetAPIResponse

func (*TmallDisputeReceiveGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallDisputeReceiveGetAPIResponseModel

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

TmallDisputeReceiveGetAPIResponseModel is 天猫逆向纠纷查询 成功返回结果

func (*TmallDisputeReceiveGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallDisputeReceiveGetResultSet

type TmallDisputeReceiveGetResultSet struct {
	// results
	Results []Dispute `json:"results,omitempty" xml:"results>dispute,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 当前页面的纠纷单数量
	PageResults int64 `json:"page_results,omitempty" xml:"page_results,omitempty"`
	// 所有符合查询条件的纠纷单数量
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// 是否还有下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
}

TmallDisputeReceiveGetResultSet 结构体

func GetTmallDisputeReceiveGetResultSet added in v1.3.4

func GetTmallDisputeReceiveGetResultSet() *TmallDisputeReceiveGetResultSet

GetTmallDisputeReceiveGetResultSet() 从对象池中获取TmallDisputeReceiveGetResultSet

Source Files

Jump to

Keyboard shortcuts

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