refund

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package refund 包含退款API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseCancelGoodsDto added in v1.3.4

func ReleaseCancelGoodsDto(v *CancelGoodsDto)

ReleaseCancelGoodsDto 释放CancelGoodsDto

func ReleaseRefund added in v1.3.4

func ReleaseRefund(v *Refund)

ReleaseRefund 释放Refund

func ReleaseResultdata added in v1.3.4

func ReleaseResultdata(v *Resultdata)

ReleaseResultdata 释放Resultdata

func ReleaseSyncIdentifyRefundCaseDto added in v1.3.4

func ReleaseSyncIdentifyRefundCaseDto(v *SyncIdentifyRefundCaseDto)

ReleaseSyncIdentifyRefundCaseDto 释放SyncIdentifyRefundCaseDto

func ReleaseSyncIdentifyRefundCaseResultDto added in v1.3.4

func ReleaseSyncIdentifyRefundCaseResultDto(v *SyncIdentifyRefundCaseResultDto)

ReleaseSyncIdentifyRefundCaseResultDto 释放SyncIdentifyRefundCaseResultDto

func ReleaseTaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest(v *TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest)

ReleaseTaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest 将 TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse(v *TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse)

ReleaseTaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse 将 TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRdcAligeniusIdentificationCaseResultUpdateResult added in v1.3.4

func ReleaseTaobaoRdcAligeniusIdentificationCaseResultUpdateResult(v *TaobaoRdcAligeniusIdentificationCaseResultUpdateResult)

ReleaseTaobaoRdcAligeniusIdentificationCaseResultUpdateResult 释放TaobaoRdcAligeniusIdentificationCaseResultUpdateResult

func ReleaseTaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest(v *TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest)

ReleaseTaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest 将 TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse(v *TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse)

ReleaseTaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse 将 TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRdcAligeniusIdentificationCaseUpdateResult added in v1.3.4

func ReleaseTaobaoRdcAligeniusIdentificationCaseUpdateResult(v *TaobaoRdcAligeniusIdentificationCaseUpdateResult)

ReleaseTaobaoRdcAligeniusIdentificationCaseUpdateResult 释放TaobaoRdcAligeniusIdentificationCaseUpdateResult

func ReleaseTaobaoRdcAligeniusSendgoodsCancelAPIRequest added in v1.3.4

func ReleaseTaobaoRdcAligeniusSendgoodsCancelAPIRequest(v *TaobaoRdcAligeniusSendgoodsCancelAPIRequest)

ReleaseTaobaoRdcAligeniusSendgoodsCancelAPIRequest 将 TaobaoRdcAligeniusSendgoodsCancelAPIRequest 放入 sync.Pool

func ReleaseTaobaoRdcAligeniusSendgoodsCancelAPIResponse added in v1.3.4

func ReleaseTaobaoRdcAligeniusSendgoodsCancelAPIResponse(v *TaobaoRdcAligeniusSendgoodsCancelAPIResponse)

ReleaseTaobaoRdcAligeniusSendgoodsCancelAPIResponse 将 TaobaoRdcAligeniusSendgoodsCancelAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRdcAligeniusSendgoodsCancelResult added in v1.3.4

func ReleaseTaobaoRdcAligeniusSendgoodsCancelResult(v *TaobaoRdcAligeniusSendgoodsCancelResult)

ReleaseTaobaoRdcAligeniusSendgoodsCancelResult 释放TaobaoRdcAligeniusSendgoodsCancelResult

func ReleaseTaobaoRefundRefuseAPIRequest added in v1.3.4

func ReleaseTaobaoRefundRefuseAPIRequest(v *TaobaoRefundRefuseAPIRequest)

ReleaseTaobaoRefundRefuseAPIRequest 将 TaobaoRefundRefuseAPIRequest 放入 sync.Pool

func ReleaseTaobaoRefundRefuseAPIResponse added in v1.3.4

func ReleaseTaobaoRefundRefuseAPIResponse(v *TaobaoRefundRefuseAPIResponse)

ReleaseTaobaoRefundRefuseAPIResponse 将 TaobaoRefundRefuseAPIResponse 保存到 sync.Pool

func ReleaseTaobaoRefundsReceiveGetAPIRequest added in v1.3.4

func ReleaseTaobaoRefundsReceiveGetAPIRequest(v *TaobaoRefundsReceiveGetAPIRequest)

