Documentation
¶
Overview ¶
Package exchange 包含换货API相关结构体
Index ¶
- type Exchange
- type ExchangeBaseResponse
- type PicUrl
- type Reason
- type RefundBaseResponse
- type RefundMessage
- type RefundMessageResult
- type TmallexchangeagreeAPIRequest
- func (r TmallexchangeagreeAPIRequest) GetAddressId() int64
- func (r TmallexchangeagreeAPIRequest) GetApiMethodName() string
- func (r TmallexchangeagreeAPIRequest) GetApiParams(params url.Values)
- func (r TmallexchangeagreeAPIRequest) GetCompleteAddress() string
- func (r TmallexchangeagreeAPIRequest) GetDisputeId() int64
- func (r TmallexchangeagreeAPIRequest) GetFields() []string
- func (r TmallexchangeagreeAPIRequest) GetLeaveMessage() string
- func (r TmallexchangeagreeAPIRequest) GetLeaveMessagePics() *model.File
- func (r TmallexchangeagreeAPIRequest) GetMobile() string
- func (r TmallexchangeagreeAPIRequest) GetPost() string
- func (r TmallexchangeagreeAPIRequest) GetRawParams() model.Params
- func (r *TmallexchangeagreeAPIRequest) SetAddressId(_addressId int64) error
- func (r *TmallexchangeagreeAPIRequest) SetCompleteAddress(_completeAddress string) error
- func (r *TmallexchangeagreeAPIRequest) SetDisputeId(_disputeId int64) error
- func (r *TmallexchangeagreeAPIRequest) SetFields(_fields []string) error
- func (r *TmallexchangeagreeAPIRequest) SetLeaveMessage(_leaveMessage string) error
- func (r *TmallexchangeagreeAPIRequest) SetLeaveMessagePics(_leaveMessagePics *model.File) error
- func (r *TmallexchangeagreeAPIRequest) SetMobile(_mobile string) error
- func (r *TmallexchangeagreeAPIRequest) SetPost(_post string) error
- type TmallexchangeagreeAPIResponse
- type TmallexchangeagreeAPIResponseModel
- type TmallexchangeconfirmconsignAPIRequest
- func (r TmallexchangeconfirmconsignAPIRequest) GetApiMethodName() string
- func (r TmallexchangeconfirmconsignAPIRequest) GetApiParams(params url.Values)
- func (r TmallexchangeconfirmconsignAPIRequest) GetDisputeId() int64
- func (r TmallexchangeconfirmconsignAPIRequest) GetFields() []string
- func (r TmallexchangeconfirmconsignAPIRequest) GetLogisticsCompanyName() string
- func (r TmallexchangeconfirmconsignAPIRequest) GetLogisticsNo() string
- func (r TmallexchangeconfirmconsignAPIRequest) GetLogisticsType() int64
- func (r TmallexchangeconfirmconsignAPIRequest) GetRawParams() model.Params
- func (r *TmallexchangeconfirmconsignAPIRequest) SetDisputeId(_disputeId int64) error
- func (r *TmallexchangeconfirmconsignAPIRequest) SetFields(_fields []string) error
- func (r *TmallexchangeconfirmconsignAPIRequest) SetLogisticsCompanyName(_logisticsCompanyName string) error
- func (r *TmallexchangeconfirmconsignAPIRequest) SetLogisticsNo(_logisticsNo string) error
- func (r *TmallexchangeconfirmconsignAPIRequest) SetLogisticsType(_logisticsType int64) error
- type TmallexchangeconfirmconsignAPIResponse
- type TmallexchangeconfirmconsignAPIResponseModel
- type TmallexchangeconsigngoodsAPIRequest
- func (r TmallexchangeconsigngoodsAPIRequest) GetApiMethodName() string
- func (r TmallexchangeconsigngoodsAPIRequest) GetApiParams(params url.Values)
- func (r TmallexchangeconsigngoodsAPIRequest) GetDisputeId() int64
- func (r TmallexchangeconsigngoodsAPIRequest) GetFields() []string
- func (r TmallexchangeconsigngoodsAPIRequest) GetLogisticsCompanyName() string
- func (r TmallexchangeconsigngoodsAPIRequest) GetLogisticsNo() string
- func (r TmallexchangeconsigngoodsAPIRequest) GetLogisticsType() int64
- func (r TmallexchangeconsigngoodsAPIRequest) GetRawParams() model.Params
- func (r *TmallexchangeconsigngoodsAPIRequest) SetDisputeId(_disputeId int64) error
- func (r *TmallexchangeconsigngoodsAPIRequest) SetFields(_fields []string) error
- func (r *TmallexchangeconsigngoodsAPIRequest) SetLogisticsCompanyName(_logisticsCompanyName string) error
- func (r *TmallexchangeconsigngoodsAPIRequest) SetLogisticsNo(_logisticsNo string) error
- func (r *TmallexchangeconsigngoodsAPIRequest) SetLogisticsType(_logisticsType int64) error
- type TmallexchangeconsigngoodsAPIResponse
- type TmallexchangeconsigngoodsAPIResponseModel
- type TmallexchangegetAPIRequest
- func (r TmallexchangegetAPIRequest) GetApiMethodName() string
- func (r TmallexchangegetAPIRequest) GetApiParams(params url.Values)
- func (r TmallexchangegetAPIRequest) GetDisputeId() int64
- func (r TmallexchangegetAPIRequest) GetFields() []string
- func (r TmallexchangegetAPIRequest) GetRawParams() model.Params
- func (r *TmallexchangegetAPIRequest) SetDisputeId(_disputeId int64) error
- func (r *TmallexchangegetAPIRequest) SetFields(_fields []string) error
- type TmallexchangegetAPIResponse
- type TmallexchangegetAPIResponseModel
- type TmallexchangemessageaddAPIRequest
- func (r TmallexchangemessageaddAPIRequest) GetApiMethodName() string
- func (r TmallexchangemessageaddAPIRequest) GetApiParams(params url.Values)
- func (r TmallexchangemessageaddAPIRequest) GetContent() string
- func (r TmallexchangemessageaddAPIRequest) GetDisputeId() int64
- func (r TmallexchangemessageaddAPIRequest) GetFields() []string
- func (r TmallexchangemessageaddAPIRequest) GetMessagePics() *model.File
- func (r TmallexchangemessageaddAPIRequest) GetRawParams() model.Params
- func (r *TmallexchangemessageaddAPIRequest) SetContent(_content string) error
- func (r *TmallexchangemessageaddAPIRequest) SetDisputeId(_disputeId int64) error
- func (r *TmallexchangemessageaddAPIRequest) SetFields(_fields []string) error
- func (r *TmallexchangemessageaddAPIRequest) SetMessagePics(_messagePics *model.File) error
- type TmallexchangemessageaddAPIResponse
- type TmallexchangemessageaddAPIResponseModel
- type TmallexchangemessageaddResultSet
- type TmallexchangemessagesgetAPIRequest
- func (r TmallexchangemessagesgetAPIRequest) GetApiMethodName() string
- func (r TmallexchangemessagesgetAPIRequest) GetApiParams(params url.Values)
- func (r TmallexchangemessagesgetAPIRequest) GetDisputeId() int64
- func (r TmallexchangemessagesgetAPIRequest) GetFields() []string
- func (r TmallexchangemessagesgetAPIRequest) GetOperatorRoles() []string
- func (r TmallexchangemessagesgetAPIRequest) GetPageNo() int64
- func (r TmallexchangemessagesgetAPIRequest) GetPageSize() int64
- func (r TmallexchangemessagesgetAPIRequest) GetRawParams() model.Params
- func (r *TmallexchangemessagesgetAPIRequest) SetDisputeId(_disputeId int64) error
- func (r *TmallexchangemessagesgetAPIRequest) SetFields(_fields []string) error
- func (r *TmallexchangemessagesgetAPIRequest) SetOperatorRoles(_operatorRoles []string) error
- func (r *TmallexchangemessagesgetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TmallexchangemessagesgetAPIRequest) SetPageSize(_pageSize int64) error
- type TmallexchangemessagesgetAPIResponse
- type TmallexchangemessagesgetAPIResponseModel
- type TmallexchangereceivegetAPIRequest
- func (r TmallexchangereceivegetAPIRequest) GetApiMethodName() string
- func (r TmallexchangereceivegetAPIRequest) GetApiParams(params url.Values)
- func (r TmallexchangereceivegetAPIRequest) GetBizOrderId() int64
- func (r TmallexchangereceivegetAPIRequest) GetBuyerNick() string
- func (r TmallexchangereceivegetAPIRequest) GetBuyerOpenUid() string
- func (r TmallexchangereceivegetAPIRequest) GetDisputeStatusArray() []string
- func (r TmallexchangereceivegetAPIRequest) GetEndCreatedTime() string
- func (r TmallexchangereceivegetAPIRequest) GetEndGmtModifedTime() string
- func (r TmallexchangereceivegetAPIRequest) GetFields() []string
- func (r TmallexchangereceivegetAPIRequest) GetLogisticNo() string
- func (r TmallexchangereceivegetAPIRequest) GetPageNo() int64
- func (r TmallexchangereceivegetAPIRequest) GetPageSize() int64
- func (r TmallexchangereceivegetAPIRequest) GetRawParams() model.Params
- func (r TmallexchangereceivegetAPIRequest) GetRefundIdArray() []string
- func (r TmallexchangereceivegetAPIRequest) GetStartCreatedTime() string
- func (r TmallexchangereceivegetAPIRequest) GetStartGmtModifiedTime() string
- func (r *TmallexchangereceivegetAPIRequest) SetBizOrderId(_bizOrderId int64) error
- func (r *TmallexchangereceivegetAPIRequest) SetBuyerNick(_buyerNick string) error
- func (r *TmallexchangereceivegetAPIRequest) SetBuyerOpenUid(_buyerOpenUid string) error
- func (r *TmallexchangereceivegetAPIRequest) SetDisputeStatusArray(_disputeStatusArray []string) error
- func (r *TmallexchangereceivegetAPIRequest) SetEndCreatedTime(_endCreatedTime string) error
- func (r *TmallexchangereceivegetAPIRequest) SetEndGmtModifedTime(_endGmtModifedTime string) error
- func (r *TmallexchangereceivegetAPIRequest) SetFields(_fields []string) error
- func (r *TmallexchangereceivegetAPIRequest) SetLogisticNo(_logisticNo string) error
- func (r *TmallexchangereceivegetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TmallexchangereceivegetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TmallexchangereceivegetAPIRequest) SetRefundIdArray(_refundIdArray []string) error
- func (r *TmallexchangereceivegetAPIRequest) SetStartCreatedTime(_startCreatedTime string) error
- func (r *TmallexchangereceivegetAPIRequest) SetStartGmtModifiedTime(_startGmtModifiedTime string) error
- type TmallexchangereceivegetAPIResponse
- type TmallexchangereceivegetAPIResponseModel
- type TmallexchangerefuseAPIRequest
- func (r TmallexchangerefuseAPIRequest) GetApiMethodName() string
- func (r TmallexchangerefuseAPIRequest) GetApiParams(params url.Values)
- func (r TmallexchangerefuseAPIRequest) GetDisputeId() int64
- func (r TmallexchangerefuseAPIRequest) GetFields() []string
- func (r TmallexchangerefuseAPIRequest) GetLeaveMessage() string
- func (r TmallexchangerefuseAPIRequest) GetLeaveMessagePics() *model.File
- func (r TmallexchangerefuseAPIRequest) GetRawParams() model.Params
- func (r TmallexchangerefuseAPIRequest) GetSellerRefuseReasonId() int64
- func (r *TmallexchangerefuseAPIRequest) SetDisputeId(_disputeId int64) error
- func (r *TmallexchangerefuseAPIRequest) SetFields(_fields []string) error
- func (r *TmallexchangerefuseAPIRequest) SetLeaveMessage(_leaveMessage string) error
- func (r *TmallexchangerefuseAPIRequest) SetLeaveMessagePics(_leaveMessagePics *model.File) error
- func (r *TmallexchangerefuseAPIRequest) SetSellerRefuseReasonId(_sellerRefuseReasonId int64) error
- type TmallexchangerefuseAPIResponse
- type TmallexchangerefuseAPIResponseModel
- type TmallexchangerefusereasongetAPIRequest
- func (r TmallexchangerefusereasongetAPIRequest) GetApiMethodName() string
- func (r TmallexchangerefusereasongetAPIRequest) GetApiParams(params url.Values)
- func (r TmallexchangerefusereasongetAPIRequest) GetDisputeId() int64
- func (r TmallexchangerefusereasongetAPIRequest) GetDisputeType() int64
- func (r TmallexchangerefusereasongetAPIRequest) GetFields() []string
- func (r TmallexchangerefusereasongetAPIRequest) GetRawParams() model.Params
- func (r *TmallexchangerefusereasongetAPIRequest) SetDisputeId(_disputeId int64) error
- func (r *TmallexchangerefusereasongetAPIRequest) SetDisputeType(_disputeType int64) error
- func (r *TmallexchangerefusereasongetAPIRequest) SetFields(_fields []string) error
- type TmallexchangerefusereasongetAPIResponse
- type TmallexchangerefusereasongetAPIResponseModel
- type TmallexchangerefusereasongetResultSet
- type TmallexchangereturngoodsagreeAPIRequest
- func (r TmallexchangereturngoodsagreeAPIRequest) GetApiMethodName() string
- func (r TmallexchangereturngoodsagreeAPIRequest) GetApiParams(params url.Values)
- func (r TmallexchangereturngoodsagreeAPIRequest) GetDisputeId() int64
- func (r TmallexchangereturngoodsagreeAPIRequest) GetFields() []string
- func (r TmallexchangereturngoodsagreeAPIRequest) GetRawParams() model.Params
- func (r *TmallexchangereturngoodsagreeAPIRequest) SetDisputeId(_disputeId int64) error
- func (r *TmallexchangereturngoodsagreeAPIRequest) SetFields(_fields []string) error
- type TmallexchangereturngoodsagreeAPIResponse
- type TmallexchangereturngoodsagreeAPIResponseModel
- type TmallexchangereturngoodsrefuseAPIRequest
- func (r TmallexchangereturngoodsrefuseAPIRequest) GetApiMethodName() string
- func (r TmallexchangereturngoodsrefuseAPIRequest) GetApiParams(params url.Values)
- func (r TmallexchangereturngoodsrefuseAPIRequest) GetDisputeId() int64
- func (r TmallexchangereturngoodsrefuseAPIRequest) GetLeaveMessage() string
- func (r TmallexchangereturngoodsrefuseAPIRequest) GetLeaveMessagePics() *model.File
- func (r TmallexchangereturngoodsrefuseAPIRequest) GetRawParams() model.Params
- func (r TmallexchangereturngoodsrefuseAPIRequest) GetSellerRefuseReasonId() int64
- func (r *TmallexchangereturngoodsrefuseAPIRequest) SetDisputeId(_disputeId int64) error
- func (r *TmallexchangereturngoodsrefuseAPIRequest) SetLeaveMessage(_leaveMessage string) error
- func (r *TmallexchangereturngoodsrefuseAPIRequest) SetLeaveMessagePics(_leaveMessagePics *model.File) error
- func (r *TmallexchangereturngoodsrefuseAPIRequest) SetSellerRefuseReasonId(_sellerRefuseReasonId int64) error
- type TmallexchangereturngoodsrefuseAPIResponse
- type TmallexchangereturngoodsrefuseAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 结构体
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 结构体
type PicUrl ¶
type PicUrl struct { // 图片url Url string `json:"url,omitempty" xml:"url,omitempty"` }
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 结构体
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 结构体
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 结构体
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 结构体
type TmallexchangeagreeAPIRequest ¶ added in v1.3.1
TmallexchangeagreeAPIRequest 卖家同意换货申请 API请求 tmall.exchange.agree
卖家同意换货申请
func NewTmallexchangeagreeRequest ¶ added in v1.3.1
func NewTmallexchangeagreeRequest() *TmallexchangeagreeAPIRequest
NewTmallexchangeagreeRequest 初始化TmallexchangeagreeAPIRequest对象
func (TmallexchangeagreeAPIRequest) GetAddressId ¶ added in v1.3.1
func (r TmallexchangeagreeAPIRequest) GetAddressId() int64
GetAddressId AddressId Getter
func (TmallexchangeagreeAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmallexchangeagreeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallexchangeagreeAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmallexchangeagreeAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallexchangeagreeAPIRequest) GetCompleteAddress ¶ added in v1.3.1
func (r TmallexchangeagreeAPIRequest) GetCompleteAddress() string
GetCompleteAddress CompleteAddress Getter
func (TmallexchangeagreeAPIRequest) GetDisputeId ¶ added in v1.3.1
func (r TmallexchangeagreeAPIRequest) GetDisputeId() int64
GetDisputeId DisputeId Getter
func (TmallexchangeagreeAPIRequest) GetFields ¶ added in v1.3.1
func (r TmallexchangeagreeAPIRequest) GetFields() []string
GetFields Fields Getter
func (TmallexchangeagreeAPIRequest) GetLeaveMessage ¶ added in v1.3.1
func (r TmallexchangeagreeAPIRequest) GetLeaveMessage() string
GetLeaveMessage LeaveMessage Getter
func (TmallexchangeagreeAPIRequest) GetLeaveMessagePics ¶ added in v1.3.1
func (r TmallexchangeagreeAPIRequest) GetLeaveMessagePics() *model.File
GetLeaveMessagePics LeaveMessagePics Getter
func (TmallexchangeagreeAPIRequest) GetMobile ¶ added in v1.3.1
func (r TmallexchangeagreeAPIRequest) GetMobile() string
GetMobile Mobile Getter
func (TmallexchangeagreeAPIRequest) GetPost ¶ added in v1.3.1
func (r TmallexchangeagreeAPIRequest) GetPost() string
GetPost Post Getter
func (TmallexchangeagreeAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmallexchangeagreeAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TmallexchangeagreeAPIRequest) SetAddressId ¶ added in v1.3.1
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.3.1
func (r *TmallexchangeagreeAPIRequest) SetCompleteAddress(_completeAddress string) error
SetCompleteAddress is CompleteAddress Setter 详细收货地址
func (*TmallexchangeagreeAPIRequest) SetDisputeId ¶ added in v1.3.1
func (r *TmallexchangeagreeAPIRequest) SetDisputeId(_disputeId int64) error
SetDisputeId is DisputeId Setter 换货单号ID
func (*TmallexchangeagreeAPIRequest) SetFields ¶ added in v1.3.1
func (r *TmallexchangeagreeAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 返回字段。当前支持的有 dispute_id, bizorder_id, modified, status
func (*TmallexchangeagreeAPIRequest) SetLeaveMessage ¶ added in v1.3.1
func (r *TmallexchangeagreeAPIRequest) SetLeaveMessage(_leaveMessage string) error
SetLeaveMessage is LeaveMessage Setter 卖家留言
func (*TmallexchangeagreeAPIRequest) SetLeaveMessagePics ¶ added in v1.3.1
func (r *TmallexchangeagreeAPIRequest) SetLeaveMessagePics(_leaveMessagePics *model.File) error
SetLeaveMessagePics is LeaveMessagePics Setter 上传图片举证
func (*TmallexchangeagreeAPIRequest) SetMobile ¶ added in v1.3.1
func (r *TmallexchangeagreeAPIRequest) SetMobile(_mobile string) error
SetMobile is Mobile Setter 收货人手机号
func (*TmallexchangeagreeAPIRequest) SetPost ¶ added in v1.3.1
func (r *TmallexchangeagreeAPIRequest) SetPost(_post string) error
SetPost is Post Setter 邮政编码
type TmallexchangeagreeAPIResponse ¶ added in v1.3.1
type TmallexchangeagreeAPIResponse struct { model.CommonResponse TmallexchangeagreeAPIResponseModel }
TmallexchangeagreeAPIResponse 卖家同意换货申请 API返回值 tmall.exchange.agree
卖家同意换货申请
type TmallexchangeagreeAPIResponseModel ¶ added in v1.3.1
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 卖家同意换货申请 成功返回结果
type TmallexchangeconfirmconsignAPIRequest ¶ added in v1.3.1
type TmallexchangeconfirmconsignAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallexchangeconfirmconsignAPIRequest 换货商家确认收货并发货 API请求 tmall.exchange.confirm.consign
卖家确认收货并发货
func NewTmallexchangeconfirmconsignRequest ¶ added in v1.3.1
func NewTmallexchangeconfirmconsignRequest() *TmallexchangeconfirmconsignAPIRequest
NewTmallexchangeconfirmconsignRequest 初始化TmallexchangeconfirmconsignAPIRequest对象
func (TmallexchangeconfirmconsignAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmallexchangeconfirmconsignAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallexchangeconfirmconsignAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmallexchangeconfirmconsignAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallexchangeconfirmconsignAPIRequest) GetDisputeId ¶ added in v1.3.1
func (r TmallexchangeconfirmconsignAPIRequest) GetDisputeId() int64
GetDisputeId DisputeId Getter
func (TmallexchangeconfirmconsignAPIRequest) GetFields ¶ added in v1.3.1
func (r TmallexchangeconfirmconsignAPIRequest) GetFields() []string
GetFields Fields Getter
func (TmallexchangeconfirmconsignAPIRequest) GetLogisticsCompanyName ¶ added in v1.3.1
func (r TmallexchangeconfirmconsignAPIRequest) GetLogisticsCompanyName() string
GetLogisticsCompanyName LogisticsCompanyName Getter
func (TmallexchangeconfirmconsignAPIRequest) GetLogisticsNo ¶ added in v1.3.1
func (r TmallexchangeconfirmconsignAPIRequest) GetLogisticsNo() string
GetLogisticsNo LogisticsNo Getter
func (TmallexchangeconfirmconsignAPIRequest) GetLogisticsType ¶ added in v1.3.1
func (r TmallexchangeconfirmconsignAPIRequest) GetLogisticsType() int64
GetLogisticsType LogisticsType Getter
func (TmallexchangeconfirmconsignAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmallexchangeconfirmconsignAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TmallexchangeconfirmconsignAPIRequest) SetDisputeId ¶ added in v1.3.1
func (r *TmallexchangeconfirmconsignAPIRequest) SetDisputeId(_disputeId int64) error
SetDisputeId is DisputeId Setter 换货单号ID
func (*TmallexchangeconfirmconsignAPIRequest) SetFields ¶ added in v1.3.1
func (r *TmallexchangeconfirmconsignAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 返回字段
func (*TmallexchangeconfirmconsignAPIRequest) SetLogisticsCompanyName ¶ added in v1.3.1
func (r *TmallexchangeconfirmconsignAPIRequest) SetLogisticsCompanyName(_logisticsCompanyName string) error
SetLogisticsCompanyName is LogisticsCompanyName Setter 卖家发货的快递公司
func (*TmallexchangeconfirmconsignAPIRequest) SetLogisticsNo ¶ added in v1.3.1
func (r *TmallexchangeconfirmconsignAPIRequest) SetLogisticsNo(_logisticsNo string) error
SetLogisticsNo is LogisticsNo Setter 卖家发货的物流单号
func (*TmallexchangeconfirmconsignAPIRequest) SetLogisticsType ¶ added in v1.3.1
func (r *TmallexchangeconfirmconsignAPIRequest) SetLogisticsType(_logisticsType int64) error
SetLogisticsType is LogisticsType Setter 卖家发货的物流类型,100表示平邮,200表示快递
type TmallexchangeconfirmconsignAPIResponse ¶ added in v1.3.1
type TmallexchangeconfirmconsignAPIResponse struct { model.CommonResponse TmallexchangeconfirmconsignAPIResponseModel }
TmallexchangeconfirmconsignAPIResponse 换货商家确认收货并发货 API返回值 tmall.exchange.confirm.consign
卖家确认收货并发货
type TmallexchangeconfirmconsignAPIResponseModel ¶ added in v1.3.1
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 换货商家确认收货并发货 成功返回结果
type TmallexchangeconsigngoodsAPIRequest ¶ added in v1.3.1
type TmallexchangeconsigngoodsAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallexchangeconsigngoodsAPIRequest 卖家发货 API请求 tmall.exchange.consigngoods
卖家发货
func NewTmallexchangeconsigngoodsRequest ¶ added in v1.3.1
func NewTmallexchangeconsigngoodsRequest() *TmallexchangeconsigngoodsAPIRequest
NewTmallexchangeconsigngoodsRequest 初始化TmallexchangeconsigngoodsAPIRequest对象
func (TmallexchangeconsigngoodsAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmallexchangeconsigngoodsAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallexchangeconsigngoodsAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmallexchangeconsigngoodsAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallexchangeconsigngoodsAPIRequest) GetDisputeId ¶ added in v1.3.1
func (r TmallexchangeconsigngoodsAPIRequest) GetDisputeId() int64
GetDisputeId DisputeId Getter
func (TmallexchangeconsigngoodsAPIRequest) GetFields ¶ added in v1.3.1
func (r TmallexchangeconsigngoodsAPIRequest) GetFields() []string
GetFields Fields Getter
func (TmallexchangeconsigngoodsAPIRequest) GetLogisticsCompanyName ¶ added in v1.3.1
func (r TmallexchangeconsigngoodsAPIRequest) GetLogisticsCompanyName() string
GetLogisticsCompanyName LogisticsCompanyName Getter
func (TmallexchangeconsigngoodsAPIRequest) GetLogisticsNo ¶ added in v1.3.1
func (r TmallexchangeconsigngoodsAPIRequest) GetLogisticsNo() string
GetLogisticsNo LogisticsNo Getter
func (TmallexchangeconsigngoodsAPIRequest) GetLogisticsType ¶ added in v1.3.1
func (r TmallexchangeconsigngoodsAPIRequest) GetLogisticsType() int64
GetLogisticsType LogisticsType Getter
func (TmallexchangeconsigngoodsAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmallexchangeconsigngoodsAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TmallexchangeconsigngoodsAPIRequest) SetDisputeId ¶ added in v1.3.1
func (r *TmallexchangeconsigngoodsAPIRequest) SetDisputeId(_disputeId int64) error
SetDisputeId is DisputeId Setter 换货单号ID
func (*TmallexchangeconsigngoodsAPIRequest) SetFields ¶ added in v1.3.1
func (r *TmallexchangeconsigngoodsAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 返回字段
func (*TmallexchangeconsigngoodsAPIRequest) SetLogisticsCompanyName ¶ added in v1.3.1
func (r *TmallexchangeconsigngoodsAPIRequest) SetLogisticsCompanyName(_logisticsCompanyName string) error
SetLogisticsCompanyName is LogisticsCompanyName Setter 卖家发货的快递公司
func (*TmallexchangeconsigngoodsAPIRequest) SetLogisticsNo ¶ added in v1.3.1
func (r *TmallexchangeconsigngoodsAPIRequest) SetLogisticsNo(_logisticsNo string) error
SetLogisticsNo is LogisticsNo Setter 卖家发货的物流单号
func (*TmallexchangeconsigngoodsAPIRequest) SetLogisticsType ¶ added in v1.3.1
func (r *TmallexchangeconsigngoodsAPIRequest) SetLogisticsType(_logisticsType int64) error
SetLogisticsType is LogisticsType Setter 卖家发货的物流类型,100表示平邮,200表示快递
type TmallexchangeconsigngoodsAPIResponse ¶ added in v1.3.1
type TmallexchangeconsigngoodsAPIResponse struct { model.CommonResponse TmallexchangeconsigngoodsAPIResponseModel }
TmallexchangeconsigngoodsAPIResponse 卖家发货 API返回值 tmall.exchange.consigngoods
卖家发货
type TmallexchangeconsigngoodsAPIResponseModel ¶ added in v1.3.1
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 卖家发货 成功返回结果
type TmallexchangegetAPIRequest ¶ added in v1.3.1
TmallexchangegetAPIRequest 获取单笔换货详情 API请求 tmall.exchange.get
获取单笔换货详情
func NewTmallexchangegetRequest ¶ added in v1.3.1
func NewTmallexchangegetRequest() *TmallexchangegetAPIRequest
NewTmallexchangegetRequest 初始化TmallexchangegetAPIRequest对象
func (TmallexchangegetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmallexchangegetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallexchangegetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmallexchangegetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallexchangegetAPIRequest) GetDisputeId ¶ added in v1.3.1
func (r TmallexchangegetAPIRequest) GetDisputeId() int64
GetDisputeId DisputeId Getter
func (TmallexchangegetAPIRequest) GetFields ¶ added in v1.3.1
func (r TmallexchangegetAPIRequest) GetFields() []string
GetFields Fields Getter
func (TmallexchangegetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmallexchangegetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TmallexchangegetAPIRequest) SetDisputeId ¶ added in v1.3.1
func (r *TmallexchangegetAPIRequest) SetDisputeId(_disputeId int64) error
SetDisputeId is DisputeId Setter 换货单号ID
func (*TmallexchangegetAPIRequest) SetFields ¶ added in v1.3.1
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 ¶ added in v1.3.1
type TmallexchangegetAPIResponse struct { model.CommonResponse TmallexchangegetAPIResponseModel }
TmallexchangegetAPIResponse 获取单笔换货详情 API返回值 tmall.exchange.get
获取单笔换货详情
type TmallexchangegetAPIResponseModel ¶ added in v1.3.1
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 获取单笔换货详情 成功返回结果
type TmallexchangemessageaddAPIRequest ¶ added in v1.3.1
type TmallexchangemessageaddAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallexchangemessageaddAPIRequest 卖家创建换货留言 API请求 tmall.exchange.message.add
卖家创建换货留言
func NewTmallexchangemessageaddRequest ¶ added in v1.3.1
func NewTmallexchangemessageaddRequest() *TmallexchangemessageaddAPIRequest
NewTmallexchangemessageaddRequest 初始化TmallexchangemessageaddAPIRequest对象
func (TmallexchangemessageaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmallexchangemessageaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallexchangemessageaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmallexchangemessageaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallexchangemessageaddAPIRequest) GetContent ¶ added in v1.3.1
func (r TmallexchangemessageaddAPIRequest) GetContent() string
GetContent Content Getter
func (TmallexchangemessageaddAPIRequest) GetDisputeId ¶ added in v1.3.1
func (r TmallexchangemessageaddAPIRequest) GetDisputeId() int64
GetDisputeId DisputeId Getter
func (TmallexchangemessageaddAPIRequest) GetFields ¶ added in v1.3.1
func (r TmallexchangemessageaddAPIRequest) GetFields() []string
GetFields Fields Getter
func (TmallexchangemessageaddAPIRequest) GetMessagePics ¶ added in v1.3.1
func (r TmallexchangemessageaddAPIRequest) GetMessagePics() *model.File
GetMessagePics MessagePics Getter
func (TmallexchangemessageaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmallexchangemessageaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TmallexchangemessageaddAPIRequest) SetContent ¶ added in v1.3.1
func (r *TmallexchangemessageaddAPIRequest) SetContent(_content string) error
SetContent is Content Setter 留言内容
func (*TmallexchangemessageaddAPIRequest) SetDisputeId ¶ added in v1.3.1
func (r *TmallexchangemessageaddAPIRequest) SetDisputeId(_disputeId int64) error
SetDisputeId is DisputeId Setter 换货单号ID
func (*TmallexchangemessageaddAPIRequest) SetFields ¶ added in v1.3.1
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.3.1
func (r *TmallexchangemessageaddAPIRequest) SetMessagePics(_messagePics *model.File) error
SetMessagePics is MessagePics Setter 凭证图片列表
type TmallexchangemessageaddAPIResponse ¶ added in v1.3.1
type TmallexchangemessageaddAPIResponse struct { model.CommonResponse TmallexchangemessageaddAPIResponseModel }
TmallexchangemessageaddAPIResponse 卖家创建换货留言 API返回值 tmall.exchange.message.add
卖家创建换货留言
type TmallexchangemessageaddAPIResponseModel ¶ added in v1.3.1
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 卖家创建换货留言 成功返回结果
type TmallexchangemessageaddResultSet ¶ added in v1.3.1
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 结构体
type TmallexchangemessagesgetAPIRequest ¶ added in v1.3.1
type TmallexchangemessagesgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallexchangemessagesgetAPIRequest 查询换货订单留言列表 API请求 tmall.exchange.messages.get
查询换货订单留言列表
func NewTmallexchangemessagesgetRequest ¶ added in v1.3.1
func NewTmallexchangemessagesgetRequest() *TmallexchangemessagesgetAPIRequest
NewTmallexchangemessagesgetRequest 初始化TmallexchangemessagesgetAPIRequest对象
func (TmallexchangemessagesgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmallexchangemessagesgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallexchangemessagesgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmallexchangemessagesgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallexchangemessagesgetAPIRequest) GetDisputeId ¶ added in v1.3.1
func (r TmallexchangemessagesgetAPIRequest) GetDisputeId() int64
GetDisputeId DisputeId Getter
func (TmallexchangemessagesgetAPIRequest) GetFields ¶ added in v1.3.1
func (r TmallexchangemessagesgetAPIRequest) GetFields() []string
GetFields Fields Getter
func (TmallexchangemessagesgetAPIRequest) GetOperatorRoles ¶ added in v1.3.1
func (r TmallexchangemessagesgetAPIRequest) GetOperatorRoles() []string
GetOperatorRoles OperatorRoles Getter
func (TmallexchangemessagesgetAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TmallexchangemessagesgetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TmallexchangemessagesgetAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TmallexchangemessagesgetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TmallexchangemessagesgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmallexchangemessagesgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TmallexchangemessagesgetAPIRequest) SetDisputeId ¶ added in v1.3.1
func (r *TmallexchangemessagesgetAPIRequest) SetDisputeId(_disputeId int64) error
SetDisputeId is DisputeId Setter 换货单号ID
func (*TmallexchangemessagesgetAPIRequest) SetFields ¶ added in v1.3.1
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.3.1
func (r *TmallexchangemessagesgetAPIRequest) SetOperatorRoles(_operatorRoles []string) error
SetOperatorRoles is OperatorRoles Setter 留言创建角色。具体包括:卖家主账户(1)、卖家子账户(2)、小二(3)、买家(4)、系统(5)、系统超时(6)
func (*TmallexchangemessagesgetAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TmallexchangemessagesgetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码
func (*TmallexchangemessagesgetAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TmallexchangemessagesgetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数
type TmallexchangemessagesgetAPIResponse ¶ added in v1.3.1
type TmallexchangemessagesgetAPIResponse struct { model.CommonResponse TmallexchangemessagesgetAPIResponseModel }
TmallexchangemessagesgetAPIResponse 查询换货订单留言列表 API返回值 tmall.exchange.messages.get
查询换货订单留言列表
type TmallexchangemessagesgetAPIResponseModel ¶ added in v1.3.1
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 查询换货订单留言列表 成功返回结果
type TmallexchangereceivegetAPIRequest ¶ added in v1.3.1
type TmallexchangereceivegetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallexchangereceivegetAPIRequest 卖家查询换货列表 API请求 tmall.exchange.receive.get
卖家查询换货列表
func NewTmallexchangereceivegetRequest ¶ added in v1.3.1
func NewTmallexchangereceivegetRequest() *TmallexchangereceivegetAPIRequest
NewTmallexchangereceivegetRequest 初始化TmallexchangereceivegetAPIRequest对象
func (TmallexchangereceivegetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallexchangereceivegetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallexchangereceivegetAPIRequest) GetBizOrderId ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetBizOrderId() int64
GetBizOrderId BizOrderId Getter
func (TmallexchangereceivegetAPIRequest) GetBuyerNick ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetBuyerNick() string
GetBuyerNick BuyerNick Getter
func (TmallexchangereceivegetAPIRequest) GetBuyerOpenUid ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetBuyerOpenUid() string
GetBuyerOpenUid BuyerOpenUid Getter
func (TmallexchangereceivegetAPIRequest) GetDisputeStatusArray ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetDisputeStatusArray() []string
GetDisputeStatusArray DisputeStatusArray Getter
func (TmallexchangereceivegetAPIRequest) GetEndCreatedTime ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetEndCreatedTime() string
GetEndCreatedTime EndCreatedTime Getter
func (TmallexchangereceivegetAPIRequest) GetEndGmtModifedTime ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetEndGmtModifedTime() string
GetEndGmtModifedTime EndGmtModifedTime Getter
func (TmallexchangereceivegetAPIRequest) GetFields ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetFields() []string
GetFields Fields Getter
func (TmallexchangereceivegetAPIRequest) GetLogisticNo ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetLogisticNo() string
GetLogisticNo LogisticNo Getter
func (TmallexchangereceivegetAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TmallexchangereceivegetAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TmallexchangereceivegetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TmallexchangereceivegetAPIRequest) GetRefundIdArray ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetRefundIdArray() []string
GetRefundIdArray RefundIdArray Getter
func (TmallexchangereceivegetAPIRequest) GetStartCreatedTime ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetStartCreatedTime() string
GetStartCreatedTime StartCreatedTime Getter
func (TmallexchangereceivegetAPIRequest) GetStartGmtModifiedTime ¶ added in v1.3.1
func (r TmallexchangereceivegetAPIRequest) GetStartGmtModifiedTime() string
GetStartGmtModifiedTime StartGmtModifiedTime Getter
func (*TmallexchangereceivegetAPIRequest) SetBizOrderId ¶ added in v1.3.1
func (r *TmallexchangereceivegetAPIRequest) SetBizOrderId(_bizOrderId int64) error
SetBizOrderId is BizOrderId Setter 正向订单号
func (*TmallexchangereceivegetAPIRequest) SetBuyerNick ¶ added in v1.3.1
func (r *TmallexchangereceivegetAPIRequest) SetBuyerNick(_buyerNick string) error
SetBuyerNick is BuyerNick Setter 买家昵称
func (*TmallexchangereceivegetAPIRequest) SetBuyerOpenUid ¶ added in v1.3.1
func (r *TmallexchangereceivegetAPIRequest) SetBuyerOpenUid(_buyerOpenUid string) error
SetBuyerOpenUid is BuyerOpenUid Setter 买家的openId
func (*TmallexchangereceivegetAPIRequest) SetDisputeStatusArray ¶ added in v1.3.1
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.3.1
func (r *TmallexchangereceivegetAPIRequest) SetEndCreatedTime(_endCreatedTime string) error
SetEndCreatedTime is EndCreatedTime Setter 查询申请时间段的结束时间点
func (*TmallexchangereceivegetAPIRequest) SetEndGmtModifedTime ¶ added in v1.3.1
func (r *TmallexchangereceivegetAPIRequest) SetEndGmtModifedTime(_endGmtModifedTime string) error
SetEndGmtModifedTime is EndGmtModifedTime Setter 查询修改时间段的结束时间点
func (*TmallexchangereceivegetAPIRequest) SetFields ¶ added in v1.3.1
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.3.1
func (r *TmallexchangereceivegetAPIRequest) SetLogisticNo(_logisticNo string) error
SetLogisticNo is LogisticNo Setter 快递单号
func (*TmallexchangereceivegetAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TmallexchangereceivegetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码
func (*TmallexchangereceivegetAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TmallexchangereceivegetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数
func (*TmallexchangereceivegetAPIRequest) SetRefundIdArray ¶ added in v1.3.1
func (r *TmallexchangereceivegetAPIRequest) SetRefundIdArray(_refundIdArray []string) error
SetRefundIdArray is RefundIdArray Setter 退款单号ID列表,最多只能输入20个id
func (*TmallexchangereceivegetAPIRequest) SetStartCreatedTime ¶ added in v1.3.1
func (r *TmallexchangereceivegetAPIRequest) SetStartCreatedTime(_startCreatedTime string) error
SetStartCreatedTime is StartCreatedTime Setter 查询申请时间段的开始时间点
func (*TmallexchangereceivegetAPIRequest) SetStartGmtModifiedTime ¶ added in v1.3.1
func (r *TmallexchangereceivegetAPIRequest) SetStartGmtModifiedTime(_startGmtModifiedTime string) error
SetStartGmtModifiedTime is StartGmtModifiedTime Setter 查询修改时间段的开始时间点
type TmallexchangereceivegetAPIResponse ¶ added in v1.3.1
type TmallexchangereceivegetAPIResponse struct { model.CommonResponse TmallexchangereceivegetAPIResponseModel }
TmallexchangereceivegetAPIResponse 卖家查询换货列表 API返回值 tmall.exchange.receive.get
卖家查询换货列表
type TmallexchangereceivegetAPIResponseModel ¶ added in v1.3.1
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 卖家查询换货列表 成功返回结果
type TmallexchangerefuseAPIRequest ¶ added in v1.3.1
type TmallexchangerefuseAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallexchangerefuseAPIRequest 卖家拒绝换货申请 API请求 tmall.exchange.refuse
卖家拒绝换货申请
func NewTmallexchangerefuseRequest ¶ added in v1.3.1
func NewTmallexchangerefuseRequest() *TmallexchangerefuseAPIRequest
NewTmallexchangerefuseRequest 初始化TmallexchangerefuseAPIRequest对象
func (TmallexchangerefuseAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmallexchangerefuseAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallexchangerefuseAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmallexchangerefuseAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallexchangerefuseAPIRequest) GetDisputeId ¶ added in v1.3.1
func (r TmallexchangerefuseAPIRequest) GetDisputeId() int64
GetDisputeId DisputeId Getter
func (TmallexchangerefuseAPIRequest) GetFields ¶ added in v1.3.1
func (r TmallexchangerefuseAPIRequest) GetFields() []string
GetFields Fields Getter
func (TmallexchangerefuseAPIRequest) GetLeaveMessage ¶ added in v1.3.1
func (r TmallexchangerefuseAPIRequest) GetLeaveMessage() string
GetLeaveMessage LeaveMessage Getter
func (TmallexchangerefuseAPIRequest) GetLeaveMessagePics ¶ added in v1.3.1
func (r TmallexchangerefuseAPIRequest) GetLeaveMessagePics() *model.File
GetLeaveMessagePics LeaveMessagePics Getter
func (TmallexchangerefuseAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmallexchangerefuseAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TmallexchangerefuseAPIRequest) GetSellerRefuseReasonId ¶ added in v1.3.1
func (r TmallexchangerefuseAPIRequest) GetSellerRefuseReasonId() int64
GetSellerRefuseReasonId SellerRefuseReasonId Getter
func (*TmallexchangerefuseAPIRequest) SetDisputeId ¶ added in v1.3.1
func (r *TmallexchangerefuseAPIRequest) SetDisputeId(_disputeId int64) error
SetDisputeId is DisputeId Setter 换货单号ID
func (*TmallexchangerefuseAPIRequest) SetFields ¶ added in v1.3.1
func (r *TmallexchangerefuseAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 返回字段。目前支持dispute_id, bizorder_id, modified, status
func (*TmallexchangerefuseAPIRequest) SetLeaveMessage ¶ added in v1.3.1
func (r *TmallexchangerefuseAPIRequest) SetLeaveMessage(_leaveMessage string) error
SetLeaveMessage is LeaveMessage Setter 拒绝换货申请时的留言
func (*TmallexchangerefuseAPIRequest) SetLeaveMessagePics ¶ added in v1.3.1
func (r *TmallexchangerefuseAPIRequest) SetLeaveMessagePics(_leaveMessagePics *model.File) error
SetLeaveMessagePics is LeaveMessagePics Setter 凭证图片
func (*TmallexchangerefuseAPIRequest) SetSellerRefuseReasonId ¶ added in v1.3.1
func (r *TmallexchangerefuseAPIRequest) SetSellerRefuseReasonId(_sellerRefuseReasonId int64) error
SetSellerRefuseReasonId is SellerRefuseReasonId Setter 换货原因对应ID
type TmallexchangerefuseAPIResponse ¶ added in v1.3.1
type TmallexchangerefuseAPIResponse struct { model.CommonResponse TmallexchangerefuseAPIResponseModel }
TmallexchangerefuseAPIResponse 卖家拒绝换货申请 API返回值 tmall.exchange.refuse
卖家拒绝换货申请
type TmallexchangerefuseAPIResponseModel ¶ added in v1.3.1
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 卖家拒绝换货申请 成功返回结果
type TmallexchangerefusereasongetAPIRequest ¶ added in v1.3.1
type TmallexchangerefusereasongetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallexchangerefusereasongetAPIRequest 获取拒绝换货原因列表 API请求 tmall.exchange.refusereason.get
获取拒绝换货原因列表
func NewTmallexchangerefusereasongetRequest ¶ added in v1.3.1
func NewTmallexchangerefusereasongetRequest() *TmallexchangerefusereasongetAPIRequest
NewTmallexchangerefusereasongetRequest 初始化TmallexchangerefusereasongetAPIRequest对象
func (TmallexchangerefusereasongetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmallexchangerefusereasongetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallexchangerefusereasongetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmallexchangerefusereasongetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallexchangerefusereasongetAPIRequest) GetDisputeId ¶ added in v1.3.1
func (r TmallexchangerefusereasongetAPIRequest) GetDisputeId() int64
GetDisputeId DisputeId Getter
func (TmallexchangerefusereasongetAPIRequest) GetDisputeType ¶ added in v1.3.1
func (r TmallexchangerefusereasongetAPIRequest) GetDisputeType() int64
GetDisputeType DisputeType Getter
func (TmallexchangerefusereasongetAPIRequest) GetFields ¶ added in v1.3.1
func (r TmallexchangerefusereasongetAPIRequest) GetFields() []string
GetFields Fields Getter
func (TmallexchangerefusereasongetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmallexchangerefusereasongetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TmallexchangerefusereasongetAPIRequest) SetDisputeId ¶ added in v1.3.1
func (r *TmallexchangerefusereasongetAPIRequest) SetDisputeId(_disputeId int64) error
SetDisputeId is DisputeId Setter 换货单号ID
func (*TmallexchangerefusereasongetAPIRequest) SetDisputeType ¶ added in v1.3.1
func (r *TmallexchangerefusereasongetAPIRequest) SetDisputeType(_disputeType int64) error
SetDisputeType is DisputeType Setter 换货申请类型:0-任意类型;1-售中;2-售后
func (*TmallexchangerefusereasongetAPIRequest) SetFields ¶ added in v1.3.1
func (r *TmallexchangerefusereasongetAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 返回字段
type TmallexchangerefusereasongetAPIResponse ¶ added in v1.3.1
type TmallexchangerefusereasongetAPIResponse struct { model.CommonResponse TmallexchangerefusereasongetAPIResponseModel }
TmallexchangerefusereasongetAPIResponse 获取拒绝换货原因列表 API返回值 tmall.exchange.refusereason.get
获取拒绝换货原因列表
type TmallexchangerefusereasongetAPIResponseModel ¶ added in v1.3.1
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 获取拒绝换货原因列表 成功返回结果
type TmallexchangerefusereasongetResultSet ¶ added in v1.3.1
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 结构体
type TmallexchangereturngoodsagreeAPIRequest ¶ added in v1.3.1
type TmallexchangereturngoodsagreeAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallexchangereturngoodsagreeAPIRequest 卖家确认收货 API请求 tmall.exchange.returngoods.agree
卖家确认收货
func NewTmallexchangereturngoodsagreeRequest ¶ added in v1.3.1
func NewTmallexchangereturngoodsagreeRequest() *TmallexchangereturngoodsagreeAPIRequest
NewTmallexchangereturngoodsagreeRequest 初始化TmallexchangereturngoodsagreeAPIRequest对象
func (TmallexchangereturngoodsagreeAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmallexchangereturngoodsagreeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallexchangereturngoodsagreeAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmallexchangereturngoodsagreeAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallexchangereturngoodsagreeAPIRequest) GetDisputeId ¶ added in v1.3.1
func (r TmallexchangereturngoodsagreeAPIRequest) GetDisputeId() int64
GetDisputeId DisputeId Getter
func (TmallexchangereturngoodsagreeAPIRequest) GetFields ¶ added in v1.3.1
func (r TmallexchangereturngoodsagreeAPIRequest) GetFields() []string
GetFields Fields Getter
func (TmallexchangereturngoodsagreeAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmallexchangereturngoodsagreeAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TmallexchangereturngoodsagreeAPIRequest) SetDisputeId ¶ added in v1.3.1
func (r *TmallexchangereturngoodsagreeAPIRequest) SetDisputeId(_disputeId int64) error
SetDisputeId is DisputeId Setter 换货单号ID
func (*TmallexchangereturngoodsagreeAPIRequest) SetFields ¶ added in v1.3.1
func (r *TmallexchangereturngoodsagreeAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 返回字段。目前支持dispute_id(换货单号ID),bizorder_id(正向交易单号ID), modified(订单修改时间), status(当前换货状态)
type TmallexchangereturngoodsagreeAPIResponse ¶ added in v1.3.1
type TmallexchangereturngoodsagreeAPIResponse struct { model.CommonResponse TmallexchangereturngoodsagreeAPIResponseModel }
TmallexchangereturngoodsagreeAPIResponse 卖家确认收货 API返回值 tmall.exchange.returngoods.agree
卖家确认收货
type TmallexchangereturngoodsagreeAPIResponseModel ¶ added in v1.3.1
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 卖家确认收货 成功返回结果
type TmallexchangereturngoodsrefuseAPIRequest ¶ added in v1.3.1
type TmallexchangereturngoodsrefuseAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallexchangereturngoodsrefuseAPIRequest 卖家拒绝确认收货 API请求 tmall.exchange.returngoods.refuse
卖家拒绝买家换货申请
func NewTmallexchangereturngoodsrefuseRequest ¶ added in v1.3.1
func NewTmallexchangereturngoodsrefuseRequest() *TmallexchangereturngoodsrefuseAPIRequest
NewTmallexchangereturngoodsrefuseRequest 初始化TmallexchangereturngoodsrefuseAPIRequest对象
func (TmallexchangereturngoodsrefuseAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmallexchangereturngoodsrefuseAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallexchangereturngoodsrefuseAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmallexchangereturngoodsrefuseAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallexchangereturngoodsrefuseAPIRequest) GetDisputeId ¶ added in v1.3.1
func (r TmallexchangereturngoodsrefuseAPIRequest) GetDisputeId() int64
GetDisputeId DisputeId Getter
func (TmallexchangereturngoodsrefuseAPIRequest) GetLeaveMessage ¶ added in v1.3.1
func (r TmallexchangereturngoodsrefuseAPIRequest) GetLeaveMessage() string
GetLeaveMessage LeaveMessage Getter
func (TmallexchangereturngoodsrefuseAPIRequest) GetLeaveMessagePics ¶ added in v1.3.1
func (r TmallexchangereturngoodsrefuseAPIRequest) GetLeaveMessagePics() *model.File
GetLeaveMessagePics LeaveMessagePics Getter
func (TmallexchangereturngoodsrefuseAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmallexchangereturngoodsrefuseAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TmallexchangereturngoodsrefuseAPIRequest) GetSellerRefuseReasonId ¶ added in v1.3.1
func (r TmallexchangereturngoodsrefuseAPIRequest) GetSellerRefuseReasonId() int64
GetSellerRefuseReasonId SellerRefuseReasonId Getter
func (*TmallexchangereturngoodsrefuseAPIRequest) SetDisputeId ¶ added in v1.3.1
func (r *TmallexchangereturngoodsrefuseAPIRequest) SetDisputeId(_disputeId int64) error
SetDisputeId is DisputeId Setter 换货单号ID
func (*TmallexchangereturngoodsrefuseAPIRequest) SetLeaveMessage ¶ added in v1.3.1
func (r *TmallexchangereturngoodsrefuseAPIRequest) SetLeaveMessage(_leaveMessage string) error
SetLeaveMessage is LeaveMessage Setter 留言说明
func (*TmallexchangereturngoodsrefuseAPIRequest) SetLeaveMessagePics ¶ added in v1.3.1
func (r *TmallexchangereturngoodsrefuseAPIRequest) SetLeaveMessagePics(_leaveMessagePics *model.File) error
SetLeaveMessagePics is LeaveMessagePics Setter 凭证图片
func (*TmallexchangereturngoodsrefuseAPIRequest) SetSellerRefuseReasonId ¶ added in v1.3.1
func (r *TmallexchangereturngoodsrefuseAPIRequest) SetSellerRefuseReasonId(_sellerRefuseReasonId int64) error
SetSellerRefuseReasonId is SellerRefuseReasonId Setter 拒绝原因ID
type TmallexchangereturngoodsrefuseAPIResponse ¶ added in v1.3.1
type TmallexchangereturngoodsrefuseAPIResponse struct { model.CommonResponse TmallexchangereturngoodsrefuseAPIResponseModel }
TmallexchangereturngoodsrefuseAPIResponse 卖家拒绝确认收货 API返回值 tmall.exchange.returngoods.refuse
卖家拒绝买家换货申请
type TmallexchangereturngoodsrefuseAPIResponseModel ¶ added in v1.3.1
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 卖家拒绝确认收货 成功返回结果
Source Files
¶
- Exchange.go
- ExchangeBaseResponse.go
- PicUrl.go
- Reason.go
- RefundBaseResponse.go
- RefundMessage.go
- RefundMessageResult.go
- TmallExchangeAgreeAPIRequest.go
- TmallExchangeAgreeAPIResponse.go
- TmallExchangeConfirmConsignAPIRequest.go
- TmallExchangeConfirmConsignAPIResponse.go
- TmallExchangeConsigngoodsAPIRequest.go
- TmallExchangeConsigngoodsAPIResponse.go
- TmallExchangeGetAPIRequest.go
- TmallExchangeGetAPIResponse.go
- TmallExchangeMessageAddAPIRequest.go
- TmallExchangeMessageAddAPIResponse.go
- TmallExchangeMessageAddResultSet.go
- TmallExchangeMessagesGetAPIRequest.go
- TmallExchangeMessagesGetAPIResponse.go
- TmallExchangeReceiveGetAPIRequest.go
- TmallExchangeReceiveGetAPIResponse.go
- TmallExchangeRefuseAPIRequest.go
- TmallExchangeRefuseAPIResponse.go
- TmallExchangeRefusereasonGetAPIRequest.go
- TmallExchangeRefusereasonGetAPIResponse.go
- TmallExchangeRefusereasonGetResultSet.go
- TmallExchangeReturngoodsAgreeAPIRequest.go
- TmallExchangeReturngoodsAgreeAPIResponse.go
- TmallExchangeReturngoodsRefuseAPIRequest.go
- TmallExchangeReturngoodsRefuseAPIResponse.go
- doc.go