exchange

package
v1.3.5 Latest Latest
Warning

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

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

Documentation

Overview

Package exchange 包含换货API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseExchange added in v1.3.4

func ReleaseExchange(v *Exchange)

ReleaseExchange 释放Exchange

func ReleaseExchangeBaseResponse added in v1.3.4

func ReleaseExchangeBaseResponse(v *ExchangeBaseResponse)

ReleaseExchangeBaseResponse 释放ExchangeBaseResponse

func ReleasePicUrl added in v1.3.4

func ReleasePicUrl(v *PicUrl)

ReleasePicUrl 释放PicUrl

func ReleaseReason added in v1.3.4

func ReleaseReason(v *Reason)

ReleaseReason 释放Reason

func ReleaseRefundBaseResponse added in v1.3.4

func ReleaseRefundBaseResponse(v *RefundBaseResponse)

ReleaseRefundBaseResponse 释放RefundBaseResponse

func ReleaseRefundMessage added in v1.3.4

func ReleaseRefundMessage(v *RefundMessage)

ReleaseRefundMessage 释放RefundMessage

func ReleaseRefundMessageResult added in v1.3.4

func ReleaseRefundMessageResult(v *RefundMessageResult)

ReleaseRefundMessageResult 释放RefundMessageResult

func ReleaseTmallExchangeAgreeAPIRequest added in v1.3.4

func ReleaseTmallExchangeAgreeAPIRequest(v *TmallExchangeAgreeAPIRequest)

ReleaseTmallExchangeAgreeAPIRequest 将 TmallExchangeAgreeAPIRequest 放入 sync.Pool

func ReleaseTmallExchangeAgreeAPIResponse added in v1.3.4

func ReleaseTmallExchangeAgreeAPIResponse(v *TmallExchangeAgreeAPIResponse)

ReleaseTmallExchangeAgreeAPIResponse 将 TmallExchangeAgreeAPIResponse 保存到 sync.Pool

func ReleaseTmallExchangeConfirmConsignAPIRequest added in v1.3.4

func ReleaseTmallExchangeConfirmConsignAPIRequest(v *TmallExchangeConfirmConsignAPIRequest)

ReleaseTmallExchangeConfirmConsignAPIRequest 将 TmallExchangeConfirmConsignAPIRequest 放入 sync.Pool

func ReleaseTmallExchangeConfirmConsignAPIResponse added in v1.3.4

func ReleaseTmallExchangeConfirmConsignAPIResponse(v *TmallExchangeConfirmConsignAPIResponse)

ReleaseTmallExchangeConfirmConsignAPIResponse 将 TmallExchangeConfirmConsignAPIResponse 保存到 sync.Pool

func ReleaseTmallExchangeConsigngoodsAPIRequest added in v1.3.4

func ReleaseTmallExchangeConsigngoodsAPIRequest(v *TmallExchangeConsigngoodsAPIRequest)

ReleaseTmallExchangeConsigngoodsAPIRequest 将 TmallExchangeConsigngoodsAPIRequest 放入 sync.Pool

func ReleaseTmallExchangeConsigngoodsAPIResponse added in v1.3.4

func ReleaseTmallExchangeConsigngoodsAPIResponse(v *TmallExchangeConsigngoodsAPIResponse)

ReleaseTmallExchangeConsigngoodsAPIResponse 将 TmallExchangeConsigngoodsAPIResponse 保存到 sync.Pool

func ReleaseTmallExchangeGetAPIRequest added in v1.3.4

func ReleaseTmallExchangeGetAPIRequest(v *TmallExchangeGetAPIRequest)

ReleaseTmallExchangeGetAPIRequest 将 TmallExchangeGetAPIRequest 放入 sync.Pool

func ReleaseTmallExchangeGetAPIResponse added in v1.3.4

func ReleaseTmallExchangeGetAPIResponse(v *TmallExchangeGetAPIResponse)

ReleaseTmallExchangeGetAPIResponse 将 TmallExchangeGetAPIResponse 保存到 sync.Pool

func ReleaseTmallExchangeMessageAddAPIRequest added in v1.3.4

func ReleaseTmallExchangeMessageAddAPIRequest(v *TmallExchangeMessageAddAPIRequest)

ReleaseTmallExchangeMessageAddAPIRequest 将 TmallExchangeMessageAddAPIRequest 放入 sync.Pool

func ReleaseTmallExchangeMessageAddAPIResponse added in v1.3.4

func ReleaseTmallExchangeMessageAddAPIResponse(v *TmallExchangeMessageAddAPIResponse)

ReleaseTmallExchangeMessageAddAPIResponse 将 TmallExchangeMessageAddAPIResponse 保存到 sync.Pool

func ReleaseTmallExchangeMessageAddResultSet added in v1.3.4

func ReleaseTmallExchangeMessageAddResultSet(v *TmallExchangeMessageAddResultSet)

ReleaseTmallExchangeMessageAddResultSet 释放TmallExchangeMessageAddResultSet

func ReleaseTmallExchangeMessagesGetAPIRequest added in v1.3.4

func ReleaseTmallExchangeMessagesGetAPIRequest(v *TmallExchangeMessagesGetAPIRequest)

ReleaseTmallExchangeMessagesGetAPIRequest 将 TmallExchangeMessagesGetAPIRequest 放入 sync.Pool

func ReleaseTmallExchangeMessagesGetAPIResponse added in v1.3.4

func ReleaseTmallExchangeMessagesGetAPIResponse(v *TmallExchangeMessagesGetAPIResponse)

ReleaseTmallExchangeMessagesGetAPIResponse 将 TmallExchangeMessagesGetAPIResponse 保存到 sync.Pool

func ReleaseTmallExchangeReceiveGetAPIRequest added in v1.3.4

func ReleaseTmallExchangeReceiveGetAPIRequest(v *TmallExchangeReceiveGetAPIRequest)

ReleaseTmallExchangeReceiveGetAPIRequest 将 TmallExchangeReceiveGetAPIRequest 放入 sync.Pool

func ReleaseTmallExchangeReceiveGetAPIResponse added in v1.3.4

func ReleaseTmallExchangeReceiveGetAPIResponse(v *TmallExchangeReceiveGetAPIResponse)

ReleaseTmallExchangeReceiveGetAPIResponse 将 TmallExchangeReceiveGetAPIResponse 保存到 sync.Pool

func ReleaseTmallExchangeRefuseAPIRequest added in v1.3.4

func ReleaseTmallExchangeRefuseAPIRequest(v *TmallExchangeRefuseAPIRequest)

ReleaseTmallExchangeRefuseAPIRequest 将 TmallExchangeRefuseAPIRequest 放入 sync.Pool

func ReleaseTmallExchangeRefuseAPIResponse added in v1.3.4

func ReleaseTmallExchangeRefuseAPIResponse(v *TmallExchangeRefuseAPIResponse)

ReleaseTmallExchangeRefuseAPIResponse 将 TmallExchangeRefuseAPIResponse 保存到 sync.Pool

func ReleaseTmallExchangeRefusereasonGetAPIRequest added in v1.3.4

func ReleaseTmallExchangeRefusereasonGetAPIRequest(v *TmallExchangeRefusereasonGetAPIRequest)

ReleaseTmallExchangeRefusereasonGetAPIRequest 将 TmallExchangeRefusereasonGetAPIRequest 放入 sync.Pool

func ReleaseTmallExchangeRefusereasonGetAPIResponse added in v1.3.4

func ReleaseTmallExchangeRefusereasonGetAPIResponse(v *TmallExchangeRefusereasonGetAPIResponse)

ReleaseTmallExchangeRefusereasonGetAPIResponse 将 TmallExchangeRefusereasonGetAPIResponse 保存到 sync.Pool

func ReleaseTmallExchangeRefusereasonGetResultSet added in v1.3.4

func ReleaseTmallExchangeRefusereasonGetResultSet(v *TmallExchangeRefusereasonGetResultSet)

ReleaseTmallExchangeRefusereasonGetResultSet 释放TmallExchangeRefusereasonGetResultSet

func ReleaseTmallExchangeReturngoodsAgreeAPIRequest added in v1.3.4

func ReleaseTmallExchangeReturngoodsAgreeAPIRequest(v *TmallExchangeReturngoodsAgreeAPIRequest)

