Documentation ¶
Overview ¶
Package refund 包含退款API相关结构体
Index ¶
- type CancelGoodsDto
- type Refund
- type Resultdata
- type SyncIdentifyRefundCaseDto
- type SyncIdentifyRefundCaseResultDto
- type TaobaordcaligeniusidentificationcaseresultupdateAPIRequest
- func (r TaobaordcaligeniusidentificationcaseresultupdateAPIRequest) GetApiMethodName() string
- func (r TaobaordcaligeniusidentificationcaseresultupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaordcaligeniusidentificationcaseresultupdateAPIRequest) GetParam() *SyncIdentifyRefundCaseResultDto
- func (r TaobaordcaligeniusidentificationcaseresultupdateAPIRequest) GetRawParams() model.Params
- func (r *TaobaordcaligeniusidentificationcaseresultupdateAPIRequest) SetParam(_param *SyncIdentifyRefundCaseResultDto) error
- type TaobaordcaligeniusidentificationcaseresultupdateAPIResponse
- type TaobaordcaligeniusidentificationcaseresultupdateAPIResponseModel
- type TaobaordcaligeniusidentificationcaseresultupdateResult
- type TaobaordcaligeniusidentificationcaseupdateAPIRequest
- func (r TaobaordcaligeniusidentificationcaseupdateAPIRequest) GetApiMethodName() string
- func (r TaobaordcaligeniusidentificationcaseupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaordcaligeniusidentificationcaseupdateAPIRequest) GetParam() *SyncIdentifyRefundCaseDto
- func (r TaobaordcaligeniusidentificationcaseupdateAPIRequest) GetRawParams() model.Params
- func (r *TaobaordcaligeniusidentificationcaseupdateAPIRequest) SetParam(_param *SyncIdentifyRefundCaseDto) error
- type TaobaordcaligeniusidentificationcaseupdateAPIResponse
- type TaobaordcaligeniusidentificationcaseupdateAPIResponseModel
- type TaobaordcaligeniusidentificationcaseupdateResult
- type TaobaordcaligeniussendgoodscancelAPIRequest
- func (r TaobaordcaligeniussendgoodscancelAPIRequest) GetApiMethodName() string
- func (r TaobaordcaligeniussendgoodscancelAPIRequest) GetApiParams(params url.Values)
- func (r TaobaordcaligeniussendgoodscancelAPIRequest) GetParam() *CancelGoodsDto
- func (r TaobaordcaligeniussendgoodscancelAPIRequest) GetRawParams() model.Params
- func (r *TaobaordcaligeniussendgoodscancelAPIRequest) SetParam(_param *CancelGoodsDto) error
- type TaobaordcaligeniussendgoodscancelAPIResponse
- type TaobaordcaligeniussendgoodscancelAPIResponseModel
- type TaobaordcaligeniussendgoodscancelResult
- type TaobaorefundrefuseAPIRequest
- func (r TaobaorefundrefuseAPIRequest) GetApiMethodName() string
- func (r TaobaorefundrefuseAPIRequest) GetApiParams(params url.Values)
- func (r TaobaorefundrefuseAPIRequest) GetRawParams() model.Params
- 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 TaobaorefundsreceivegetAPIRequest
- func (r TaobaorefundsreceivegetAPIRequest) GetApiMethodName() string
- func (r TaobaorefundsreceivegetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaorefundsreceivegetAPIRequest) GetBuyerNick() string
- func (r TaobaorefundsreceivegetAPIRequest) GetBuyerOpenUid() string
- func (r TaobaorefundsreceivegetAPIRequest) GetEndModified() string
- func (r TaobaorefundsreceivegetAPIRequest) GetFields() []string
- func (r TaobaorefundsreceivegetAPIRequest) GetOuid() string
- func (r TaobaorefundsreceivegetAPIRequest) GetPageNo() int64
- func (r TaobaorefundsreceivegetAPIRequest) GetPageSize() int64
- func (r TaobaorefundsreceivegetAPIRequest) GetRawParams() model.Params
- func (r TaobaorefundsreceivegetAPIRequest) GetStartModified() string
- func (r TaobaorefundsreceivegetAPIRequest) GetStatus() string
- func (r TaobaorefundsreceivegetAPIRequest) GetType() string
- func (r TaobaorefundsreceivegetAPIRequest) GetUseHasNext() bool
- func (r *TaobaorefundsreceivegetAPIRequest) SetBuyerNick(_buyerNick string) error
- func (r *TaobaorefundsreceivegetAPIRequest) SetBuyerOpenUid(_buyerOpenUid string) error
- func (r *TaobaorefundsreceivegetAPIRequest) SetEndModified(_endModified string) error
- func (r *TaobaorefundsreceivegetAPIRequest) SetFields(_fields []string) error
- func (r *TaobaorefundsreceivegetAPIRequest) SetOuid(_ouid string) error
- func (r *TaobaorefundsreceivegetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaorefundsreceivegetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaorefundsreceivegetAPIRequest) SetStartModified(_startModified string) error
- func (r *TaobaorefundsreceivegetAPIRequest) SetStatus(_status string) error
- func (r *TaobaorefundsreceivegetAPIRequest) SetType(_type string) error
- func (r *TaobaorefundsreceivegetAPIRequest) SetUseHasNext(_useHasNext bool) error
- type TaobaorefundsreceivegetAPIResponse
- type TaobaorefundsreceivegetAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelGoodsDto ¶
type CancelGoodsDto struct { // 操作时间 OperateTime string `json:"operate_time,omitempty" xml:"operate_time,omitempty"` // 状态SUCCESS、FAIL Status string `json:"status,omitempty" xml:"status,omitempty"` // 商家商品ID OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 描述 Msg string `json:"msg,omitempty" xml:"msg,omitempty"` // 子订单ID Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"` // 退款单ID RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 退款金额 单位 分 RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,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"` }
CancelGoodsDto 结构体
type Refund ¶
type Refund struct { // 退款单号 RefundId string `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 更新时间。格式:yyyy-MM-dd HH:mm:ss Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 退款状态。可选值WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意) WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货) WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货) SELLER_REFUSE_BUYER(卖家拒绝退款) CLOSED(退款关闭) SUCCESS(退款成功) Status string `json:"status,omitempty" xml:"status,omitempty"` // 交易总金额。精确到2位小数;单位:元。如:200.07,表示:200元7分 TotalFee string `json:"total_fee,omitempty" xml:"total_fee,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"` // 退款对应的订单交易状态。可选值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"` // 货物状态。可选值BUYER_NOT_RECEIVED (买家未收到货) BUYER_RECEIVED (买家已收到货) BUYER_RETURNED_GOODS (买家已退货) GoodStatus string `json:"good_status,omitempty" xml:"good_status,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"` // 物流公司名称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 退货运单号 Sid string `json:"sid,omitempty" xml:"sid,omitempty"` // 退款阶段,可选值:onsale/aftersale RefundPhase string `json:"refund_phase,omitempty" xml:"refund_phase,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"` // ouid Ouid string `json:"ouid,omitempty" xml:"ouid,omitempty"` // 买家账号的OpenUID BuyerOpenUid string `json:"buyer_open_uid,omitempty" xml:"buyer_open_uid,omitempty"` // 买家昵称 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 退款类型 DisputeType string `json:"dispute_type,omitempty" xml:"dispute_type,omitempty"` // 淘宝交易单号 Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 子订单号。如果是单笔交易oid会等于tid Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"` // 商品购买数量 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 退款版本号(时间戳) RefundVersion int64 `json:"refund_version,omitempty" xml:"refund_version,omitempty"` // 买家是否需要退货。可选值:true(是),false(否) HasGoodReturn bool `json:"has_good_return,omitempty" xml:"has_good_return,omitempty"` }
Refund 结构体
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 { // 鉴定工单操作备注 OperateTips string `json:"operate_tips,omitempty" xml:"operate_tips,omitempty"` // 鉴定工单ID OuterCaseId string `json:"outer_case_id,omitempty" xml:"outer_case_id,omitempty"` // 扩展属性,json格式 ExtAttrs string `json:"ext_attrs,omitempty" xml:"ext_attrs,omitempty"` // 子订单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"` // 退款ID RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` }
SyncIdentifyRefundCaseDto 结构体
type SyncIdentifyRefundCaseResultDto ¶
type SyncIdentifyRefundCaseResultDto struct { // 鉴定工单ID OuterCaseId string `json:"outer_case_id,omitempty" xml:"outer_case_id,omitempty"` // 鉴定结果提示 ResultTips string `json:"result_tips,omitempty" xml:"result_tips,omitempty"` // 扩展属性,json格式 ExtAttrs string `json:"ext_attrs,omitempty" xml:"ext_attrs,omitempty"` // 子订单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:可换,3:不通过 ResultType int64 `json:"result_type,omitempty" xml:"result_type,omitempty"` // 退款ID RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` }
SyncIdentifyRefundCaseResultDto 结构体
type TaobaordcaligeniusidentificationcaseresultupdateAPIRequest ¶ added in v1.3.1
type TaobaordcaligeniusidentificationcaseresultupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaordcaligeniusidentificationcaseresultupdateAPIRequest 鉴定工单结果同步 API请求 taobao.rdc.aligenius.identification.case.result.update
同步鉴定工单结果信息
func NewTaobaordcaligeniusidentificationcaseresultupdateRequest ¶ added in v1.3.1
func NewTaobaordcaligeniusidentificationcaseresultupdateRequest() *TaobaordcaligeniusidentificationcaseresultupdateAPIRequest
NewTaobaordcaligeniusidentificationcaseresultupdateRequest 初始化TaobaordcaligeniusidentificationcaseresultupdateAPIRequest对象
func (TaobaordcaligeniusidentificationcaseresultupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaordcaligeniusidentificationcaseresultupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaordcaligeniusidentificationcaseresultupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaordcaligeniusidentificationcaseresultupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaordcaligeniusidentificationcaseresultupdateAPIRequest) GetParam ¶ added in v1.3.1
func (r TaobaordcaligeniusidentificationcaseresultupdateAPIRequest) GetParam() *SyncIdentifyRefundCaseResultDto
GetParam Param Getter
func (TaobaordcaligeniusidentificationcaseresultupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaordcaligeniusidentificationcaseresultupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaordcaligeniusidentificationcaseresultupdateAPIRequest) SetParam ¶ added in v1.3.1
func (r *TaobaordcaligeniusidentificationcaseresultupdateAPIRequest) SetParam(_param *SyncIdentifyRefundCaseResultDto) error
SetParam is Param Setter 请求参数
type TaobaordcaligeniusidentificationcaseresultupdateAPIResponse ¶ added in v1.3.1
type TaobaordcaligeniusidentificationcaseresultupdateAPIResponse struct { model.CommonResponse TaobaordcaligeniusidentificationcaseresultupdateAPIResponseModel }
TaobaordcaligeniusidentificationcaseresultupdateAPIResponse 鉴定工单结果同步 API返回值 taobao.rdc.aligenius.identification.case.result.update
同步鉴定工单结果信息
type TaobaordcaligeniusidentificationcaseresultupdateAPIResponseModel ¶ added in v1.3.1
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"` }
TaobaordcaligeniusidentificationcaseresultupdateAPIResponseModel is 鉴定工单结果同步 成功返回结果
type TaobaordcaligeniusidentificationcaseresultupdateResult ¶ added in v1.3.1
type TaobaordcaligeniusidentificationcaseresultupdateResult struct { // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorInfo string `json:"error_info,omitempty" xml:"error_info,omitempty"` // resultData ResultData *Resultdata `json:"result_data,omitempty" xml:"result_data,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaordcaligeniusidentificationcaseresultupdateResult 结构体
type TaobaordcaligeniusidentificationcaseupdateAPIRequest ¶ added in v1.3.1
type TaobaordcaligeniusidentificationcaseupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaordcaligeniusidentificationcaseupdateAPIRequest 鉴定工单信息同步 API请求 taobao.rdc.aligenius.identification.case.update
同步商家鉴定工单信息
func NewTaobaordcaligeniusidentificationcaseupdateRequest ¶ added in v1.3.1
func NewTaobaordcaligeniusidentificationcaseupdateRequest() *TaobaordcaligeniusidentificationcaseupdateAPIRequest
NewTaobaordcaligeniusidentificationcaseupdateRequest 初始化TaobaordcaligeniusidentificationcaseupdateAPIRequest对象
func (TaobaordcaligeniusidentificationcaseupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaordcaligeniusidentificationcaseupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaordcaligeniusidentificationcaseupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaordcaligeniusidentificationcaseupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaordcaligeniusidentificationcaseupdateAPIRequest) GetParam ¶ added in v1.3.1
func (r TaobaordcaligeniusidentificationcaseupdateAPIRequest) GetParam() *SyncIdentifyRefundCaseDto
GetParam Param Getter
func (TaobaordcaligeniusidentificationcaseupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaordcaligeniusidentificationcaseupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaordcaligeniusidentificationcaseupdateAPIRequest) SetParam ¶ added in v1.3.1
func (r *TaobaordcaligeniusidentificationcaseupdateAPIRequest) SetParam(_param *SyncIdentifyRefundCaseDto) error
SetParam is Param Setter 请求参数
type TaobaordcaligeniusidentificationcaseupdateAPIResponse ¶ added in v1.3.1
type TaobaordcaligeniusidentificationcaseupdateAPIResponse struct { model.CommonResponse TaobaordcaligeniusidentificationcaseupdateAPIResponseModel }
TaobaordcaligeniusidentificationcaseupdateAPIResponse 鉴定工单信息同步 API返回值 taobao.rdc.aligenius.identification.case.update
同步商家鉴定工单信息
type TaobaordcaligeniusidentificationcaseupdateAPIResponseModel ¶ added in v1.3.1
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"` }
TaobaordcaligeniusidentificationcaseupdateAPIResponseModel is 鉴定工单信息同步 成功返回结果
type TaobaordcaligeniusidentificationcaseupdateResult ¶ added in v1.3.1
type TaobaordcaligeniusidentificationcaseupdateResult struct { // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorInfo string `json:"error_info,omitempty" xml:"error_info,omitempty"` // resultData ResultData *Resultdata `json:"result_data,omitempty" xml:"result_data,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaordcaligeniusidentificationcaseupdateResult 结构体
type TaobaordcaligeniussendgoodscancelAPIRequest ¶ added in v1.3.1
type TaobaordcaligeniussendgoodscancelAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaordcaligeniussendgoodscancelAPIRequest 取消发货 API请求 taobao.rdc.aligenius.sendgoods.cancel
提供商家在仅退款中发送取消发货状态
func NewTaobaordcaligeniussendgoodscancelRequest ¶ added in v1.3.1
func NewTaobaordcaligeniussendgoodscancelRequest() *TaobaordcaligeniussendgoodscancelAPIRequest
NewTaobaordcaligeniussendgoodscancelRequest 初始化TaobaordcaligeniussendgoodscancelAPIRequest对象
func (TaobaordcaligeniussendgoodscancelAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaordcaligeniussendgoodscancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaordcaligeniussendgoodscancelAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaordcaligeniussendgoodscancelAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaordcaligeniussendgoodscancelAPIRequest) GetParam ¶ added in v1.3.1
func (r TaobaordcaligeniussendgoodscancelAPIRequest) GetParam() *CancelGoodsDto
GetParam Param Getter
func (TaobaordcaligeniussendgoodscancelAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaordcaligeniussendgoodscancelAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaordcaligeniussendgoodscancelAPIRequest) SetParam ¶ added in v1.3.1
func (r *TaobaordcaligeniussendgoodscancelAPIRequest) SetParam(_param *CancelGoodsDto) error
SetParam is Param Setter 请求参数
type TaobaordcaligeniussendgoodscancelAPIResponse ¶ added in v1.3.1
type TaobaordcaligeniussendgoodscancelAPIResponse struct { model.CommonResponse TaobaordcaligeniussendgoodscancelAPIResponseModel }
TaobaordcaligeniussendgoodscancelAPIResponse 取消发货 API返回值 taobao.rdc.aligenius.sendgoods.cancel
提供商家在仅退款中发送取消发货状态
type TaobaordcaligeniussendgoodscancelAPIResponseModel ¶ added in v1.3.1
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"` }
TaobaordcaligeniussendgoodscancelAPIResponseModel is 取消发货 成功返回结果
type TaobaordcaligeniussendgoodscancelResult ¶ added in v1.3.1
type TaobaordcaligeniussendgoodscancelResult struct { // 异常信息 ErrorInfo string `json:"error_info,omitempty" xml:"error_info,omitempty"` // 异常编码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // resultData ResultData *Resultdata `json:"result_data,omitempty" xml:"result_data,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaordcaligeniussendgoodscancelResult 结构体
type TaobaorefundrefuseAPIRequest ¶ added in v1.3.1
TaobaorefundrefuseAPIRequest 卖家拒绝退款 API请求 taobao.refund.refuse
卖家拒绝单笔退款(包含退款和退款退货)交易,要求如下:<br/>1. 传入的refund_id和相应的tid, oid必须匹配<br/>2. 如果一笔订单只有一笔子订单,则tid必须与oid相同<br/>3. 只有卖家才能执行拒绝退款操作<br/>4. 以下三种情况不能退款:卖家未发货;7天无理由退换货;网游订单
func NewTaobaorefundrefuseRequest ¶ added in v1.3.1
func NewTaobaorefundrefuseRequest() *TaobaorefundrefuseAPIRequest
NewTaobaorefundrefuseRequest 初始化TaobaorefundrefuseAPIRequest对象
func (TaobaorefundrefuseAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaorefundrefuseAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaorefundrefuseAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaorefundrefuseAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaorefundrefuseAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaorefundrefuseAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaorefundrefuseAPIRequest) GetRefundId ¶ added in v1.3.1
func (r TaobaorefundrefuseAPIRequest) GetRefundId() int64
GetRefundId RefundId Getter
func (TaobaorefundrefuseAPIRequest) GetRefundPhase ¶ added in v1.3.1
func (r TaobaorefundrefuseAPIRequest) GetRefundPhase() string
GetRefundPhase RefundPhase Getter
func (TaobaorefundrefuseAPIRequest) GetRefundVersion ¶ added in v1.3.1
func (r TaobaorefundrefuseAPIRequest) GetRefundVersion() int64
GetRefundVersion RefundVersion Getter
func (TaobaorefundrefuseAPIRequest) GetRefuseMessage ¶ added in v1.3.1
func (r TaobaorefundrefuseAPIRequest) GetRefuseMessage() string
GetRefuseMessage RefuseMessage Getter
func (TaobaorefundrefuseAPIRequest) GetRefuseProof ¶ added in v1.3.1
func (r TaobaorefundrefuseAPIRequest) GetRefuseProof() *model.File
GetRefuseProof RefuseProof Getter
func (TaobaorefundrefuseAPIRequest) GetRefuseReasonId ¶ added in v1.3.1
func (r TaobaorefundrefuseAPIRequest) GetRefuseReasonId() int64
GetRefuseReasonId RefuseReasonId Getter
func (*TaobaorefundrefuseAPIRequest) SetRefundId ¶ added in v1.3.1
func (r *TaobaorefundrefuseAPIRequest) SetRefundId(_refundId int64) error
SetRefundId is RefundId Setter 退款单号
func (*TaobaorefundrefuseAPIRequest) SetRefundPhase ¶ added in v1.3.1
func (r *TaobaorefundrefuseAPIRequest) SetRefundPhase(_refundPhase string) error
SetRefundPhase is RefundPhase Setter 可选值为:售中:onsale,售后:aftersale,天猫退款为必填项。
func (*TaobaorefundrefuseAPIRequest) SetRefundVersion ¶ added in v1.3.1
func (r *TaobaorefundrefuseAPIRequest) SetRefundVersion(_refundVersion int64) error
SetRefundVersion is RefundVersion Setter 退款版本号,天猫退款为必填项。
func (*TaobaorefundrefuseAPIRequest) SetRefuseMessage ¶ added in v1.3.1
func (r *TaobaorefundrefuseAPIRequest) SetRefuseMessage(_refuseMessage string) error
SetRefuseMessage is RefuseMessage Setter 拒绝退款时的说明信息,长度2-200
func (*TaobaorefundrefuseAPIRequest) SetRefuseProof ¶ added in v1.3.1
func (r *TaobaorefundrefuseAPIRequest) SetRefuseProof(_refuseProof *model.File) error
SetRefuseProof is RefuseProof Setter 拒绝退款时的退款凭证,一般是卖家拒绝退款时使用的发货凭证,最大长度130000字节,支持的图片格式:GIF, JPG, PNG。天猫退款为必填项。
func (*TaobaorefundrefuseAPIRequest) SetRefuseReasonId ¶ added in v1.3.1
func (r *TaobaorefundrefuseAPIRequest) SetRefuseReasonId(_refuseReasonId int64) error
SetRefuseReasonId is RefuseReasonId Setter 拒绝原因编号,会提供用户拒绝原因列表供选择
type TaobaorefundrefuseAPIResponse ¶ added in v1.3.1
type TaobaorefundrefuseAPIResponse struct { model.CommonResponse TaobaorefundrefuseAPIResponseModel }
TaobaorefundrefuseAPIResponse 卖家拒绝退款 API返回值 taobao.refund.refuse
卖家拒绝单笔退款(包含退款和退款退货)交易,要求如下:<br/>1. 传入的refund_id和相应的tid, oid必须匹配<br/>2. 如果一笔订单只有一笔子订单,则tid必须与oid相同<br/>3. 只有卖家才能执行拒绝退款操作<br/>4. 以下三种情况不能退款:卖家未发货;7天无理由退换货;网游订单
type TaobaorefundrefuseAPIResponseModel ¶ added in v1.3.1
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"` }
TaobaorefundrefuseAPIResponseModel is 卖家拒绝退款 成功返回结果
type TaobaorefundsreceivegetAPIRequest ¶ added in v1.3.1
type TaobaorefundsreceivegetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaorefundsreceivegetAPIRequest 查询卖家收到的退款列表 API请求 taobao.refunds.receive.get
查询卖家收到的退款列表
func NewTaobaorefundsreceivegetRequest ¶ added in v1.3.1
func NewTaobaorefundsreceivegetRequest() *TaobaorefundsreceivegetAPIRequest
NewTaobaorefundsreceivegetRequest 初始化TaobaorefundsreceivegetAPIRequest对象
func (TaobaorefundsreceivegetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaorefundsreceivegetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaorefundsreceivegetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaorefundsreceivegetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaorefundsreceivegetAPIRequest) GetBuyerNick ¶ added in v1.3.1
func (r TaobaorefundsreceivegetAPIRequest) GetBuyerNick() string
GetBuyerNick BuyerNick Getter
func (TaobaorefundsreceivegetAPIRequest) GetBuyerOpenUid ¶ added in v1.3.1
func (r TaobaorefundsreceivegetAPIRequest) GetBuyerOpenUid() string
GetBuyerOpenUid BuyerOpenUid Getter
func (TaobaorefundsreceivegetAPIRequest) GetEndModified ¶ added in v1.3.1
func (r TaobaorefundsreceivegetAPIRequest) GetEndModified() string
GetEndModified EndModified Getter
func (TaobaorefundsreceivegetAPIRequest) GetFields ¶ added in v1.3.1
func (r TaobaorefundsreceivegetAPIRequest) GetFields() []string
GetFields Fields Getter
func (TaobaorefundsreceivegetAPIRequest) GetOuid ¶ added in v1.3.1
func (r TaobaorefundsreceivegetAPIRequest) GetOuid() string
GetOuid Ouid Getter
func (TaobaorefundsreceivegetAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaorefundsreceivegetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaorefundsreceivegetAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaorefundsreceivegetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaorefundsreceivegetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaorefundsreceivegetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaorefundsreceivegetAPIRequest) GetStartModified ¶ added in v1.3.1
func (r TaobaorefundsreceivegetAPIRequest) GetStartModified() string
GetStartModified StartModified Getter
func (TaobaorefundsreceivegetAPIRequest) GetStatus ¶ added in v1.3.1
func (r TaobaorefundsreceivegetAPIRequest) GetStatus() string
GetStatus Status Getter
func (TaobaorefundsreceivegetAPIRequest) GetType ¶ added in v1.3.1
func (r TaobaorefundsreceivegetAPIRequest) GetType() string
GetType Type Getter
func (TaobaorefundsreceivegetAPIRequest) GetUseHasNext ¶ added in v1.3.1
func (r TaobaorefundsreceivegetAPIRequest) GetUseHasNext() bool
GetUseHasNext UseHasNext Getter
func (*TaobaorefundsreceivegetAPIRequest) SetBuyerNick ¶ added in v1.3.1
func (r *TaobaorefundsreceivegetAPIRequest) SetBuyerNick(_buyerNick string) error
SetBuyerNick is BuyerNick Setter 买家昵称
func (*TaobaorefundsreceivegetAPIRequest) SetBuyerOpenUid ¶ added in v1.3.1
func (r *TaobaorefundsreceivegetAPIRequest) SetBuyerOpenUid(_buyerOpenUid string) error
SetBuyerOpenUid is BuyerOpenUid Setter 买家OpenId
func (*TaobaorefundsreceivegetAPIRequest) SetEndModified ¶ added in v1.3.1
func (r *TaobaorefundsreceivegetAPIRequest) SetEndModified(_endModified string) error
SetEndModified is EndModified Setter 查询修改时间结束。格式: yyyy-MM-dd HH:mm:ss
func (*TaobaorefundsreceivegetAPIRequest) SetFields ¶ added in v1.3.1
func (r *TaobaorefundsreceivegetAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 需要返回的字段。目前支持有:refund_id, tid, title, buyer_nick, seller_nick, total_fee, status, created, refund_fee, oid, good_status, company_name, sid, payment, reason, desc, has_good_return, modified, order_status,refund_phase,dispute_type
func (*TaobaorefundsreceivegetAPIRequest) SetOuid ¶ added in v1.3.1
func (r *TaobaorefundsreceivegetAPIRequest) SetOuid(_ouid string) error
SetOuid is Ouid Setter 系统自动生成
func (*TaobaorefundsreceivegetAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaorefundsreceivegetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码。取值范围:大于零的整数; 默认值:1
func (*TaobaorefundsreceivegetAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaorefundsreceivegetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数。取值范围:大于零的整数; 默认值:40;最大值:100
func (*TaobaorefundsreceivegetAPIRequest) SetStartModified ¶ added in v1.3.1
func (r *TaobaorefundsreceivegetAPIRequest) SetStartModified(_startModified string) error
SetStartModified is StartModified Setter 查询修改时间开始。格式: yyyy-MM-dd HH:mm:ss
func (*TaobaorefundsreceivegetAPIRequest) SetStatus ¶ added in v1.3.1
func (r *TaobaorefundsreceivegetAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 退款状态,默认查询所有退款状态的数据,除了默认值外每次只能查询一种状态。WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意) WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货) WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货) SELLER_REFUSE_BUYER(卖家拒绝退款) CLOSED(退款关闭) SUCCESS(退款成功)WAIT_BUYER_CONFIRM_EXCHANGE_SELLER_SEND_GOODS(等待买家确认换货卖家发货商品)EXCHANGE_TRANSFORM_TO_REFUND(换货关闭转退款)WAIT_SELLER_CONSIGN_GOODS(商家确认收货等待商家发货)
func (*TaobaorefundsreceivegetAPIRequest) SetType ¶ added in v1.3.1
func (r *TaobaorefundsreceivegetAPIRequest) SetType(_type string) error
SetType is Type Setter 交易类型列表,一次查询多种类型可用半角逗号分隔,默认同时查询guarantee_trade, auto_delivery这两种类型的数据,<a href="http://open.taobao.com/doc/detail.htm?id=102855" target="_blank">查看可选值</a>
func (*TaobaorefundsreceivegetAPIRequest) SetUseHasNext ¶ added in v1.3.1
func (r *TaobaorefundsreceivegetAPIRequest) SetUseHasNext(_useHasNext bool) error
SetUseHasNext is UseHasNext Setter 是否启用has_next的分页方式,如果指定true,则返回的结果中不包含总记录数,但是会新增一个是否存在下一页的的字段,通过此种方式获取增量退款,接口调用成功率在原有的基础上有所提升。
type TaobaorefundsreceivegetAPIResponse ¶ added in v1.3.1
type TaobaorefundsreceivegetAPIResponse struct { model.CommonResponse TaobaorefundsreceivegetAPIResponseModel }
TaobaorefundsreceivegetAPIResponse 查询卖家收到的退款列表 API返回值 taobao.refunds.receive.get
查询卖家收到的退款列表
type TaobaorefundsreceivegetAPIResponseModel ¶ added in v1.3.1
type TaobaorefundsreceivegetAPIResponseModel struct { XMLName xml.Name `xml:"refunds_receive_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 搜索到的退款信息列表 Refunds []Refund `json:"refunds,omitempty" xml:"refunds>refund,omitempty"` // 搜索到的退款信息总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // 是否存在下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
TaobaorefundsreceivegetAPIResponseModel is 查询卖家收到的退款列表 成功返回结果
Source Files ¶
- CancelGoodsDto.go
- Refund.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
- TaobaoRefundRefuseAPIRequest.go
- TaobaoRefundRefuseAPIResponse.go
- TaobaoRefundsReceiveGetAPIRequest.go
- TaobaoRefundsReceiveGetAPIResponse.go
- doc.go