ReleaseTaobaoRefundsReceiveGetAPIRequest 将 TaobaoRefundsReceiveGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoRefundsReceiveGetAPIResponse added in v1.3.4

func ReleaseTaobaoRefundsReceiveGetAPIResponse(v *TaobaoRefundsReceiveGetAPIResponse)

ReleaseTaobaoRefundsReceiveGetAPIResponse 将 TaobaoRefundsReceiveGetAPIResponse 保存到 sync.Pool

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 结构体

func GetCancelGoodsDto added in v1.3.4

func GetCancelGoodsDto() *CancelGoodsDto

GetCancelGoodsDto() 从对象池中获取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 结构体

func GetRefund added in v1.3.4

func GetRefund() *Refund

GetRefund() 从对象池中获取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 结构体

func GetResultdata added in v1.3.4

func GetResultdata() *Resultdata

GetResultdata() 从对象池中获取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 结构体

func GetSyncIdentifyRefundCaseDto added in v1.3.4

func GetSyncIdentifyRefundCaseDto() *SyncIdentifyRefundCaseDto

GetSyncIdentifyRefundCaseDto() 从对象池中获取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 结构体

func GetSyncIdentifyRefundCaseResultDto added in v1.3.4

func GetSyncIdentifyRefundCaseResultDto() *SyncIdentifyRefundCaseResultDto

GetSyncIdentifyRefundCaseResultDto() 从对象池中获取SyncIdentifyRefundCaseResultDto

type TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest

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

TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest 鉴定工单结果同步 API请求 taobao.rdc.aligenius.identification.case.result.update

同步鉴定工单结果信息

func GetTaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest added in v1.3.4

func GetTaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest() *TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest

GetTaobaoRdcAligeniusIdentificationCaseResultUpdateRequest 从 sync.Pool 获取 TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest

func NewTaobaoRdcAligeniusIdentificationCaseResultUpdateRequest

func NewTaobaoRdcAligeniusIdentificationCaseResultUpdateRequest() *TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest

NewTaobaoRdcAligeniusIdentificationCaseResultUpdateRequest 初始化TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest对象

func (TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) GetParam

GetParam Param Getter

func (TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIRequest) SetParam

SetParam is Param Setter 请求参数

type TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse

type TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponseModel
}

TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse 鉴定工单结果同步 API返回值 taobao.rdc.aligenius.identification.case.result.update

同步鉴定工单结果信息

func GetTaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse added in v1.3.4

func GetTaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse() *TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse

GetTaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse 从 sync.Pool 获取 TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse

func (*TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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"`
}

TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponseModel is 鉴定工单结果同步 成功返回结果

func (*TaobaoRdcAligeniusIdentificationCaseResultUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRdcAligeniusIdentificationCaseResultUpdateResult

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 结构体

func GetTaobaoRdcAligeniusIdentificationCaseResultUpdateResult added in v1.3.4

func GetTaobaoRdcAligeniusIdentificationCaseResultUpdateResult() *TaobaoRdcAligeniusIdentificationCaseResultUpdateResult

GetTaobaoRdcAligeniusIdentificationCaseResultUpdateResult() 从对象池中获取TaobaoRdcAligeniusIdentificationCaseResultUpdateResult

type TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest

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

TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest 鉴定工单信息同步 API请求 taobao.rdc.aligenius.identification.case.update

同步商家鉴定工单信息

func GetTaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest added in v1.3.4

func GetTaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest() *TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest

GetTaobaoRdcAligeniusIdentificationCaseUpdateRequest 从 sync.Pool 获取 TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest

func NewTaobaoRdcAligeniusIdentificationCaseUpdateRequest

func NewTaobaoRdcAligeniusIdentificationCaseUpdateRequest() *TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest

NewTaobaoRdcAligeniusIdentificationCaseUpdateRequest 初始化TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest对象

func (TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) GetParam

GetParam Param Getter

func (TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRdcAligeniusIdentificationCaseUpdateAPIRequest) SetParam

SetParam is Param Setter 请求参数

type TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse

type TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponseModel
}

TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse 鉴定工单信息同步 API返回值 taobao.rdc.aligenius.identification.case.update

同步商家鉴定工单信息

func GetTaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse added in v1.3.4

func GetTaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse() *TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse

GetTaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse 从 sync.Pool 获取 TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse

func (*TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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"`
}

TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponseModel is 鉴定工单信息同步 成功返回结果