ReleaseTmallExchangeReturngoodsAgreeAPIRequest 将 TmallExchangeReturngoodsAgreeAPIRequest 放入 sync.Pool

func ReleaseTmallExchangeReturngoodsAgreeAPIResponse added in v1.3.4

func ReleaseTmallExchangeReturngoodsAgreeAPIResponse(v *TmallExchangeReturngoodsAgreeAPIResponse)

ReleaseTmallExchangeReturngoodsAgreeAPIResponse 将 TmallExchangeReturngoodsAgreeAPIResponse 保存到 sync.Pool

func ReleaseTmallExchangeReturngoodsRefuseAPIRequest added in v1.3.4

func ReleaseTmallExchangeReturngoodsRefuseAPIRequest(v *TmallExchangeReturngoodsRefuseAPIRequest)

ReleaseTmallExchangeReturngoodsRefuseAPIRequest 将 TmallExchangeReturngoodsRefuseAPIRequest 放入 sync.Pool

func ReleaseTmallExchangeReturngoodsRefuseAPIResponse added in v1.3.4

func ReleaseTmallExchangeReturngoodsRefuseAPIResponse(v *TmallExchangeReturngoodsRefuseAPIResponse)

ReleaseTmallExchangeReturngoodsRefuseAPIResponse 将 TmallExchangeReturngoodsRefuseAPIResponse 保存到 sync.Pool

Types

type Exchange

type Exchange struct {
	// 修改时间
	Modified string `json:"modified,omitempty" xml:"modified,omitempty"`
	// 换货单号ID
	DisputeId string `json:"dispute_id,omitempty" xml:"dispute_id,omitempty"`
	// 换货单状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 正向交易单号ID
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 买家发货物流单号
	BuyerLogisticNo string `json:"buyer_logistic_no,omitempty" xml:"buyer_logistic_no,omitempty"`
	// 支付宝单号ID
	AlipayNo string `json:"alipay_no,omitempty" xml:"alipay_no,omitempty"`
	// 换货理由说明
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 换货申请理由
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// attributes
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 申请换货的状态:售中换货 or 售后换货
	RefundPhase string `json:"refund_phase,omitempty" xml:"refund_phase,omitempty"`
	// 换货商品的sku
	ExchangeSku string `json:"exchange_sku,omitempty" xml:"exchange_sku,omitempty"`
	// buyerAddress
	BuyerAddress string `json:"buyer_address,omitempty" xml:"buyer_address,omitempty"`
	// 操作场景
	OperationContraint string `json:"operation_contraint,omitempty" xml:"operation_contraint,omitempty"`
	// 商品名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 换货单创建时间
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 卖家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 买家昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 买家发货物流公司名称
	BuyerLogisticName string `json:"buyer_logistic_name,omitempty" xml:"buyer_logistic_name,omitempty"`
	// 卖家发货物流公司名称
	SellerLogisticName string `json:"seller_logistic_name,omitempty" xml:"seller_logistic_name,omitempty"`
	// 所购买的商品sku
	BoughtSku string `json:"bought_sku,omitempty" xml:"bought_sku,omitempty"`
	// 卖家发货快递单号
	SellerLogisticNo string `json:"seller_logistic_no,omitempty" xml:"seller_logistic_no,omitempty"`
	// 价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 超时时间
	TimeOut string `json:"time_out,omitempty" xml:"time_out,omitempty"`
	// 卖家换货地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 商品状态
	GoodStatus string `json:"good_status,omitempty" xml:"good_status,omitempty"`
	// 买家联系方式
	BuyerPhone string `json:"buyer_phone,omitempty" xml:"buyer_phone,omitempty"`
	// buyerName
	BuyerName string `json:"buyer_name,omitempty" xml:"buyer_name,omitempty"`
	// 收件人ID (Open Addressee ID),长度在128个字符之内。
	Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"`
	// 买家openId
	BuyerOpenUid string `json:"buyer_open_uid,omitempty" xml:"buyer_open_uid,omitempty"`
	// 支付费用
	Payment string `json:"payment,omitempty" xml:"payment,omitempty"`
	// 先行垫付状态
	AdvanceStatus int64 `json:"advance_status,omitempty" xml:"advance_status,omitempty"`
	// 换货版本
	RefundVersion int64 `json:"refund_version,omitempty" xml:"refund_version,omitempty"`
	// 换货数量
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
	// 小二托管状态
	CsStatus int64 `json:"cs_status,omitempty" xml:"cs_status,omitempty"`
}

Exchange 结构体

func GetExchange added in v1.3.4

func GetExchange() *Exchange

GetExchange() 从对象池中获取Exchange

type ExchangeBaseResponse

