Documentation
¶
Overview ¶
退款API model
Index ¶
- type CancelGoodsDto
- type Dispute
- type PicUrl
- type Reason
- type Refund
- type RefundMappingResult
- type RefundMessage
- type RefundRemindTimeout
- type Resultdata
- type SyncIdentifyRefundCaseDto
- type SyncIdentifyRefundCaseResultDto
- type TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest
- func (r TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) GetParam() *SyncIdentifyRefundCaseResultDto
- func (r *TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) SetParam(_param *SyncIdentifyRefundCaseResultDto) error
- type TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse
- type TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponseModel
- type TaobaoRdcAligeniusIdentificationCaseResultUpdateResult
- type TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest
- func (r TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) GetParam() *SyncIdentifyRefundCaseDto
- func (r *TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) SetParam(_param *SyncIdentifyRefundCaseDto) error
- type TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse
- type TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponseModel
- type TaobaoRdcAligeniusIdentificationCaseUpdateResult
- type TaobaoRdcAligeniusSendgoodsCancelAPIRequest
- func (r TaobaoRdcAligeniusSendgoodsCancelAPIRequest) GetApiMethodName() string
- func (r TaobaoRdcAligeniusSendgoodsCancelAPIRequest) GetApiParams() url.Values
- func (r TaobaoRdcAligeniusSendgoodsCancelAPIRequest) GetParam() *CancelGoodsDto
- func (r *TaobaoRdcAligeniusSendgoodsCancelAPIRequest) SetParam(_param *CancelGoodsDto) error
- type TaobaoRdcAligeniusSendgoodsCancelAPIResponse
- type TaobaoRdcAligeniusSendgoodsCancelAPIResponseModel
- type TaobaoRdcAligeniusSendgoodsCancelResult
- type TaobaoRefundGetAPIRequest
- func (r TaobaoRefundGetAPIRequest) GetApiMethodName() string
- func (r TaobaoRefundGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoRefundGetAPIRequest) GetFields() []string
- func (r TaobaoRefundGetAPIRequest) GetRefundId() int64
- func (r *TaobaoRefundGetAPIRequest) SetFields(_fields []string) error
- func (r *TaobaoRefundGetAPIRequest) SetRefundId(_refundId int64) error
- type TaobaoRefundGetAPIResponse
- type TaobaoRefundGetAPIResponseModel
- type TaobaoRefundMessageAddAPIRequest
- func (r TaobaoRefundMessageAddAPIRequest) GetApiMethodName() string
- func (r TaobaoRefundMessageAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoRefundMessageAddAPIRequest) GetContent() string
- func (r TaobaoRefundMessageAddAPIRequest) GetImage() *model.File
- func (r TaobaoRefundMessageAddAPIRequest) GetRefundId() int64
- func (r *TaobaoRefundMessageAddAPIRequest) SetContent(_content string) error
- func (r *TaobaoRefundMessageAddAPIRequest) SetImage(_image *model.File) error
- func (r *TaobaoRefundMessageAddAPIRequest) SetRefundId(_refundId int64) error
- type TaobaoRefundMessageAddAPIResponse
- type TaobaoRefundMessageAddAPIResponseModel
- type TaobaoRefundMessagesGetAPIRequest
- func (r TaobaoRefundMessagesGetAPIRequest) GetApiMethodName() string
- func (r TaobaoRefundMessagesGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoRefundMessagesGetAPIRequest) GetFields() []string
- func (r TaobaoRefundMessagesGetAPIRequest) GetPageNo() int64
- func (r TaobaoRefundMessagesGetAPIRequest) GetPageSize() int64
- func (r TaobaoRefundMessagesGetAPIRequest) GetRefundId() int64
- func (r TaobaoRefundMessagesGetAPIRequest) GetRefundPhase() string
- func (r *TaobaoRefundMessagesGetAPIRequest) SetFields(_fields []string) error
- func (r *TaobaoRefundMessagesGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoRefundMessagesGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoRefundMessagesGetAPIRequest) SetRefundId(_refundId int64) error
- func (r *TaobaoRefundMessagesGetAPIRequest) SetRefundPhase(_refundPhase string) error
- type TaobaoRefundMessagesGetAPIResponse
- type TaobaoRefundMessagesGetAPIResponseModel
- type TaobaoRefundRefuseAPIRequest
- func (r TaobaoRefundRefuseAPIRequest) GetApiMethodName() string
- func (r TaobaoRefundRefuseAPIRequest) GetApiParams() url.Values
- func (r TaobaoRefundRefuseAPIRequest) GetRefundId() int64
- func (r TaobaoRefundRefuseAPIRequest) GetRefundPhase() string
- func (r TaobaoRefundRefuseAPIRequest) GetRefundVersion() int64
- func (r TaobaoRefundRefuseAPIRequest) GetRefuseMessage() string
- func (r TaobaoRefundRefuseAPIRequest) GetRefuseProof() *model.File
- func (r TaobaoRefundRefuseAPIRequest) GetRefuseReasonId() int64
- func (r *TaobaoRefundRefuseAPIRequest) SetRefundId(_refundId int64) error
- func (r *TaobaoRefundRefuseAPIRequest) SetRefundPhase(_refundPhase string) error
- func (r *TaobaoRefundRefuseAPIRequest) SetRefundVersion(_refundVersion int64) error
- func (r *TaobaoRefundRefuseAPIRequest) SetRefuseMessage(_refuseMessage string) error
- func (r *TaobaoRefundRefuseAPIRequest) SetRefuseProof(_refuseProof *model.File) error
- func (r *TaobaoRefundRefuseAPIRequest) SetRefuseReasonId(_refuseReasonId int64) error
- type TaobaoRefundRefuseAPIResponse
- type TaobaoRefundRefuseAPIResponseModel
- type TaobaoRefundRefusereasonGetAPIRequest
- func (r TaobaoRefundRefusereasonGetAPIRequest) GetApiMethodName() string
- func (r TaobaoRefundRefusereasonGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoRefundRefusereasonGetAPIRequest) GetFields() string
- func (r TaobaoRefundRefusereasonGetAPIRequest) GetRefundId() int64
- func (r TaobaoRefundRefusereasonGetAPIRequest) GetRefundPhase() string
- func (r *TaobaoRefundRefusereasonGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoRefundRefusereasonGetAPIRequest) SetRefundId(_refundId int64) error
- func (r *TaobaoRefundRefusereasonGetAPIRequest) SetRefundPhase(_refundPhase string) error
- type TaobaoRefundRefusereasonGetAPIResponse
- type TaobaoRefundRefusereasonGetAPIResponseModel
- type TaobaoRefundsApplyGetAPIRequest
- func (r TaobaoRefundsApplyGetAPIRequest) GetApiMethodName() string
- func (r TaobaoRefundsApplyGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoRefundsApplyGetAPIRequest) GetFields() []string
- func (r TaobaoRefundsApplyGetAPIRequest) GetPageNo() int64
- func (r TaobaoRefundsApplyGetAPIRequest) GetPageSize() int64
- func (r TaobaoRefundsApplyGetAPIRequest) GetSellerNick() string
- func (r TaobaoRefundsApplyGetAPIRequest) GetStatus() string
- func (r TaobaoRefundsApplyGetAPIRequest) GetType() string
- func (r *TaobaoRefundsApplyGetAPIRequest) SetFields(_fields []string) error
- func (r *TaobaoRefundsApplyGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoRefundsApplyGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoRefundsApplyGetAPIRequest) SetSellerNick(_sellerNick string) error
- func (r *TaobaoRefundsApplyGetAPIRequest) SetStatus(_status string) error
- func (r *TaobaoRefundsApplyGetAPIRequest) SetType(_type string) error
- type TaobaoRefundsApplyGetAPIResponse
- type TaobaoRefundsApplyGetAPIResponseModel
- type TaobaoRpRefundReviewAPIRequest
- func (r TaobaoRpRefundReviewAPIRequest) GetApiMethodName() string
- func (r TaobaoRpRefundReviewAPIRequest) GetApiParams() url.Values
- func (r TaobaoRpRefundReviewAPIRequest) GetMessage() string
- func (r TaobaoRpRefundReviewAPIRequest) GetOperator() string
- func (r TaobaoRpRefundReviewAPIRequest) GetRefundId() int64
- func (r TaobaoRpRefundReviewAPIRequest) GetRefundPhase() string
- func (r TaobaoRpRefundReviewAPIRequest) GetRefundVersion() int64
- func (r TaobaoRpRefundReviewAPIRequest) GetResult() bool
- func (r *TaobaoRpRefundReviewAPIRequest) SetMessage(_message string) error
- func (r *TaobaoRpRefundReviewAPIRequest) SetOperator(_operator string) error
- func (r *TaobaoRpRefundReviewAPIRequest) SetRefundId(_refundId int64) error
- func (r *TaobaoRpRefundReviewAPIRequest) SetRefundPhase(_refundPhase string) error
- func (r *TaobaoRpRefundReviewAPIRequest) SetRefundVersion(_refundVersion int64) error
- func (r *TaobaoRpRefundReviewAPIRequest) SetResult(_result bool) error
- type TaobaoRpRefundReviewAPIResponse
- type TaobaoRpRefundReviewAPIResponseModel
- type TaobaoRpRefundsAgreeAPIRequest
- func (r TaobaoRpRefundsAgreeAPIRequest) GetApiMethodName() string
- func (r TaobaoRpRefundsAgreeAPIRequest) GetApiParams() url.Values
- func (r TaobaoRpRefundsAgreeAPIRequest) GetCode() string
- func (r TaobaoRpRefundsAgreeAPIRequest) GetRefundInfos() string
- func (r *TaobaoRpRefundsAgreeAPIRequest) SetCode(_code string) error
- func (r *TaobaoRpRefundsAgreeAPIRequest) SetRefundInfos(_refundInfos string) error
- type TaobaoRpRefundsAgreeAPIResponse
- type TaobaoRpRefundsAgreeAPIResponseModel
- type TaobaoRpReturngoodsAgreeAPIRequest
- func (r TaobaoRpReturngoodsAgreeAPIRequest) GetAddress() string
- func (r TaobaoRpReturngoodsAgreeAPIRequest) GetApiMethodName() string
- func (r TaobaoRpReturngoodsAgreeAPIRequest) GetApiParams() url.Values
- func (r TaobaoRpReturngoodsAgreeAPIRequest) GetMobile() string
- func (r TaobaoRpReturngoodsAgreeAPIRequest) GetName() string
- func (r TaobaoRpReturngoodsAgreeAPIRequest) GetPost() string
- func (r TaobaoRpReturngoodsAgreeAPIRequest) GetPostFeeBearRole() int64
- func (r TaobaoRpReturngoodsAgreeAPIRequest) GetRefundId() int64
- func (r TaobaoRpReturngoodsAgreeAPIRequest) GetRefundPhase() string
- func (r TaobaoRpReturngoodsAgreeAPIRequest) GetRefundVersion() int64
- func (r TaobaoRpReturngoodsAgreeAPIRequest) GetRemark() string
- func (r TaobaoRpReturngoodsAgreeAPIRequest) GetSellerAddressId() int64
- func (r TaobaoRpReturngoodsAgreeAPIRequest) GetTel() string
- func (r TaobaoRpReturngoodsAgreeAPIRequest) GetVirtualReturnGoods() bool
- func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetAddress(_address string) error
- func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetMobile(_mobile string) error
- func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetName(_name string) error
- func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetPost(_post string) error
- func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetPostFeeBearRole(_postFeeBearRole int64) error
- func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetRefundId(_refundId int64) error
- func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetRefundPhase(_refundPhase string) error
- func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetRefundVersion(_refundVersion int64) error
- func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetRemark(_remark string) error
- func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetSellerAddressId(_sellerAddressId int64) error
- func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetTel(_tel string) error
- func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetVirtualReturnGoods(_virtualReturnGoods bool) error
- type TaobaoRpReturngoodsAgreeAPIResponse
- type TaobaoRpReturngoodsAgreeAPIResponseModel
- type TaobaoRpReturngoodsRefillAPIRequest
- func (r TaobaoRpReturngoodsRefillAPIRequest) GetApiMethodName() string
- func (r TaobaoRpReturngoodsRefillAPIRequest) GetApiParams() url.Values
- func (r TaobaoRpReturngoodsRefillAPIRequest) GetLogisticsCompanyCode() string
- func (r TaobaoRpReturngoodsRefillAPIRequest) GetLogisticsWaybillNo() string
- func (r TaobaoRpReturngoodsRefillAPIRequest) GetRefundId() int64
- func (r TaobaoRpReturngoodsRefillAPIRequest) GetRefundPhase() string
- func (r *TaobaoRpReturngoodsRefillAPIRequest) SetLogisticsCompanyCode(_logisticsCompanyCode string) error
- func (r *TaobaoRpReturngoodsRefillAPIRequest) SetLogisticsWaybillNo(_logisticsWaybillNo string) error
- func (r *TaobaoRpReturngoodsRefillAPIRequest) SetRefundId(_refundId int64) error
- func (r *TaobaoRpReturngoodsRefillAPIRequest) SetRefundPhase(_refundPhase string) error
- type TaobaoRpReturngoodsRefillAPIResponse
- type TaobaoRpReturngoodsRefillAPIResponseModel
- type TaobaoRpReturngoodsRefuseAPIRequest
- func (r TaobaoRpReturngoodsRefuseAPIRequest) GetApiMethodName() string
- func (r TaobaoRpReturngoodsRefuseAPIRequest) GetApiParams() url.Values
- func (r TaobaoRpReturngoodsRefuseAPIRequest) GetRefundId() int64
- func (r TaobaoRpReturngoodsRefuseAPIRequest) GetRefundPhase() string
- func (r TaobaoRpReturngoodsRefuseAPIRequest) GetRefundVersion() int64
- func (r TaobaoRpReturngoodsRefuseAPIRequest) GetRefuseProof() *model.File
- func (r TaobaoRpReturngoodsRefuseAPIRequest) GetRefuseReasonId() int64
- func (r *TaobaoRpReturngoodsRefuseAPIRequest) SetRefundId(_refundId int64) error
- func (r *TaobaoRpReturngoodsRefuseAPIRequest) SetRefundPhase(_refundPhase string) error
- func (r *TaobaoRpReturngoodsRefuseAPIRequest) SetRefundVersion(_refundVersion int64) error
- func (r *TaobaoRpReturngoodsRefuseAPIRequest) SetRefuseProof(_refuseProof *model.File) error
- func (r *TaobaoRpReturngoodsRefuseAPIRequest) SetRefuseReasonId(_refuseReasonId int64) error
- type TaobaoRpReturngoodsRefuseAPIResponse
- type TaobaoRpReturngoodsRefuseAPIResponseModel
- type TaobaoSpecialRefundGetAPIRequest
- func (r TaobaoSpecialRefundGetAPIRequest) GetApiMethodName() string
- func (r TaobaoSpecialRefundGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoSpecialRefundGetAPIRequest) GetFields() []string
- func (r TaobaoSpecialRefundGetAPIRequest) GetRefundId() int64
- func (r *TaobaoSpecialRefundGetAPIRequest) SetFields(_fields []string) error
- func (r *TaobaoSpecialRefundGetAPIRequest) SetRefundId(_refundId int64) error
- type TaobaoSpecialRefundGetAPIResponse
- type TaobaoSpecialRefundGetAPIResponseModel
- type TaobaoSpecialRefundsReceiveGetAPIRequest
- func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetApiMethodName() string
- func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetBuyerNick() string
- func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetEndModified() string
- func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetFields() []string
- func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetPageNo() int64
- func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetPageSize() int64
- func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetStartModified() string
- func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetStatus() string
- func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetType() string
- func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetUseHasNext() bool
- func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetBuyerNick(_buyerNick string) error
- func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetEndModified(_endModified string) error
- func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetFields(_fields []string) error
- func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetStartModified(_startModified string) error
- func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetStatus(_status string) error
- func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetType(_type string) error
- func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetUseHasNext(_useHasNext bool) error
- type TaobaoSpecialRefundsReceiveGetAPIResponse
- type TaobaoSpecialRefundsReceiveGetAPIResponseModel
- type TmallDisputeReceiveGetAPIRequest
- func (r TmallDisputeReceiveGetAPIRequest) GetApiMethodName() string
- func (r TmallDisputeReceiveGetAPIRequest) GetApiParams() url.Values
- func (r TmallDisputeReceiveGetAPIRequest) GetBuyerNick() string
- func (r TmallDisputeReceiveGetAPIRequest) GetEndModified() string
- func (r TmallDisputeReceiveGetAPIRequest) GetFields() []string
- func (r TmallDisputeReceiveGetAPIRequest) GetPageNo() int64
- func (r TmallDisputeReceiveGetAPIRequest) GetPageSize() int64
- func (r TmallDisputeReceiveGetAPIRequest) GetRefundId() int64
- func (r TmallDisputeReceiveGetAPIRequest) GetStartModified() string
- func (r TmallDisputeReceiveGetAPIRequest) GetStatus() string
- func (r TmallDisputeReceiveGetAPIRequest) GetType() string
- func (r TmallDisputeReceiveGetAPIRequest) GetUseHasNext() bool
- func (r *TmallDisputeReceiveGetAPIRequest) SetBuyerNick(_buyerNick string) error
- func (r *TmallDisputeReceiveGetAPIRequest) SetEndModified(_endModified string) error
- func (r *TmallDisputeReceiveGetAPIRequest) SetFields(_fields []string) error
- func (r *TmallDisputeReceiveGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TmallDisputeReceiveGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TmallDisputeReceiveGetAPIRequest) SetRefundId(_refundId int64) error
- func (r *TmallDisputeReceiveGetAPIRequest) SetStartModified(_startModified string) error
- func (r *TmallDisputeReceiveGetAPIRequest) SetStatus(_status string) error
- func (r *TmallDisputeReceiveGetAPIRequest) SetType(_type string) error
- func (r *TmallDisputeReceiveGetAPIRequest) SetUseHasNext(_useHasNext bool) error
- type TmallDisputeReceiveGetAPIResponse
- type TmallDisputeReceiveGetAPIResponseModel
- type TmallDisputeReceiveGetResultSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelGoodsDto ¶
type CancelGoodsDto struct { // 子订单ID Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"` // 退款单ID RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 操作时间 OperateTime string `json:"operate_time,omitempty" xml:"operate_time,omitempty"` // 退款金额 单位 分 RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 状态SUCCESS、FAIL Status string `json:"status,omitempty" xml:"status,omitempty"` // 商家商品ID OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 商品ID AuctionId int64 `json:"auction_id,omitempty" xml:"auction_id,omitempty"` // 商品数量 AuctionNum int64 `json:"auction_num,omitempty" xml:"auction_num,omitempty"` // 主订单ID Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 描述 Msg string `json:"msg,omitempty" xml:"msg,omitempty"` }
CancelGoodsDto
type Dispute ¶
type Dispute struct { // 卖家收货地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 支付宝单号 AlipayNo string `json:"alipay_no,omitempty" xml:"alipay_no,omitempty"` // 纠纷单上的各项属性 Attribute string `json:"attribute,omitempty" xml:"attribute,omitempty"` // 正向交易单号 BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` // 买家收货地址(换货) BuyerAddress string `json:"buyer_address,omitempty" xml:"buyer_address,omitempty"` // 买家发货物流公司(换货) BuyerLogisticName string `json:"buyer_logistic_name,omitempty" xml:"buyer_logistic_name,omitempty"` // 买家发货物流单号(换货) BuyerLogisticNo string `json:"buyer_logistic_no,omitempty" xml:"buyer_logistic_no,omitempty"` // 买家收货人姓名(换货) BuyerName string `json:"buyer_name,omitempty" xml:"buyer_name,omitempty"` // 买家昵称 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 买家联系方式(换货) BuyerPhone string `json:"buyer_phone,omitempty" xml:"buyer_phone,omitempty"` // 卖家发货物流单号 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 纠纷单创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 纠纷说明 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 纠纷类型,常见的有:仅退款、退货退款、换货 DisputeRequest string `json:"dispute_request,omitempty" xml:"dispute_request,omitempty"` // 买家退货时间 GoodReturnTime string `json:"good_return_time,omitempty" xml:"good_return_time,omitempty"` // 货物状态 GoodStatus string `json:"good_status,omitempty" xml:"good_status,omitempty"` // 买家是否需要退货。可选值:true(是),false(否) HasGoodReturn bool `json:"has_good_return,omitempty" xml:"has_good_return,omitempty"` // 纠纷单修改时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 买家购买数量 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 子订单号。如果是单笔交易oid会等于tid Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"` // 退款对应的订单交易状态。可选值TRADE_NO_CREATE_PAY(没有创建支付宝交易) WAIT_BUYER_PAY(等待买家付款) WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款) WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货) TRADE_BUYER_SIGNED(买家已签收,货到付款专用) TRADE_FINISHED(交易成功) TRADE_CLOSED(交易关闭) TRADE_CLOSED_BY_TAOBAO(交易被淘宝关闭) ALL_WAIT_PAY(包含:WAIT_BUYER_PAY、TRADE_NO_CREATE_PAY) ALL_CLOSED(包含:TRADE_CLOSED、TRADE_CLOSED_BY_TAOBAO) 取自"http://open.taobao.com/dev/index.php/%E4%BA%A4%E6%98%93%E7%8A%B6%E6%80%81" OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"` // 退款原因 Reason string `json:"reason,omitempty" xml:"reason,omitempty"` // 退还金额(退还给买家的金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分 RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 纠纷单号id RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 退款阶段,可选值:onsale/aftersale RefundPhase string `json:"refund_phase,omitempty" xml:"refund_phase,omitempty"` // 卖家发货物流公司(换货) SellerLogisticName string `json:"seller_logistic_name,omitempty" xml:"seller_logistic_name,omitempty"` // 卖家发货物流单号(换货) SellerLogisticNo string `json:"seller_logistic_no,omitempty" xml:"seller_logistic_no,omitempty"` // 逆向纠纷状态。其中,仅退款/退货退款的状态为:(1, "买家已经申请退款,等待卖家同意"),(2, "卖家已经同意退款,等待买家退货"),(3, "买家已经退货,等待卖家确认收货"),(4, "退款关闭"),(5, "退款成功"),(6, "卖家拒绝退款”),(7, "等待买家确认重新邮寄的货物"),(8, "等待卖家确认退货地址");换货的状态为:(1, "换货待处理"),(2, "待买家退货"),(3, "买家已退货,待收货"),(4, "换货关闭"),(5, "换货成功"),(6, "待买家修改"),(12, "待发出换货商品"),(13, "待买家收货"),(14, "请退款") Status string `json:"status,omitempty" xml:"status,omitempty"` // 超时时间 TimeOut string `json:"time_out,omitempty" xml:"time_out,omitempty"` // 商品名称 Title string `json:"title,omitempty" xml:"title,omitempty"` }
Dispute
type PicUrl ¶
type PicUrl struct { // 图片链接地址 Url string `json:"url,omitempty" xml:"url,omitempty"` }
PicUrl
type Reason ¶
type Reason struct { // ReasonId int64 `json:"reason_id,omitempty" xml:"reason_id,omitempty"` // ReasonText string `json:"reason_text,omitempty" xml:"reason_text,omitempty"` // ReasonTips string `json:"reason_tips,omitempty" xml:"reason_tips,omitempty"` }
Reason
type Refund ¶
type Refund struct { // 物流方式.可选值:free(卖家包邮),post(平邮),express(快递),ems(EMS). ShippingType string `json:"shipping_type,omitempty" xml:"shipping_type,omitempty"` // 不需客服介入1;需要客服介入2;客服已经介入3;客服初审完成 4;客服主管复审失败5;客服处理完成6; CsStatus int64 `json:"cs_status,omitempty" xml:"cs_status,omitempty"` // 退款先行垫付默认的未申请状态 0;退款先行垫付申请中 1;退款先行垫付,垫付完成 2;退款先行垫付,卖家拒绝收货 3;退款先行垫付,垫付关闭 4;退款先行垫付,垫付分账成功 5; AdvanceStatus int64 `json:"advance_status,omitempty" xml:"advance_status,omitempty"` // 分账给淘宝的钱 SplitTaobaoFee string `json:"split_taobao_fee,omitempty" xml:"split_taobao_fee,omitempty"` // 分账给卖家的钱 SplitSellerFee string `json:"split_seller_fee,omitempty" xml:"split_seller_fee,omitempty"` // 退款单号 RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 淘宝交易单号 Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 子订单号。如果是单笔交易oid会等于tid Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"` // 支付宝交易号 AlipayNo string `json:"alipay_no,omitempty" xml:"alipay_no,omitempty"` // 交易总金额。精确到2位小数;单位:元。如:200.07,表示:200元7分 TotalFee string `json:"total_fee,omitempty" xml:"total_fee,omitempty"` // 买家昵称 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 退款申请时间。格式:yyyy-MM-dd HH:mm:ss Created string `json:"created,omitempty" xml:"created,omitempty"` // 更新时间。格式:yyyy-MM-dd HH:mm:ss Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 退款对应的订单交易状态。可选值TRADE_NO_CREATE_PAY(没有创建支付宝交易) WAIT_BUYER_PAY(等待买家付款) WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款) WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货) TRADE_BUYER_SIGNED(买家已签收,货到付款专用) TRADE_FINISHED(交易成功) TRADE_CLOSED(交易关闭) TRADE_CLOSED_BY_TAOBAO(交易被淘宝关闭) ALL_WAIT_PAY(包含:WAIT_BUYER_PAY、TRADE_NO_CREATE_PAY) ALL_CLOSED(包含:TRADE_CLOSED、TRADE_CLOSED_BY_TAOBAO) 取自"http://open.taobao.com/dev/index.php/%E4%BA%A4%E6%98%93%E7%8A%B6%E6%80%81" OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"` // 退款状态。可选值WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意) WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货) WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货) SELLER_REFUSE_BUYER(卖家拒绝退款) CLOSED(退款关闭) SUCCESS(退款成功) Status string `json:"status,omitempty" xml:"status,omitempty"` // 货物状态。可选值BUYER_NOT_RECEIVED (买家未收到货) BUYER_RECEIVED (买家已收到货) BUYER_RETURNED_GOODS (买家已退货) GoodStatus string `json:"good_status,omitempty" xml:"good_status,omitempty"` // 买家是否需要退货。可选值:true(是),false(否) HasGoodReturn bool `json:"has_good_return,omitempty" xml:"has_good_return,omitempty"` // 退还金额(退还给买家的金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分 RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 支付给卖家的金额(交易总金额-退还给买家的金额)。精确到2位小数;单位:元。如:200.07,表示:200元7分 Payment string `json:"payment,omitempty" xml:"payment,omitempty"` // 退款原因 Reason string `json:"reason,omitempty" xml:"reason,omitempty"` // 退款说明 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品价格。精确到2位小数;单位:元。如:200.07,表示:200元7分 Price string `json:"price,omitempty" xml:"price,omitempty"` // 商品购买数量 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 退货时间。格式:yyyy-MM-dd HH:mm:ss GoodReturnTime string `json:"good_return_time,omitempty" xml:"good_return_time,omitempty"` // 物流公司名称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 退货运单号 Sid string `json:"sid,omitempty" xml:"sid,omitempty"` // 卖家收货地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 退款超时结构RefundRemindTimeout RefundRemindTimeout *RefundRemindTimeout `json:"refund_remind_timeout,omitempty" xml:"refund_remind_timeout,omitempty"` // 申请退款的商品数字编号 NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 退款阶段,可选值:onsale/aftersale RefundPhase string `json:"refund_phase,omitempty" xml:"refund_phase,omitempty"` // 退款版本号(时间戳) RefundVersion int64 `json:"refund_version,omitempty" xml:"refund_version,omitempty"` // 商品SKU信息 Sku string `json:"sku,omitempty" xml:"sku,omitempty"` // 退款扩展属性 Attribute string `json:"attribute,omitempty" xml:"attribute,omitempty"` // 商品外部商家编码 OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 退款约束,可选值:cannot_refuse(不允许操作),refund_onweb(需要到网页版操作) OperationContraint string `json:"operation_contraint,omitempty" xml:"operation_contraint,omitempty"` // 买家账号的OpenUID BuyerOpenUid string `json:"buyer_open_uid,omitempty" xml:"buyer_open_uid,omitempty"` // 逆向特殊部分退类型:价保服务、退差返现 SpecialRefundType string `json:"special_refund_type,omitempty" xml:"special_refund_type,omitempty"` }
Refund
type RefundMappingResult ¶
type RefundMappingResult struct { // 退款ID RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 结果信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 是否成功 Succ bool `json:"succ,omitempty" xml:"succ,omitempty"` }
RefundMappingResult
type RefundMessage ¶
type RefundMessage struct { // 留言编号 Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 留言创建时间。格式:yyyy-MM-dd HH:mm:ss Created string `json:"created,omitempty" xml:"created,omitempty"` // 留言者编号 OwnerId int64 `json:"owner_id,omitempty" xml:"owner_id,omitempty"` // 留言者昵称 OwnerNick string `json:"owner_nick,omitempty" xml:"owner_nick,omitempty"` // 留言内容。最大长度: 400个字节 Content string `json:"content,omitempty" xml:"content,omitempty"` // 凭证附件地址(图片) PicUrls []PicUrl `json:"pic_urls,omitempty" xml:"pic_urls>pic_url,omitempty"` // 退款类型:NORMAL(普通留言),RETURN_GOODS_APPROVED(卖家留退货地址时留言);如果为RETURN_GOODS_APPROVED,则退款留言中有卖家收货地址 MessageType string `json:"message_type,omitempty" xml:"message_type,omitempty"` // 退款阶段,可选值:onsale(售中), aftersale(售后) RefundPhase string `json:"refund_phase,omitempty" xml:"refund_phase,omitempty"` // 退款编号。 RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 留言者身份1代表买家,2代表卖家,3代表小二 OwnerRole string `json:"owner_role,omitempty" xml:"owner_role,omitempty"` }
RefundMessage
type RefundRemindTimeout ¶
type RefundRemindTimeout struct { // 提醒的类型(退款详情中提示信息的类型) RemindType int64 `json:"remind_type,omitempty" xml:"remind_type,omitempty"` // 是否存在超时。可选值:true(是),false(否) ExistTimeout bool `json:"exist_timeout,omitempty" xml:"exist_timeout,omitempty"` // 超时时间。格式:yyyy-MM-dd HH:mm:ss Timeout string `json:"timeout,omitempty" xml:"timeout,omitempty"` }
RefundRemindTimeout
type Resultdata ¶
type Resultdata struct { // 数据消费结果编码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 数据消费结果提示信息 ResultTips string `json:"result_tips,omitempty" xml:"result_tips,omitempty"` // 数据消费状态 ConsumeStatus string `json:"consume_status,omitempty" xml:"consume_status,omitempty"` // 退款单号 RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` }
Resultdata
type SyncIdentifyRefundCaseDto ¶
type SyncIdentifyRefundCaseDto struct { // 子订单ID DetailOrderId int64 `json:"detail_order_id,omitempty" xml:"detail_order_id,omitempty"` // 数据发生时间绝对秒数,如鉴定工单创建时间、鉴定工单完结时间 OccurTime int64 `json:"occur_time,omitempty" xml:"occur_time,omitempty"` // 工单操作类型,1:开启,2:完结 OperateType int64 `json:"operate_type,omitempty" xml:"operate_type,omitempty"` // 鉴定工单操作备注 OperateTips string `json:"operate_tips,omitempty" xml:"operate_tips,omitempty"` // 鉴定工单ID OuterCaseId string `json:"outer_case_id,omitempty" xml:"outer_case_id,omitempty"` // 退款ID RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 扩展属性,json格式 ExtAttrs string `json:"ext_attrs,omitempty" xml:"ext_attrs,omitempty"` }
SyncIdentifyRefundCaseDto
type SyncIdentifyRefundCaseResultDto ¶
type SyncIdentifyRefundCaseResultDto struct { // 子订单ID DetailOrderId int64 `json:"detail_order_id,omitempty" xml:"detail_order_id,omitempty"` // 数据发生时间绝对秒数,如写入鉴定结果的时间 OccurTime int64 `json:"occur_time,omitempty" xml:"occur_time,omitempty"` // 鉴定工单ID OuterCaseId string `json:"outer_case_id,omitempty" xml:"outer_case_id,omitempty"` // 结果类型,1:可退,2:可换,3:不通过 ResultType int64 `json:"result_type,omitempty" xml:"result_type,omitempty"` // 退款ID RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 鉴定结果提示 ResultTips string `json:"result_tips,omitempty" xml:"result_tips,omitempty"` // 扩展属性,json格式 ExtAttrs string `json:"ext_attrs,omitempty" xml:"ext_attrs,omitempty"` }
SyncIdentifyRefundCaseResultDto
type TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest ¶
type TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
鉴定工单结果同步 API请求 taobao.rdc.aligenius.identification.case.result.update
同步鉴定工单结果信息
func NewTaobaoRdcAligeniusIdentificationCaseResultUpdateRequest ¶
func NewTaobaoRdcAligeniusIdentificationCaseResultUpdateRequest() *TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest
初始化TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest对象
func (TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) GetApiParams ¶
func (r TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) GetParam ¶
func (r TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) GetParam() *SyncIdentifyRefundCaseResultDto
Param Getter
func (*TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) SetParam ¶
func (r *TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) SetParam(_param *SyncIdentifyRefundCaseResultDto) error
Param Setter 请求参数
type TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse ¶
type TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse struct { model.CommonResponse TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponseModel }
鉴定工单结果同步 API返回值 taobao.rdc.aligenius.identification.case.result.update
同步鉴定工单结果信息
type TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponseModel ¶
type TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponseModel struct { XMLName xml.Name `xml:"rdc_aligenius_identification_case_result_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *TaobaoRdcAligeniusIdentificationCaseResultUpdateResult `json:"result,omitempty" xml:"result,omitempty"` }
鉴定工单结果同步 成功返回结果
type TaobaoRdcAligeniusIdentificationCaseResultUpdateResult ¶
type TaobaoRdcAligeniusIdentificationCaseResultUpdateResult struct { // resultData ResultData *Resultdata `json:"result_data,omitempty" xml:"result_data,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorInfo string `json:"error_info,omitempty" xml:"error_info,omitempty"` }
TaobaoRdcAligeniusIdentificationCaseResultUpdateResult
type TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest ¶
type TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
鉴定工单信息同步 API请求 taobao.rdc.aligenius.identification.case.update
同步商家鉴定工单信息
func NewTaobaoRdcAligeniusIdentificationCaseUpdateRequest ¶
func NewTaobaoRdcAligeniusIdentificationCaseUpdateRequest() *TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest
初始化TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest对象
func (TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) GetApiParams ¶
func (r TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) GetParam ¶
func (r TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) GetParam() *SyncIdentifyRefundCaseDto
Param Getter
func (*TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) SetParam ¶
func (r *TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) SetParam(_param *SyncIdentifyRefundCaseDto) error
Param Setter 请求参数
type TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse ¶
type TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse struct { model.CommonResponse TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponseModel }
鉴定工单信息同步 API返回值 taobao.rdc.aligenius.identification.case.update
同步商家鉴定工单信息
type TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponseModel ¶
type TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponseModel struct { XMLName xml.Name `xml:"rdc_aligenius_identification_case_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoRdcAligeniusIdentificationCaseUpdateResult `json:"result,omitempty" xml:"result,omitempty"` }
鉴定工单信息同步 成功返回结果
type TaobaoRdcAligeniusIdentificationCaseUpdateResult ¶
type TaobaoRdcAligeniusIdentificationCaseUpdateResult struct { // resultData ResultData *Resultdata `json:"result_data,omitempty" xml:"result_data,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorInfo string `json:"error_info,omitempty" xml:"error_info,omitempty"` }
TaobaoRdcAligeniusIdentificationCaseUpdateResult
type TaobaoRdcAligeniusSendgoodsCancelAPIRequest ¶
type TaobaoRdcAligeniusSendgoodsCancelAPIRequest struct { model.Params // contains filtered or unexported fields }
取消发货 API请求 taobao.rdc.aligenius.sendgoods.cancel
提供商家在仅退款中发送取消发货状态
func NewTaobaoRdcAligeniusSendgoodsCancelRequest ¶
func NewTaobaoRdcAligeniusSendgoodsCancelRequest() *TaobaoRdcAligeniusSendgoodsCancelAPIRequest
初始化TaobaoRdcAligeniusSendgoodsCancelAPIRequest对象
func (TaobaoRdcAligeniusSendgoodsCancelAPIRequest) GetApiMethodName ¶
func (r TaobaoRdcAligeniusSendgoodsCancelAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoRdcAligeniusSendgoodsCancelAPIRequest) GetApiParams ¶
func (r TaobaoRdcAligeniusSendgoodsCancelAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoRdcAligeniusSendgoodsCancelAPIRequest) GetParam ¶
func (r TaobaoRdcAligeniusSendgoodsCancelAPIRequest) GetParam() *CancelGoodsDto
Param Getter
func (*TaobaoRdcAligeniusSendgoodsCancelAPIRequest) SetParam ¶
func (r *TaobaoRdcAligeniusSendgoodsCancelAPIRequest) SetParam(_param *CancelGoodsDto) error
Param Setter 请求参数
type TaobaoRdcAligeniusSendgoodsCancelAPIResponse ¶
type TaobaoRdcAligeniusSendgoodsCancelAPIResponse struct { model.CommonResponse TaobaoRdcAligeniusSendgoodsCancelAPIResponseModel }
取消发货 API返回值 taobao.rdc.aligenius.sendgoods.cancel
提供商家在仅退款中发送取消发货状态
type TaobaoRdcAligeniusSendgoodsCancelAPIResponseModel ¶
type TaobaoRdcAligeniusSendgoodsCancelAPIResponseModel struct { XMLName xml.Name `xml:"rdc_aligenius_sendgoods_cancel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoRdcAligeniusSendgoodsCancelResult `json:"result,omitempty" xml:"result,omitempty"` }
取消发货 成功返回结果
type TaobaoRdcAligeniusSendgoodsCancelResult ¶
type TaobaoRdcAligeniusSendgoodsCancelResult struct { // resultData ResultData *Resultdata `json:"result_data,omitempty" xml:"result_data,omitempty"` // 异常信息 ErrorInfo string `json:"error_info,omitempty" xml:"error_info,omitempty"` // 异常编码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoRdcAligeniusSendgoodsCancelResult
type TaobaoRefundGetAPIRequest ¶
获取单笔退款详情 API请求 taobao.refund.get
获取单笔退款详情
func NewTaobaoRefundGetRequest ¶
func NewTaobaoRefundGetRequest() *TaobaoRefundGetAPIRequest
初始化TaobaoRefundGetAPIRequest对象
func (TaobaoRefundGetAPIRequest) GetApiMethodName ¶
func (r TaobaoRefundGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoRefundGetAPIRequest) GetApiParams ¶
func (r TaobaoRefundGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoRefundGetAPIRequest) GetFields ¶
func (r TaobaoRefundGetAPIRequest) GetFields() []string
Fields Getter
func (TaobaoRefundGetAPIRequest) GetRefundId ¶
func (r TaobaoRefundGetAPIRequest) GetRefundId() int64
RefundId Getter
func (*TaobaoRefundGetAPIRequest) SetFields ¶
func (r *TaobaoRefundGetAPIRequest) SetFields(_fields []string) error
Fields Setter 需要返回的字段。目前支持有:refund_id, alipay_no, tid, oid, buyer_nick, seller_nick, total_fee, status, created, refund_fee, good_status, has_good_return, payment, reason, desc, num_iid, title, price, num, good_return_time, company_name, sid, address, shipping_type, refund_remind_timeout, refund_phase, refund_version, operation_contraint, attribute, outer_id, sku
func (*TaobaoRefundGetAPIRequest) SetRefundId ¶
func (r *TaobaoRefundGetAPIRequest) SetRefundId(_refundId int64) error
RefundId Setter 退款单号
type TaobaoRefundGetAPIResponse ¶
type TaobaoRefundGetAPIResponse struct { model.CommonResponse TaobaoRefundGetAPIResponseModel }
获取单笔退款详情 API返回值 taobao.refund.get
获取单笔退款详情
type TaobaoRefundGetAPIResponseModel ¶
type TaobaoRefundGetAPIResponseModel struct { XMLName xml.Name `xml:"refund_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 退款详情 Refund *Refund `json:"refund,omitempty" xml:"refund,omitempty"` }
获取单笔退款详情 成功返回结果
type TaobaoRefundMessageAddAPIRequest ¶
type TaobaoRefundMessageAddAPIRequest struct { model.Params // contains filtered or unexported fields }
创建退款留言/凭证 API请求 taobao.refund.message.add
创建退款留言/凭证
func NewTaobaoRefundMessageAddRequest ¶
func NewTaobaoRefundMessageAddRequest() *TaobaoRefundMessageAddAPIRequest
初始化TaobaoRefundMessageAddAPIRequest对象
func (TaobaoRefundMessageAddAPIRequest) GetApiMethodName ¶
func (r TaobaoRefundMessageAddAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoRefundMessageAddAPIRequest) GetApiParams ¶
func (r TaobaoRefundMessageAddAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoRefundMessageAddAPIRequest) GetContent ¶
func (r TaobaoRefundMessageAddAPIRequest) GetContent() string
Content Getter
func (TaobaoRefundMessageAddAPIRequest) GetImage ¶
func (r TaobaoRefundMessageAddAPIRequest) GetImage() *model.File
Image Getter
func (TaobaoRefundMessageAddAPIRequest) GetRefundId ¶
func (r TaobaoRefundMessageAddAPIRequest) GetRefundId() int64
RefundId Getter
func (*TaobaoRefundMessageAddAPIRequest) SetContent ¶
func (r *TaobaoRefundMessageAddAPIRequest) SetContent(_content string) error
Content Setter 留言内容。最大长度: 400个字节
func (*TaobaoRefundMessageAddAPIRequest) SetImage ¶
func (r *TaobaoRefundMessageAddAPIRequest) SetImage(_image *model.File) error
Image Setter 图片(凭证)。类型: JPG,GIF,PNG;最大为: 500K
func (*TaobaoRefundMessageAddAPIRequest) SetRefundId ¶
func (r *TaobaoRefundMessageAddAPIRequest) SetRefundId(_refundId int64) error
RefundId Setter 退款编号。
type TaobaoRefundMessageAddAPIResponse ¶
type TaobaoRefundMessageAddAPIResponse struct { model.CommonResponse TaobaoRefundMessageAddAPIResponseModel }
创建退款留言/凭证 API返回值 taobao.refund.message.add
创建退款留言/凭证
type TaobaoRefundMessageAddAPIResponseModel ¶
type TaobaoRefundMessageAddAPIResponseModel struct { XMLName xml.Name `xml:"refund_message_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 退款信息。包含id和created RefundMessage *RefundMessage `json:"refund_message,omitempty" xml:"refund_message,omitempty"` }
创建退款留言/凭证 成功返回结果
type TaobaoRefundMessagesGetAPIRequest ¶
type TaobaoRefundMessagesGetAPIRequest struct { model.Params // contains filtered or unexported fields }
查询退款留言/凭证列表 API请求 taobao.refund.messages.get
查询退款留言/凭证列表
func NewTaobaoRefundMessagesGetRequest ¶
func NewTaobaoRefundMessagesGetRequest() *TaobaoRefundMessagesGetAPIRequest
初始化TaobaoRefundMessagesGetAPIRequest对象
func (TaobaoRefundMessagesGetAPIRequest) GetApiMethodName ¶
func (r TaobaoRefundMessagesGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoRefundMessagesGetAPIRequest) GetApiParams ¶
func (r TaobaoRefundMessagesGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoRefundMessagesGetAPIRequest) GetFields ¶
func (r TaobaoRefundMessagesGetAPIRequest) GetFields() []string
Fields Getter
func (TaobaoRefundMessagesGetAPIRequest) GetPageNo ¶
func (r TaobaoRefundMessagesGetAPIRequest) GetPageNo() int64
PageNo Getter
func (TaobaoRefundMessagesGetAPIRequest) GetPageSize ¶
func (r TaobaoRefundMessagesGetAPIRequest) GetPageSize() int64
PageSize Getter
func (TaobaoRefundMessagesGetAPIRequest) GetRefundId ¶
func (r TaobaoRefundMessagesGetAPIRequest) GetRefundId() int64
RefundId Getter
func (TaobaoRefundMessagesGetAPIRequest) GetRefundPhase ¶
func (r TaobaoRefundMessagesGetAPIRequest) GetRefundPhase() string
RefundPhase Getter
func (*TaobaoRefundMessagesGetAPIRequest) SetFields ¶
func (r *TaobaoRefundMessagesGetAPIRequest) SetFields(_fields []string) error
Fields Setter 需返回的字段列表。可选值:RefundMessage结构体中的所有字段,以半角逗号(,)分隔。
func (*TaobaoRefundMessagesGetAPIRequest) SetPageNo ¶
func (r *TaobaoRefundMessagesGetAPIRequest) SetPageNo(_pageNo int64) error
PageNo Setter 页码
func (*TaobaoRefundMessagesGetAPIRequest) SetPageSize ¶
func (r *TaobaoRefundMessagesGetAPIRequest) SetPageSize(_pageSize int64) error
PageSize Setter 每页条数
func (*TaobaoRefundMessagesGetAPIRequest) SetRefundId ¶
func (r *TaobaoRefundMessagesGetAPIRequest) SetRefundId(_refundId int64) error
RefundId Setter 退款单号
func (*TaobaoRefundMessagesGetAPIRequest) SetRefundPhase ¶
func (r *TaobaoRefundMessagesGetAPIRequest) SetRefundPhase(_refundPhase string) error
RefundPhase Setter 退款阶段,可选值:onsale(售中),aftersale(售后),天猫退款为必传。
type TaobaoRefundMessagesGetAPIResponse ¶
type TaobaoRefundMessagesGetAPIResponse struct { model.CommonResponse TaobaoRefundMessagesGetAPIResponseModel }
查询退款留言/凭证列表 API返回值 taobao.refund.messages.get
查询退款留言/凭证列表
type TaobaoRefundMessagesGetAPIResponseModel ¶
type TaobaoRefundMessagesGetAPIResponseModel struct { XMLName xml.Name `xml:"refund_messages_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询到的退款留言/凭证总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // 查询到的退款留言/凭证列表 RefundMessages []RefundMessage `json:"refund_messages,omitempty" xml:"refund_messages>refund_message,omitempty"` }
查询退款留言/凭证列表 成功返回结果
type TaobaoRefundRefuseAPIRequest ¶
卖家拒绝退款 API请求 taobao.refund.refuse
卖家拒绝单笔退款(包含退款和退款退货)交易,要求如下:<br/>1. 传入的refund_id和相应的tid, oid必须匹配<br/>2. 如果一笔订单只有一笔子订单,则tid必须与oid相同<br/>3. 只有卖家才能执行拒绝退款操作<br/>4. 以下三种情况不能退款:卖家未发货;7天无理由退换货;网游订单
func NewTaobaoRefundRefuseRequest ¶
func NewTaobaoRefundRefuseRequest() *TaobaoRefundRefuseAPIRequest
初始化TaobaoRefundRefuseAPIRequest对象
func (TaobaoRefundRefuseAPIRequest) GetApiMethodName ¶
func (r TaobaoRefundRefuseAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoRefundRefuseAPIRequest) GetApiParams ¶
func (r TaobaoRefundRefuseAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoRefundRefuseAPIRequest) GetRefundId ¶
func (r TaobaoRefundRefuseAPIRequest) GetRefundId() int64
RefundId Getter
func (TaobaoRefundRefuseAPIRequest) GetRefundPhase ¶
func (r TaobaoRefundRefuseAPIRequest) GetRefundPhase() string
RefundPhase Getter
func (TaobaoRefundRefuseAPIRequest) GetRefundVersion ¶
func (r TaobaoRefundRefuseAPIRequest) GetRefundVersion() int64
RefundVersion Getter
func (TaobaoRefundRefuseAPIRequest) GetRefuseMessage ¶
func (r TaobaoRefundRefuseAPIRequest) GetRefuseMessage() string
RefuseMessage Getter
func (TaobaoRefundRefuseAPIRequest) GetRefuseProof ¶
func (r TaobaoRefundRefuseAPIRequest) GetRefuseProof() *model.File
RefuseProof Getter
func (TaobaoRefundRefuseAPIRequest) GetRefuseReasonId ¶
func (r TaobaoRefundRefuseAPIRequest) GetRefuseReasonId() int64
RefuseReasonId Getter
func (*TaobaoRefundRefuseAPIRequest) SetRefundId ¶
func (r *TaobaoRefundRefuseAPIRequest) SetRefundId(_refundId int64) error
RefundId Setter 退款单号
func (*TaobaoRefundRefuseAPIRequest) SetRefundPhase ¶
func (r *TaobaoRefundRefuseAPIRequest) SetRefundPhase(_refundPhase string) error
RefundPhase Setter 可选值为:售中:onsale,售后:aftersale,天猫退款为必填项。
func (*TaobaoRefundRefuseAPIRequest) SetRefundVersion ¶
func (r *TaobaoRefundRefuseAPIRequest) SetRefundVersion(_refundVersion int64) error
RefundVersion Setter 退款版本号,天猫退款为必填项。
func (*TaobaoRefundRefuseAPIRequest) SetRefuseMessage ¶
func (r *TaobaoRefundRefuseAPIRequest) SetRefuseMessage(_refuseMessage string) error
RefuseMessage Setter 拒绝退款时的说明信息,长度2-200
func (*TaobaoRefundRefuseAPIRequest) SetRefuseProof ¶
func (r *TaobaoRefundRefuseAPIRequest) SetRefuseProof(_refuseProof *model.File) error
RefuseProof Setter 拒绝退款时的退款凭证,一般是卖家拒绝退款时使用的发货凭证,最大长度130000字节,支持的图片格式:GIF, JPG, PNG。天猫退款为必填项。
func (*TaobaoRefundRefuseAPIRequest) SetRefuseReasonId ¶
func (r *TaobaoRefundRefuseAPIRequest) SetRefuseReasonId(_refuseReasonId int64) error
RefuseReasonId Setter 拒绝原因编号,会提供用户拒绝原因列表供选择
type TaobaoRefundRefuseAPIResponse ¶
type TaobaoRefundRefuseAPIResponse struct { model.CommonResponse TaobaoRefundRefuseAPIResponseModel }
卖家拒绝退款 API返回值 taobao.refund.refuse
卖家拒绝单笔退款(包含退款和退款退货)交易,要求如下:<br/>1. 传入的refund_id和相应的tid, oid必须匹配<br/>2. 如果一笔订单只有一笔子订单,则tid必须与oid相同<br/>3. 只有卖家才能执行拒绝退款操作<br/>4. 以下三种情况不能退款:卖家未发货;7天无理由退换货;网游订单
type TaobaoRefundRefuseAPIResponseModel ¶
type TaobaoRefundRefuseAPIResponseModel struct { XMLName xml.Name `xml:"refund_refuse_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 拒绝退款成功后,会返回Refund数据结构中的refund_id, status, modified字段 Refund *Refund `json:"refund,omitempty" xml:"refund,omitempty"` // 拒绝退款操作是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
卖家拒绝退款 成功返回结果
type TaobaoRefundRefusereasonGetAPIRequest ¶
type TaobaoRefundRefusereasonGetAPIRequest struct { model.Params // contains filtered or unexported fields }
获取拒绝原因列表 API请求 taobao.refund.refusereason.get
获取商家拒绝原因列表
func NewTaobaoRefundRefusereasonGetRequest ¶
func NewTaobaoRefundRefusereasonGetRequest() *TaobaoRefundRefusereasonGetAPIRequest
初始化TaobaoRefundRefusereasonGetAPIRequest对象
func (TaobaoRefundRefusereasonGetAPIRequest) GetApiMethodName ¶
func (r TaobaoRefundRefusereasonGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoRefundRefusereasonGetAPIRequest) GetApiParams ¶
func (r TaobaoRefundRefusereasonGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoRefundRefusereasonGetAPIRequest) GetFields ¶
func (r TaobaoRefundRefusereasonGetAPIRequest) GetFields() string
Fields Getter
func (TaobaoRefundRefusereasonGetAPIRequest) GetRefundId ¶
func (r TaobaoRefundRefusereasonGetAPIRequest) GetRefundId() int64
RefundId Getter
func (TaobaoRefundRefusereasonGetAPIRequest) GetRefundPhase ¶
func (r TaobaoRefundRefusereasonGetAPIRequest) GetRefundPhase() string
RefundPhase Getter
func (*TaobaoRefundRefusereasonGetAPIRequest) SetFields ¶
func (r *TaobaoRefundRefusereasonGetAPIRequest) SetFields(_fields string) error
Fields Setter 返回参数
func (*TaobaoRefundRefusereasonGetAPIRequest) SetRefundId ¶
func (r *TaobaoRefundRefusereasonGetAPIRequest) SetRefundId(_refundId int64) error
RefundId Setter 退款编号
func (*TaobaoRefundRefusereasonGetAPIRequest) SetRefundPhase ¶
func (r *TaobaoRefundRefusereasonGetAPIRequest) SetRefundPhase(_refundPhase string) error
RefundPhase Setter 售中或售后
type TaobaoRefundRefusereasonGetAPIResponse ¶
type TaobaoRefundRefusereasonGetAPIResponse struct { model.CommonResponse TaobaoRefundRefusereasonGetAPIResponseModel }
获取拒绝原因列表 API返回值 taobao.refund.refusereason.get
获取商家拒绝原因列表
type TaobaoRefundRefusereasonGetAPIResponseModel ¶
type TaobaoRefundRefusereasonGetAPIResponseModel struct { XMLName xml.Name `xml:"refund_refusereason_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 卖家拒绝原因对象 Reasons []Reason `json:"reasons,omitempty" xml:"reasons>reason,omitempty"` // 原因个数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // 是否存在下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
获取拒绝原因列表 成功返回结果
type TaobaoRefundsApplyGetAPIRequest ¶
type TaobaoRefundsApplyGetAPIRequest struct { model.Params // contains filtered or unexported fields }
查询买家申请的退款列表 API请求 taobao.refunds.apply.get
查询买家申请的退款列表,且查询外店的退款列表时需要指定交易类型
func NewTaobaoRefundsApplyGetRequest ¶
func NewTaobaoRefundsApplyGetRequest() *TaobaoRefundsApplyGetAPIRequest
初始化TaobaoRefundsApplyGetAPIRequest对象
func (TaobaoRefundsApplyGetAPIRequest) GetApiMethodName ¶
func (r TaobaoRefundsApplyGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoRefundsApplyGetAPIRequest) GetApiParams ¶
func (r TaobaoRefundsApplyGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoRefundsApplyGetAPIRequest) GetFields ¶
func (r TaobaoRefundsApplyGetAPIRequest) GetFields() []string
Fields Getter
func (TaobaoRefundsApplyGetAPIRequest) GetPageNo ¶
func (r TaobaoRefundsApplyGetAPIRequest) GetPageNo() int64
PageNo Getter
func (TaobaoRefundsApplyGetAPIRequest) GetPageSize ¶
func (r TaobaoRefundsApplyGetAPIRequest) GetPageSize() int64
PageSize Getter
func (TaobaoRefundsApplyGetAPIRequest) GetSellerNick ¶
func (r TaobaoRefundsApplyGetAPIRequest) GetSellerNick() string
SellerNick Getter
func (TaobaoRefundsApplyGetAPIRequest) GetStatus ¶
func (r TaobaoRefundsApplyGetAPIRequest) GetStatus() string
Status Getter
func (TaobaoRefundsApplyGetAPIRequest) GetType ¶
func (r TaobaoRefundsApplyGetAPIRequest) GetType() string
Type Getter
func (*TaobaoRefundsApplyGetAPIRequest) SetFields ¶
func (r *TaobaoRefundsApplyGetAPIRequest) SetFields(_fields []string) error
Fields Setter 需要返回的字段。目前支持有:refund_id, tid, title, buyer_nick, seller_nick, total_fee, status, created, refund_fee
func (*TaobaoRefundsApplyGetAPIRequest) SetPageNo ¶
func (r *TaobaoRefundsApplyGetAPIRequest) SetPageNo(_pageNo int64) error
PageNo Setter 页码。传入值为 1 代表第一页,传入值为 2 代表第二页,依此类推。默认返回的数据是从第一页开始
func (*TaobaoRefundsApplyGetAPIRequest) SetPageSize ¶
func (r *TaobaoRefundsApplyGetAPIRequest) SetPageSize(_pageSize int64) error
PageSize Setter 每页条数。取值范围:大于零的整数; 默认值:40;最大值:100
func (*TaobaoRefundsApplyGetAPIRequest) SetSellerNick ¶
func (r *TaobaoRefundsApplyGetAPIRequest) SetSellerNick(_sellerNick string) error
SellerNick Setter 卖家昵称
func (*TaobaoRefundsApplyGetAPIRequest) SetStatus ¶
func (r *TaobaoRefundsApplyGetAPIRequest) SetStatus(_status string) error
Status Setter 退款状态,默认查询所有退款状态的数据,除了默认值外每次只能查询一种状态。<br/>WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意) <br/>WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货) <br/>WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货) <br/>SELLER_REFUSE_BUYER(卖家拒绝退款) <br/>CLOSED(退款关闭) <br/>SUCCESS(退款成功)
func (*TaobaoRefundsApplyGetAPIRequest) SetType ¶
func (r *TaobaoRefundsApplyGetAPIRequest) SetType(_type string) error
Type Setter 交易类型列表,一次查询多种类型可用半角逗号分隔,默认同时查询guarantee_trade, auto_delivery的2种类型的数据。<br/>fixed(一口价) <br/>auction(拍卖) <br/>guarantee_trade(一口价、拍卖) <br/>independent_simple_trade(旺店入门版交易) <br/>independent_shop_trade(旺店标准版交易) <br/>auto_delivery(自动发货) <br/>ec(直冲) <br/>cod(货到付款) <br/>fenxiao(分销) <br/>game_equipment(游戏装备) <br/>shopex_trade(ShopEX交易) <br/>netcn_trade(万网交易) <br/>external_trade(统一外部交易)
type TaobaoRefundsApplyGetAPIResponse ¶
type TaobaoRefundsApplyGetAPIResponse struct { model.CommonResponse TaobaoRefundsApplyGetAPIResponseModel }
查询买家申请的退款列表 API返回值 taobao.refunds.apply.get
查询买家申请的退款列表,且查询外店的退款列表时需要指定交易类型
type TaobaoRefundsApplyGetAPIResponseModel ¶
type TaobaoRefundsApplyGetAPIResponseModel struct { XMLName xml.Name `xml:"refunds_apply_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 搜索到的退款信息列表 Refunds []Refund `json:"refunds,omitempty" xml:"refunds>refund,omitempty"` // 搜索到的交易信息总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
查询买家申请的退款列表 成功返回结果
type TaobaoRpRefundReviewAPIRequest ¶
type TaobaoRpRefundReviewAPIRequest struct { model.Params // contains filtered or unexported fields }
审核退款单 API请求 taobao.rp.refund.review
审核退款单,标志是否可用于批量退款,目前仅支持天猫订单。
func NewTaobaoRpRefundReviewRequest ¶
func NewTaobaoRpRefundReviewRequest() *TaobaoRpRefundReviewAPIRequest
初始化TaobaoRpRefundReviewAPIRequest对象
func (TaobaoRpRefundReviewAPIRequest) GetApiMethodName ¶
func (r TaobaoRpRefundReviewAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoRpRefundReviewAPIRequest) GetApiParams ¶
func (r TaobaoRpRefundReviewAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoRpRefundReviewAPIRequest) GetMessage ¶
func (r TaobaoRpRefundReviewAPIRequest) GetMessage() string
Message Getter
func (TaobaoRpRefundReviewAPIRequest) GetOperator ¶
func (r TaobaoRpRefundReviewAPIRequest) GetOperator() string
Operator Getter
func (TaobaoRpRefundReviewAPIRequest) GetRefundId ¶
func (r TaobaoRpRefundReviewAPIRequest) GetRefundId() int64
RefundId Getter
func (TaobaoRpRefundReviewAPIRequest) GetRefundPhase ¶
func (r TaobaoRpRefundReviewAPIRequest) GetRefundPhase() string
RefundPhase Getter
func (TaobaoRpRefundReviewAPIRequest) GetRefundVersion ¶
func (r TaobaoRpRefundReviewAPIRequest) GetRefundVersion() int64
RefundVersion Getter
func (TaobaoRpRefundReviewAPIRequest) GetResult ¶
func (r TaobaoRpRefundReviewAPIRequest) GetResult() bool
Result Getter
func (*TaobaoRpRefundReviewAPIRequest) SetMessage ¶
func (r *TaobaoRpRefundReviewAPIRequest) SetMessage(_message string) error
Message Setter 审核留言
func (*TaobaoRpRefundReviewAPIRequest) SetOperator ¶
func (r *TaobaoRpRefundReviewAPIRequest) SetOperator(_operator string) error
Operator Setter 审核人姓名
func (*TaobaoRpRefundReviewAPIRequest) SetRefundId ¶
func (r *TaobaoRpRefundReviewAPIRequest) SetRefundId(_refundId int64) error
RefundId Setter 退款单编号
func (*TaobaoRpRefundReviewAPIRequest) SetRefundPhase ¶
func (r *TaobaoRpRefundReviewAPIRequest) SetRefundPhase(_refundPhase string) error
RefundPhase Setter 退款阶段,可选值:售中:onsale,售后:aftersale
func (*TaobaoRpRefundReviewAPIRequest) SetRefundVersion ¶
func (r *TaobaoRpRefundReviewAPIRequest) SetRefundVersion(_refundVersion int64) error
RefundVersion Setter 退款最后更新时间,以时间戳的方式表示
func (*TaobaoRpRefundReviewAPIRequest) SetResult ¶
func (r *TaobaoRpRefundReviewAPIRequest) SetResult(_result bool) error
Result Setter 审核是否可用于批量退款,可选值:true(审核通过),false(审核不通过或反审核)
type TaobaoRpRefundReviewAPIResponse ¶
type TaobaoRpRefundReviewAPIResponse struct { model.CommonResponse TaobaoRpRefundReviewAPIResponseModel }
审核退款单 API返回值 taobao.rp.refund.review
审核退款单,标志是否可用于批量退款,目前仅支持天猫订单。
type TaobaoRpRefundReviewAPIResponseModel ¶
type TaobaoRpRefundReviewAPIResponseModel struct { XMLName xml.Name `xml:"rp_refund_review_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // success IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
审核退款单 成功返回结果
type TaobaoRpRefundsAgreeAPIRequest ¶
type TaobaoRpRefundsAgreeAPIRequest struct { model.Params // contains filtered or unexported fields }
同意退款 API请求 taobao.rp.refunds.agree
卖家同意退款,支持批量退款,只允许子账号操作。淘宝退款一次最多能退20笔,总金额不超过6000元;天猫退款一次最多能退30笔,总金额不超过10000元。
func NewTaobaoRpRefundsAgreeRequest ¶
func NewTaobaoRpRefundsAgreeRequest() *TaobaoRpRefundsAgreeAPIRequest
初始化TaobaoRpRefundsAgreeAPIRequest对象
func (TaobaoRpRefundsAgreeAPIRequest) GetApiMethodName ¶
func (r TaobaoRpRefundsAgreeAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoRpRefundsAgreeAPIRequest) GetApiParams ¶
func (r TaobaoRpRefundsAgreeAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoRpRefundsAgreeAPIRequest) GetCode ¶
func (r TaobaoRpRefundsAgreeAPIRequest) GetCode() string
Code Getter
func (TaobaoRpRefundsAgreeAPIRequest) GetRefundInfos ¶
func (r TaobaoRpRefundsAgreeAPIRequest) GetRefundInfos() string
RefundInfos Getter
func (*TaobaoRpRefundsAgreeAPIRequest) SetCode ¶
func (r *TaobaoRpRefundsAgreeAPIRequest) SetCode(_code string) error
Code Setter 短信验证码,如果退款金额达到一定的数量,后端会返回调用失败,并同时往卖家的手机发送一条短信验证码。接下来用收到的短信验证码再次发起API调用即可完成退款操作。
func (*TaobaoRpRefundsAgreeAPIRequest) SetRefundInfos ¶
func (r *TaobaoRpRefundsAgreeAPIRequest) SetRefundInfos(_refundInfos string) error
RefundInfos Setter 退款信息,格式:refund_id|amount|version|phase,其中refund_id为退款编号,amount为退款金额(以分为单位),version为退款最后更新时间(时间戳格式),phase为退款阶段(可选值为:onsale, aftersale,天猫退款必值,淘宝退款不需要传),多个退款以半角逗号分隔。
type TaobaoRpRefundsAgreeAPIResponse ¶
type TaobaoRpRefundsAgreeAPIResponse struct { model.CommonResponse TaobaoRpRefundsAgreeAPIResponseModel }
同意退款 API返回值 taobao.rp.refunds.agree
卖家同意退款,支持批量退款,只允许子账号操作。淘宝退款一次最多能退20笔,总金额不超过6000元;天猫退款一次最多能退30笔,总金额不超过10000元。
type TaobaoRpRefundsAgreeAPIResponseModel ¶
type TaobaoRpRefundsAgreeAPIResponseModel struct { XMLName xml.Name `xml:"rp_refunds_agree_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 退款操作结果列表 Results []RefundMappingResult `json:"results,omitempty" xml:"results>refund_mapping_result,omitempty"` // 批量退款操作情况,可选值:OP_SUCC(全部成功),SOME_OP_SUCC(部分成功),OP_FAILURE_UE(全部失败) MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // 操作成功 Succ bool `json:"succ,omitempty" xml:"succ,omitempty"` // 信息 Message string `json:"message,omitempty" xml:"message,omitempty"` }
同意退款 成功返回结果
type TaobaoRpReturngoodsAgreeAPIRequest ¶
type TaobaoRpReturngoodsAgreeAPIRequest struct { model.Params // contains filtered or unexported fields }
卖家同意退货 API请求 taobao.rp.returngoods.agree
卖家同意退货,支持淘宝和天猫的订单。
func NewTaobaoRpReturngoodsAgreeRequest ¶
func NewTaobaoRpReturngoodsAgreeRequest() *TaobaoRpReturngoodsAgreeAPIRequest
初始化TaobaoRpReturngoodsAgreeAPIRequest对象
func (TaobaoRpReturngoodsAgreeAPIRequest) GetAddress ¶
func (r TaobaoRpReturngoodsAgreeAPIRequest) GetAddress() string
Address Getter
func (TaobaoRpReturngoodsAgreeAPIRequest) GetApiMethodName ¶
func (r TaobaoRpReturngoodsAgreeAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoRpReturngoodsAgreeAPIRequest) GetApiParams ¶
func (r TaobaoRpReturngoodsAgreeAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoRpReturngoodsAgreeAPIRequest) GetMobile ¶
func (r TaobaoRpReturngoodsAgreeAPIRequest) GetMobile() string
Mobile Getter
func (TaobaoRpReturngoodsAgreeAPIRequest) GetName ¶
func (r TaobaoRpReturngoodsAgreeAPIRequest) GetName() string
Name Getter
func (TaobaoRpReturngoodsAgreeAPIRequest) GetPost ¶
func (r TaobaoRpReturngoodsAgreeAPIRequest) GetPost() string
Post Getter
func (TaobaoRpReturngoodsAgreeAPIRequest) GetPostFeeBearRole ¶
func (r TaobaoRpReturngoodsAgreeAPIRequest) GetPostFeeBearRole() int64
PostFeeBearRole Getter
func (TaobaoRpReturngoodsAgreeAPIRequest) GetRefundId ¶
func (r TaobaoRpReturngoodsAgreeAPIRequest) GetRefundId() int64
RefundId Getter
func (TaobaoRpReturngoodsAgreeAPIRequest) GetRefundPhase ¶
func (r TaobaoRpReturngoodsAgreeAPIRequest) GetRefundPhase() string
RefundPhase Getter
func (TaobaoRpReturngoodsAgreeAPIRequest) GetRefundVersion ¶
func (r TaobaoRpReturngoodsAgreeAPIRequest) GetRefundVersion() int64
RefundVersion Getter
func (TaobaoRpReturngoodsAgreeAPIRequest) GetRemark ¶
func (r TaobaoRpReturngoodsAgreeAPIRequest) GetRemark() string
Remark Getter
func (TaobaoRpReturngoodsAgreeAPIRequest) GetSellerAddressId ¶
func (r TaobaoRpReturngoodsAgreeAPIRequest) GetSellerAddressId() int64
SellerAddressId Getter
func (TaobaoRpReturngoodsAgreeAPIRequest) GetTel ¶
func (r TaobaoRpReturngoodsAgreeAPIRequest) GetTel() string
Tel Getter
func (TaobaoRpReturngoodsAgreeAPIRequest) GetVirtualReturnGoods ¶
func (r TaobaoRpReturngoodsAgreeAPIRequest) GetVirtualReturnGoods() bool
VirtualReturnGoods Getter
func (*TaobaoRpReturngoodsAgreeAPIRequest) SetAddress ¶
func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetAddress(_address string) error
Address Setter 卖家提供的退货地址,淘宝退款为必填项。
func (*TaobaoRpReturngoodsAgreeAPIRequest) SetMobile ¶
func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetMobile(_mobile string) error
Mobile Setter 卖家手机,淘宝退款为必填项。
func (*TaobaoRpReturngoodsAgreeAPIRequest) SetName ¶
func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetName(_name string) error
Name Setter 卖家姓名,淘宝退款为必填项。
func (*TaobaoRpReturngoodsAgreeAPIRequest) SetPost ¶
func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetPost(_post string) error
Post Setter 卖家提供的退货地址的邮编,淘宝退款为必填项。
func (*TaobaoRpReturngoodsAgreeAPIRequest) SetPostFeeBearRole ¶
func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetPostFeeBearRole(_postFeeBearRole int64) error
PostFeeBearRole Setter 邮费承担方,买家承担值为1,卖家承担值为0
func (*TaobaoRpReturngoodsAgreeAPIRequest) SetRefundId ¶
func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetRefundId(_refundId int64) error
RefundId Setter 退款编号
func (*TaobaoRpReturngoodsAgreeAPIRequest) SetRefundPhase ¶
func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetRefundPhase(_refundPhase string) error
RefundPhase Setter 售中:onsale,售后:aftersale,天猫退款为必填项。
func (*TaobaoRpReturngoodsAgreeAPIRequest) SetRefundVersion ¶
func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetRefundVersion(_refundVersion int64) error
RefundVersion Setter 退款版本号,天猫退款为必填项。
func (*TaobaoRpReturngoodsAgreeAPIRequest) SetRemark ¶
func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetRemark(_remark string) error
Remark Setter 卖家退货留言,天猫退款为必填项。
func (*TaobaoRpReturngoodsAgreeAPIRequest) SetSellerAddressId ¶
func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetSellerAddressId(_sellerAddressId int64) error
SellerAddressId Setter 卖家收货地址编号,天猫淘宝退款都为必填项。
func (*TaobaoRpReturngoodsAgreeAPIRequest) SetTel ¶
func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetTel(_tel string) error
Tel Setter 卖家座机,淘宝退款为必填项。
func (*TaobaoRpReturngoodsAgreeAPIRequest) SetVirtualReturnGoods ¶
func (r *TaobaoRpReturngoodsAgreeAPIRequest) SetVirtualReturnGoods(_virtualReturnGoods bool) error
VirtualReturnGoods Setter 是否虚拟退货,可选项
type TaobaoRpReturngoodsAgreeAPIResponse ¶
type TaobaoRpReturngoodsAgreeAPIResponse struct { model.CommonResponse TaobaoRpReturngoodsAgreeAPIResponseModel }
卖家同意退货 API返回值 taobao.rp.returngoods.agree
卖家同意退货,支持淘宝和天猫的订单。
type TaobaoRpReturngoodsAgreeAPIResponseModel ¶
type TaobaoRpReturngoodsAgreeAPIResponseModel struct { XMLName xml.Name `xml:"rp_returngoods_agree_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
卖家同意退货 成功返回结果
type TaobaoRpReturngoodsRefillAPIRequest ¶
type TaobaoRpReturngoodsRefillAPIRequest struct { model.Params // contains filtered or unexported fields }
卖家回填物流信息 API请求 taobao.rp.returngoods.refill
卖家收到货物回填物流信息,如果买家已经回填物流信息,则接口报错,目前仅支持天猫订单。
func NewTaobaoRpReturngoodsRefillRequest ¶
func NewTaobaoRpReturngoodsRefillRequest() *TaobaoRpReturngoodsRefillAPIRequest
初始化TaobaoRpReturngoodsRefillAPIRequest对象
func (TaobaoRpReturngoodsRefillAPIRequest) GetApiMethodName ¶
func (r TaobaoRpReturngoodsRefillAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoRpReturngoodsRefillAPIRequest) GetApiParams ¶
func (r TaobaoRpReturngoodsRefillAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoRpReturngoodsRefillAPIRequest) GetLogisticsCompanyCode ¶
func (r TaobaoRpReturngoodsRefillAPIRequest) GetLogisticsCompanyCode() string
LogisticsCompanyCode Getter
func (TaobaoRpReturngoodsRefillAPIRequest) GetLogisticsWaybillNo ¶
func (r TaobaoRpReturngoodsRefillAPIRequest) GetLogisticsWaybillNo() string
LogisticsWaybillNo Getter
func (TaobaoRpReturngoodsRefillAPIRequest) GetRefundId ¶
func (r TaobaoRpReturngoodsRefillAPIRequest) GetRefundId() int64
RefundId Getter
func (TaobaoRpReturngoodsRefillAPIRequest) GetRefundPhase ¶
func (r TaobaoRpReturngoodsRefillAPIRequest) GetRefundPhase() string
RefundPhase Getter
func (*TaobaoRpReturngoodsRefillAPIRequest) SetLogisticsCompanyCode ¶
func (r *TaobaoRpReturngoodsRefillAPIRequest) SetLogisticsCompanyCode(_logisticsCompanyCode string) error
LogisticsCompanyCode Setter 物流公司编号
func (*TaobaoRpReturngoodsRefillAPIRequest) SetLogisticsWaybillNo ¶
func (r *TaobaoRpReturngoodsRefillAPIRequest) SetLogisticsWaybillNo(_logisticsWaybillNo string) error
LogisticsWaybillNo Setter 物流公司运单号
func (*TaobaoRpReturngoodsRefillAPIRequest) SetRefundId ¶
func (r *TaobaoRpReturngoodsRefillAPIRequest) SetRefundId(_refundId int64) error
RefundId Setter 退款单编号
func (*TaobaoRpReturngoodsRefillAPIRequest) SetRefundPhase ¶
func (r *TaobaoRpReturngoodsRefillAPIRequest) SetRefundPhase(_refundPhase string) error
RefundPhase Setter 退款阶段,可选值:售中:onsale,售后:aftersale
type TaobaoRpReturngoodsRefillAPIResponse ¶
type TaobaoRpReturngoodsRefillAPIResponse struct { model.CommonResponse TaobaoRpReturngoodsRefillAPIResponseModel }
卖家回填物流信息 API返回值 taobao.rp.returngoods.refill
卖家收到货物回填物流信息,如果买家已经回填物流信息,则接口报错,目前仅支持天猫订单。
type TaobaoRpReturngoodsRefillAPIResponseModel ¶
type TaobaoRpReturngoodsRefillAPIResponseModel struct { XMLName xml.Name `xml:"rp_returngoods_refill_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 验货操作是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
卖家回填物流信息 成功返回结果
type TaobaoRpReturngoodsRefuseAPIRequest ¶
type TaobaoRpReturngoodsRefuseAPIRequest struct { model.Params // contains filtered or unexported fields }
卖家拒绝退货 API请求 taobao.rp.returngoods.refuse
卖家拒绝退货,目前仅支持天猫退货。
func NewTaobaoRpReturngoodsRefuseRequest ¶
func NewTaobaoRpReturngoodsRefuseRequest() *TaobaoRpReturngoodsRefuseAPIRequest
初始化TaobaoRpReturngoodsRefuseAPIRequest对象
func (TaobaoRpReturngoodsRefuseAPIRequest) GetApiMethodName ¶
func (r TaobaoRpReturngoodsRefuseAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoRpReturngoodsRefuseAPIRequest) GetApiParams ¶
func (r TaobaoRpReturngoodsRefuseAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoRpReturngoodsRefuseAPIRequest) GetRefundId ¶
func (r TaobaoRpReturngoodsRefuseAPIRequest) GetRefundId() int64
RefundId Getter
func (TaobaoRpReturngoodsRefuseAPIRequest) GetRefundPhase ¶
func (r TaobaoRpReturngoodsRefuseAPIRequest) GetRefundPhase() string
RefundPhase Getter
func (TaobaoRpReturngoodsRefuseAPIRequest) GetRefundVersion ¶
func (r TaobaoRpReturngoodsRefuseAPIRequest) GetRefundVersion() int64
RefundVersion Getter
func (TaobaoRpReturngoodsRefuseAPIRequest) GetRefuseProof ¶
func (r TaobaoRpReturngoodsRefuseAPIRequest) GetRefuseProof() *model.File
RefuseProof Getter
func (TaobaoRpReturngoodsRefuseAPIRequest) GetRefuseReasonId ¶
func (r TaobaoRpReturngoodsRefuseAPIRequest) GetRefuseReasonId() int64
RefuseReasonId Getter
func (*TaobaoRpReturngoodsRefuseAPIRequest) SetRefundId ¶
func (r *TaobaoRpReturngoodsRefuseAPIRequest) SetRefundId(_refundId int64) error
RefundId Setter 退款编号
func (*TaobaoRpReturngoodsRefuseAPIRequest) SetRefundPhase ¶
func (r *TaobaoRpReturngoodsRefuseAPIRequest) SetRefundPhase(_refundPhase string) error
RefundPhase Setter 退款服务状态,售后或者售中
func (*TaobaoRpReturngoodsRefuseAPIRequest) SetRefundVersion ¶
func (r *TaobaoRpReturngoodsRefuseAPIRequest) SetRefundVersion(_refundVersion int64) error
RefundVersion Setter 退款版本号
func (*TaobaoRpReturngoodsRefuseAPIRequest) SetRefuseProof ¶
func (r *TaobaoRpReturngoodsRefuseAPIRequest) SetRefuseProof(_refuseProof *model.File) error
RefuseProof Setter 拒绝退货凭证图片,必须图片格式,大小不能超过5M
func (*TaobaoRpReturngoodsRefuseAPIRequest) SetRefuseReasonId ¶
func (r *TaobaoRpReturngoodsRefuseAPIRequest) SetRefuseReasonId(_refuseReasonId int64) error
RefuseReasonId Setter 拒绝原因编号,会提供拒绝原因列表供选择
type TaobaoRpReturngoodsRefuseAPIResponse ¶
type TaobaoRpReturngoodsRefuseAPIResponse struct { model.CommonResponse TaobaoRpReturngoodsRefuseAPIResponseModel }
卖家拒绝退货 API返回值 taobao.rp.returngoods.refuse
卖家拒绝退货,目前仅支持天猫退货。
type TaobaoRpReturngoodsRefuseAPIResponseModel ¶
type TaobaoRpReturngoodsRefuseAPIResponseModel struct { XMLName xml.Name `xml:"rp_returngoods_refuse_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // asdf Result bool `json:"result,omitempty" xml:"result,omitempty"` }
卖家拒绝退货 成功返回结果
type TaobaoSpecialRefundGetAPIRequest ¶
type TaobaoSpecialRefundGetAPIRequest struct { model.Params // contains filtered or unexported fields }
特殊部分退纠纷单查询 API请求 taobao.special.refund.get
获取单笔特殊部分退的纠纷单查询
func NewTaobaoSpecialRefundGetRequest ¶
func NewTaobaoSpecialRefundGetRequest() *TaobaoSpecialRefundGetAPIRequest
初始化TaobaoSpecialRefundGetAPIRequest对象
func (TaobaoSpecialRefundGetAPIRequest) GetApiMethodName ¶
func (r TaobaoSpecialRefundGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoSpecialRefundGetAPIRequest) GetApiParams ¶
func (r TaobaoSpecialRefundGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoSpecialRefundGetAPIRequest) GetFields ¶
func (r TaobaoSpecialRefundGetAPIRequest) GetFields() []string
Fields Getter
func (TaobaoSpecialRefundGetAPIRequest) GetRefundId ¶
func (r TaobaoSpecialRefundGetAPIRequest) GetRefundId() int64
RefundId Getter
func (*TaobaoSpecialRefundGetAPIRequest) SetFields ¶
func (r *TaobaoSpecialRefundGetAPIRequest) SetFields(_fields []string) error
Fields Setter 需要返回的字段。目前支持有:refund_id, alipay_no, tid, oid, buyer_nick, seller_nick, total_fee, status, created, refund_fee, good_status, has_good_return, payment, reason, desc, num_iid, title, price, num, good_return_time, company_name, sid, address, shipping_type, refund_remind_timeout, refund_phase, refund_version, operation_contraint, attribute, outer_id, sku
func (*TaobaoSpecialRefundGetAPIRequest) SetRefundId ¶
func (r *TaobaoSpecialRefundGetAPIRequest) SetRefundId(_refundId int64) error
RefundId Setter 退款单号
type TaobaoSpecialRefundGetAPIResponse ¶
type TaobaoSpecialRefundGetAPIResponse struct { model.CommonResponse TaobaoSpecialRefundGetAPIResponseModel }
特殊部分退纠纷单查询 API返回值 taobao.special.refund.get
获取单笔特殊部分退的纠纷单查询
type TaobaoSpecialRefundGetAPIResponseModel ¶
type TaobaoSpecialRefundGetAPIResponseModel struct { XMLName xml.Name `xml:"special_refund_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 退款详情 Refund *Refund `json:"refund,omitempty" xml:"refund,omitempty"` }
特殊部分退纠纷单查询 成功返回结果
type TaobaoSpecialRefundsReceiveGetAPIRequest ¶
type TaobaoSpecialRefundsReceiveGetAPIRequest struct { model.Params // contains filtered or unexported fields }
特殊退款类型的纠纷单列表查询 API请求 taobao.special.refunds.receive.get
特殊退款类型的纠纷单列表查询
func NewTaobaoSpecialRefundsReceiveGetRequest ¶
func NewTaobaoSpecialRefundsReceiveGetRequest() *TaobaoSpecialRefundsReceiveGetAPIRequest
初始化TaobaoSpecialRefundsReceiveGetAPIRequest对象
func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetApiMethodName ¶
func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetApiParams ¶
func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetBuyerNick ¶
func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetBuyerNick() string
BuyerNick Getter
func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetEndModified ¶
func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetEndModified() string
EndModified Getter
func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetFields ¶
func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetFields() []string
Fields Getter
func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetPageNo ¶
func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetPageNo() int64
PageNo Getter
func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetPageSize ¶
func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetPageSize() int64
PageSize Getter
func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetStartModified ¶
func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetStartModified() string
StartModified Getter
func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetStatus ¶
func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetStatus() string
Status Getter
func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetType ¶
func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetType() string
Type Getter
func (TaobaoSpecialRefundsReceiveGetAPIRequest) GetUseHasNext ¶
func (r TaobaoSpecialRefundsReceiveGetAPIRequest) GetUseHasNext() bool
UseHasNext Getter
func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetBuyerNick ¶
func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetBuyerNick(_buyerNick string) error
BuyerNick Setter 买家昵称
func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetEndModified ¶
func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetEndModified(_endModified string) error
EndModified Setter 查询修改时间结束。格式: yyyy-MM-dd HH:mm:ss
func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetFields ¶
func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetFields(_fields []string) error
Fields Setter 需要返回的字段。目前支持有:refund_id, tid, title, buyer_nick, seller_nick, total_fee, status, created, refund_fee, oid, good_status, company_name, sid, payment, reason, desc, has_good_return, modified, order_status,refund_phase
func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetPageNo ¶
func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetPageNo(_pageNo int64) error
PageNo Setter 页码。取值范围:大于零的整数; 默认值:1
func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetPageSize ¶
func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetPageSize(_pageSize int64) error
PageSize Setter 每页条数。取值范围:大于零的整数; 默认值:40;最大值:100
func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetStartModified ¶
func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetStartModified(_startModified string) error
StartModified Setter 查询修改时间开始。格式: yyyy-MM-dd HH:mm:ss
func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetStatus ¶
func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetStatus(_status string) error
Status Setter 退款状态,默认查询所有退款状态的数据,除了默认值外每次只能查询一种状态。WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意) WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货) WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货) SELLER_REFUSE_BUYER(卖家拒绝退款) CLOSED(退款关闭) SUCCESS(退款成功)
func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetType ¶
func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetType(_type string) error
Type Setter 交易类型列表,一次查询多种类型可用半角逗号分隔,默认同时查询guarantee_trade, auto_delivery这两种类型的数据,<a href="http://open.taobao.com/doc/detail.htm?id=102855" target="_blank">查看可选值</a>
func (*TaobaoSpecialRefundsReceiveGetAPIRequest) SetUseHasNext ¶
func (r *TaobaoSpecialRefundsReceiveGetAPIRequest) SetUseHasNext(_useHasNext bool) error
UseHasNext Setter 是否启用has_next的分页方式,如果指定true,则返回的结果中不包含总记录数,但是会新增一个是否存在下一页的的字段,通过此种方式获取增量退款,接口调用成功率在原有的基础上有所提升。
type TaobaoSpecialRefundsReceiveGetAPIResponse ¶
type TaobaoSpecialRefundsReceiveGetAPIResponse struct { model.CommonResponse TaobaoSpecialRefundsReceiveGetAPIResponseModel }
特殊退款类型的纠纷单列表查询 API返回值 taobao.special.refunds.receive.get
特殊退款类型的纠纷单列表查询
type TaobaoSpecialRefundsReceiveGetAPIResponseModel ¶
type TaobaoSpecialRefundsReceiveGetAPIResponseModel struct { XMLName xml.Name `xml:"special_refunds_receive_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 搜索到的退款信息总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // 是否存在下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` // 搜索到的退款信息列表 Refunds []Refund `json:"refunds,omitempty" xml:"refunds>refund,omitempty"` }
特殊退款类型的纠纷单列表查询 成功返回结果
type TmallDisputeReceiveGetAPIRequest ¶
type TmallDisputeReceiveGetAPIRequest struct { model.Params // contains filtered or unexported fields }
天猫逆向纠纷查询 API请求 tmall.dispute.receive.get
展示商家所有退款信息
func NewTmallDisputeReceiveGetRequest ¶
func NewTmallDisputeReceiveGetRequest() *TmallDisputeReceiveGetAPIRequest
初始化TmallDisputeReceiveGetAPIRequest对象
func (TmallDisputeReceiveGetAPIRequest) GetApiMethodName ¶
func (r TmallDisputeReceiveGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TmallDisputeReceiveGetAPIRequest) GetApiParams ¶
func (r TmallDisputeReceiveGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TmallDisputeReceiveGetAPIRequest) GetBuyerNick ¶
func (r TmallDisputeReceiveGetAPIRequest) GetBuyerNick() string
BuyerNick Getter
func (TmallDisputeReceiveGetAPIRequest) GetEndModified ¶
func (r TmallDisputeReceiveGetAPIRequest) GetEndModified() string
EndModified Getter
func (TmallDisputeReceiveGetAPIRequest) GetFields ¶
func (r TmallDisputeReceiveGetAPIRequest) GetFields() []string
Fields Getter
func (TmallDisputeReceiveGetAPIRequest) GetPageNo ¶
func (r TmallDisputeReceiveGetAPIRequest) GetPageNo() int64
PageNo Getter
func (TmallDisputeReceiveGetAPIRequest) GetPageSize ¶
func (r TmallDisputeReceiveGetAPIRequest) GetPageSize() int64
PageSize Getter
func (TmallDisputeReceiveGetAPIRequest) GetRefundId ¶
func (r TmallDisputeReceiveGetAPIRequest) GetRefundId() int64
RefundId Getter
func (TmallDisputeReceiveGetAPIRequest) GetStartModified ¶
func (r TmallDisputeReceiveGetAPIRequest) GetStartModified() string
StartModified Getter
func (TmallDisputeReceiveGetAPIRequest) GetStatus ¶
func (r TmallDisputeReceiveGetAPIRequest) GetStatus() string
Status Getter
func (TmallDisputeReceiveGetAPIRequest) GetType ¶
func (r TmallDisputeReceiveGetAPIRequest) GetType() string
Type Getter
func (TmallDisputeReceiveGetAPIRequest) GetUseHasNext ¶
func (r TmallDisputeReceiveGetAPIRequest) GetUseHasNext() bool
UseHasNext Getter
func (*TmallDisputeReceiveGetAPIRequest) SetBuyerNick ¶
func (r *TmallDisputeReceiveGetAPIRequest) SetBuyerNick(_buyerNick string) error
BuyerNick Setter 买家昵称
func (*TmallDisputeReceiveGetAPIRequest) SetEndModified ¶
func (r *TmallDisputeReceiveGetAPIRequest) SetEndModified(_endModified string) error
EndModified Setter 查询修改时间结束。格式: yyyy-MM-dd HH:mm:ss
func (*TmallDisputeReceiveGetAPIRequest) SetFields ¶
func (r *TmallDisputeReceiveGetAPIRequest) SetFields(_fields []string) error
Fields Setter 需要返回的字段。目前支持有:refund_id, alipay_no, tid, buyer_nick, seller_nick, status, created, modified, order_status, refund_fee, good_status, show_return_logistic(展现买家退货的物流信息), show_exchange_logistic(展现换货的物流信息), time_out, oid, refund_version, title, num, dispute_request, reason, desc
func (*TmallDisputeReceiveGetAPIRequest) SetPageNo ¶
func (r *TmallDisputeReceiveGetAPIRequest) SetPageNo(_pageNo int64) error
PageNo Setter 页码。取值范围:大于零的整数; 默认值:1
func (*TmallDisputeReceiveGetAPIRequest) SetPageSize ¶
func (r *TmallDisputeReceiveGetAPIRequest) SetPageSize(_pageSize int64) error
PageSize Setter 每页条数。取值范围:大于零的整数; 默认值:20;最大值:100
func (*TmallDisputeReceiveGetAPIRequest) SetRefundId ¶
func (r *TmallDisputeReceiveGetAPIRequest) SetRefundId(_refundId int64) error
RefundId Setter 逆向纠纷单号id
func (*TmallDisputeReceiveGetAPIRequest) SetStartModified ¶
func (r *TmallDisputeReceiveGetAPIRequest) SetStartModified(_startModified string) error
StartModified Setter 查询修改时间开始。格式: yyyy-MM-dd HH:mm:ss
func (*TmallDisputeReceiveGetAPIRequest) SetStatus ¶
func (r *TmallDisputeReceiveGetAPIRequest) SetStatus(_status string) error
Status Setter 退款状态,默认查询所有退款状态的数据,除了默认值外每次只能查询一种状态。WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意);WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货);WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货);CLOSED(退款关闭); SUCCESS(退款成功);SELLER_REFUSE_BUYER(卖家拒绝退款);WAIT_BUYER_CONFIRM_REDO_SEND_GOODS(等待买家确认重新邮寄的货物);WAIT_SELLER_CONFIRM_RETURN_ADDRESS(等待卖家确认退货地址);WAIT_SELLER_CONSIGN_GOOGDS(卖家确认收货,等待卖家发货);EXCHANGE_TRANSFORM_TO_REFUND(换货关闭,转退货退款);EXCHANGE_WAIT_BUYER_CONFIRM_GOODS(卖家已发货,等待买家确认收货);POST_FEE_DISPUTE_WAIT_ACTIVATE(邮费单已创建,待激活)
func (*TmallDisputeReceiveGetAPIRequest) SetType ¶
func (r *TmallDisputeReceiveGetAPIRequest) SetType(_type string) error
Type Setter 交易类型列表,一次查询多种类型可用半角逗号分隔,默认同时查询guarantee_trade, auto_delivery这两种类型的数据,查看可选值
func (*TmallDisputeReceiveGetAPIRequest) SetUseHasNext ¶
func (r *TmallDisputeReceiveGetAPIRequest) SetUseHasNext(_useHasNext bool) error
UseHasNext Setter 是否启用has_next的分页方式,如果指定true,则返回的结果中不包含总记录数,但是会新增一个是否存在下一页的的字段,通过此种方式获取增量退款,接口调用成功率在原有的基础上有所提升。
type TmallDisputeReceiveGetAPIResponse ¶
type TmallDisputeReceiveGetAPIResponse struct { model.CommonResponse TmallDisputeReceiveGetAPIResponseModel }
天猫逆向纠纷查询 API返回值 tmall.dispute.receive.get
展示商家所有退款信息
type TmallDisputeReceiveGetAPIResponseModel ¶
type TmallDisputeReceiveGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_dispute_receive_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TmallDisputeReceiveGetResultSet `json:"result,omitempty" xml:"result,omitempty"` }
天猫逆向纠纷查询 成功返回结果
type TmallDisputeReceiveGetResultSet ¶
type TmallDisputeReceiveGetResultSet struct { // 当前页面的纠纷单数量 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"` // 所抛出异常 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"` // results Results []Dispute `json:"results,omitempty" xml:"results>dispute,omitempty"` }
TmallDisputeReceiveGetResultSet
Source Files
¶
- CancelGoodsDto.go
- Dispute.go
- PicUrl.go
- Reason.go
- Refund.go
- RefundMappingResult.go
- RefundMessage.go
- RefundRemindTimeout.go
- Resultdata.go
- SyncIdentifyRefundCaseDto.go
- SyncIdentifyRefundCaseResultDto.go
- TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest.go
- TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse.go
- TaobaoRdcAligeniusIdentificationCaseResultUpdateResult.go
- TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest.go
- TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse.go
- TaobaoRdcAligeniusIdentificationCaseUpdateResult.go
- TaobaoRdcAligeniusSendgoodsCancelAPIRequest.go
- TaobaoRdcAligeniusSendgoodsCancelAPIResponse.go
- TaobaoRdcAligeniusSendgoodsCancelResult.go
- TaobaoRefundGetAPIRequest.go
- TaobaoRefundGetAPIResponse.go
- TaobaoRefundMessageAddAPIRequest.go
- TaobaoRefundMessageAddAPIResponse.go
- TaobaoRefundMessagesGetAPIRequest.go
- TaobaoRefundMessagesGetAPIResponse.go
- TaobaoRefundRefuseAPIRequest.go
- TaobaoRefundRefuseAPIResponse.go
- TaobaoRefundRefusereasonGetAPIRequest.go
- TaobaoRefundRefusereasonGetAPIResponse.go
- TaobaoRefundsApplyGetAPIRequest.go
- TaobaoRefundsApplyGetAPIResponse.go
- TaobaoRpRefundReviewAPIRequest.go
- TaobaoRpRefundReviewAPIResponse.go
- TaobaoRpRefundsAgreeAPIRequest.go
- TaobaoRpRefundsAgreeAPIResponse.go
- TaobaoRpReturngoodsAgreeAPIRequest.go
- TaobaoRpReturngoodsAgreeAPIResponse.go
- TaobaoRpReturngoodsRefillAPIRequest.go
- TaobaoRpReturngoodsRefillAPIResponse.go
- TaobaoRpReturngoodsRefuseAPIRequest.go
- TaobaoRpReturngoodsRefuseAPIResponse.go
- TaobaoSpecialRefundGetAPIRequest.go
- TaobaoSpecialRefundGetAPIResponse.go
- TaobaoSpecialRefundsReceiveGetAPIRequest.go
- TaobaoSpecialRefundsReceiveGetAPIResponse.go
- TmallDisputeReceiveGetAPIRequest.go
- TmallDisputeReceiveGetAPIResponse.go
- TmallDisputeReceiveGetResultSet.go
- doc.go