func (*TaobaoRdcAligeniusIdentificationCaseUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRdcAligeniusIdentificationCaseUpdateResult

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 结构体

func GetTaobaoRdcAligeniusIdentificationCaseUpdateResult added in v1.3.4

func GetTaobaoRdcAligeniusIdentificationCaseUpdateResult() *TaobaoRdcAligeniusIdentificationCaseUpdateResult

GetTaobaoRdcAligeniusIdentificationCaseUpdateResult() 从对象池中获取TaobaoRdcAligeniusIdentificationCaseUpdateResult

type TaobaoRdcAligeniusSendgoodsCancelAPIRequest

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

TaobaoRdcAligeniusSendgoodsCancelAPIRequest 取消发货 API请求 taobao.rdc.aligenius.sendgoods.cancel

提供商家在仅退款中发送取消发货状态

func GetTaobaoRdcAligeniusSendgoodsCancelAPIRequest added in v1.3.4

func GetTaobaoRdcAligeniusSendgoodsCancelAPIRequest() *TaobaoRdcAligeniusSendgoodsCancelAPIRequest

GetTaobaoRdcAligeniusSendgoodsCancelRequest 从 sync.Pool 获取 TaobaoRdcAligeniusSendgoodsCancelAPIRequest

func NewTaobaoRdcAligeniusSendgoodsCancelRequest

func NewTaobaoRdcAligeniusSendgoodsCancelRequest() *TaobaoRdcAligeniusSendgoodsCancelAPIRequest

NewTaobaoRdcAligeniusSendgoodsCancelRequest 初始化TaobaoRdcAligeniusSendgoodsCancelAPIRequest对象

func (TaobaoRdcAligeniusSendgoodsCancelAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRdcAligeniusSendgoodsCancelAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRdcAligeniusSendgoodsCancelAPIRequest) GetParam

GetParam Param Getter

func (TaobaoRdcAligeniusSendgoodsCancelAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoRdcAligeniusSendgoodsCancelAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRdcAligeniusSendgoodsCancelAPIRequest) SetParam

SetParam is Param Setter 请求参数

type TaobaoRdcAligeniusSendgoodsCancelAPIResponse

type TaobaoRdcAligeniusSendgoodsCancelAPIResponse struct {
	model.CommonResponse
	TaobaoRdcAligeniusSendgoodsCancelAPIResponseModel
}

TaobaoRdcAligeniusSendgoodsCancelAPIResponse 取消发货 API返回值 taobao.rdc.aligenius.sendgoods.cancel

提供商家在仅退款中发送取消发货状态

func GetTaobaoRdcAligeniusSendgoodsCancelAPIResponse added in v1.3.4

func GetTaobaoRdcAligeniusSendgoodsCancelAPIResponse() *TaobaoRdcAligeniusSendgoodsCancelAPIResponse

GetTaobaoRdcAligeniusSendgoodsCancelAPIResponse 从 sync.Pool 获取 TaobaoRdcAligeniusSendgoodsCancelAPIResponse

func (*TaobaoRdcAligeniusSendgoodsCancelAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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"`
}

TaobaoRdcAligeniusSendgoodsCancelAPIResponseModel is 取消发货 成功返回结果

func (*TaobaoRdcAligeniusSendgoodsCancelAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRdcAligeniusSendgoodsCancelResult

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 结构体

func GetTaobaoRdcAligeniusSendgoodsCancelResult added in v1.3.4

func GetTaobaoRdcAligeniusSendgoodsCancelResult() *TaobaoRdcAligeniusSendgoodsCancelResult

GetTaobaoRdcAligeniusSendgoodsCancelResult() 从对象池中获取TaobaoRdcAligeniusSendgoodsCancelResult

type TaobaoRefundRefuseAPIRequest

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

TaobaoRefundRefuseAPIRequest 卖家拒绝退款 API请求 taobao.refund.refuse

卖家拒绝单笔退款(包含退款和退款退货)交易,要求如下:<br/>1. 传入的refund_id和相应的tid, oid必须匹配<br/>2. 如果一笔订单只有一笔子订单,则tid必须与oid相同<br/>3. 只有卖家才能执行拒绝退款操作<br/>4. 以下三种情况不能退款:卖家未发货;7天无理由退换货;网游订单

func GetTaobaoRefundRefuseAPIRequest added in v1.3.4

func GetTaobaoRefundRefuseAPIRequest() *TaobaoRefundRefuseAPIRequest

GetTaobaoRefundRefuseRequest 从 sync.Pool 获取 TaobaoRefundRefuseAPIRequest

func NewTaobaoRefundRefuseRequest

func NewTaobaoRefundRefuseRequest() *TaobaoRefundRefuseAPIRequest

NewTaobaoRefundRefuseRequest 初始化TaobaoRefundRefuseAPIRequest对象

func (TaobaoRefundRefuseAPIRequest) GetApiMethodName

func (r TaobaoRefundRefuseAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRefundRefuseAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRefundRefuseAPIRequest) GetRawParams added in v1.2.9

func (r TaobaoRefundRefuseAPIRequest) GetRawParams() model.Params

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

func (TaobaoRefundRefuseAPIRequest) GetRefundId

func (r TaobaoRefundRefuseAPIRequest) GetRefundId() int64

GetRefundId RefundId Getter

func (TaobaoRefundRefuseAPIRequest) GetRefundPhase

func (r TaobaoRefundRefuseAPIRequest) GetRefundPhase() string

GetRefundPhase RefundPhase Getter

func (TaobaoRefundRefuseAPIRequest) GetRefundVersion

func (r TaobaoRefundRefuseAPIRequest) GetRefundVersion() int64

GetRefundVersion RefundVersion Getter

func (TaobaoRefundRefuseAPIRequest) GetRefuseMessage

func (r TaobaoRefundRefuseAPIRequest) GetRefuseMessage() string

GetRefuseMessage RefuseMessage Getter

func (TaobaoRefundRefuseAPIRequest) GetRefuseProof

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

GetRefuseProof RefuseProof Getter

func (TaobaoRefundRefuseAPIRequest) GetRefuseReasonId

func (r TaobaoRefundRefuseAPIRequest) GetRefuseReasonId() int64

GetRefuseReasonId RefuseReasonId Getter

func (*TaobaoRefundRefuseAPIRequest) Reset added in v1.3.4

func (r *TaobaoRefundRefuseAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRefundRefuseAPIRequest) SetRefundId

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

SetRefundId is RefundId Setter 退款单号

func (*TaobaoRefundRefuseAPIRequest) SetRefundPhase

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

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

func (*TaobaoRefundRefuseAPIRequest) SetRefundVersion

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

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

func (*TaobaoRefundRefuseAPIRequest) SetRefuseMessage

func (r *TaobaoRefundRefuseAPIRequest) SetRefuseMessage(_refuseMessage string) error

SetRefuseMessage is RefuseMessage Setter 拒绝退款时的说明信息,长度2-200

func (*TaobaoRefundRefuseAPIRequest) SetRefuseProof

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

SetRefuseProof is RefuseProof Setter 拒绝退款时的退款凭证,一般是卖家拒绝退款时使用的发货凭证,最大长度130000字节,支持的图片格式:GIF, JPG, PNG。天猫退款为必填项。

func (*TaobaoRefundRefuseAPIRequest) SetRefuseReasonId

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

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

type TaobaoRefundRefuseAPIResponse

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天无理由退换货;网游订单

func GetTaobaoRefundRefuseAPIResponse added in v1.3.4

func GetTaobaoRefundRefuseAPIResponse() *TaobaoRefundRefuseAPIResponse

GetTaobaoRefundRefuseAPIResponse 从 sync.Pool 获取 TaobaoRefundRefuseAPIResponse

func (*TaobaoRefundRefuseAPIResponse) Reset added in v1.3.4

func (m *TaobaoRefundRefuseAPIResponse) Reset()

Reset 清空结构体

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"`
}

TaobaoRefundRefuseAPIResponseModel is 卖家拒绝退款 成功返回结果

func (*TaobaoRefundRefuseAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundsReceiveGetAPIRequest added in v1.2.5

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

TaobaoRefundsReceiveGetAPIRequest 查询卖家收到的退款列表 API请求 taobao.refunds.receive.get

查询卖家收到的退款列表

func GetTaobaoRefundsReceiveGetAPIRequest added in v1.3.4

func GetTaobaoRefundsReceiveGetAPIRequest() *TaobaoRefundsReceiveGetAPIRequest

GetTaobaoRefundsReceiveGetRequest 从 sync.Pool 获取 TaobaoRefundsReceiveGetAPIRequest

func NewTaobaoRefundsReceiveGetRequest added in v1.2.5

func NewTaobaoRefundsReceiveGetRequest() *TaobaoRefundsReceiveGetAPIRequest

NewTaobaoRefundsReceiveGetRequest 初始化TaobaoRefundsReceiveGetAPIRequest对象

func (TaobaoRefundsReceiveGetAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoRefundsReceiveGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRefundsReceiveGetAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRefundsReceiveGetAPIRequest) GetBuyerNick added in v1.2.5

func (r TaobaoRefundsReceiveGetAPIRequest) GetBuyerNick() string

GetBuyerNick BuyerNick Getter

func (TaobaoRefundsReceiveGetAPIRequest) GetBuyerOpenUid added in v1.2.5

func (r TaobaoRefundsReceiveGetAPIRequest) GetBuyerOpenUid() string

GetBuyerOpenUid BuyerOpenUid Getter

func (TaobaoRefundsReceiveGetAPIRequest) GetEndModified added in v1.2.5

func (r TaobaoRefundsReceiveGetAPIRequest) GetEndModified() string

GetEndModified EndModified Getter

func (TaobaoRefundsReceiveGetAPIRequest) GetFields added in v1.2.5

func (r TaobaoRefundsReceiveGetAPIRequest) GetFields() []string

GetFields Fields Getter

func (TaobaoRefundsReceiveGetAPIRequest) GetOuid added in v1.2.5

GetOuid Ouid Getter

func (TaobaoRefundsReceiveGetAPIRequest) GetPageNo added in v1.2.5

GetPageNo PageNo Getter

func (TaobaoRefundsReceiveGetAPIRequest) GetPageSize added in v1.2.5

func (r TaobaoRefundsReceiveGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoRefundsReceiveGetAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoRefundsReceiveGetAPIRequest) GetStartModified added in v1.2.5

func (r TaobaoRefundsReceiveGetAPIRequest) GetStartModified() string

GetStartModified StartModified Getter

func (TaobaoRefundsReceiveGetAPIRequest) GetStatus added in v1.2.5

GetStatus Status Getter

func (TaobaoRefundsReceiveGetAPIRequest) GetType added in v1.2.5

GetType Type Getter

func (TaobaoRefundsReceiveGetAPIRequest) GetUseHasNext added in v1.2.5

func (r TaobaoRefundsReceiveGetAPIRequest) GetUseHasNext() bool

GetUseHasNext UseHasNext Getter

func (*TaobaoRefundsReceiveGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoRefundsReceiveGetAPIRequest) SetBuyerNick added in v1.2.5

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

SetBuyerNick is BuyerNick Setter 买家昵称

func (*TaobaoRefundsReceiveGetAPIRequest) SetBuyerOpenUid added in v1.2.5

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

SetBuyerOpenUid is BuyerOpenUid Setter 买家OpenId

func (*TaobaoRefundsReceiveGetAPIRequest) SetEndModified added in v1.2.5

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

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

func (*TaobaoRefundsReceiveGetAPIRequest) SetFields added in v1.2.5

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.2.5

SetOuid is Ouid Setter 系统自动生成

func (*TaobaoRefundsReceiveGetAPIRequest) SetPageNo added in v1.2.5

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

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

func (*TaobaoRefundsReceiveGetAPIRequest) SetPageSize added in v1.2.5

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

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

func (*TaobaoRefundsReceiveGetAPIRequest) SetStartModified added in v1.2.5

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

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

func (*TaobaoRefundsReceiveGetAPIRequest) SetStatus added in v1.2.5

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.2.5

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.2.5

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

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

type TaobaoRefundsReceiveGetAPIResponse added in v1.2.5

type TaobaoRefundsReceiveGetAPIResponse struct {
	model.CommonResponse
	TaobaoRefundsReceiveGetAPIResponseModel
}

TaobaoRefundsReceiveGetAPIResponse 查询卖家收到的退款列表 API返回值 taobao.refunds.receive.get

查询卖家收到的退款列表

func GetTaobaoRefundsReceiveGetAPIResponse added in v1.3.4

func GetTaobaoRefundsReceiveGetAPIResponse() *TaobaoRefundsReceiveGetAPIResponse

GetTaobaoRefundsReceiveGetAPIResponse 从 sync.Pool 获取 TaobaoRefundsReceiveGetAPIResponse

func (*TaobaoRefundsReceiveGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoRefundsReceiveGetAPIResponseModel added in v1.2.5

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 查询卖家收到的退款列表 成功返回结果

func (*TaobaoRefundsReceiveGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

Jump to

Keyboard shortcuts

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