type ExchangeBaseResponse struct {
	// 返回结果说明
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回结果码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 换货单信息
	Exchange *Exchange `json:"exchange,omitempty" xml:"exchange,omitempty"`
	// 是否成功调用
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ExchangeBaseResponse 结构体

func GetExchangeBaseResponse added in v1.3.4

func GetExchangeBaseResponse() *ExchangeBaseResponse

GetExchangeBaseResponse() 从对象池中获取ExchangeBaseResponse

type PicUrl

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

PicUrl 结构体

func GetPicUrl added in v1.3.4

func GetPicUrl() *PicUrl

GetPicUrl() 从对象池中获取PicUrl

type Reason

type Reason struct {
	// 拒绝原因内容
	ReasonText string `json:"reason_text,omitempty" xml:"reason_text,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 RefundBaseResponse

type RefundBaseResponse struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// exchange
	Exchange *Exchange `json:"exchange,omitempty" xml:"exchange,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

RefundBaseResponse 结构体

func GetRefundBaseResponse added in v1.3.4

func GetRefundBaseResponse() *RefundBaseResponse

GetRefundBaseResponse() 从对象池中获取RefundBaseResponse

type RefundMessage

type RefundMessage struct {
	// 凭证信息
	PicUrls []PicUrl `json:"pic_urls,omitempty" xml:"pic_urls>pic_url,omitempty"`
	// 留言者昵称
	OwnerNick string `json:"owner_nick,omitempty" xml:"owner_nick,omitempty"`
	// 留言内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 留言创建时间
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 留言类型:系统或是人工
	MessageType string `json:"message_type,omitempty" xml:"message_type,omitempty"`
	// 留言者橘色
	OwnerRole string `json:"owner_role,omitempty" xml:"owner_role,omitempty"`
	// 留言者openId
	OpenUid string `json:"open_uid,omitempty" xml:"open_uid,omitempty"`
	// 留言ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 换货单号ID
	RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 留言者ID
	OwnerId int64 `json:"owner_id,omitempty" xml:"owner_id,omitempty"`
}

RefundMessage 结构体

func GetRefundMessage added in v1.3.4

func GetRefundMessage() *RefundMessage

GetRefundMessage() 从对象池中获取RefundMessage

type RefundMessageResult

type RefundMessageResult struct {
	// 留言记录
	Results []RefundMessage `json:"results,omitempty" xml:"results>refund_message,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"`
}

RefundMessageResult 结构体

func GetRefundMessageResult added in v1.3.4

func GetRefundMessageResult() *RefundMessageResult

GetRefundMessageResult() 从对象池中获取RefundMessageResult

type TmallExchangeAgreeAPIRequest added in v1.2.0

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

TmallExchangeAgreeAPIRequest 卖家同意换货申请 API请求 tmall.exchange.agree

卖家同意换货申请

func GetTmallExchangeAgreeAPIRequest added in v1.3.4

func GetTmallExchangeAgreeAPIRequest() *TmallExchangeAgreeAPIRequest

GetTmallExchangeAgreeRequest 从 sync.Pool 获取 TmallExchangeAgreeAPIRequest

func NewTmallExchangeAgreeRequest

func NewTmallExchangeAgreeRequest() *TmallExchangeAgreeAPIRequest

NewTmallExchangeAgreeRequest 初始化TmallExchangeAgreeAPIRequest对象

func (TmallExchangeAgreeAPIRequest) GetAddressId added in v1.2.0

func (r TmallExchangeAgreeAPIRequest) GetAddressId() int64

GetAddressId AddressId Getter

func (TmallExchangeAgreeAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallExchangeAgreeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallExchangeAgreeAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallExchangeAgreeAPIRequest) GetCompleteAddress added in v1.2.0

func (r TmallExchangeAgreeAPIRequest) GetCompleteAddress() string

GetCompleteAddress CompleteAddress Getter

func (TmallExchangeAgreeAPIRequest) GetDisputeId added in v1.2.0

func (r TmallExchangeAgreeAPIRequest) GetDisputeId() int64

GetDisputeId DisputeId Getter

func (TmallExchangeAgreeAPIRequest) GetFields added in v1.2.0

func (r TmallExchangeAgreeAPIRequest) GetFields() []string

GetFields Fields Getter

func (TmallExchangeAgreeAPIRequest) GetLeaveMessage added in v1.2.0

func (r TmallExchangeAgreeAPIRequest) GetLeaveMessage() string

GetLeaveMessage LeaveMessage Getter

func (TmallExchangeAgreeAPIRequest) GetLeaveMessagePics added in v1.2.0

func (r TmallExchangeAgreeAPIRequest) GetLeaveMessagePics() *model.File

GetLeaveMessagePics LeaveMessagePics Getter

func (TmallExchangeAgreeAPIRequest) GetMobile added in v1.2.0

func (r TmallExchangeAgreeAPIRequest) GetMobile() string

GetMobile Mobile Getter

func (TmallExchangeAgreeAPIRequest) GetPost added in v1.2.0

GetPost Post Getter

func (TmallExchangeAgreeAPIRequest) GetRawParams added in v1.2.8

func (r TmallExchangeAgreeAPIRequest) GetRawParams() model.Params

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

func (*TmallExchangeAgreeAPIRequest) Reset added in v1.3.4

func (r *TmallExchangeAgreeAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TmallExchangeAgreeAPIRequest) SetAddressId added in v1.2.0

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

SetAddressId is AddressId Setter 收货地址id,如需获取请调用该top接口:taobao.logistics.address.search,对应属性为contact_id

func (*TmallExchangeAgreeAPIRequest) SetCompleteAddress added in v1.2.0

func (r *TmallExchangeAgreeAPIRequest) SetCompleteAddress(_completeAddress string) error

SetCompleteAddress is CompleteAddress Setter 详细收货地址

func (*TmallExchangeAgreeAPIRequest) SetDisputeId added in v1.2.0

func (r *TmallExchangeAgreeAPIRequest) SetDisputeId(_disputeId int64) error

SetDisputeId is DisputeId Setter 换货单号ID

func (*TmallExchangeAgreeAPIRequest) SetFields added in v1.2.0

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

SetFields is Fields Setter 返回字段。当前支持的有 dispute_id, bizorder_id, modified, status

func (*TmallExchangeAgreeAPIRequest) SetLeaveMessage added in v1.2.0

func (r *TmallExchangeAgreeAPIRequest) SetLeaveMessage(_leaveMessage string) error

SetLeaveMessage is LeaveMessage Setter 卖家留言

func (*TmallExchangeAgreeAPIRequest) SetLeaveMessagePics added in v1.2.0

func (r *TmallExchangeAgreeAPIRequest) SetLeaveMessagePics(_leaveMessagePics *model.File) error

SetLeaveMessagePics is LeaveMessagePics Setter 上传图片举证

func (*TmallExchangeAgreeAPIRequest) SetMobile added in v1.2.0

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

SetMobile is Mobile Setter 收货人手机号

func (*TmallExchangeAgreeAPIRequest) SetPost added in v1.2.0

func (r *TmallExchangeAgreeAPIRequest) SetPost(_post string) error

SetPost is Post Setter 邮政编码

type TmallExchangeAgreeAPIResponse

type TmallExchangeAgreeAPIResponse struct {
	model.CommonResponse
	TmallExchangeAgreeAPIResponseModel
}

TmallExchangeAgreeAPIResponse 卖家同意换货申请 API返回值 tmall.exchange.agree

卖家同意换货申请

func GetTmallExchangeAgreeAPIResponse added in v1.3.4

func GetTmallExchangeAgreeAPIResponse() *TmallExchangeAgreeAPIResponse

GetTmallExchangeAgreeAPIResponse 从 sync.Pool 获取 TmallExchangeAgreeAPIResponse

func (*TmallExchangeAgreeAPIResponse) Reset added in v1.3.4

func (m *TmallExchangeAgreeAPIResponse) Reset()

Reset 清空结构体

type TmallExchangeAgreeAPIResponseModel added in v1.2.0

type TmallExchangeAgreeAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_exchange_agree_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *ExchangeBaseResponse `json:"result,omitempty" xml:"result,omitempty"`
}

TmallExchangeAgreeAPIResponseModel is 卖家同意换货申请 成功返回结果

func (*TmallExchangeAgreeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeConfirmConsignAPIRequest added in v1.2.9

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

TmallExchangeConfirmConsignAPIRequest 换货商家确认收货并发货 API请求 tmall.exchange.confirm.consign

卖家确认收货并发货

func GetTmallExchangeConfirmConsignAPIRequest added in v1.3.4

func GetTmallExchangeConfirmConsignAPIRequest() *TmallExchangeConfirmConsignAPIRequest

GetTmallExchangeConfirmConsignRequest 从 sync.Pool 获取 TmallExchangeConfirmConsignAPIRequest

func NewTmallExchangeConfirmConsignRequest added in v1.2.9

func NewTmallExchangeConfirmConsignRequest() *TmallExchangeConfirmConsignAPIRequest

NewTmallExchangeConfirmConsignRequest 初始化TmallExchangeConfirmConsignAPIRequest对象

func (TmallExchangeConfirmConsignAPIRequest) GetApiMethodName added in v1.2.9

func (r TmallExchangeConfirmConsignAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallExchangeConfirmConsignAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallExchangeConfirmConsignAPIRequest) GetDisputeId added in v1.2.9

GetDisputeId DisputeId Getter

func (TmallExchangeConfirmConsignAPIRequest) GetFields added in v1.2.9

GetFields Fields Getter

func (TmallExchangeConfirmConsignAPIRequest) GetLogisticsCompanyName added in v1.2.9

func (r TmallExchangeConfirmConsignAPIRequest) GetLogisticsCompanyName() string

GetLogisticsCompanyName LogisticsCompanyName Getter

func (TmallExchangeConfirmConsignAPIRequest) GetLogisticsNo added in v1.2.9

func (r TmallExchangeConfirmConsignAPIRequest) GetLogisticsNo() string

GetLogisticsNo LogisticsNo Getter

func (TmallExchangeConfirmConsignAPIRequest) GetLogisticsType added in v1.2.9

func (r TmallExchangeConfirmConsignAPIRequest) GetLogisticsType() int64

GetLogisticsType LogisticsType Getter

func (TmallExchangeConfirmConsignAPIRequest) GetRawParams added in v1.2.9

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

func (*TmallExchangeConfirmConsignAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallExchangeConfirmConsignAPIRequest) SetDisputeId added in v1.2.9

func (r *TmallExchangeConfirmConsignAPIRequest) SetDisputeId(_disputeId int64) error

SetDisputeId is DisputeId Setter 换货单号ID

func (*TmallExchangeConfirmConsignAPIRequest) SetFields added in v1.2.9

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

SetFields is Fields Setter 返回字段

func (*TmallExchangeConfirmConsignAPIRequest) SetLogisticsCompanyName added in v1.2.9

func (r *TmallExchangeConfirmConsignAPIRequest) SetLogisticsCompanyName(_logisticsCompanyName string) error

SetLogisticsCompanyName is LogisticsCompanyName Setter 卖家发货的快递公司

func (*TmallExchangeConfirmConsignAPIRequest) SetLogisticsNo added in v1.2.9

func (r *TmallExchangeConfirmConsignAPIRequest) SetLogisticsNo(_logisticsNo string) error

SetLogisticsNo is LogisticsNo Setter 卖家发货的物流单号

func (*TmallExchangeConfirmConsignAPIRequest) SetLogisticsType added in v1.2.9

func (r *TmallExchangeConfirmConsignAPIRequest) SetLogisticsType(_logisticsType int64) error

SetLogisticsType is LogisticsType Setter 卖家发货的物流类型,100表示平邮,200表示快递

type TmallExchangeConfirmConsignAPIResponse added in v1.2.9

type TmallExchangeConfirmConsignAPIResponse struct {
	model.CommonResponse
	TmallExchangeConfirmConsignAPIResponseModel
}

TmallExchangeConfirmConsignAPIResponse 换货商家确认收货并发货 API返回值 tmall.exchange.confirm.consign

卖家确认收货并发货

func GetTmallExchangeConfirmConsignAPIResponse added in v1.3.4

func GetTmallExchangeConfirmConsignAPIResponse() *TmallExchangeConfirmConsignAPIResponse

GetTmallExchangeConfirmConsignAPIResponse 从 sync.Pool 获取 TmallExchangeConfirmConsignAPIResponse

func (*TmallExchangeConfirmConsignAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeConfirmConsignAPIResponseModel added in v1.2.9

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

TmallExchangeConfirmConsignAPIResponseModel is 换货商家确认收货并发货 成功返回结果

func (*TmallExchangeConfirmConsignAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeConsigngoodsAPIRequest added in v1.2.0

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

TmallExchangeConsigngoodsAPIRequest 卖家发货 API请求 tmall.exchange.consigngoods

卖家发货

func GetTmallExchangeConsigngoodsAPIRequest added in v1.3.4

func GetTmallExchangeConsigngoodsAPIRequest() *TmallExchangeConsigngoodsAPIRequest

GetTmallExchangeConsigngoodsRequest 从 sync.Pool 获取 TmallExchangeConsigngoodsAPIRequest

func NewTmallExchangeConsigngoodsRequest

func NewTmallExchangeConsigngoodsRequest() *TmallExchangeConsigngoodsAPIRequest

NewTmallExchangeConsigngoodsRequest 初始化TmallExchangeConsigngoodsAPIRequest对象

func (TmallExchangeConsigngoodsAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallExchangeConsigngoodsAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallExchangeConsigngoodsAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallExchangeConsigngoodsAPIRequest) GetDisputeId added in v1.2.0

func (r TmallExchangeConsigngoodsAPIRequest) GetDisputeId() int64

GetDisputeId DisputeId Getter

func (TmallExchangeConsigngoodsAPIRequest) GetFields added in v1.2.0

GetFields Fields Getter

func (TmallExchangeConsigngoodsAPIRequest) GetLogisticsCompanyName added in v1.2.0

func (r TmallExchangeConsigngoodsAPIRequest) GetLogisticsCompanyName() string

GetLogisticsCompanyName LogisticsCompanyName Getter

func (TmallExchangeConsigngoodsAPIRequest) GetLogisticsNo added in v1.2.0

func (r TmallExchangeConsigngoodsAPIRequest) GetLogisticsNo() string

GetLogisticsNo LogisticsNo Getter

func (TmallExchangeConsigngoodsAPIRequest) GetLogisticsType added in v1.2.0

func (r TmallExchangeConsigngoodsAPIRequest) GetLogisticsType() int64

GetLogisticsType LogisticsType Getter

func (TmallExchangeConsigngoodsAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallExchangeConsigngoodsAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallExchangeConsigngoodsAPIRequest) SetDisputeId added in v1.2.0

func (r *TmallExchangeConsigngoodsAPIRequest) SetDisputeId(_disputeId int64) error

SetDisputeId is DisputeId Setter 换货单号ID

func (*TmallExchangeConsigngoodsAPIRequest) SetFields added in v1.2.0

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

SetFields is Fields Setter 返回字段

func (*TmallExchangeConsigngoodsAPIRequest) SetLogisticsCompanyName added in v1.2.0

func (r *TmallExchangeConsigngoodsAPIRequest) SetLogisticsCompanyName(_logisticsCompanyName string) error

SetLogisticsCompanyName is LogisticsCompanyName Setter 卖家发货的快递公司

func (*TmallExchangeConsigngoodsAPIRequest) SetLogisticsNo added in v1.2.0

func (r *TmallExchangeConsigngoodsAPIRequest) SetLogisticsNo(_logisticsNo string) error

SetLogisticsNo is LogisticsNo Setter 卖家发货的物流单号

func (*TmallExchangeConsigngoodsAPIRequest) SetLogisticsType added in v1.2.0

func (r *TmallExchangeConsigngoodsAPIRequest) SetLogisticsType(_logisticsType int64) error

SetLogisticsType is LogisticsType Setter 卖家发货的物流类型,100表示平邮,200表示快递

type TmallExchangeConsigngoodsAPIResponse

type TmallExchangeConsigngoodsAPIResponse struct {
	model.CommonResponse
	TmallExchangeConsigngoodsAPIResponseModel
}

TmallExchangeConsigngoodsAPIResponse 卖家发货 API返回值 tmall.exchange.consigngoods

卖家发货

func GetTmallExchangeConsigngoodsAPIResponse added in v1.3.4

func GetTmallExchangeConsigngoodsAPIResponse() *TmallExchangeConsigngoodsAPIResponse

GetTmallExchangeConsigngoodsAPIResponse 从 sync.Pool 获取 TmallExchangeConsigngoodsAPIResponse

func (*TmallExchangeConsigngoodsAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeConsigngoodsAPIResponseModel added in v1.2.0

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

TmallExchangeConsigngoodsAPIResponseModel is 卖家发货 成功返回结果

func (*TmallExchangeConsigngoodsAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeGetAPIRequest added in v1.2.0

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

TmallExchangeGetAPIRequest 获取单笔换货详情 API请求 tmall.exchange.get

获取单笔换货详情

func GetTmallExchangeGetAPIRequest added in v1.3.4

func GetTmallExchangeGetAPIRequest() *TmallExchangeGetAPIRequest

GetTmallExchangeGetRequest 从 sync.Pool 获取 TmallExchangeGetAPIRequest

func NewTmallExchangeGetRequest

func NewTmallExchangeGetRequest() *TmallExchangeGetAPIRequest

NewTmallExchangeGetRequest 初始化TmallExchangeGetAPIRequest对象

func (TmallExchangeGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallExchangeGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallExchangeGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallExchangeGetAPIRequest) GetDisputeId added in v1.2.0

func (r TmallExchangeGetAPIRequest) GetDisputeId() int64

GetDisputeId DisputeId Getter

func (TmallExchangeGetAPIRequest) GetFields added in v1.2.0

func (r TmallExchangeGetAPIRequest) GetFields() []string

GetFields Fields Getter

func (TmallExchangeGetAPIRequest) GetRawParams added in v1.2.8

func (r TmallExchangeGetAPIRequest) GetRawParams() model.Params

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

func (*TmallExchangeGetAPIRequest) Reset added in v1.3.4

func (r *TmallExchangeGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TmallExchangeGetAPIRequest) SetDisputeId added in v1.2.0

func (r *TmallExchangeGetAPIRequest) SetDisputeId(_disputeId int64) error

SetDisputeId is DisputeId Setter 换货单号ID

func (*TmallExchangeGetAPIRequest) SetFields added in v1.2.0

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

SetFields is Fields Setter 返回字段。目前支持dispute_id, bizorder_id, num, buyer_nick, status, created, modified, reason, title, buyer_logistic_no, seller_logistic_no, bought_sku, exchange_sku, buyer_address, address, buyer_phone, buyer_logistic_name, seller_logistic_name, alipay_no, buyer_name, seller_nick

type TmallExchangeGetAPIResponse

type TmallExchangeGetAPIResponse struct {
	model.CommonResponse
	TmallExchangeGetAPIResponseModel
}

TmallExchangeGetAPIResponse 获取单笔换货详情 API返回值 tmall.exchange.get

获取单笔换货详情

func GetTmallExchangeGetAPIResponse added in v1.3.4

func GetTmallExchangeGetAPIResponse() *TmallExchangeGetAPIResponse

GetTmallExchangeGetAPIResponse 从 sync.Pool 获取 TmallExchangeGetAPIResponse

func (*TmallExchangeGetAPIResponse) Reset added in v1.3.4

func (m *TmallExchangeGetAPIResponse) Reset()

Reset 清空结构体

type TmallExchangeGetAPIResponseModel added in v1.2.0

type TmallExchangeGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_exchange_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *ExchangeBaseResponse `json:"result,omitempty" xml:"result,omitempty"`
}

TmallExchangeGetAPIResponseModel is 获取单笔换货详情 成功返回结果

func (*TmallExchangeGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeMessageAddAPIRequest added in v1.2.0

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

TmallExchangeMessageAddAPIRequest 卖家创建换货留言 API请求 tmall.exchange.message.add

卖家创建换货留言

func GetTmallExchangeMessageAddAPIRequest added in v1.3.4

func GetTmallExchangeMessageAddAPIRequest() *TmallExchangeMessageAddAPIRequest

GetTmallExchangeMessageAddRequest 从 sync.Pool 获取 TmallExchangeMessageAddAPIRequest

func NewTmallExchangeMessageAddRequest

func NewTmallExchangeMessageAddRequest() *TmallExchangeMessageAddAPIRequest

NewTmallExchangeMessageAddRequest 初始化TmallExchangeMessageAddAPIRequest对象

func (TmallExchangeMessageAddAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallExchangeMessageAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallExchangeMessageAddAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallExchangeMessageAddAPIRequest) GetContent added in v1.2.0

GetContent Content Getter

func (TmallExchangeMessageAddAPIRequest) GetDisputeId added in v1.2.0

func (r TmallExchangeMessageAddAPIRequest) GetDisputeId() int64

GetDisputeId DisputeId Getter

func (TmallExchangeMessageAddAPIRequest) GetFields added in v1.2.0

func (r TmallExchangeMessageAddAPIRequest) GetFields() []string

GetFields Fields Getter

func (TmallExchangeMessageAddAPIRequest) GetMessagePics added in v1.2.0

func (r TmallExchangeMessageAddAPIRequest) GetMessagePics() *model.File

GetMessagePics MessagePics Getter

func (TmallExchangeMessageAddAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallExchangeMessageAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallExchangeMessageAddAPIRequest) SetContent added in v1.2.0

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

SetContent is Content Setter 留言内容

func (*TmallExchangeMessageAddAPIRequest) SetDisputeId added in v1.2.0

func (r *TmallExchangeMessageAddAPIRequest) SetDisputeId(_disputeId int64) error

SetDisputeId is DisputeId Setter 换货单号ID

func (*TmallExchangeMessageAddAPIRequest) SetFields added in v1.2.0

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

SetFields is Fields Setter 返回字段。目前支持id,refund_id,owner_id,owner_nick,owner_role,content,pic_urls,created,message_type

func (*TmallExchangeMessageAddAPIRequest) SetMessagePics added in v1.2.0

func (r *TmallExchangeMessageAddAPIRequest) SetMessagePics(_messagePics *model.File) error

SetMessagePics is MessagePics Setter 凭证图片列表

type TmallExchangeMessageAddAPIResponse

type TmallExchangeMessageAddAPIResponse struct {
	model.CommonResponse
	TmallExchangeMessageAddAPIResponseModel
}

TmallExchangeMessageAddAPIResponse 卖家创建换货留言 API返回值 tmall.exchange.message.add

卖家创建换货留言

func GetTmallExchangeMessageAddAPIResponse added in v1.3.4

func GetTmallExchangeMessageAddAPIResponse() *TmallExchangeMessageAddAPIResponse

GetTmallExchangeMessageAddAPIResponse 从 sync.Pool 获取 TmallExchangeMessageAddAPIResponse

func (*TmallExchangeMessageAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeMessageAddAPIResponseModel added in v1.2.0

type TmallExchangeMessageAddAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_exchange_message_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *TmallExchangeMessageAddResultSet `json:"result,omitempty" xml:"result,omitempty"`
}

TmallExchangeMessageAddAPIResponseModel is 卖家创建换货留言 成功返回结果

func (*TmallExchangeMessageAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeMessageAddResultSet

type TmallExchangeMessageAddResultSet struct {
	// 留言信息
	Results []RefundMessage `json:"results,omitempty" xml:"results>refund_message,omitempty"`
	// 异常信息
	Exception string `json:"exception,omitempty" xml:"exception,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

TmallExchangeMessageAddResultSet 结构体

func GetTmallExchangeMessageAddResultSet added in v1.3.4

func GetTmallExchangeMessageAddResultSet() *TmallExchangeMessageAddResultSet

GetTmallExchangeMessageAddResultSet() 从对象池中获取TmallExchangeMessageAddResultSet

type TmallExchangeMessagesGetAPIRequest added in v1.2.0

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

TmallExchangeMessagesGetAPIRequest 查询换货订单留言列表 API请求 tmall.exchange.messages.get

查询换货订单留言列表

func GetTmallExchangeMessagesGetAPIRequest added in v1.3.4

func GetTmallExchangeMessagesGetAPIRequest() *TmallExchangeMessagesGetAPIRequest

GetTmallExchangeMessagesGetRequest 从 sync.Pool 获取 TmallExchangeMessagesGetAPIRequest

func NewTmallExchangeMessagesGetRequest

func NewTmallExchangeMessagesGetRequest() *TmallExchangeMessagesGetAPIRequest

NewTmallExchangeMessagesGetRequest 初始化TmallExchangeMessagesGetAPIRequest对象

func (TmallExchangeMessagesGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallExchangeMessagesGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallExchangeMessagesGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallExchangeMessagesGetAPIRequest) GetDisputeId added in v1.2.0

func (r TmallExchangeMessagesGetAPIRequest) GetDisputeId() int64

GetDisputeId DisputeId Getter

func (TmallExchangeMessagesGetAPIRequest) GetFields added in v1.2.0

GetFields Fields Getter

func (TmallExchangeMessagesGetAPIRequest) GetOperatorRoles added in v1.2.0

func (r TmallExchangeMessagesGetAPIRequest) GetOperatorRoles() []string

GetOperatorRoles OperatorRoles Getter

func (TmallExchangeMessagesGetAPIRequest) GetPageNo added in v1.2.0

GetPageNo PageNo Getter

func (TmallExchangeMessagesGetAPIRequest) GetPageSize added in v1.2.0

func (r TmallExchangeMessagesGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TmallExchangeMessagesGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallExchangeMessagesGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallExchangeMessagesGetAPIRequest) SetDisputeId added in v1.2.0

func (r *TmallExchangeMessagesGetAPIRequest) SetDisputeId(_disputeId int64) error

SetDisputeId is DisputeId Setter 换货单号ID

func (*TmallExchangeMessagesGetAPIRequest) SetFields added in v1.2.0

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

SetFields is Fields Setter 返回的字段。具体包括:id,refund_id,owner_id,owner_nick,owner_role,content,pic_urls,created,message_type

func (*TmallExchangeMessagesGetAPIRequest) SetOperatorRoles added in v1.2.0

func (r *TmallExchangeMessagesGetAPIRequest) SetOperatorRoles(_operatorRoles []string) error

SetOperatorRoles is OperatorRoles Setter 留言创建角色。具体包括:卖家主账户(1)、卖家子账户(2)、小二(3)、买家(4)、系统(5)、系统超时(6)

func (*TmallExchangeMessagesGetAPIRequest) SetPageNo added in v1.2.0

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

SetPageNo is PageNo Setter 页码

func (*TmallExchangeMessagesGetAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 每页条数

type TmallExchangeMessagesGetAPIResponse

type TmallExchangeMessagesGetAPIResponse struct {
	model.CommonResponse
	TmallExchangeMessagesGetAPIResponseModel
}

TmallExchangeMessagesGetAPIResponse 查询换货订单留言列表 API返回值 tmall.exchange.messages.get

查询换货订单留言列表

func GetTmallExchangeMessagesGetAPIResponse added in v1.3.4

func GetTmallExchangeMessagesGetAPIResponse() *TmallExchangeMessagesGetAPIResponse

GetTmallExchangeMessagesGetAPIResponse 从 sync.Pool 获取 TmallExchangeMessagesGetAPIResponse

func (*TmallExchangeMessagesGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeMessagesGetAPIResponseModel added in v1.2.0

type TmallExchangeMessagesGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_exchange_messages_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *RefundMessageResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallExchangeMessagesGetAPIResponseModel is 查询换货订单留言列表 成功返回结果

func (*TmallExchangeMessagesGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeReceiveGetAPIRequest added in v1.2.0

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

TmallExchangeReceiveGetAPIRequest 卖家查询换货列表 API请求 tmall.exchange.receive.get

卖家查询换货列表

func GetTmallExchangeReceiveGetAPIRequest added in v1.3.4

func GetTmallExchangeReceiveGetAPIRequest() *TmallExchangeReceiveGetAPIRequest

GetTmallExchangeReceiveGetRequest 从 sync.Pool 获取 TmallExchangeReceiveGetAPIRequest

func NewTmallExchangeReceiveGetRequest

func NewTmallExchangeReceiveGetRequest() *TmallExchangeReceiveGetAPIRequest

NewTmallExchangeReceiveGetRequest 初始化TmallExchangeReceiveGetAPIRequest对象

func (TmallExchangeReceiveGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallExchangeReceiveGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallExchangeReceiveGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallExchangeReceiveGetAPIRequest) GetBizOrderId added in v1.2.0

func (r TmallExchangeReceiveGetAPIRequest) GetBizOrderId() int64

GetBizOrderId BizOrderId Getter

func (TmallExchangeReceiveGetAPIRequest) GetBuyerNick added in v1.2.0

func (r TmallExchangeReceiveGetAPIRequest) GetBuyerNick() string

GetBuyerNick BuyerNick Getter

func (TmallExchangeReceiveGetAPIRequest) GetBuyerOpenUid added in v1.2.5

func (r TmallExchangeReceiveGetAPIRequest) GetBuyerOpenUid() string

GetBuyerOpenUid BuyerOpenUid Getter

func (TmallExchangeReceiveGetAPIRequest) GetDisputeStatusArray added in v1.2.0

func (r TmallExchangeReceiveGetAPIRequest) GetDisputeStatusArray() []string

GetDisputeStatusArray DisputeStatusArray Getter

func (TmallExchangeReceiveGetAPIRequest) GetEndCreatedTime added in v1.2.0

func (r TmallExchangeReceiveGetAPIRequest) GetEndCreatedTime() string

GetEndCreatedTime EndCreatedTime Getter

func (TmallExchangeReceiveGetAPIRequest) GetEndGmtModifedTime added in v1.2.0

func (r TmallExchangeReceiveGetAPIRequest) GetEndGmtModifedTime() string

GetEndGmtModifedTime EndGmtModifedTime Getter

func (TmallExchangeReceiveGetAPIRequest) GetFields added in v1.2.0

func (r TmallExchangeReceiveGetAPIRequest) GetFields() []string

GetFields Fields Getter

func (TmallExchangeReceiveGetAPIRequest) GetLogisticNo added in v1.2.0

func (r TmallExchangeReceiveGetAPIRequest) GetLogisticNo() string

GetLogisticNo LogisticNo Getter

func (TmallExchangeReceiveGetAPIRequest) GetPageNo added in v1.2.0

GetPageNo PageNo Getter

func (TmallExchangeReceiveGetAPIRequest) GetPageSize added in v1.2.0

func (r TmallExchangeReceiveGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TmallExchangeReceiveGetAPIRequest) GetRawParams added in v1.2.8

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

func (TmallExchangeReceiveGetAPIRequest) GetRefundIdArray added in v1.2.0

func (r TmallExchangeReceiveGetAPIRequest) GetRefundIdArray() []string

GetRefundIdArray RefundIdArray Getter

func (TmallExchangeReceiveGetAPIRequest) GetStartCreatedTime added in v1.2.0

func (r TmallExchangeReceiveGetAPIRequest) GetStartCreatedTime() string

GetStartCreatedTime StartCreatedTime Getter

func (TmallExchangeReceiveGetAPIRequest) GetStartGmtModifiedTime added in v1.2.0

func (r TmallExchangeReceiveGetAPIRequest) GetStartGmtModifiedTime() string

GetStartGmtModifiedTime StartGmtModifiedTime Getter

func (*TmallExchangeReceiveGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallExchangeReceiveGetAPIRequest) SetBizOrderId added in v1.2.0

func (r *TmallExchangeReceiveGetAPIRequest) SetBizOrderId(_bizOrderId int64) error

SetBizOrderId is BizOrderId Setter 正向订单号

func (*TmallExchangeReceiveGetAPIRequest) SetBuyerNick added in v1.2.0

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

SetBuyerNick is BuyerNick Setter 买家昵称

func (*TmallExchangeReceiveGetAPIRequest) SetBuyerOpenUid added in v1.2.5

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

SetBuyerOpenUid is BuyerOpenUid Setter 买家的openId

func (*TmallExchangeReceiveGetAPIRequest) SetDisputeStatusArray added in v1.2.0

func (r *TmallExchangeReceiveGetAPIRequest) SetDisputeStatusArray(_disputeStatusArray []string) error

SetDisputeStatusArray is DisputeStatusArray Setter 换货状态,具体包括:换货待处理(1), 待买家退货(2), 买家已退货,待收货(3), 换货关闭(4), 换货成功(5), 待买家修改(6), 待发出换货商品(12), 待买家收货(13), 请退款(14)

func (*TmallExchangeReceiveGetAPIRequest) SetEndCreatedTime added in v1.2.0

func (r *TmallExchangeReceiveGetAPIRequest) SetEndCreatedTime(_endCreatedTime string) error

SetEndCreatedTime is EndCreatedTime Setter 查询申请时间段的结束时间点

func (*TmallExchangeReceiveGetAPIRequest) SetEndGmtModifedTime added in v1.2.0

func (r *TmallExchangeReceiveGetAPIRequest) SetEndGmtModifedTime(_endGmtModifedTime string) error

SetEndGmtModifedTime is EndGmtModifedTime Setter 查询修改时间段的结束时间点

func (*TmallExchangeReceiveGetAPIRequest) SetFields added in v1.2.0

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

SetFields is Fields Setter 返回字段。目前支持dispute_id, bizorder_id, num, buyer_nick, status, created, modified, reason, title, buyer_logistic_no, seller_logistic_no, bought_sku, exchange_sku, buyer_address, address, buyer_phone, buyer_logistic_name, seller_logistic_name, alipay_no, buyer_name, seller_nick

func (*TmallExchangeReceiveGetAPIRequest) SetLogisticNo added in v1.2.0

func (r *TmallExchangeReceiveGetAPIRequest) SetLogisticNo(_logisticNo string) error

SetLogisticNo is LogisticNo Setter 快递单号

func (*TmallExchangeReceiveGetAPIRequest) SetPageNo added in v1.2.0

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

SetPageNo is PageNo Setter 页码

func (*TmallExchangeReceiveGetAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 每页条数

func (*TmallExchangeReceiveGetAPIRequest) SetRefundIdArray added in v1.2.0

func (r *TmallExchangeReceiveGetAPIRequest) SetRefundIdArray(_refundIdArray []string) error

SetRefundIdArray is RefundIdArray Setter 退款单号ID列表,最多只能输入20个id

func (*TmallExchangeReceiveGetAPIRequest) SetStartCreatedTime added in v1.2.0

func (r *TmallExchangeReceiveGetAPIRequest) SetStartCreatedTime(_startCreatedTime string) error

SetStartCreatedTime is StartCreatedTime Setter 查询申请时间段的开始时间点

func (*TmallExchangeReceiveGetAPIRequest) SetStartGmtModifiedTime added in v1.2.0

func (r *TmallExchangeReceiveGetAPIRequest) SetStartGmtModifiedTime(_startGmtModifiedTime string) error

SetStartGmtModifiedTime is StartGmtModifiedTime Setter 查询修改时间段的开始时间点

type TmallExchangeReceiveGetAPIResponse

type TmallExchangeReceiveGetAPIResponse struct {
	model.CommonResponse
	TmallExchangeReceiveGetAPIResponseModel
}

TmallExchangeReceiveGetAPIResponse 卖家查询换货列表 API返回值 tmall.exchange.receive.get

卖家查询换货列表

func GetTmallExchangeReceiveGetAPIResponse added in v1.3.4

func GetTmallExchangeReceiveGetAPIResponse() *TmallExchangeReceiveGetAPIResponse

GetTmallExchangeReceiveGetAPIResponse 从 sync.Pool 获取 TmallExchangeReceiveGetAPIResponse

func (*TmallExchangeReceiveGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeReceiveGetAPIResponseModel added in v1.2.0

type TmallExchangeReceiveGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_exchange_receive_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Results []Exchange `json:"results,omitempty" xml:"results>exchange,omitempty"`
	// 错误码
	ErrorCodes string `json:"error_codes,omitempty" xml:"error_codes,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"`
}

TmallExchangeReceiveGetAPIResponseModel is 卖家查询换货列表 成功返回结果

func (*TmallExchangeReceiveGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeRefuseAPIRequest added in v1.2.0

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

TmallExchangeRefuseAPIRequest 卖家拒绝换货申请 API请求 tmall.exchange.refuse

卖家拒绝换货申请

func GetTmallExchangeRefuseAPIRequest added in v1.3.4

func GetTmallExchangeRefuseAPIRequest() *TmallExchangeRefuseAPIRequest

GetTmallExchangeRefuseRequest 从 sync.Pool 获取 TmallExchangeRefuseAPIRequest

func NewTmallExchangeRefuseRequest

func NewTmallExchangeRefuseRequest() *TmallExchangeRefuseAPIRequest

NewTmallExchangeRefuseRequest 初始化TmallExchangeRefuseAPIRequest对象

func (TmallExchangeRefuseAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallExchangeRefuseAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallExchangeRefuseAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallExchangeRefuseAPIRequest) GetDisputeId added in v1.2.0

func (r TmallExchangeRefuseAPIRequest) GetDisputeId() int64

GetDisputeId DisputeId Getter

func (TmallExchangeRefuseAPIRequest) GetFields added in v1.2.0

func (r TmallExchangeRefuseAPIRequest) GetFields() []string

GetFields Fields Getter

func (TmallExchangeRefuseAPIRequest) GetLeaveMessage added in v1.2.0

func (r TmallExchangeRefuseAPIRequest) GetLeaveMessage() string

GetLeaveMessage LeaveMessage Getter

func (TmallExchangeRefuseAPIRequest) GetLeaveMessagePics added in v1.2.0

func (r TmallExchangeRefuseAPIRequest) GetLeaveMessagePics() *model.File

GetLeaveMessagePics LeaveMessagePics Getter

func (TmallExchangeRefuseAPIRequest) GetRawParams added in v1.2.8

func (r TmallExchangeRefuseAPIRequest) GetRawParams() model.Params

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

func (TmallExchangeRefuseAPIRequest) GetSellerRefuseReasonId added in v1.2.0

func (r TmallExchangeRefuseAPIRequest) GetSellerRefuseReasonId() int64

GetSellerRefuseReasonId SellerRefuseReasonId Getter

func (*TmallExchangeRefuseAPIRequest) Reset added in v1.3.4

func (r *TmallExchangeRefuseAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TmallExchangeRefuseAPIRequest) SetDisputeId added in v1.2.0

func (r *TmallExchangeRefuseAPIRequest) SetDisputeId(_disputeId int64) error

SetDisputeId is DisputeId Setter 换货单号ID

func (*TmallExchangeRefuseAPIRequest) SetFields added in v1.2.0

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

SetFields is Fields Setter 返回字段。目前支持dispute_id, bizorder_id, modified, status

func (*TmallExchangeRefuseAPIRequest) SetLeaveMessage added in v1.2.0

func (r *TmallExchangeRefuseAPIRequest) SetLeaveMessage(_leaveMessage string) error

SetLeaveMessage is LeaveMessage Setter 拒绝换货申请时的留言

func (*TmallExchangeRefuseAPIRequest) SetLeaveMessagePics added in v1.2.0

func (r *TmallExchangeRefuseAPIRequest) SetLeaveMessagePics(_leaveMessagePics *model.File) error

SetLeaveMessagePics is LeaveMessagePics Setter 凭证图片

func (*TmallExchangeRefuseAPIRequest) SetSellerRefuseReasonId added in v1.2.0

func (r *TmallExchangeRefuseAPIRequest) SetSellerRefuseReasonId(_sellerRefuseReasonId int64) error

SetSellerRefuseReasonId is SellerRefuseReasonId Setter 换货原因对应ID

type TmallExchangeRefuseAPIResponse

type TmallExchangeRefuseAPIResponse struct {
	model.CommonResponse
	TmallExchangeRefuseAPIResponseModel
}

TmallExchangeRefuseAPIResponse 卖家拒绝换货申请 API返回值 tmall.exchange.refuse

卖家拒绝换货申请

func GetTmallExchangeRefuseAPIResponse added in v1.3.4

func GetTmallExchangeRefuseAPIResponse() *TmallExchangeRefuseAPIResponse

GetTmallExchangeRefuseAPIResponse 从 sync.Pool 获取 TmallExchangeRefuseAPIResponse

func (*TmallExchangeRefuseAPIResponse) Reset added in v1.3.4

func (m *TmallExchangeRefuseAPIResponse) Reset()

Reset 清空结构体

type TmallExchangeRefuseAPIResponseModel added in v1.2.0

type TmallExchangeRefuseAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_exchange_refuse_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *ExchangeBaseResponse `json:"result,omitempty" xml:"result,omitempty"`
}

TmallExchangeRefuseAPIResponseModel is 卖家拒绝换货申请 成功返回结果

func (*TmallExchangeRefuseAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeRefusereasonGetAPIRequest added in v1.2.0

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

TmallExchangeRefusereasonGetAPIRequest 获取拒绝换货原因列表 API请求 tmall.exchange.refusereason.get

获取拒绝换货原因列表

func GetTmallExchangeRefusereasonGetAPIRequest added in v1.3.4

func GetTmallExchangeRefusereasonGetAPIRequest() *TmallExchangeRefusereasonGetAPIRequest

GetTmallExchangeRefusereasonGetRequest 从 sync.Pool 获取 TmallExchangeRefusereasonGetAPIRequest

func NewTmallExchangeRefusereasonGetRequest

func NewTmallExchangeRefusereasonGetRequest() *TmallExchangeRefusereasonGetAPIRequest

NewTmallExchangeRefusereasonGetRequest 初始化TmallExchangeRefusereasonGetAPIRequest对象

func (TmallExchangeRefusereasonGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallExchangeRefusereasonGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallExchangeRefusereasonGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallExchangeRefusereasonGetAPIRequest) GetDisputeId added in v1.2.0

GetDisputeId DisputeId Getter

func (TmallExchangeRefusereasonGetAPIRequest) GetDisputeType added in v1.2.0

func (r TmallExchangeRefusereasonGetAPIRequest) GetDisputeType() int64

GetDisputeType DisputeType Getter

func (TmallExchangeRefusereasonGetAPIRequest) GetFields added in v1.2.0

GetFields Fields Getter

func (TmallExchangeRefusereasonGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallExchangeRefusereasonGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallExchangeRefusereasonGetAPIRequest) SetDisputeId added in v1.2.0

func (r *TmallExchangeRefusereasonGetAPIRequest) SetDisputeId(_disputeId int64) error

SetDisputeId is DisputeId Setter 换货单号ID

func (*TmallExchangeRefusereasonGetAPIRequest) SetDisputeType added in v1.2.0

func (r *TmallExchangeRefusereasonGetAPIRequest) SetDisputeType(_disputeType int64) error

SetDisputeType is DisputeType Setter 换货申请类型:0-任意类型;1-售中;2-售后

func (*TmallExchangeRefusereasonGetAPIRequest) SetFields added in v1.2.0

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

SetFields is Fields Setter 返回字段

type TmallExchangeRefusereasonGetAPIResponse

type TmallExchangeRefusereasonGetAPIResponse struct {
	model.CommonResponse
	TmallExchangeRefusereasonGetAPIResponseModel
}

TmallExchangeRefusereasonGetAPIResponse 获取拒绝换货原因列表 API返回值 tmall.exchange.refusereason.get

获取拒绝换货原因列表

func GetTmallExchangeRefusereasonGetAPIResponse added in v1.3.4

func GetTmallExchangeRefusereasonGetAPIResponse() *TmallExchangeRefusereasonGetAPIResponse

GetTmallExchangeRefusereasonGetAPIResponse 从 sync.Pool 获取 TmallExchangeRefusereasonGetAPIResponse

func (*TmallExchangeRefusereasonGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeRefusereasonGetAPIResponseModel added in v1.2.0

type TmallExchangeRefusereasonGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_exchange_refusereason_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *TmallExchangeRefusereasonGetResultSet `json:"result,omitempty" xml:"result,omitempty"`
}

TmallExchangeRefusereasonGetAPIResponseModel is 获取拒绝换货原因列表 成功返回结果

func (*TmallExchangeRefusereasonGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeRefusereasonGetResultSet

type TmallExchangeRefusereasonGetResultSet struct {
	// 拒绝原因列表
	Results []Reason `json:"results,omitempty" xml:"results>reason,omitempty"`
	// 异常信息
	Exception string `json:"exception,omitempty" xml:"exception,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 拒绝原因总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

TmallExchangeRefusereasonGetResultSet 结构体

func GetTmallExchangeRefusereasonGetResultSet added in v1.3.4

func GetTmallExchangeRefusereasonGetResultSet() *TmallExchangeRefusereasonGetResultSet

GetTmallExchangeRefusereasonGetResultSet() 从对象池中获取TmallExchangeRefusereasonGetResultSet

type TmallExchangeReturngoodsAgreeAPIRequest added in v1.2.0

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

TmallExchangeReturngoodsAgreeAPIRequest 卖家确认收货 API请求 tmall.exchange.returngoods.agree

卖家确认收货

func GetTmallExchangeReturngoodsAgreeAPIRequest added in v1.3.4

func GetTmallExchangeReturngoodsAgreeAPIRequest() *TmallExchangeReturngoodsAgreeAPIRequest

GetTmallExchangeReturngoodsAgreeRequest 从 sync.Pool 获取 TmallExchangeReturngoodsAgreeAPIRequest

func NewTmallExchangeReturngoodsAgreeRequest

func NewTmallExchangeReturngoodsAgreeRequest() *TmallExchangeReturngoodsAgreeAPIRequest

NewTmallExchangeReturngoodsAgreeRequest 初始化TmallExchangeReturngoodsAgreeAPIRequest对象

func (TmallExchangeReturngoodsAgreeAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallExchangeReturngoodsAgreeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallExchangeReturngoodsAgreeAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallExchangeReturngoodsAgreeAPIRequest) GetDisputeId added in v1.2.0

GetDisputeId DisputeId Getter

func (TmallExchangeReturngoodsAgreeAPIRequest) GetFields added in v1.2.0

GetFields Fields Getter

func (TmallExchangeReturngoodsAgreeAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallExchangeReturngoodsAgreeAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallExchangeReturngoodsAgreeAPIRequest) SetDisputeId added in v1.2.0

func (r *TmallExchangeReturngoodsAgreeAPIRequest) SetDisputeId(_disputeId int64) error

SetDisputeId is DisputeId Setter 换货单号ID

func (*TmallExchangeReturngoodsAgreeAPIRequest) SetFields added in v1.2.0

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

SetFields is Fields Setter 返回字段。目前支持dispute_id(换货单号ID),bizorder_id(正向交易单号ID), modified(订单修改时间), status(当前换货状态)

type TmallExchangeReturngoodsAgreeAPIResponse

type TmallExchangeReturngoodsAgreeAPIResponse struct {
	model.CommonResponse
	TmallExchangeReturngoodsAgreeAPIResponseModel
}

TmallExchangeReturngoodsAgreeAPIResponse 卖家确认收货 API返回值 tmall.exchange.returngoods.agree

卖家确认收货

func GetTmallExchangeReturngoodsAgreeAPIResponse added in v1.3.4

func GetTmallExchangeReturngoodsAgreeAPIResponse() *TmallExchangeReturngoodsAgreeAPIResponse

GetTmallExchangeReturngoodsAgreeAPIResponse 从 sync.Pool 获取 TmallExchangeReturngoodsAgreeAPIResponse

func (*TmallExchangeReturngoodsAgreeAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeReturngoodsAgreeAPIResponseModel added in v1.2.0

type TmallExchangeReturngoodsAgreeAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_exchange_returngoods_agree_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *ExchangeBaseResponse `json:"result,omitempty" xml:"result,omitempty"`
}

TmallExchangeReturngoodsAgreeAPIResponseModel is 卖家确认收货 成功返回结果

func (*TmallExchangeReturngoodsAgreeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeReturngoodsRefuseAPIRequest added in v1.2.0

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

TmallExchangeReturngoodsRefuseAPIRequest 卖家拒绝确认收货 API请求 tmall.exchange.returngoods.refuse

卖家拒绝买家换货申请

func GetTmallExchangeReturngoodsRefuseAPIRequest added in v1.3.4

func GetTmallExchangeReturngoodsRefuseAPIRequest() *TmallExchangeReturngoodsRefuseAPIRequest

GetTmallExchangeReturngoodsRefuseRequest 从 sync.Pool 获取 TmallExchangeReturngoodsRefuseAPIRequest

func NewTmallExchangeReturngoodsRefuseRequest

func NewTmallExchangeReturngoodsRefuseRequest() *TmallExchangeReturngoodsRefuseAPIRequest

NewTmallExchangeReturngoodsRefuseRequest 初始化TmallExchangeReturngoodsRefuseAPIRequest对象

func (TmallExchangeReturngoodsRefuseAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallExchangeReturngoodsRefuseAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallExchangeReturngoodsRefuseAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallExchangeReturngoodsRefuseAPIRequest) GetDisputeId added in v1.2.0

GetDisputeId DisputeId Getter

func (TmallExchangeReturngoodsRefuseAPIRequest) GetLeaveMessage added in v1.2.0

GetLeaveMessage LeaveMessage Getter

func (TmallExchangeReturngoodsRefuseAPIRequest) GetLeaveMessagePics added in v1.2.0

func (r TmallExchangeReturngoodsRefuseAPIRequest) GetLeaveMessagePics() *model.File

GetLeaveMessagePics LeaveMessagePics Getter

func (TmallExchangeReturngoodsRefuseAPIRequest) GetRawParams added in v1.2.8

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

func (TmallExchangeReturngoodsRefuseAPIRequest) GetSellerRefuseReasonId added in v1.2.0

func (r TmallExchangeReturngoodsRefuseAPIRequest) GetSellerRefuseReasonId() int64

GetSellerRefuseReasonId SellerRefuseReasonId Getter

func (*TmallExchangeReturngoodsRefuseAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallExchangeReturngoodsRefuseAPIRequest) SetDisputeId added in v1.2.0

func (r *TmallExchangeReturngoodsRefuseAPIRequest) SetDisputeId(_disputeId int64) error

SetDisputeId is DisputeId Setter 换货单号ID

func (*TmallExchangeReturngoodsRefuseAPIRequest) SetLeaveMessage added in v1.2.0

func (r *TmallExchangeReturngoodsRefuseAPIRequest) SetLeaveMessage(_leaveMessage string) error

SetLeaveMessage is LeaveMessage Setter 留言说明

func (*TmallExchangeReturngoodsRefuseAPIRequest) SetLeaveMessagePics added in v1.2.0

func (r *TmallExchangeReturngoodsRefuseAPIRequest) SetLeaveMessagePics(_leaveMessagePics *model.File) error

SetLeaveMessagePics is LeaveMessagePics Setter 凭证图片

func (*TmallExchangeReturngoodsRefuseAPIRequest) SetSellerRefuseReasonId added in v1.2.0

func (r *TmallExchangeReturngoodsRefuseAPIRequest) SetSellerRefuseReasonId(_sellerRefuseReasonId int64) error

SetSellerRefuseReasonId is SellerRefuseReasonId Setter 拒绝原因ID

type TmallExchangeReturngoodsRefuseAPIResponse

type TmallExchangeReturngoodsRefuseAPIResponse struct {
	model.CommonResponse
	TmallExchangeReturngoodsRefuseAPIResponseModel
}

TmallExchangeReturngoodsRefuseAPIResponse 卖家拒绝确认收货 API返回值 tmall.exchange.returngoods.refuse

卖家拒绝买家换货申请

func GetTmallExchangeReturngoodsRefuseAPIResponse added in v1.3.4

func GetTmallExchangeReturngoodsRefuseAPIResponse() *TmallExchangeReturngoodsRefuseAPIResponse

GetTmallExchangeReturngoodsRefuseAPIResponse 从 sync.Pool 获取 TmallExchangeReturngoodsRefuseAPIResponse

func (*TmallExchangeReturngoodsRefuseAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallExchangeReturngoodsRefuseAPIResponseModel added in v1.2.0

type TmallExchangeReturngoodsRefuseAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_exchange_returngoods_refuse_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *ExchangeBaseResponse `json:"result,omitempty" xml:"result,omitempty"`
}

TmallExchangeReturngoodsRefuseAPIResponseModel is 卖家拒绝确认收货 成功返回结果

func (*TmallExchangeReturngoodsRefuseAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

Jump to

Keyboard shortcuts

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