idle

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package idle 包含闲鱼相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressDto

type AddressDto struct {
	// 区
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 省
	Prov string `json:"prov,omitempty" xml:"prov,omitempty"`
}

AddressDto 结构体

type AgreementPayBillQueryParam

type AgreementPayBillQueryParam struct {
	// 订单号
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 业务编码:R1:回收
	PayBizCode string `json:"pay_biz_code,omitempty" xml:"pay_biz_code,omitempty"`
}

AgreementPayBillQueryParam 结构体

type AgreementPayParam

type AgreementPayParam struct {
	// 商户订单号(唯一建)
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 代扣计划
	PlanId string `json:"plan_id,omitempty" xml:"plan_id,omitempty"`
	// R1:闲鱼回收代扣(V1版本)
	PayBizCode string `json:"pay_biz_code,omitempty" xml:"pay_biz_code,omitempty"`
}

AgreementPayParam 结构体

type AgreementPayPlanParam

type AgreementPayPlanParam struct {
	// 需要拆分的扣款计划,注意只能拆一次只能支持5个 例如[10000,2300]
	Plans []int64 `json:"plans,omitempty" xml:"plans>int64,omitempty"`
	// 商户订单号(唯一建)
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// R1:闲鱼回收代扣(V1版本)
	PayBizCode string `json:"pay_biz_code,omitempty" xml:"pay_biz_code,omitempty"`
	// 订单代扣总金额(单位分)
	TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
}

AgreementPayPlanParam 结构体

type AlibabaIdleAgreementPayAPIRequest

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

AlibabaIdleAgreementPayAPIRequest 闲鱼平台商户代扣 API请求 alibaba.idle.agreement.pay

闲鱼平台代扣能力:用户和闲鱼签约代扣协议 服务商通过直付通产品挂载成为闲鱼二级商户 来完成用户和服务商的结算

func NewAlibabaIdleAgreementPayRequest

func NewAlibabaIdleAgreementPayRequest() *AlibabaIdleAgreementPayAPIRequest

NewAlibabaIdleAgreementPayRequest 初始化AlibabaIdleAgreementPayAPIRequest对象

func (AlibabaIdleAgreementPayAPIRequest) GetAgreementPayParam

func (r AlibabaIdleAgreementPayAPIRequest) GetAgreementPayParam() *AgreementPayParam

GetAgreementPayParam AgreementPayParam Getter

func (AlibabaIdleAgreementPayAPIRequest) GetApiMethodName

func (r AlibabaIdleAgreementPayAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleAgreementPayAPIRequest) GetApiParams

func (r AlibabaIdleAgreementPayAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (*AlibabaIdleAgreementPayAPIRequest) SetAgreementPayParam

func (r *AlibabaIdleAgreementPayAPIRequest) SetAgreementPayParam(_agreementPayParam *AgreementPayParam) error

SetAgreementPayParam is AgreementPayParam Setter 协议代扣参数

type AlibabaIdleAgreementPayAPIResponse

type AlibabaIdleAgreementPayAPIResponse struct {
	model.CommonResponse
	AlibabaIdleAgreementPayAPIResponseModel
}

AlibabaIdleAgreementPayAPIResponse 闲鱼平台商户代扣 API返回值 alibaba.idle.agreement.pay

闲鱼平台代扣能力:用户和闲鱼签约代扣协议 服务商通过直付通产品挂载成为闲鱼二级商户 来完成用户和服务商的结算

type AlibabaIdleAgreementPayAPIResponseModel

type AlibabaIdleAgreementPayAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_agreement_pay_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaIdleAgreementPayResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleAgreementPayAPIResponseModel is 闲鱼平台商户代扣 成功返回结果

type AlibabaIdleAgreementPayQueryAPIRequest

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

AlibabaIdleAgreementPayQueryAPIRequest 代扣详情查询 API请求 alibaba.idle.agreement.pay.query

查询代扣结果

func NewAlibabaIdleAgreementPayQueryRequest

func NewAlibabaIdleAgreementPayQueryRequest() *AlibabaIdleAgreementPayQueryAPIRequest

NewAlibabaIdleAgreementPayQueryRequest 初始化AlibabaIdleAgreementPayQueryAPIRequest对象

func (AlibabaIdleAgreementPayQueryAPIRequest) GetApiMethodName

func (r AlibabaIdleAgreementPayQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleAgreementPayQueryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleAgreementPayQueryAPIRequest) GetParam

GetParam Param Getter

func (*AlibabaIdleAgreementPayQueryAPIRequest) SetParam

SetParam is Param Setter 入参

type AlibabaIdleAgreementPayQueryAPIResponse

type AlibabaIdleAgreementPayQueryAPIResponse struct {
	model.CommonResponse
	AlibabaIdleAgreementPayQueryAPIResponseModel
}

AlibabaIdleAgreementPayQueryAPIResponse 代扣详情查询 API返回值 alibaba.idle.agreement.pay.query

查询代扣结果

type AlibabaIdleAgreementPayQueryAPIResponseModel

type AlibabaIdleAgreementPayQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_agreement_pay_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回
	Result *AlibabaIdleAgreementPayQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleAgreementPayQueryAPIResponseModel is 代扣详情查询 成功返回结果

type AlibabaIdleAgreementPayQueryResult

type AlibabaIdleAgreementPayQueryResult struct {
	// err_code
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 账单查询结果
	Module *Serializable `json:"module,omitempty" xml:"module,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleAgreementPayQueryResult 结构体

type AlibabaIdleAgreementPayResult

type AlibabaIdleAgreementPayResult struct {
	// 错误code
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 服务出参
	Module *Serializable `json:"module,omitempty" xml:"module,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleAgreementPayResult 结构体

type AlibabaIdleAppraiseOrderPerformAPIRequest

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

AlibabaIdleAppraiseOrderPerformAPIRequest 闲鱼验货担保服务商订单履约V1 API请求 alibaba.idle.appraise.order.perform

闲鱼验货担保业务中,外部服务商作为鉴定方 需要驱动交易节点变化

func NewAlibabaIdleAppraiseOrderPerformRequest

func NewAlibabaIdleAppraiseOrderPerformRequest() *AlibabaIdleAppraiseOrderPerformAPIRequest

NewAlibabaIdleAppraiseOrderPerformRequest 初始化AlibabaIdleAppraiseOrderPerformAPIRequest对象

func (AlibabaIdleAppraiseOrderPerformAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleAppraiseOrderPerformAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleAppraiseOrderPerformAPIRequest) GetAppraiseOrderSynDto

GetAppraiseOrderSynDto AppraiseOrderSynDto Getter

func (*AlibabaIdleAppraiseOrderPerformAPIRequest) SetAppraiseOrderSynDto

func (r *AlibabaIdleAppraiseOrderPerformAPIRequest) SetAppraiseOrderSynDto(_appraiseOrderSynDto *AppraiseOrderSynDto) error

SetAppraiseOrderSynDto is AppraiseOrderSynDto Setter AppraiseOrderSynDto

type AlibabaIdleAppraiseOrderPerformAPIResponse

type AlibabaIdleAppraiseOrderPerformAPIResponse struct {
	model.CommonResponse
	AlibabaIdleAppraiseOrderPerformAPIResponseModel
}

AlibabaIdleAppraiseOrderPerformAPIResponse 闲鱼验货担保服务商订单履约V1 API返回值 alibaba.idle.appraise.order.perform

闲鱼验货担保业务中,外部服务商作为鉴定方 需要驱动交易节点变化

type AlibabaIdleAppraiseOrderPerformAPIResponseModel

type AlibabaIdleAppraiseOrderPerformAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_appraise_order_perform_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaIdleAppraiseOrderPerformResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleAppraiseOrderPerformAPIResponseModel is 闲鱼验货担保服务商订单履约V1 成功返回结果

type AlibabaIdleAppraiseOrderPerformResult

type AlibabaIdleAppraiseOrderPerformResult struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

AlibabaIdleAppraiseOrderPerformResult 结构体

type AlibabaIdleAppraiseOrderQueryAPIRequest

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

AlibabaIdleAppraiseOrderQueryAPIRequest 闲鱼验货担保订单详情查询V1 API请求 alibaba.idle.appraise.order.query

鉴定商调用该接口获取订单状态

func NewAlibabaIdleAppraiseOrderQueryRequest

func NewAlibabaIdleAppraiseOrderQueryRequest() *AlibabaIdleAppraiseOrderQueryAPIRequest

NewAlibabaIdleAppraiseOrderQueryRequest 初始化AlibabaIdleAppraiseOrderQueryAPIRequest对象

func (AlibabaIdleAppraiseOrderQueryAPIRequest) GetApiMethodName

func (r AlibabaIdleAppraiseOrderQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleAppraiseOrderQueryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleAppraiseOrderQueryAPIRequest) GetBizOrderId

GetBizOrderId BizOrderId Getter

func (*AlibabaIdleAppraiseOrderQueryAPIRequest) SetBizOrderId

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

SetBizOrderId is BizOrderId Setter orderId

type AlibabaIdleAppraiseOrderQueryAPIResponse

type AlibabaIdleAppraiseOrderQueryAPIResponse struct {
	model.CommonResponse
	AlibabaIdleAppraiseOrderQueryAPIResponseModel
}

AlibabaIdleAppraiseOrderQueryAPIResponse 闲鱼验货担保订单详情查询V1 API返回值 alibaba.idle.appraise.order.query

鉴定商调用该接口获取订单状态

type AlibabaIdleAppraiseOrderQueryAPIResponseModel

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

AlibabaIdleAppraiseOrderQueryAPIResponseModel is 闲鱼验货担保订单详情查询V1 成功返回结果

type AlibabaIdleAppraiseOrderQueryResult

type AlibabaIdleAppraiseOrderQueryResult struct {
	// errCode
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 订单信息
	Module *AppraiseOrderInfoDto `json:"module,omitempty" xml:"module,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleAppraiseOrderQueryResult 结构体

type AlibabaIdleAppraiseSpuRegisterModifyAPIRequest

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

AlibabaIdleAppraiseSpuRegisterModifyAPIRequest 验货宝服务商spu挂载 API请求 alibaba.idle.appraise.spu.register.modify

闲鱼接收回收商spu模板挂载信息

func NewAlibabaIdleAppraiseSpuRegisterModifyRequest

func NewAlibabaIdleAppraiseSpuRegisterModifyRequest() *AlibabaIdleAppraiseSpuRegisterModifyAPIRequest

NewAlibabaIdleAppraiseSpuRegisterModifyRequest 初始化AlibabaIdleAppraiseSpuRegisterModifyAPIRequest对象

func (AlibabaIdleAppraiseSpuRegisterModifyAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleAppraiseSpuRegisterModifyAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleAppraiseSpuRegisterModifyAPIRequest) GetIdleAppraiseSpuRegister4TopDto

GetIdleAppraiseSpuRegister4TopDto IdleAppraiseSpuRegister4TopDto Getter

func (*AlibabaIdleAppraiseSpuRegisterModifyAPIRequest) SetIdleAppraiseSpuRegister4TopDto

func (r *AlibabaIdleAppraiseSpuRegisterModifyAPIRequest) SetIdleAppraiseSpuRegister4TopDto(_idleAppraiseSpuRegister4TopDto *IdleAppraiseSpuRegister4TopDto) error

SetIdleAppraiseSpuRegister4TopDto is IdleAppraiseSpuRegister4TopDto Setter 入参

type AlibabaIdleAppraiseSpuRegisterModifyAPIResponse

type AlibabaIdleAppraiseSpuRegisterModifyAPIResponse struct {
	model.CommonResponse
	AlibabaIdleAppraiseSpuRegisterModifyAPIResponseModel
}

AlibabaIdleAppraiseSpuRegisterModifyAPIResponse 验货宝服务商spu挂载 API返回值 alibaba.idle.appraise.spu.register.modify

闲鱼接收回收商spu模板挂载信息

type AlibabaIdleAppraiseSpuRegisterModifyAPIResponseModel

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

AlibabaIdleAppraiseSpuRegisterModifyAPIResponseModel is 验货宝服务商spu挂载 成功返回结果

type AlibabaIdleAppraiseSpuRegisterModifyResult

type AlibabaIdleAppraiseSpuRegisterModifyResult struct {
	// errCode
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// spu挂载信息后台状态,0在线,-1删除,1测试中。当spu第一次挂载时,会进入1测试中状态。服务商联调通过后,需要再次挂载,actionType还传0,挂载信息状态会变成0已上线。
	Module int64 `json:"module,omitempty" xml:"module,omitempty"`
	// 是否挂载成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleAppraiseSpuRegisterModifyResult 结构体

type AlibabaIdleApprizeOrderFulfillmentAPIRequest

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

AlibabaIdleApprizeOrderFulfillmentAPIRequest 鉴定担保资金订单履约 API请求 alibaba.idle.apprize.order.fulfillment

服务商针对自己的服务订单进行履约

func NewAlibabaIdleApprizeOrderFulfillmentRequest

func NewAlibabaIdleApprizeOrderFulfillmentRequest() *AlibabaIdleApprizeOrderFulfillmentAPIRequest

NewAlibabaIdleApprizeOrderFulfillmentRequest 初始化AlibabaIdleApprizeOrderFulfillmentAPIRequest对象

func (AlibabaIdleApprizeOrderFulfillmentAPIRequest) GetAction

GetAction Action Getter

func (AlibabaIdleApprizeOrderFulfillmentAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleApprizeOrderFulfillmentAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleApprizeOrderFulfillmentAPIRequest) GetWorkCardId

GetWorkCardId WorkCardId Getter

func (*AlibabaIdleApprizeOrderFulfillmentAPIRequest) SetAction

SetAction is Action Setter deal:服务商收取费用、refund:退款给付款方

func (*AlibabaIdleApprizeOrderFulfillmentAPIRequest) SetWorkCardId

func (r *AlibabaIdleApprizeOrderFulfillmentAPIRequest) SetWorkCardId(_workCardId int64) error

SetWorkCardId is WorkCardId Setter 天猫服务工单Id

type AlibabaIdleApprizeOrderFulfillmentAPIResponse

type AlibabaIdleApprizeOrderFulfillmentAPIResponse struct {
	model.CommonResponse
	AlibabaIdleApprizeOrderFulfillmentAPIResponseModel
}

AlibabaIdleApprizeOrderFulfillmentAPIResponse 鉴定担保资金订单履约 API返回值 alibaba.idle.apprize.order.fulfillment

服务商针对自己的服务订单进行履约

type AlibabaIdleApprizeOrderFulfillmentAPIResponseModel

type AlibabaIdleApprizeOrderFulfillmentAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_apprize_order_fulfillment_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 支付宝流水订单号
	AlipayOrderId string `json:"alipay_order_id,omitempty" xml:"alipay_order_id,omitempty"`
}

AlibabaIdleApprizeOrderFulfillmentAPIResponseModel is 鉴定担保资金订单履约 成功返回结果

type AlibabaIdleConsignmentOrderGetAPIRequest

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

AlibabaIdleConsignmentOrderGetAPIRequest 闲鱼帮卖订单查询 API请求 alibaba.idle.consignment.order.get

闲鱼帮卖服务商以闲鱼交易买家身份查询订单信息

func NewAlibabaIdleConsignmentOrderGetRequest

func NewAlibabaIdleConsignmentOrderGetRequest() *AlibabaIdleConsignmentOrderGetAPIRequest

NewAlibabaIdleConsignmentOrderGetRequest 初始化AlibabaIdleConsignmentOrderGetAPIRequest对象

func (AlibabaIdleConsignmentOrderGetAPIRequest) GetApiMethodName

func (r AlibabaIdleConsignmentOrderGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleConsignmentOrderGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleConsignmentOrderGetAPIRequest) GetBizOrderId

GetBizOrderId BizOrderId Getter

func (*AlibabaIdleConsignmentOrderGetAPIRequest) SetBizOrderId

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

SetBizOrderId is BizOrderId Setter 闲鱼订单ID

type AlibabaIdleConsignmentOrderGetAPIResponse

type AlibabaIdleConsignmentOrderGetAPIResponse struct {
	model.CommonResponse
	AlibabaIdleConsignmentOrderGetAPIResponseModel
}

AlibabaIdleConsignmentOrderGetAPIResponse 闲鱼帮卖订单查询 API返回值 alibaba.idle.consignment.order.get

闲鱼帮卖服务商以闲鱼交易买家身份查询订单信息

type AlibabaIdleConsignmentOrderGetAPIResponseModel

type AlibabaIdleConsignmentOrderGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_consignment_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaIdleConsignmentOrderGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleConsignmentOrderGetAPIResponseModel is 闲鱼帮卖订单查询 成功返回结果

type AlibabaIdleConsignmentOrderGetResult

type AlibabaIdleConsignmentOrderGetResult struct {
	// 错误编码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 帮卖订单详情
	Module *ConsignmentOrderTo `json:"module,omitempty" xml:"module,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleConsignmentOrderGetResult 结构体

type AlibabaIdleConsignmentOrderPerformAPIRequest

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

AlibabaIdleConsignmentOrderPerformAPIRequest 帮卖订单履约 API请求 alibaba.idle.consignment.order.perform

帮卖订单履约,回收商同步订单信息,驱动交易流转

func NewAlibabaIdleConsignmentOrderPerformRequest

func NewAlibabaIdleConsignmentOrderPerformRequest() *AlibabaIdleConsignmentOrderPerformAPIRequest

NewAlibabaIdleConsignmentOrderPerformRequest 初始化AlibabaIdleConsignmentOrderPerformAPIRequest对象

func (AlibabaIdleConsignmentOrderPerformAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleConsignmentOrderPerformAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleConsignmentOrderPerformAPIRequest) GetParam

GetParam Param Getter

func (*AlibabaIdleConsignmentOrderPerformAPIRequest) SetParam

SetParam is Param Setter 帮卖订单同步DTO

type AlibabaIdleConsignmentOrderPerformAPIResponse

type AlibabaIdleConsignmentOrderPerformAPIResponse struct {
	model.CommonResponse
	AlibabaIdleConsignmentOrderPerformAPIResponseModel
}

AlibabaIdleConsignmentOrderPerformAPIResponse 帮卖订单履约 API返回值 alibaba.idle.consignment.order.perform

帮卖订单履约,回收商同步订单信息,驱动交易流转

type AlibabaIdleConsignmentOrderPerformAPIResponseModel

type AlibabaIdleConsignmentOrderPerformAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_consignment_order_perform_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaIdleConsignmentOrderPerformResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleConsignmentOrderPerformAPIResponseModel is 帮卖订单履约 成功返回结果

type AlibabaIdleConsignmentOrderPerformResult

type AlibabaIdleConsignmentOrderPerformResult struct {
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleConsignmentOrderPerformResult 结构体

type AlibabaIdleConsignmentSpuStatisticsAPIRequest

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

AlibabaIdleConsignmentSpuStatisticsAPIRequest 闲鱼帮卖同步服务商交易统计信息 API请求 alibaba.idle.consignment.spu.statistics

闲鱼帮卖同步服务商交易统计信息

func NewAlibabaIdleConsignmentSpuStatisticsRequest

func NewAlibabaIdleConsignmentSpuStatisticsRequest() *AlibabaIdleConsignmentSpuStatisticsAPIRequest

NewAlibabaIdleConsignmentSpuStatisticsRequest 初始化AlibabaIdleConsignmentSpuStatisticsAPIRequest对象

func (AlibabaIdleConsignmentSpuStatisticsAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleConsignmentSpuStatisticsAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleConsignmentSpuStatisticsAPIRequest) GetParam

GetParam Param Getter

func (*AlibabaIdleConsignmentSpuStatisticsAPIRequest) SetParam

SetParam is Param Setter 入参

type AlibabaIdleConsignmentSpuStatisticsAPIResponse

type AlibabaIdleConsignmentSpuStatisticsAPIResponse struct {
	model.CommonResponse
	AlibabaIdleConsignmentSpuStatisticsAPIResponseModel
}

AlibabaIdleConsignmentSpuStatisticsAPIResponse 闲鱼帮卖同步服务商交易统计信息 API返回值 alibaba.idle.consignment.spu.statistics

闲鱼帮卖同步服务商交易统计信息

type AlibabaIdleConsignmentSpuStatisticsAPIResponseModel

type AlibabaIdleConsignmentSpuStatisticsAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_consignment_spu_statistics_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleConsignmentSpuStatisticsAPIResponseModel is 闲鱼帮卖同步服务商交易统计信息 成功返回结果

type AlibabaIdleConsignmentiiOrderGetAPIRequest

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

AlibabaIdleConsignmentiiOrderGetAPIRequest 闲鱼寄卖V2订单查询 API请求 alibaba.idle.consignmentii.order.get

闲鱼寄卖V2服务商以闲鱼交易买家身份查询订单信息

func NewAlibabaIdleConsignmentiiOrderGetRequest

func NewAlibabaIdleConsignmentiiOrderGetRequest() *AlibabaIdleConsignmentiiOrderGetAPIRequest

NewAlibabaIdleConsignmentiiOrderGetRequest 初始化AlibabaIdleConsignmentiiOrderGetAPIRequest对象

func (AlibabaIdleConsignmentiiOrderGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleConsignmentiiOrderGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleConsignmentiiOrderGetAPIRequest) GetBizOrderId

GetBizOrderId BizOrderId Getter

func (*AlibabaIdleConsignmentiiOrderGetAPIRequest) SetBizOrderId

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

SetBizOrderId is BizOrderId Setter 闲鱼订单ID

type AlibabaIdleConsignmentiiOrderGetAPIResponse

type AlibabaIdleConsignmentiiOrderGetAPIResponse struct {
	model.CommonResponse
	AlibabaIdleConsignmentiiOrderGetAPIResponseModel
}

AlibabaIdleConsignmentiiOrderGetAPIResponse 闲鱼寄卖V2订单查询 API返回值 alibaba.idle.consignmentii.order.get

闲鱼寄卖V2服务商以闲鱼交易买家身份查询订单信息

type AlibabaIdleConsignmentiiOrderGetAPIResponseModel

type AlibabaIdleConsignmentiiOrderGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_consignmentii_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaIdleConsignmentiiOrderGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleConsignmentiiOrderGetAPIResponseModel is 闲鱼寄卖V2订单查询 成功返回结果

type AlibabaIdleConsignmentiiOrderGetResult

type AlibabaIdleConsignmentiiOrderGetResult struct {
	// 错误编码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 订单详情
	Module *ConsignmentV2OrderTo `json:"module,omitempty" xml:"module,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleConsignmentiiOrderGetResult 结构体

type AlibabaIdleConsignmentiiOrderPerformAPIRequest

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

AlibabaIdleConsignmentiiOrderPerformAPIRequest 寄卖V2订单履约 API请求 alibaba.idle.consignmentii.order.perform

寄卖V2订单履约,服务商同步订单信息,驱动交易流转

func NewAlibabaIdleConsignmentiiOrderPerformRequest

func NewAlibabaIdleConsignmentiiOrderPerformRequest() *AlibabaIdleConsignmentiiOrderPerformAPIRequest

NewAlibabaIdleConsignmentiiOrderPerformRequest 初始化AlibabaIdleConsignmentiiOrderPerformAPIRequest对象

func (AlibabaIdleConsignmentiiOrderPerformAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleConsignmentiiOrderPerformAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleConsignmentiiOrderPerformAPIRequest) GetConsignmentV2OrderSynDto

GetConsignmentV2OrderSynDto ConsignmentV2OrderSynDto Getter

func (*AlibabaIdleConsignmentiiOrderPerformAPIRequest) SetConsignmentV2OrderSynDto

func (r *AlibabaIdleConsignmentiiOrderPerformAPIRequest) SetConsignmentV2OrderSynDto(_consignmentV2OrderSynDto *ConsignmentV2OrderSynDto) error

SetConsignmentV2OrderSynDto is ConsignmentV2OrderSynDto Setter 同步参数

type AlibabaIdleConsignmentiiOrderPerformAPIResponse

type AlibabaIdleConsignmentiiOrderPerformAPIResponse struct {
	model.CommonResponse
	AlibabaIdleConsignmentiiOrderPerformAPIResponseModel
}

AlibabaIdleConsignmentiiOrderPerformAPIResponse 寄卖V2订单履约 API返回值 alibaba.idle.consignmentii.order.perform

寄卖V2订单履约,服务商同步订单信息,驱动交易流转

type AlibabaIdleConsignmentiiOrderPerformAPIResponseModel

type AlibabaIdleConsignmentiiOrderPerformAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_consignmentii_order_perform_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaIdleConsignmentiiOrderPerformResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleConsignmentiiOrderPerformAPIResponseModel is 寄卖V2订单履约 成功返回结果

type AlibabaIdleConsignmentiiOrderPerformResult

type AlibabaIdleConsignmentiiOrderPerformResult struct {
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleConsignmentiiOrderPerformResult 结构体

type AlibabaIdleInsurancePaidResultAPIRequest added in v1.2.5

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

AlibabaIdleInsurancePaidResultAPIRequest 闲鱼行业保险理赔结果同步 API请求 alibaba.idle.insurance.paid.result

闲鱼行业保险理赔结果同步

func NewAlibabaIdleInsurancePaidResultRequest added in v1.2.5

func NewAlibabaIdleInsurancePaidResultRequest() *AlibabaIdleInsurancePaidResultAPIRequest

NewAlibabaIdleInsurancePaidResultRequest 初始化AlibabaIdleInsurancePaidResultAPIRequest对象

func (AlibabaIdleInsurancePaidResultAPIRequest) GetAccountId added in v1.2.5

GetAccountId AccountId Getter

func (AlibabaIdleInsurancePaidResultAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaIdleInsurancePaidResultAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleInsurancePaidResultAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleInsurancePaidResultAPIRequest) GetChannelOrderId added in v1.2.5

func (r AlibabaIdleInsurancePaidResultAPIRequest) GetChannelOrderId() string

GetChannelOrderId ChannelOrderId Getter

func (AlibabaIdleInsurancePaidResultAPIRequest) GetPayCent added in v1.2.5

GetPayCent PayCent Getter

func (AlibabaIdleInsurancePaidResultAPIRequest) GetPayErrCode added in v1.2.5

GetPayErrCode PayErrCode Getter

func (AlibabaIdleInsurancePaidResultAPIRequest) GetPayErrMsg added in v1.2.5

GetPayErrMsg PayErrMsg Getter

func (AlibabaIdleInsurancePaidResultAPIRequest) GetPayId added in v1.2.5

GetPayId PayId Getter

func (AlibabaIdleInsurancePaidResultAPIRequest) GetPayStatus added in v1.2.5

GetPayStatus PayStatus Getter

func (AlibabaIdleInsurancePaidResultAPIRequest) GetPayTs added in v1.2.5

GetPayTs PayTs Getter

func (*AlibabaIdleInsurancePaidResultAPIRequest) SetAccountId added in v1.2.5

func (r *AlibabaIdleInsurancePaidResultAPIRequest) SetAccountId(_accountId string) error

SetAccountId is AccountId Setter 收款账号id。如支付宝id

func (*AlibabaIdleInsurancePaidResultAPIRequest) SetChannelOrderId added in v1.2.5

func (r *AlibabaIdleInsurancePaidResultAPIRequest) SetChannelOrderId(_channelOrderId string) error

SetChannelOrderId is ChannelOrderId Setter 理赔id

func (*AlibabaIdleInsurancePaidResultAPIRequest) SetPayCent added in v1.2.5

func (r *AlibabaIdleInsurancePaidResultAPIRequest) SetPayCent(_payCent int64) error

SetPayCent is PayCent Setter 打款金额,分

func (*AlibabaIdleInsurancePaidResultAPIRequest) SetPayErrCode added in v1.2.5

func (r *AlibabaIdleInsurancePaidResultAPIRequest) SetPayErrCode(_payErrCode string) error

SetPayErrCode is PayErrCode Setter 打款失败时错误码

func (*AlibabaIdleInsurancePaidResultAPIRequest) SetPayErrMsg added in v1.2.5

func (r *AlibabaIdleInsurancePaidResultAPIRequest) SetPayErrMsg(_payErrMsg string) error

SetPayErrMsg is PayErrMsg Setter 打款失败时错误信息

func (*AlibabaIdleInsurancePaidResultAPIRequest) SetPayId added in v1.2.5

SetPayId is PayId Setter 理赔款支付id,如支付宝打款id

func (*AlibabaIdleInsurancePaidResultAPIRequest) SetPayStatus added in v1.2.5

func (r *AlibabaIdleInsurancePaidResultAPIRequest) SetPayStatus(_payStatus int64) error

SetPayStatus is PayStatus Setter 打款状态 -1打款失败,1打款成功

func (*AlibabaIdleInsurancePaidResultAPIRequest) SetPayTs added in v1.2.5

SetPayTs is PayTs Setter 打款时间戳,毫秒

type AlibabaIdleInsurancePaidResultAPIResponse added in v1.2.5

type AlibabaIdleInsurancePaidResultAPIResponse struct {
	model.CommonResponse
	AlibabaIdleInsurancePaidResultAPIResponseModel
}

AlibabaIdleInsurancePaidResultAPIResponse 闲鱼行业保险理赔结果同步 API返回值 alibaba.idle.insurance.paid.result

闲鱼行业保险理赔结果同步

type AlibabaIdleInsurancePaidResultAPIResponseModel added in v1.2.5

type AlibabaIdleInsurancePaidResultAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_insurance_paid_result_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误code
	ECode string `json:"e_code,omitempty" xml:"e_code,omitempty"`
	// 错误msg
	EMsg string `json:"e_msg,omitempty" xml:"e_msg,omitempty"`
	// 同步是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlibabaIdleInsurancePaidResultAPIResponseModel is 闲鱼行业保险理赔结果同步 成功返回结果

type AlibabaIdleIsvOrderDealrefundAPIRequest

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

AlibabaIdleIsvOrderDealrefundAPIRequest 闲鱼无忧购入仓模式服务商退款处理接口 API请求 alibaba.idle.isv.order.dealrefund

闲鱼无忧购业务入仓模式下,用户发起退款后,服务商使用此接口处理退款

func NewAlibabaIdleIsvOrderDealrefundRequest

func NewAlibabaIdleIsvOrderDealrefundRequest() *AlibabaIdleIsvOrderDealrefundAPIRequest

NewAlibabaIdleIsvOrderDealrefundRequest 初始化AlibabaIdleIsvOrderDealrefundAPIRequest对象

func (AlibabaIdleIsvOrderDealrefundAPIRequest) GetApiMethodName

func (r AlibabaIdleIsvOrderDealrefundAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleIsvOrderDealrefundAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleIsvOrderDealrefundAPIRequest) GetParamAppraiseIsvRefundRequest

func (r AlibabaIdleIsvOrderDealrefundAPIRequest) GetParamAppraiseIsvRefundRequest() *AppraiseIsvRefundRequest

GetParamAppraiseIsvRefundRequest ParamAppraiseIsvRefundRequest Getter

func (*AlibabaIdleIsvOrderDealrefundAPIRequest) SetParamAppraiseIsvRefundRequest

func (r *AlibabaIdleIsvOrderDealrefundAPIRequest) SetParamAppraiseIsvRefundRequest(_paramAppraiseIsvRefundRequest *AppraiseIsvRefundRequest) error

SetParamAppraiseIsvRefundRequest is ParamAppraiseIsvRefundRequest Setter 退款参数

type AlibabaIdleIsvOrderDealrefundAPIResponse

type AlibabaIdleIsvOrderDealrefundAPIResponse struct {
	model.CommonResponse
	AlibabaIdleIsvOrderDealrefundAPIResponseModel
}

AlibabaIdleIsvOrderDealrefundAPIResponse 闲鱼无忧购入仓模式服务商退款处理接口 API返回值 alibaba.idle.isv.order.dealrefund

闲鱼无忧购业务入仓模式下,用户发起退款后,服务商使用此接口处理退款

type AlibabaIdleIsvOrderDealrefundAPIResponseModel

type AlibabaIdleIsvOrderDealrefundAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_isv_order_dealrefund_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 退款信息
	Module *RefundDto `json:"module,omitempty" xml:"module,omitempty"`
}

AlibabaIdleIsvOrderDealrefundAPIResponseModel is 闲鱼无忧购入仓模式服务商退款处理接口 成功返回结果

type AlibabaIdleOrderDummySendAPIRequest

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

AlibabaIdleOrderDummySendAPIRequest 闲鱼无需物流发货 API请求 alibaba.idle.order.dummy.send

适用于电子卡券等虚拟商品不需要物流的商品发货。

func NewAlibabaIdleOrderDummySendRequest

func NewAlibabaIdleOrderDummySendRequest() *AlibabaIdleOrderDummySendAPIRequest

NewAlibabaIdleOrderDummySendRequest 初始化AlibabaIdleOrderDummySendAPIRequest对象

func (AlibabaIdleOrderDummySendAPIRequest) GetApiMethodName

func (r AlibabaIdleOrderDummySendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleOrderDummySendAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleOrderDummySendAPIRequest) GetParamOrderDummySendRequest

func (r AlibabaIdleOrderDummySendAPIRequest) GetParamOrderDummySendRequest() *OrderDummySendRequest

GetParamOrderDummySendRequest ParamOrderDummySendRequest Getter

func (*AlibabaIdleOrderDummySendAPIRequest) SetParamOrderDummySendRequest

func (r *AlibabaIdleOrderDummySendAPIRequest) SetParamOrderDummySendRequest(_paramOrderDummySendRequest *OrderDummySendRequest) error

SetParamOrderDummySendRequest is ParamOrderDummySendRequest Setter 请求

type AlibabaIdleOrderDummySendAPIResponse

type AlibabaIdleOrderDummySendAPIResponse struct {
	model.CommonResponse
	AlibabaIdleOrderDummySendAPIResponseModel
}

AlibabaIdleOrderDummySendAPIResponse 闲鱼无需物流发货 API返回值 alibaba.idle.order.dummy.send

适用于电子卡券等虚拟商品不需要物流的商品发货。

type AlibabaIdleOrderDummySendAPIResponseModel

type AlibabaIdleOrderDummySendAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_order_dummy_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回包装类
	Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleOrderDummySendAPIResponseModel is 闲鱼无需物流发货 成功返回结果

type AlibabaIdlePayPlanCreateAPIRequest

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

AlibabaIdlePayPlanCreateAPIRequest 创建代扣计划 API请求 alibaba.idle.pay.plan.create

闲鱼平台代扣能力: 1、用户和闲鱼签约代扣协议 服务商通过直付通产品挂载成为闲鱼二级商户 来完成用户和服务商的结算 2、创建代扣计划

func NewAlibabaIdlePayPlanCreateRequest

func NewAlibabaIdlePayPlanCreateRequest() *AlibabaIdlePayPlanCreateAPIRequest

NewAlibabaIdlePayPlanCreateRequest 初始化AlibabaIdlePayPlanCreateAPIRequest对象

func (AlibabaIdlePayPlanCreateAPIRequest) GetAgreementPayPlanParam

func (r AlibabaIdlePayPlanCreateAPIRequest) GetAgreementPayPlanParam() *AgreementPayPlanParam

GetAgreementPayPlanParam AgreementPayPlanParam Getter

func (AlibabaIdlePayPlanCreateAPIRequest) GetApiMethodName

func (r AlibabaIdlePayPlanCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdlePayPlanCreateAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (*AlibabaIdlePayPlanCreateAPIRequest) SetAgreementPayPlanParam

func (r *AlibabaIdlePayPlanCreateAPIRequest) SetAgreementPayPlanParam(_agreementPayPlanParam *AgreementPayPlanParam) error

SetAgreementPayPlanParam is AgreementPayPlanParam Setter 业务入参

type AlibabaIdlePayPlanCreateAPIResponse

type AlibabaIdlePayPlanCreateAPIResponse struct {
	model.CommonResponse
	AlibabaIdlePayPlanCreateAPIResponseModel
}

AlibabaIdlePayPlanCreateAPIResponse 创建代扣计划 API返回值 alibaba.idle.pay.plan.create

闲鱼平台代扣能力: 1、用户和闲鱼签约代扣协议 服务商通过直付通产品挂载成为闲鱼二级商户 来完成用户和服务商的结算 2、创建代扣计划

type AlibabaIdlePayPlanCreateAPIResponseModel

type AlibabaIdlePayPlanCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_pay_plan_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaIdlePayPlanCreateResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdlePayPlanCreateAPIResponseModel is 创建代扣计划 成功返回结果

type AlibabaIdlePayPlanCreateResult

type AlibabaIdlePayPlanCreateResult struct {
	// 系统自动生成
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 系统自动生成
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 服务出参
	Module *Serializable `json:"module,omitempty" xml:"module,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdlePayPlanCreateResult 结构体

type AlibabaIdleRecycleInspectionReportAPIRequest

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

AlibabaIdleRecycleInspectionReportAPIRequest 鉴定报告 API请求 alibaba.idle.recycle.inspection.report

回收商鉴定报告

func NewAlibabaIdleRecycleInspectionReportRequest

func NewAlibabaIdleRecycleInspectionReportRequest() *AlibabaIdleRecycleInspectionReportAPIRequest

NewAlibabaIdleRecycleInspectionReportRequest 初始化AlibabaIdleRecycleInspectionReportAPIRequest对象

func (AlibabaIdleRecycleInspectionReportAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRecycleInspectionReportAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRecycleInspectionReportAPIRequest) GetInspectionReport

GetInspectionReport InspectionReport Getter

func (*AlibabaIdleRecycleInspectionReportAPIRequest) SetInspectionReport

func (r *AlibabaIdleRecycleInspectionReportAPIRequest) SetInspectionReport(_inspectionReport *InspectionReport) error

SetInspectionReport is InspectionReport Setter 鉴定报告

type AlibabaIdleRecycleInspectionReportAPIResponse

type AlibabaIdleRecycleInspectionReportAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRecycleInspectionReportAPIResponseModel
}

AlibabaIdleRecycleInspectionReportAPIResponse 鉴定报告 API返回值 alibaba.idle.recycle.inspection.report

回收商鉴定报告

type AlibabaIdleRecycleInspectionReportAPIResponseModel

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

AlibabaIdleRecycleInspectionReportAPIResponseModel is 鉴定报告 成功返回结果

type AlibabaIdleRecycleOrderFulfillmentAPIRequest

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

AlibabaIdleRecycleOrderFulfillmentAPIRequest 闲鱼回收订单履约V1 API请求 alibaba.idle.recycle.order.fulfillment

外部回收商针对自有回收订单的履行

func NewAlibabaIdleRecycleOrderFulfillmentRequest

func NewAlibabaIdleRecycleOrderFulfillmentRequest() *AlibabaIdleRecycleOrderFulfillmentAPIRequest

NewAlibabaIdleRecycleOrderFulfillmentRequest 初始化AlibabaIdleRecycleOrderFulfillmentAPIRequest对象

func (AlibabaIdleRecycleOrderFulfillmentAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRecycleOrderFulfillmentAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRecycleOrderFulfillmentAPIRequest) GetParam0

GetParam0 Param0 Getter

func (*AlibabaIdleRecycleOrderFulfillmentAPIRequest) SetParam0

SetParam0 is Param0 Setter 订单同步入参

type AlibabaIdleRecycleOrderFulfillmentAPIResponse

type AlibabaIdleRecycleOrderFulfillmentAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRecycleOrderFulfillmentAPIResponseModel
}

AlibabaIdleRecycleOrderFulfillmentAPIResponse 闲鱼回收订单履约V1 API返回值 alibaba.idle.recycle.order.fulfillment

外部回收商针对自有回收订单的履行

type AlibabaIdleRecycleOrderFulfillmentAPIResponseModel

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

AlibabaIdleRecycleOrderFulfillmentAPIResponseModel is 闲鱼回收订单履约V1 成功返回结果

type AlibabaIdleRecycleOrderFulfillmentResult

type AlibabaIdleRecycleOrderFulfillmentResult struct {
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleRecycleOrderFulfillmentResult 结构体

type AlibabaIdleRecycleOrderPerformAPIRequest

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

AlibabaIdleRecycleOrderPerformAPIRequest 回收订单履约V2 API请求 alibaba.idle.recycle.order.perform

闲鱼回收业务中,外部服务商作为买家 需要驱动交易节点变化

func NewAlibabaIdleRecycleOrderPerformRequest

func NewAlibabaIdleRecycleOrderPerformRequest() *AlibabaIdleRecycleOrderPerformAPIRequest

NewAlibabaIdleRecycleOrderPerformRequest 初始化AlibabaIdleRecycleOrderPerformAPIRequest对象

func (AlibabaIdleRecycleOrderPerformAPIRequest) GetApiMethodName

func (r AlibabaIdleRecycleOrderPerformAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRecycleOrderPerformAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRecycleOrderPerformAPIRequest) GetParam0

GetParam0 Param0 Getter

func (*AlibabaIdleRecycleOrderPerformAPIRequest) SetParam0

SetParam0 is Param0 Setter 参数

type AlibabaIdleRecycleOrderPerformAPIResponse

type AlibabaIdleRecycleOrderPerformAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRecycleOrderPerformAPIResponseModel
}

AlibabaIdleRecycleOrderPerformAPIResponse 回收订单履约V2 API返回值 alibaba.idle.recycle.order.perform

闲鱼回收业务中,外部服务商作为买家 需要驱动交易节点变化

type AlibabaIdleRecycleOrderPerformAPIResponseModel

type AlibabaIdleRecycleOrderPerformAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_recycle_order_perform_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 成功
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleRecycleOrderPerformAPIResponseModel is 回收订单履约V2 成功返回结果

type AlibabaIdleRecycleOrderQueryAPIRequest

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

AlibabaIdleRecycleOrderQueryAPIRequest 闲鱼回收订单查询V1 API请求 alibaba.idle.recycle.order.query

查询回收订单

func NewAlibabaIdleRecycleOrderQueryRequest

func NewAlibabaIdleRecycleOrderQueryRequest() *AlibabaIdleRecycleOrderQueryAPIRequest

NewAlibabaIdleRecycleOrderQueryRequest 初始化AlibabaIdleRecycleOrderQueryAPIRequest对象

func (AlibabaIdleRecycleOrderQueryAPIRequest) GetApiMethodName

func (r AlibabaIdleRecycleOrderQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRecycleOrderQueryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRecycleOrderQueryAPIRequest) GetBizOrderId

GetBizOrderId BizOrderId Getter

func (AlibabaIdleRecycleOrderQueryAPIRequest) GetRecycleSupplierId added in v1.2.5

func (r AlibabaIdleRecycleOrderQueryAPIRequest) GetRecycleSupplierId() int64

GetRecycleSupplierId RecycleSupplierId Getter

func (*AlibabaIdleRecycleOrderQueryAPIRequest) SetBizOrderId

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

SetBizOrderId is BizOrderId Setter 订单号

func (*AlibabaIdleRecycleOrderQueryAPIRequest) SetRecycleSupplierId added in v1.2.5

func (r *AlibabaIdleRecycleOrderQueryAPIRequest) SetRecycleSupplierId(_recycleSupplierId int64) error

SetRecycleSupplierId is RecycleSupplierId Setter 手淘商家的淘宝账号id

type AlibabaIdleRecycleOrderQueryAPIResponse

type AlibabaIdleRecycleOrderQueryAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRecycleOrderQueryAPIResponseModel
}

AlibabaIdleRecycleOrderQueryAPIResponse 闲鱼回收订单查询V1 API返回值 alibaba.idle.recycle.order.query

查询回收订单

type AlibabaIdleRecycleOrderQueryAPIResponseModel

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

AlibabaIdleRecycleOrderQueryAPIResponseModel is 闲鱼回收订单查询V1 成功返回结果

type AlibabaIdleRecycleOrderQueryResult

type AlibabaIdleRecycleOrderQueryResult struct {
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 订单信息
	Module *Serializable `json:"module,omitempty" xml:"module,omitempty"`
	// 成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleRecycleOrderQueryResult 结构体

type AlibabaIdleRecycleOrderShowAPIRequest

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

AlibabaIdleRecycleOrderShowAPIRequest 闲鱼回收订单查询V1.1 API请求 alibaba.idle.recycle.order.show

查询回收订单

func NewAlibabaIdleRecycleOrderShowRequest

func NewAlibabaIdleRecycleOrderShowRequest() *AlibabaIdleRecycleOrderShowAPIRequest

NewAlibabaIdleRecycleOrderShowRequest 初始化AlibabaIdleRecycleOrderShowAPIRequest对象

func (AlibabaIdleRecycleOrderShowAPIRequest) GetApiMethodName

func (r AlibabaIdleRecycleOrderShowAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRecycleOrderShowAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRecycleOrderShowAPIRequest) GetBizOrderId

func (r AlibabaIdleRecycleOrderShowAPIRequest) GetBizOrderId() int64

GetBizOrderId BizOrderId Getter

func (*AlibabaIdleRecycleOrderShowAPIRequest) SetBizOrderId

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

SetBizOrderId is BizOrderId Setter 订单号

type AlibabaIdleRecycleOrderShowAPIResponse

type AlibabaIdleRecycleOrderShowAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRecycleOrderShowAPIResponseModel
}

AlibabaIdleRecycleOrderShowAPIResponse 闲鱼回收订单查询V1.1 API返回值 alibaba.idle.recycle.order.show

查询回收订单

type AlibabaIdleRecycleOrderShowAPIResponseModel

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

AlibabaIdleRecycleOrderShowAPIResponseModel is 闲鱼回收订单查询V1.1 成功返回结果

type AlibabaIdleRecycleOrderShowResult

type AlibabaIdleRecycleOrderShowResult struct {
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 订单信息
	Module *Serializable `json:"module,omitempty" xml:"module,omitempty"`
	// 成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleRecycleOrderShowResult 结构体

type AlibabaIdleRecycleSpuTemplateModifyAPIRequest

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

AlibabaIdleRecycleSpuTemplateModifyAPIRequest 闲鱼接收回收商spu模板挂载信息 API请求 alibaba.idle.recycle.spu.template.modify

闲鱼接收回收商spu模板挂载信息

func NewAlibabaIdleRecycleSpuTemplateModifyRequest

func NewAlibabaIdleRecycleSpuTemplateModifyRequest() *AlibabaIdleRecycleSpuTemplateModifyAPIRequest

NewAlibabaIdleRecycleSpuTemplateModifyRequest 初始化AlibabaIdleRecycleSpuTemplateModifyAPIRequest对象

func (AlibabaIdleRecycleSpuTemplateModifyAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRecycleSpuTemplateModifyAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRecycleSpuTemplateModifyAPIRequest) GetRecycleSpuTemplate

GetRecycleSpuTemplate RecycleSpuTemplate Getter

func (*AlibabaIdleRecycleSpuTemplateModifyAPIRequest) SetRecycleSpuTemplate

func (r *AlibabaIdleRecycleSpuTemplateModifyAPIRequest) SetRecycleSpuTemplate(_recycleSpuTemplate *RecycleSpuTemplate) error

SetRecycleSpuTemplate is RecycleSpuTemplate Setter 回收商挂载模版信息

type AlibabaIdleRecycleSpuTemplateModifyAPIResponse

type AlibabaIdleRecycleSpuTemplateModifyAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRecycleSpuTemplateModifyAPIResponseModel
}

AlibabaIdleRecycleSpuTemplateModifyAPIResponse 闲鱼接收回收商spu模板挂载信息 API返回值 alibaba.idle.recycle.spu.template.modify

闲鱼接收回收商spu模板挂载信息

type AlibabaIdleRecycleSpuTemplateModifyAPIResponseModel

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

AlibabaIdleRecycleSpuTemplateModifyAPIResponseModel is 闲鱼接收回收商spu模板挂载信息 成功返回结果

type AlibabaIdleRentItemAddAPIRequest

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

AlibabaIdleRentItemAddAPIRequest 租赁商品发布 API请求 alibaba.idle.rent.item.add

发布闲鱼租赁商品

func NewAlibabaIdleRentItemAddRequest

func NewAlibabaIdleRentItemAddRequest() *AlibabaIdleRentItemAddAPIRequest

NewAlibabaIdleRentItemAddRequest 初始化AlibabaIdleRentItemAddAPIRequest对象

func (AlibabaIdleRentItemAddAPIRequest) GetApiMethodName

func (r AlibabaIdleRentItemAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRentItemAddAPIRequest) GetApiParams

func (r AlibabaIdleRentItemAddAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRentItemAddAPIRequest) GetParamRentItemDTO

func (r AlibabaIdleRentItemAddAPIRequest) GetParamRentItemDTO() *RentItemDto

GetParamRentItemDTO ParamRentItemDTO Getter

func (*AlibabaIdleRentItemAddAPIRequest) SetParamRentItemDTO

func (r *AlibabaIdleRentItemAddAPIRequest) SetParamRentItemDTO(_paramRentItemDTO *RentItemDto) error

SetParamRentItemDTO is ParamRentItemDTO Setter 商品信息

type AlibabaIdleRentItemAddAPIResponse

type AlibabaIdleRentItemAddAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRentItemAddAPIResponseModel
}

AlibabaIdleRentItemAddAPIResponse 租赁商品发布 API返回值 alibaba.idle.rent.item.add

发布闲鱼租赁商品

type AlibabaIdleRentItemAddAPIResponseModel

type AlibabaIdleRentItemAddAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_rent_item_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *AlibabaIdleRentItemAddTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleRentItemAddAPIResponseModel is 租赁商品发布 成功返回结果

type AlibabaIdleRentItemAddTopResult added in v1.2.1

type AlibabaIdleRentItemAddTopResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 商品id
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleRentItemAddTopResult 结构体

type AlibabaIdleRentItemEditAPIRequest

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

AlibabaIdleRentItemEditAPIRequest 租赁商品编辑 API请求 alibaba.idle.rent.item.edit

发布闲鱼租赁商品

func NewAlibabaIdleRentItemEditRequest

func NewAlibabaIdleRentItemEditRequest() *AlibabaIdleRentItemEditAPIRequest

NewAlibabaIdleRentItemEditRequest 初始化AlibabaIdleRentItemEditAPIRequest对象

func (AlibabaIdleRentItemEditAPIRequest) GetApiMethodName

func (r AlibabaIdleRentItemEditAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRentItemEditAPIRequest) GetApiParams

func (r AlibabaIdleRentItemEditAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRentItemEditAPIRequest) GetParamRentItemDTO

func (r AlibabaIdleRentItemEditAPIRequest) GetParamRentItemDTO() *RentItemDto

GetParamRentItemDTO ParamRentItemDTO Getter

func (*AlibabaIdleRentItemEditAPIRequest) SetParamRentItemDTO

func (r *AlibabaIdleRentItemEditAPIRequest) SetParamRentItemDTO(_paramRentItemDTO *RentItemDto) error

SetParamRentItemDTO is ParamRentItemDTO Setter 商品信息

type AlibabaIdleRentItemEditAPIResponse

type AlibabaIdleRentItemEditAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRentItemEditAPIResponseModel
}

AlibabaIdleRentItemEditAPIResponse 租赁商品编辑 API返回值 alibaba.idle.rent.item.edit

发布闲鱼租赁商品

type AlibabaIdleRentItemEditAPIResponseModel

type AlibabaIdleRentItemEditAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_rent_item_edit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *AlibabaIdleRentItemEditTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleRentItemEditAPIResponseModel is 租赁商品编辑 成功返回结果

type AlibabaIdleRentItemEditTopResult added in v1.2.1

type AlibabaIdleRentItemEditTopResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 是否更新成功
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleRentItemEditTopResult 结构体

type AlibabaIdleRentItemQueryAPIRequest

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

AlibabaIdleRentItemQueryAPIRequest 查询租赁商品信息 API请求 alibaba.idle.rent.item.query

查询租赁商品信息

func NewAlibabaIdleRentItemQueryRequest

func NewAlibabaIdleRentItemQueryRequest() *AlibabaIdleRentItemQueryAPIRequest

NewAlibabaIdleRentItemQueryRequest 初始化AlibabaIdleRentItemQueryAPIRequest对象

func (AlibabaIdleRentItemQueryAPIRequest) GetApiMethodName

func (r AlibabaIdleRentItemQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRentItemQueryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRentItemQueryAPIRequest) GetItemId

GetItemId ItemId Getter

func (*AlibabaIdleRentItemQueryAPIRequest) SetItemId

func (r *AlibabaIdleRentItemQueryAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 商品id

type AlibabaIdleRentItemQueryAPIResponse

type AlibabaIdleRentItemQueryAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRentItemQueryAPIResponseModel
}

AlibabaIdleRentItemQueryAPIResponse 查询租赁商品信息 API返回值 alibaba.idle.rent.item.query

查询租赁商品信息

type AlibabaIdleRentItemQueryAPIResponseModel

type AlibabaIdleRentItemQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_rent_item_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaIdleRentItemQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleRentItemQueryAPIResponseModel is 查询租赁商品信息 成功返回结果

type AlibabaIdleRentItemQueryData

type AlibabaIdleRentItemQueryData struct {
	// 商品sku信息
	ItemSkuList []ItemSkuDto `json:"item_sku_list,omitempty" xml:"item_sku_list>item_sku_dto,omitempty"`
	// 标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 新旧水平
	UsedLevel int64 `json:"used_level,omitempty" xml:"used_level,omitempty"`
	// 库存
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 地址信息
	Address *AddressDto `json:"address,omitempty" xml:"address,omitempty"`
	// 商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 价格信息
	PriceInfo *PriceDto `json:"price_info,omitempty" xml:"price_info,omitempty"`
	// 商品状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 运费模板id
	TemplateId int64 `json:"template_id,omitempty" xml:"template_id,omitempty"`
}

AlibabaIdleRentItemQueryData 结构体

type AlibabaIdleRentItemQueryResult

type AlibabaIdleRentItemQueryResult struct {
	// 错误描述
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 返回素材id
	Data *AlibabaIdleRentItemQueryData `json:"data,omitempty" xml:"data,omitempty"`
	// 数据是否可用
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleRentItemQueryResult 结构体

type AlibabaIdleRentItemSkuUpdateAPIRequest

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

AlibabaIdleRentItemSkuUpdateAPIRequest 更新/增加sku信息 API请求 alibaba.idle.rent.item.sku.update

更新/增加sku信息

func NewAlibabaIdleRentItemSkuUpdateRequest

func NewAlibabaIdleRentItemSkuUpdateRequest() *AlibabaIdleRentItemSkuUpdateAPIRequest

NewAlibabaIdleRentItemSkuUpdateRequest 初始化AlibabaIdleRentItemSkuUpdateAPIRequest对象

func (AlibabaIdleRentItemSkuUpdateAPIRequest) GetApiMethodName

func (r AlibabaIdleRentItemSkuUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRentItemSkuUpdateAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRentItemSkuUpdateAPIRequest) GetSku

GetSku Sku Getter

func (*AlibabaIdleRentItemSkuUpdateAPIRequest) SetSku

SetSku is Sku Setter sku信息,更新后skuId保持不变

type AlibabaIdleRentItemSkuUpdateAPIResponse

type AlibabaIdleRentItemSkuUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRentItemSkuUpdateAPIResponseModel
}

AlibabaIdleRentItemSkuUpdateAPIResponse 更新/增加sku信息 API返回值 alibaba.idle.rent.item.sku.update

更新/增加sku信息

type AlibabaIdleRentItemSkuUpdateAPIResponseModel

type AlibabaIdleRentItemSkuUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_rent_item_sku_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *AlibabaIdleRentItemSkuUpdateTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleRentItemSkuUpdateAPIResponseModel is 更新/增加sku信息 成功返回结果

type AlibabaIdleRentItemSkuUpdateTopResult added in v1.2.1

type AlibabaIdleRentItemSkuUpdateTopResult struct {
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// data
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleRentItemSkuUpdateTopResult 结构体

type AlibabaIdleRentMediaUploadAPIRequest

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

AlibabaIdleRentMediaUploadAPIRequest 闲鱼多媒体上传接口 API请求 alibaba.idle.rent.media.upload

上传多媒体信息,包括图片、视频(暂不支持)

func NewAlibabaIdleRentMediaUploadRequest

func NewAlibabaIdleRentMediaUploadRequest() *AlibabaIdleRentMediaUploadAPIRequest

NewAlibabaIdleRentMediaUploadRequest 初始化AlibabaIdleRentMediaUploadAPIRequest对象

func (AlibabaIdleRentMediaUploadAPIRequest) GetApiMethodName

func (r AlibabaIdleRentMediaUploadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRentMediaUploadAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRentMediaUploadAPIRequest) GetData

GetData Data Getter

func (AlibabaIdleRentMediaUploadAPIRequest) GetName

GetName Name Getter

func (AlibabaIdleRentMediaUploadAPIRequest) GetType

GetType Type Getter

func (*AlibabaIdleRentMediaUploadAPIRequest) SetData

SetData is Data Setter 多媒体字节数组

func (*AlibabaIdleRentMediaUploadAPIRequest) SetName

SetName is Name Setter 文件名

func (*AlibabaIdleRentMediaUploadAPIRequest) SetType

SetType is Type Setter 0-表示图片,1-表示视频(暂不支持)

type AlibabaIdleRentMediaUploadAPIResponse

type AlibabaIdleRentMediaUploadAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRentMediaUploadAPIResponseModel
}

AlibabaIdleRentMediaUploadAPIResponse 闲鱼多媒体上传接口 API返回值 alibaba.idle.rent.media.upload

上传多媒体信息,包括图片、视频(暂不支持)

type AlibabaIdleRentMediaUploadAPIResponseModel

type AlibabaIdleRentMediaUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_rent_media_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应数据
	Result *AlibabaIdleRentMediaUploadTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleRentMediaUploadAPIResponseModel is 闲鱼多媒体上传接口 成功返回结果

type AlibabaIdleRentMediaUploadTopResult added in v1.2.1

type AlibabaIdleRentMediaUploadTopResult struct {
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 媒体文件id
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleRentMediaUploadTopResult 结构体

type AlibabaIdleRentOrderCheckstatusUploadAPIRequest

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

AlibabaIdleRentOrderCheckstatusUploadAPIRequest 上传验收结果 API请求 alibaba.idle.rent.order.checkstatus.upload

上传验收结果

func NewAlibabaIdleRentOrderCheckstatusUploadRequest

func NewAlibabaIdleRentOrderCheckstatusUploadRequest() *AlibabaIdleRentOrderCheckstatusUploadAPIRequest

NewAlibabaIdleRentOrderCheckstatusUploadRequest 初始化AlibabaIdleRentOrderCheckstatusUploadAPIRequest对象

func (AlibabaIdleRentOrderCheckstatusUploadAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRentOrderCheckstatusUploadAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRentOrderCheckstatusUploadAPIRequest) GetCheckResult

GetCheckResult CheckResult Getter

func (AlibabaIdleRentOrderCheckstatusUploadAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (*AlibabaIdleRentOrderCheckstatusUploadAPIRequest) SetCheckResult

func (r *AlibabaIdleRentOrderCheckstatusUploadAPIRequest) SetCheckResult(_checkResult *CheckResultDto) error

SetCheckResult is CheckResult Setter 校验结果

func (*AlibabaIdleRentOrderCheckstatusUploadAPIRequest) SetOrderId

SetOrderId is OrderId Setter 订单id

type AlibabaIdleRentOrderCheckstatusUploadAPIResponse

type AlibabaIdleRentOrderCheckstatusUploadAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRentOrderCheckstatusUploadAPIResponseModel
}

AlibabaIdleRentOrderCheckstatusUploadAPIResponse 上传验收结果 API返回值 alibaba.idle.rent.order.checkstatus.upload

上传验收结果

type AlibabaIdleRentOrderCheckstatusUploadAPIResponseModel

type AlibabaIdleRentOrderCheckstatusUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_rent_order_checkstatus_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *AlibabaIdleRentOrderCheckstatusUploadTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleRentOrderCheckstatusUploadAPIResponseModel is 上传验收结果 成功返回结果

type AlibabaIdleRentOrderCheckstatusUploadTopResult added in v1.2.1

type AlibabaIdleRentOrderCheckstatusUploadTopResult struct {
	// 错误码
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误信息
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// data
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleRentOrderCheckstatusUploadTopResult 结构体

type AlibabaIdleRentOrderLogisticsDeliverAPIRequest

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

AlibabaIdleRentOrderLogisticsDeliverAPIRequest 创建揽收物流 API请求 alibaba.idle.rent.order.logistics.deliver

创建揽收物流 商家去物流公司创建物流订单

func NewAlibabaIdleRentOrderLogisticsDeliverRequest

func NewAlibabaIdleRentOrderLogisticsDeliverRequest() *AlibabaIdleRentOrderLogisticsDeliverAPIRequest

NewAlibabaIdleRentOrderLogisticsDeliverRequest 初始化AlibabaIdleRentOrderLogisticsDeliverAPIRequest对象

func (AlibabaIdleRentOrderLogisticsDeliverAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRentOrderLogisticsDeliverAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRentOrderLogisticsDeliverAPIRequest) GetLogistics

GetLogistics Logistics Getter

func (AlibabaIdleRentOrderLogisticsDeliverAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (*AlibabaIdleRentOrderLogisticsDeliverAPIRequest) SetLogistics

SetLogistics is Logistics Setter 物流信息

func (*AlibabaIdleRentOrderLogisticsDeliverAPIRequest) SetOrderId

SetOrderId is OrderId Setter 订单id

type AlibabaIdleRentOrderLogisticsDeliverAPIResponse

type AlibabaIdleRentOrderLogisticsDeliverAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRentOrderLogisticsDeliverAPIResponseModel
}

AlibabaIdleRentOrderLogisticsDeliverAPIResponse 创建揽收物流 API返回值 alibaba.idle.rent.order.logistics.deliver

创建揽收物流 商家去物流公司创建物流订单

type AlibabaIdleRentOrderLogisticsDeliverAPIResponseModel

type AlibabaIdleRentOrderLogisticsDeliverAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_rent_order_logistics_deliver_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *AlibabaIdleRentOrderLogisticsDeliverTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleRentOrderLogisticsDeliverAPIResponseModel is 创建揽收物流 成功返回结果

type AlibabaIdleRentOrderLogisticsDeliverTopResult added in v1.2.1

type AlibabaIdleRentOrderLogisticsDeliverTopResult struct {
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// data
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleRentOrderLogisticsDeliverTopResult 结构体

type AlibabaIdleRentOrderPackageAPIRequest

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

AlibabaIdleRentOrderPackageAPIRequest 确认揽收商品 API请求 alibaba.idle.rent.order.package

确认揽收

func NewAlibabaIdleRentOrderPackageRequest

func NewAlibabaIdleRentOrderPackageRequest() *AlibabaIdleRentOrderPackageAPIRequest

NewAlibabaIdleRentOrderPackageRequest 初始化AlibabaIdleRentOrderPackageAPIRequest对象

func (AlibabaIdleRentOrderPackageAPIRequest) GetApiMethodName

func (r AlibabaIdleRentOrderPackageAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRentOrderPackageAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRentOrderPackageAPIRequest) GetLogistics

GetLogistics Logistics Getter

func (AlibabaIdleRentOrderPackageAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (*AlibabaIdleRentOrderPackageAPIRequest) SetLogistics

func (r *AlibabaIdleRentOrderPackageAPIRequest) SetLogistics(_logistics *LogisticsDto) error

SetLogistics is Logistics Setter 物流信息

func (*AlibabaIdleRentOrderPackageAPIRequest) SetOrderId

func (r *AlibabaIdleRentOrderPackageAPIRequest) SetOrderId(_orderId int64) error

SetOrderId is OrderId Setter 订单id

type AlibabaIdleRentOrderPackageAPIResponse

type AlibabaIdleRentOrderPackageAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRentOrderPackageAPIResponseModel
}

AlibabaIdleRentOrderPackageAPIResponse 确认揽收商品 API返回值 alibaba.idle.rent.order.package

确认揽收

type AlibabaIdleRentOrderPackageAPIResponseModel

type AlibabaIdleRentOrderPackageAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_rent_order_package_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *AlibabaIdleRentOrderPackageTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleRentOrderPackageAPIResponseModel is 确认揽收商品 成功返回结果

type AlibabaIdleRentOrderPackageTopResult added in v1.2.1

type AlibabaIdleRentOrderPackageTopResult struct {
	// 错误码
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误信息
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// data
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleRentOrderPackageTopResult 结构体

type AlibabaIdleRentOrderQueryAPIRequest

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

AlibabaIdleRentOrderQueryAPIRequest 查询订单 API请求 alibaba.idle.rent.order.query

查询订单信息

func NewAlibabaIdleRentOrderQueryRequest

func NewAlibabaIdleRentOrderQueryRequest() *AlibabaIdleRentOrderQueryAPIRequest

NewAlibabaIdleRentOrderQueryRequest 初始化AlibabaIdleRentOrderQueryAPIRequest对象

func (AlibabaIdleRentOrderQueryAPIRequest) GetApiMethodName

func (r AlibabaIdleRentOrderQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRentOrderQueryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRentOrderQueryAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (*AlibabaIdleRentOrderQueryAPIRequest) SetOrderId

func (r *AlibabaIdleRentOrderQueryAPIRequest) SetOrderId(_orderId int64) error

SetOrderId is OrderId Setter 订单id

type AlibabaIdleRentOrderQueryAPIResponse

type AlibabaIdleRentOrderQueryAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRentOrderQueryAPIResponseModel
}

AlibabaIdleRentOrderQueryAPIResponse 查询订单 API返回值 alibaba.idle.rent.order.query

查询订单信息

type AlibabaIdleRentOrderQueryAPIResponseModel

type AlibabaIdleRentOrderQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_rent_order_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *AlibabaIdleRentOrderQueryTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleRentOrderQueryAPIResponseModel is 查询订单 成功返回结果

type AlibabaIdleRentOrderQueryTopResult added in v1.2.1

type AlibabaIdleRentOrderQueryTopResult struct {
	// 错误码
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误信息
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// data
	Data *RentalOrderDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleRentOrderQueryTopResult 结构体

type AlibabaIdleRentOrderReceiveitemAPIRequest

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

AlibabaIdleRentOrderReceiveitemAPIRequest 确认签收 API请求 alibaba.idle.rent.order.receiveitem

确认揽收/签收

func NewAlibabaIdleRentOrderReceiveitemRequest

func NewAlibabaIdleRentOrderReceiveitemRequest() *AlibabaIdleRentOrderReceiveitemAPIRequest

NewAlibabaIdleRentOrderReceiveitemRequest 初始化AlibabaIdleRentOrderReceiveitemAPIRequest对象

func (AlibabaIdleRentOrderReceiveitemAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRentOrderReceiveitemAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRentOrderReceiveitemAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (*AlibabaIdleRentOrderReceiveitemAPIRequest) SetOrderId

func (r *AlibabaIdleRentOrderReceiveitemAPIRequest) SetOrderId(_orderId int64) error

SetOrderId is OrderId Setter 订单id

type AlibabaIdleRentOrderReceiveitemAPIResponse

type AlibabaIdleRentOrderReceiveitemAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRentOrderReceiveitemAPIResponseModel
}

AlibabaIdleRentOrderReceiveitemAPIResponse 确认签收 API返回值 alibaba.idle.rent.order.receiveitem

确认揽收/签收

type AlibabaIdleRentOrderReceiveitemAPIResponseModel

type AlibabaIdleRentOrderReceiveitemAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_rent_order_receiveitem_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *AlibabaIdleRentOrderReceiveitemTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleRentOrderReceiveitemAPIResponseModel is 确认签收 成功返回结果

type AlibabaIdleRentOrderReceiveitemTopResult added in v1.2.1

type AlibabaIdleRentOrderReceiveitemTopResult struct {
	// 错误码
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误信息
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// data
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleRentOrderReceiveitemTopResult 结构体

type AlibabaIdleRentOrderSenditemAPIRequest

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

AlibabaIdleRentOrderSenditemAPIRequest 确认发货 API请求 alibaba.idle.rent.order.senditem

确认发货

func NewAlibabaIdleRentOrderSenditemRequest

func NewAlibabaIdleRentOrderSenditemRequest() *AlibabaIdleRentOrderSenditemAPIRequest

NewAlibabaIdleRentOrderSenditemRequest 初始化AlibabaIdleRentOrderSenditemAPIRequest对象

func (AlibabaIdleRentOrderSenditemAPIRequest) GetApiMethodName

func (r AlibabaIdleRentOrderSenditemAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleRentOrderSenditemAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleRentOrderSenditemAPIRequest) GetLogisticsList

GetLogisticsList LogisticsList Getter

func (AlibabaIdleRentOrderSenditemAPIRequest) GetOrderId

GetOrderId OrderId Getter

func (*AlibabaIdleRentOrderSenditemAPIRequest) SetLogisticsList

func (r *AlibabaIdleRentOrderSenditemAPIRequest) SetLogisticsList(_logisticsList []LogisticsDto) error

SetLogisticsList is LogisticsList Setter 物流信息

func (*AlibabaIdleRentOrderSenditemAPIRequest) SetOrderId

func (r *AlibabaIdleRentOrderSenditemAPIRequest) SetOrderId(_orderId int64) error

SetOrderId is OrderId Setter 订单id

type AlibabaIdleRentOrderSenditemAPIResponse

type AlibabaIdleRentOrderSenditemAPIResponse struct {
	model.CommonResponse
	AlibabaIdleRentOrderSenditemAPIResponseModel
}

AlibabaIdleRentOrderSenditemAPIResponse 确认发货 API返回值 alibaba.idle.rent.order.senditem

确认发货

type AlibabaIdleRentOrderSenditemAPIResponseModel

type AlibabaIdleRentOrderSenditemAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_rent_order_senditem_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *AlibabaIdleRentOrderSenditemTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleRentOrderSenditemAPIResponseModel is 确认发货 成功返回结果

type AlibabaIdleRentOrderSenditemTopResult added in v1.2.1

type AlibabaIdleRentOrderSenditemTopResult struct {
	// 错误码
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误信息
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// data
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleRentOrderSenditemTopResult 结构体

type AlibabaIdleSpuRegisterModifyAPIRequest

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

AlibabaIdleSpuRegisterModifyAPIRequest 服务商spu挂载接口 API请求 alibaba.idle.spu.register.modify

闲鱼服务商通过此接口进行spu挂载,指明自己支持对该spu的服务(回收、验货等)

func NewAlibabaIdleSpuRegisterModifyRequest

func NewAlibabaIdleSpuRegisterModifyRequest() *AlibabaIdleSpuRegisterModifyAPIRequest

NewAlibabaIdleSpuRegisterModifyRequest 初始化AlibabaIdleSpuRegisterModifyAPIRequest对象

func (AlibabaIdleSpuRegisterModifyAPIRequest) GetApiMethodName

func (r AlibabaIdleSpuRegisterModifyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleSpuRegisterModifyAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleSpuRegisterModifyAPIRequest) GetIdleSpuRegister4TopDto

func (r AlibabaIdleSpuRegisterModifyAPIRequest) GetIdleSpuRegister4TopDto() *IdleSpuRegister4TopDto

GetIdleSpuRegister4TopDto IdleSpuRegister4TopDto Getter

func (*AlibabaIdleSpuRegisterModifyAPIRequest) SetIdleSpuRegister4TopDto

func (r *AlibabaIdleSpuRegisterModifyAPIRequest) SetIdleSpuRegister4TopDto(_idleSpuRegister4TopDto *IdleSpuRegister4TopDto) error

SetIdleSpuRegister4TopDto is IdleSpuRegister4TopDto Setter 入参

type AlibabaIdleSpuRegisterModifyAPIResponse

type AlibabaIdleSpuRegisterModifyAPIResponse struct {
	model.CommonResponse
	AlibabaIdleSpuRegisterModifyAPIResponseModel
}

AlibabaIdleSpuRegisterModifyAPIResponse 服务商spu挂载接口 API返回值 alibaba.idle.spu.register.modify

闲鱼服务商通过此接口进行spu挂载,指明自己支持对该spu的服务(回收、验货等)

type AlibabaIdleSpuRegisterModifyAPIResponseModel

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

AlibabaIdleSpuRegisterModifyAPIResponseModel is 服务商spu挂载接口 成功返回结果

type AlibabaIdleSpuRegisterModifyResult

type AlibabaIdleSpuRegisterModifyResult struct {
	// errCode
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// spu挂载信息后台状态,0在线,-1删除,1测试中。当spu第一次挂载时,会进入1测试中状态。服务商联调通过后,需要再次挂载,actionType还传0,挂载信息状态会变成0已上线。
	Module int64 `json:"module,omitempty" xml:"module,omitempty"`
	// 是否挂载成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleSpuRegisterModifyResult 结构体

type AlibabaIdleTemplateQuesGetAPIRequest added in v1.2.5

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

AlibabaIdleTemplateQuesGetAPIRequest 获取SPU最新版本问卷 API请求 alibaba.idle.template.ques.get

获取SPU最新版本问卷

func NewAlibabaIdleTemplateQuesGetRequest added in v1.2.5

func NewAlibabaIdleTemplateQuesGetRequest() *AlibabaIdleTemplateQuesGetAPIRequest

NewAlibabaIdleTemplateQuesGetRequest 初始化AlibabaIdleTemplateQuesGetAPIRequest对象

func (AlibabaIdleTemplateQuesGetAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaIdleTemplateQuesGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleTemplateQuesGetAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleTemplateQuesGetAPIRequest) GetSpuQuestionnaireTopQry added in v1.2.5

func (r AlibabaIdleTemplateQuesGetAPIRequest) GetSpuQuestionnaireTopQry() *SpuQuestionnaireTopQry

GetSpuQuestionnaireTopQry SpuQuestionnaireTopQry Getter

func (*AlibabaIdleTemplateQuesGetAPIRequest) SetSpuQuestionnaireTopQry added in v1.2.5

func (r *AlibabaIdleTemplateQuesGetAPIRequest) SetSpuQuestionnaireTopQry(_spuQuestionnaireTopQry *SpuQuestionnaireTopQry) error

SetSpuQuestionnaireTopQry is SpuQuestionnaireTopQry Setter 请求参数

type AlibabaIdleTemplateQuesGetAPIResponse added in v1.2.5

type AlibabaIdleTemplateQuesGetAPIResponse struct {
	model.CommonResponse
	AlibabaIdleTemplateQuesGetAPIResponseModel
}

AlibabaIdleTemplateQuesGetAPIResponse 获取SPU最新版本问卷 API返回值 alibaba.idle.template.ques.get

获取SPU最新版本问卷

type AlibabaIdleTemplateQuesGetAPIResponseModel added in v1.2.5

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

AlibabaIdleTemplateQuesGetAPIResponseModel is 获取SPU最新版本问卷 成功返回结果

type AlibabaIdleTemplateQuesOnlineAPIRequest added in v1.2.5

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

AlibabaIdleTemplateQuesOnlineAPIRequest 预上线SPU问卷版本 API请求 alibaba.idle.template.ques.online

获取SPU最新版本问卷

func NewAlibabaIdleTemplateQuesOnlineRequest added in v1.2.5

func NewAlibabaIdleTemplateQuesOnlineRequest() *AlibabaIdleTemplateQuesOnlineAPIRequest

NewAlibabaIdleTemplateQuesOnlineRequest 初始化AlibabaIdleTemplateQuesOnlineAPIRequest对象

func (AlibabaIdleTemplateQuesOnlineAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaIdleTemplateQuesOnlineAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleTemplateQuesOnlineAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleTemplateQuesOnlineAPIRequest) GetQuestionnaireSupportCmd added in v1.2.5

func (r AlibabaIdleTemplateQuesOnlineAPIRequest) GetQuestionnaireSupportCmd() *QuestionnaireSupportCmd

GetQuestionnaireSupportCmd QuestionnaireSupportCmd Getter

func (*AlibabaIdleTemplateQuesOnlineAPIRequest) SetQuestionnaireSupportCmd added in v1.2.5

func (r *AlibabaIdleTemplateQuesOnlineAPIRequest) SetQuestionnaireSupportCmd(_questionnaireSupportCmd *QuestionnaireSupportCmd) error

SetQuestionnaireSupportCmd is QuestionnaireSupportCmd Setter 参数

type AlibabaIdleTemplateQuesOnlineAPIResponse added in v1.2.5

type AlibabaIdleTemplateQuesOnlineAPIResponse struct {
	model.CommonResponse
	AlibabaIdleTemplateQuesOnlineAPIResponseModel
}

AlibabaIdleTemplateQuesOnlineAPIResponse 预上线SPU问卷版本 API返回值 alibaba.idle.template.ques.online

获取SPU最新版本问卷

type AlibabaIdleTemplateQuesOnlineAPIResponseModel added in v1.2.5

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

AlibabaIdleTemplateQuesOnlineAPIResponseModel is 预上线SPU问卷版本 成功返回结果

type AlibabaIdleTenderBtobItemDeleteAPIRequest added in v1.2.5

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

AlibabaIdleTenderBtobItemDeleteAPIRequest 暗拍b2b商品下架/删除 API请求 alibaba.idle.tender.btob.item.delete

暗拍b2b商品下架/删除

func NewAlibabaIdleTenderBtobItemDeleteRequest added in v1.2.5

func NewAlibabaIdleTenderBtobItemDeleteRequest() *AlibabaIdleTenderBtobItemDeleteAPIRequest

NewAlibabaIdleTenderBtobItemDeleteRequest 初始化AlibabaIdleTenderBtobItemDeleteAPIRequest对象

func (AlibabaIdleTenderBtobItemDeleteAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleTenderBtobItemDeleteAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleTenderBtobItemDeleteAPIRequest) GetParam0 added in v1.2.5

GetParam0 Param0 Getter

func (*AlibabaIdleTenderBtobItemDeleteAPIRequest) SetParam0 added in v1.2.5

SetParam0 is Param0 Setter 参数0

type AlibabaIdleTenderBtobItemDeleteAPIResponse added in v1.2.5

type AlibabaIdleTenderBtobItemDeleteAPIResponse struct {
	model.CommonResponse
	AlibabaIdleTenderBtobItemDeleteAPIResponseModel
}

AlibabaIdleTenderBtobItemDeleteAPIResponse 暗拍b2b商品下架/删除 API返回值 alibaba.idle.tender.btob.item.delete

暗拍b2b商品下架/删除

type AlibabaIdleTenderBtobItemDeleteAPIResponseModel added in v1.2.5

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

AlibabaIdleTenderBtobItemDeleteAPIResponseModel is 暗拍b2b商品下架/删除 成功返回结果

type AlibabaIdleTenderBtobItemQueryAPIRequest added in v1.2.5

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

AlibabaIdleTenderBtobItemQueryAPIRequest 暗拍b2b商品查询 API请求 alibaba.idle.tender.btob.item.query

暗拍b2b商品查询

func NewAlibabaIdleTenderBtobItemQueryRequest added in v1.2.5

func NewAlibabaIdleTenderBtobItemQueryRequest() *AlibabaIdleTenderBtobItemQueryAPIRequest

NewAlibabaIdleTenderBtobItemQueryRequest 初始化AlibabaIdleTenderBtobItemQueryAPIRequest对象

func (AlibabaIdleTenderBtobItemQueryAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaIdleTenderBtobItemQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleTenderBtobItemQueryAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleTenderBtobItemQueryAPIRequest) GetParam0 added in v1.2.5

GetParam0 Param0 Getter

func (*AlibabaIdleTenderBtobItemQueryAPIRequest) SetParam0 added in v1.2.5

SetParam0 is Param0 Setter 参数

type AlibabaIdleTenderBtobItemQueryAPIResponse added in v1.2.5

type AlibabaIdleTenderBtobItemQueryAPIResponse struct {
	model.CommonResponse
	AlibabaIdleTenderBtobItemQueryAPIResponseModel
}

AlibabaIdleTenderBtobItemQueryAPIResponse 暗拍b2b商品查询 API返回值 alibaba.idle.tender.btob.item.query

暗拍b2b商品查询

type AlibabaIdleTenderBtobItemQueryAPIResponseModel added in v1.2.5

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

AlibabaIdleTenderBtobItemQueryAPIResponseModel is 暗拍b2b商品查询 成功返回结果

type AlibabaIdleTenderBtobItemUploadAPIRequest added in v1.2.5

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

AlibabaIdleTenderBtobItemUploadAPIRequest 暗拍发布/编辑B2B商品 API请求 alibaba.idle.tender.btob.item.upload

暗拍发布/编辑B2B商品

func NewAlibabaIdleTenderBtobItemUploadRequest added in v1.2.5

func NewAlibabaIdleTenderBtobItemUploadRequest() *AlibabaIdleTenderBtobItemUploadAPIRequest

NewAlibabaIdleTenderBtobItemUploadRequest 初始化AlibabaIdleTenderBtobItemUploadAPIRequest对象

func (AlibabaIdleTenderBtobItemUploadAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleTenderBtobItemUploadAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleTenderBtobItemUploadAPIRequest) GetParam0 added in v1.2.5

GetParam0 Param0 Getter

func (*AlibabaIdleTenderBtobItemUploadAPIRequest) SetParam0 added in v1.2.5

SetParam0 is Param0 Setter 参数

type AlibabaIdleTenderBtobItemUploadAPIResponse added in v1.2.5

type AlibabaIdleTenderBtobItemUploadAPIResponse struct {
	model.CommonResponse
	AlibabaIdleTenderBtobItemUploadAPIResponseModel
}

AlibabaIdleTenderBtobItemUploadAPIResponse 暗拍发布/编辑B2B商品 API返回值 alibaba.idle.tender.btob.item.upload

暗拍发布/编辑B2B商品

type AlibabaIdleTenderBtobItemUploadAPIResponseModel added in v1.2.5

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

AlibabaIdleTenderBtobItemUploadAPIResponseModel is 暗拍发布/编辑B2B商品 成功返回结果

type AlibabaIdleTenderOrderGetAPIRequest added in v1.2.5

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

AlibabaIdleTenderOrderGetAPIRequest 暗拍读取订单 API请求 alibaba.idle.tender.order.get

查询省心卖暗拍项目订单

func NewAlibabaIdleTenderOrderGetRequest added in v1.2.5

func NewAlibabaIdleTenderOrderGetRequest() *AlibabaIdleTenderOrderGetAPIRequest

NewAlibabaIdleTenderOrderGetRequest 初始化AlibabaIdleTenderOrderGetAPIRequest对象

func (AlibabaIdleTenderOrderGetAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaIdleTenderOrderGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleTenderOrderGetAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleTenderOrderGetAPIRequest) GetParam0 added in v1.2.5

GetParam0 Param0 Getter

func (*AlibabaIdleTenderOrderGetAPIRequest) SetParam0 added in v1.2.5

SetParam0 is Param0 Setter 查询信息

type AlibabaIdleTenderOrderGetAPIResponse added in v1.2.5

type AlibabaIdleTenderOrderGetAPIResponse struct {
	model.CommonResponse
	AlibabaIdleTenderOrderGetAPIResponseModel
}

AlibabaIdleTenderOrderGetAPIResponse 暗拍读取订单 API返回值 alibaba.idle.tender.order.get

查询省心卖暗拍项目订单

type AlibabaIdleTenderOrderGetAPIResponseModel added in v1.2.5

type AlibabaIdleTenderOrderGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_tender_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果信息
	Result *AlibabaIdleTenderOrderGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleTenderOrderGetAPIResponseModel is 暗拍读取订单 成功返回结果

type AlibabaIdleTenderOrderGetResult added in v1.2.5

type AlibabaIdleTenderOrderGetResult struct {
	// 错误code
	ErrorCodeInfo string `json:"error_code_info,omitempty" xml:"error_code_info,omitempty"`
	// 错误msg
	ErrorMsgInfo string `json:"error_msg_info,omitempty" xml:"error_msg_info,omitempty"`
	// 结果详细信息
	Module *TenderOrderInfoDto `json:"module,omitempty" xml:"module,omitempty"`
	// 是否成功
	RespSuccess bool `json:"resp_success,omitempty" xml:"resp_success,omitempty"`
}

AlibabaIdleTenderOrderGetResult 结构体

type AlibabaIdleTenderUploadReportAPIRequest added in v1.2.5

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

AlibabaIdleTenderUploadReportAPIRequest 服务商上传验货报告同步给闲鱼 API请求 alibaba.idle.tender.upload.report

服务商上传验货报告同步给闲鱼

func NewAlibabaIdleTenderUploadReportRequest added in v1.2.5

func NewAlibabaIdleTenderUploadReportRequest() *AlibabaIdleTenderUploadReportAPIRequest

NewAlibabaIdleTenderUploadReportRequest 初始化AlibabaIdleTenderUploadReportAPIRequest对象

func (AlibabaIdleTenderUploadReportAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaIdleTenderUploadReportAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleTenderUploadReportAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleTenderUploadReportAPIRequest) GetParam0 added in v1.2.5

GetParam0 Param0 Getter

func (*AlibabaIdleTenderUploadReportAPIRequest) SetParam0 added in v1.2.5

SetParam0 is Param0 Setter 回收商质检报告

type AlibabaIdleTenderUploadReportAPIResponse added in v1.2.5

type AlibabaIdleTenderUploadReportAPIResponse struct {
	model.CommonResponse
	AlibabaIdleTenderUploadReportAPIResponseModel
}

AlibabaIdleTenderUploadReportAPIResponse 服务商上传验货报告同步给闲鱼 API返回值 alibaba.idle.tender.upload.report

服务商上传验货报告同步给闲鱼

type AlibabaIdleTenderUploadReportAPIResponseModel added in v1.2.5

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

AlibabaIdleTenderUploadReportAPIResponseModel is 服务商上传验货报告同步给闲鱼 成功返回结果

type AlibabaIdleTransferpayQueryAPIRequest

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

AlibabaIdleTransferpayQueryAPIRequest 闲鱼转账结果查询 API请求 alibaba.idle.transferpay.query

商家业务 转账支付的结果查询

func NewAlibabaIdleTransferpayQueryRequest

func NewAlibabaIdleTransferpayQueryRequest() *AlibabaIdleTransferpayQueryAPIRequest

NewAlibabaIdleTransferpayQueryRequest 初始化AlibabaIdleTransferpayQueryAPIRequest对象

func (AlibabaIdleTransferpayQueryAPIRequest) GetApiMethodName

func (r AlibabaIdleTransferpayQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleTransferpayQueryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleTransferpayQueryAPIRequest) GetParam

GetParam Param Getter

func (*AlibabaIdleTransferpayQueryAPIRequest) SetParam

SetParam is Param Setter 入参

type AlibabaIdleTransferpayQueryAPIResponse

type AlibabaIdleTransferpayQueryAPIResponse struct {
	model.CommonResponse
	AlibabaIdleTransferpayQueryAPIResponseModel
}

AlibabaIdleTransferpayQueryAPIResponse 闲鱼转账结果查询 API返回值 alibaba.idle.transferpay.query

商家业务 转账支付的结果查询

type AlibabaIdleTransferpayQueryAPIResponseModel

type AlibabaIdleTransferpayQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_transferpay_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaIdleTransferpayQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleTransferpayQueryAPIResponseModel is 闲鱼转账结果查询 成功返回结果

type AlibabaIdleTransferpayQueryResult

type AlibabaIdleTransferpayQueryResult struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 详情数据
	Module *Serializable `json:"module,omitempty" xml:"module,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleTransferpayQueryResult 结构体

type AlibabaIdleUserPermitAPIRequest

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

AlibabaIdleUserPermitAPIRequest 用户appkey授权 API请求 alibaba.idle.user.permit

闲鱼卖家与服务商关系绑定,用于业务数据分发/授权校验/消息通知鉴权

func NewAlibabaIdleUserPermitRequest

func NewAlibabaIdleUserPermitRequest() *AlibabaIdleUserPermitAPIRequest

NewAlibabaIdleUserPermitRequest 初始化AlibabaIdleUserPermitAPIRequest对象

func (AlibabaIdleUserPermitAPIRequest) GetApiMethodName

func (r AlibabaIdleUserPermitAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleUserPermitAPIRequest) GetApiParams

func (r AlibabaIdleUserPermitAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleUserPermitAPIRequest) GetParamUserGrantRequest

func (r AlibabaIdleUserPermitAPIRequest) GetParamUserGrantRequest() *UserGrantRequest

GetParamUserGrantRequest ParamUserGrantRequest Getter

func (*AlibabaIdleUserPermitAPIRequest) SetParamUserGrantRequest

func (r *AlibabaIdleUserPermitAPIRequest) SetParamUserGrantRequest(_paramUserGrantRequest *UserGrantRequest) error

SetParamUserGrantRequest is ParamUserGrantRequest Setter 授权请求

type AlibabaIdleUserPermitAPIResponse

type AlibabaIdleUserPermitAPIResponse struct {
	model.CommonResponse
	AlibabaIdleUserPermitAPIResponseModel
}

AlibabaIdleUserPermitAPIResponse 用户appkey授权 API返回值 alibaba.idle.user.permit

闲鱼卖家与服务商关系绑定,用于业务数据分发/授权校验/消息通知鉴权

type AlibabaIdleUserPermitAPIResponseModel

type AlibabaIdleUserPermitAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_user_permit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回包装类
	Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaIdleUserPermitAPIResponseModel is 用户appkey授权 成功返回结果

type AlipayOrderDto

type AlipayOrderDto struct {
	// 支付宝交易号
	AlipayTradeNo string `json:"alipay_trade_no,omitempty" xml:"alipay_trade_no,omitempty"`
	// 支付订单
	PayOrderId string `json:"pay_order_id,omitempty" xml:"pay_order_id,omitempty"`
	// 创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 金额
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 支付状态,1未支付,6已支付
	PayStatus int64 `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
}

AlipayOrderDto 结构体

type AppraiseIsvRefundRequest

type AppraiseIsvRefundRequest struct {
	// 退款操作说明
	LeaveMessage string `json:"leave_message,omitempty" xml:"leave_message,omitempty"`
	// 退款操作*      * 同意退款并执行打款->退款成功,仅退款情况下,直接调用;退货退款情况下,先调用同意退货接口,收到货再调用这个接口           AGREE_REFUND,     *      * 拒绝退款 -> 退款关闭           REFUSE_REFUND,     *      * 同意退货并提供退货地址 -> 等待买家退货           AGREE_RETURN
	Operation string `json:"operation,omitempty" xml:"operation,omitempty"`
	// 订单号
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 退货地址
	ReturnGoodsAddress *ShippingAddressInfo `json:"return_goods_address,omitempty" xml:"return_goods_address,omitempty"`
}

AppraiseIsvRefundRequest 结构体

type AppraiseOrderInfoDto

type AppraiseOrderInfoDto struct {
	// 鉴定商发货给买家的单号 主状态>=7,验货中心已发货时填写
	Ac2buyerMailNo string `json:"ac2buyer_mail_no,omitempty" xml:"ac2buyer_mail_no,omitempty"`
	// 逆向流程鉴定商发货给卖家的单号 逆向流程中,主状态>=103卖家已发货后发起逆向时填写
	Ac2sellerMailNo string `json:"ac2seller_mail_no,omitempty" xml:"ac2seller_mail_no,omitempty"`
	// 服务商appkey
	AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"`
	// 订单号
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 品牌Id
	BrandId string `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 买家收货地址。主状态>=6,买家确认购买时填写
	BuyerAddress string `json:"buyer_address,omitempty" xml:"buyer_address,omitempty"`
	// 买家支付宝ID,用于卖家责任时赔付买家 逆向流程中,主状态105鉴定为赝品时填写
	BuyerAlipayUserId string `json:"buyer_alipay_user_id,omitempty" xml:"buyer_alipay_user_id,omitempty"`
	// 买家区
	BuyerArea string `json:"buyer_area,omitempty" xml:"buyer_area,omitempty"`
	// 买家城市
	BuyerCity string `json:"buyer_city,omitempty" xml:"buyer_city,omitempty"`
	// 买家关闭原因
	BuyerCloseReason string `json:"buyer_close_reason,omitempty" xml:"buyer_close_reason,omitempty"`
	// 买家村庄
	BuyerCountry string `json:"buyer_country,omitempty" xml:"buyer_country,omitempty"`
	// 买家手机号。主状态>=6,买家确认购买时有值
	BuyerPhone string `json:"buyer_phone,omitempty" xml:"buyer_phone,omitempty"`
	// 买家省份
	BuyerProvince string `json:"buyer_province,omitempty" xml:"buyer_province,omitempty"`
	// 买家收货姓名。主状态>=6,买家确认购买时有值
	BuyerReceiptName string `json:"buyer_receipt_name,omitempty" xml:"buyer_receipt_name,omitempty"`
	// 类目聚合场景,如"YHB_3C"
	CateAggScene string `json:"cate_agg_scene,omitempty" xml:"cate_agg_scene,omitempty"`
	// 渠道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 预留 JSON 格式渠道业务数据
	ChannelData string `json:"channel_data,omitempty" xml:"channel_data,omitempty"`
	// 订单环境 'online':线上环境;'pre':测试环境
	Env string `json:"env,omitempty" xml:"env,omitempty"`
	// 订单创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 二手卖家承诺验货项。数组,每条记录的keyId代表验货项id,比如1001可能代表内存。valueId和valueName分别代表验货项值的id和描述。keyId、valueId的取值参考对接文档
	IdleAppraiseCheckpoints string `json:"idle_appraise_checkpoints,omitempty" xml:"idle_appraise_checkpoints,omitempty"`
	// 鉴定场景:1表示新品鉴定,2表示旧品鉴定
	IdleAppraiseScene string `json:"idle_appraise_scene,omitempty" xml:"idle_appraise_scene,omitempty"`
	// 商品详情页
	ItemDetailInfo string `json:"item_detail_info,omitempty" xml:"item_detail_info,omitempty"`
	// 订单主状态。(主状态,子状态,状态说明)示例如下: ("1", "1", "买家拍下未付款") ("2", "1", "买家拍下已付款") ("3", "1", "卖家已发货") 等。详情参考对接文档
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 订单子状态,说明见order_status
	OrderSubStatus string `json:"order_sub_status,omitempty" xml:"order_sub_status,omitempty"`
	// 卖家发货给验货中心的单号。主状态>=3,卖家已发货时有值
	Seller2acMailNo string `json:"seller2ac_mail_no,omitempty" xml:"seller2ac_mail_no,omitempty"`
	// 卖家区
	SellerArea string `json:"seller_area,omitempty" xml:"seller_area,omitempty"`
	// 卖家城市
	SellerCity string `json:"seller_city,omitempty" xml:"seller_city,omitempty"`
	// 卖家关闭原因
	SellerCloseReason string `json:"seller_close_reason,omitempty" xml:"seller_close_reason,omitempty"`
	// 卖家村庄
	SellerCountry string `json:"seller_country,omitempty" xml:"seller_country,omitempty"`
	// 卖家手机号码。逆向流程中,主状态>=102卖家已发货后发起逆向时有值
	SellerPhone string `json:"seller_phone,omitempty" xml:"seller_phone,omitempty"`
	// 卖家省份
	SellerProvince string `json:"seller_province,omitempty" xml:"seller_province,omitempty"`
	// 逆向流程卖家收货地址。逆向流程中,主状态>=102卖家已发货后发起逆向时有值
	SellerReceiptAddress string `json:"seller_receipt_address,omitempty" xml:"seller_receipt_address,omitempty"`
	// 卖家收货姓名,逆向退货用。逆向流程中,主状态>=102卖家已发货后发起逆向时有值
	SellerReceiptName string `json:"seller_receipt_name,omitempty" xml:"seller_receipt_name,omitempty"`
	// spuId
	SpuId string `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
	// spu信息jsonStr
	SpuInfo string `json:"spu_info,omitempty" xml:"spu_info,omitempty"`
	// 需付给买家的赔付金额,单位分。状态为:已付款后发货超时(101-1 101-2)、卖家取消订单(101-3 101-4)、鉴定为赝品(主状态105)时有值。
	Compensation2buyer int64 `json:"compensation2buyer,omitempty" xml:"compensation2buyer,omitempty"`
	// 服务商应收实时分账金额,分。仅当交易成功或者卖家无责买家不买 这两个状态有效,其余为0。当保证金被罚没的状态时,不会实时分账而是线下结算,所以只有上述两个状态有值。
	SupplierChargeFeeCent int64 `json:"supplier_charge_fee_cent,omitempty" xml:"supplier_charge_fee_cent,omitempty"`
	// 是否是经主发发布/编辑的验货宝商品
	AppraiseFromNewPublisher bool `json:"appraise_from_new_publisher,omitempty" xml:"appraise_from_new_publisher,omitempty"`
}

AppraiseOrderInfoDto 结构体

type AppraiseOrderSynDto

type AppraiseOrderSynDto struct {
	// biz_order_id
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// (主状态,子状态,状态说明)示例如下: ("1", "1", "买家拍下未付款") ("2", "1", "买家拍下已付款") ("3", "1", "卖家已发货") 等,详情参考对接文档
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 见order_status字段说明
	OrderSubStatus string `json:"order_sub_status,omitempty" xml:"order_sub_status,omitempty"`
	// 根据订单状态不同,传递不同的内容
	Attribute *Attribute `json:"attribute,omitempty" xml:"attribute,omitempty"`
}

AppraiseOrderSynDto 结构体

type Attribute

type Attribute struct {
	// 结构化一级结论枚举值 新品:'CERTIFIED_FLAW':真货有瑕疵;'CERTIFIED_NO_FLAW':真货无瑕疵;'FAKE':假货。 二手:'CERTIFIED_FLAW':真货有瑕疵;'FAKE':假货 主状态为4 ac已收货后,服务商调用履约接口传入
	Conclusion1 string `json:"conclusion1,omitempty" xml:"conclusion1,omitempty"`
	// 结构化二级结论枚举值 新品:无需该字段 二手:'SELLER_FAULT':卖家责任;'SELLER_NO_FAULT':卖家无责 主状态为4 ac已收货后,服务商调用履约接口传入
	Conclusion2 string `json:"conclusion2,omitempty" xml:"conclusion2,omitempty"`
	// 成色,奢侈品类需要填写" example="99新"。主状态为4 ac已收货后,服务商调用履约接口传入
	Degree string `json:"degree,omitempty" xml:"degree,omitempty"`
	// 鉴定报告URL地址。主状态为4 ac已收货后,服务商调用履约接口传入
	ReportUrl string `json:"report_url,omitempty" xml:"report_url,omitempty"`
	// 验货结论,真假、有无瑕疵等。主状态为4 ac已收货后,服务商调用履约接口传入
	Summary string `json:"summary,omitempty" xml:"summary,omitempty"`
	// 逆向流程发货给卖家的单号。买家发货后的任意一个逆向状态 服务商调用履约接口传入
	Ac2sellerMailNo string `json:"ac2seller_mail_no,omitempty" xml:"ac2seller_mail_no,omitempty"`
	// 发货给买家的单号。主状态为6 买家确认购买,服务商调用履约接口传入
	Ac2buyerMailNo string `json:"ac2buyer_mail_no,omitempty" xml:"ac2buyer_mail_no,omitempty"`
	// 验货项结论。keyId表示验货项Id,比如1001可能代表内存,valueId指出验货值的id,比如1可能代表存储64G的id,consistent代表实际此值是否为真。关于keyId、valueId的取值由其他对接文档给出
	IdleAppraiseCheckpointsResult string `json:"idle_appraise_checkpoints_result,omitempty" xml:"idle_appraise_checkpoints_result,omitempty"`
	// 拒绝识别场景原因枚举值
	RefuseReasonCode string `json:"refuse_reason_code,omitempty" xml:"refuse_reason_code,omitempty"`
	// 支付订单号。orderStatus=5时必须上送
	PayOrderId string `json:"pay_order_id,omitempty" xml:"pay_order_id,omitempty"`
	// 拍卖订单违约金额,单位分,精确到元。orderSubStatus=204或者214时必须上送;orderStatus=5时必须上送(违约金总额)
	ForfeitFee string `json:"forfeit_fee,omitempty" xml:"forfeit_fee,omitempty"`
	// 帮卖服务费金额,单位分,精确到元。orderStatus=5时必须上送
	ServiceFee string `json:"service_fee,omitempty" xml:"service_fee,omitempty"`
	// 成交金额,单位分,精确到元。orderSubStatus=31时表示相同机况下市场回收价格;orderSubStatus=203或者213,表示拍卖成交金额;orderStatus=5时,表示最终成交金额,必须上送.
	DealAmt string `json:"deal_amt,omitempty" xml:"deal_amt,omitempty"`
	// 节点到期时间,下一节点开始时间(例如订单进入挂拍状态,则表示挂拍结束时间即竞拍开始时间),格式为“yyyy-MM-dd HH:mm:s”。orderSubStatus为如下值时必须上送:201,211表示竞拍开始时间; 202,212表示竞拍结束时间; 203,213表示拍卖买家付款截止时间;
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 拍卖订单号。orderSubStatus=201或者211时上送
	AuctionId string `json:"auction_id,omitempty" xml:"auction_id,omitempty"`
	// 关闭订单原因。orderSubStatus=102时表示卖家取消原因;orderSubStatus=103时表示买家取消原因;
	CloseReason string `json:"close_reason,omitempty" xml:"close_reason,omitempty"`
	// 质检金额(拍卖底价),单位为分,精确到元。orderSubStatus=31时上送
	ConfirmAmt string `json:"confirm_amt,omitempty" xml:"confirm_amt,omitempty"`
	// 快递单号,orderSubStatus=21表示服务商取件快递单号,orderSubStatus =101时表示服务商退货快递单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 实际支付金额,单位分,精确到元。orderStatus=5时必须上送
	PayAmt string `json:"pay_amt,omitempty" xml:"pay_amt,omitempty"`
	// 历史最高成交金额,单位分,精确到元。orderSubStatus=31时上送
	MaxDealAmt string `json:"max_deal_amt,omitempty" xml:"max_deal_amt,omitempty"`
	// 评价内容。order_status=7时候填写
	RateContent string `json:"rate_content,omitempty" xml:"rate_content,omitempty"`
	// 评价等级。order_status=7时候填写 1:好评 2:中评
	RateGrade string `json:"rate_grade,omitempty" xml:"rate_grade,omitempty"`
	// 最终成交价(分)
	ConfirmFee string `json:"confirm_fee,omitempty" xml:"confirm_fee,omitempty"`
	// 上门取件订单号
	Seller2AcMailNo string `json:"seller_2_ac_mail_no,omitempty" xml:"seller_2_ac_mail_no,omitempty"`
	// 参考回收价(分)
	ReferenceRecyclePrice string `json:"reference_recycle_price,omitempty" xml:"reference_recycle_price,omitempty"`
	// 逆向退给卖家运单号
	RefundMailNo string `json:"refund_mail_no,omitempty" xml:"refund_mail_no,omitempty"`
	// 服务商发布的商品id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 卖家逆向收货地址id
	SellerReceiptAddressId string `json:"seller_receipt_address_id,omitempty" xml:"seller_receipt_address_id,omitempty"`
	// order_status=103、101时候填写 关闭原因描述
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// order_status=104时填写卖家还欠费金额单位分
	ArrearageFee string `json:"arrearage_fee,omitempty" xml:"arrearage_fee,omitempty"`
	// order_status=1时传递支付宝的签约号
	AgreementNo string `json:"agreement_no,omitempty" xml:"agreement_no,omitempty"`
	// order_status=1时传递,支付宝用户id
	AlipayUserId string `json:"alipay_user_id,omitempty" xml:"alipay_user_id,omitempty"`
	// order_status=104时传递用户还款链接
	ArrearageLink string `json:"arrearage_link,omitempty" xml:"arrearage_link,omitempty"`
	// 业务定义的数量,order_status=5时候传递
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 支付宝交易号,在支付预付款和尾款时分别提供相应打款的交易号
	AlipayTradeNo string `json:"alipay_trade_no,omitempty" xml:"alipay_trade_no,omitempty"`
	// 联系人姓名,上门回收填写,order_status=1
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 联系人电话,上门回收填写,order_status=1
	ContactMobile string `json:"contact_mobile,omitempty" xml:"contact_mobile,omitempty"`
	// 手淘商家的淘宝账号id
	RecycleSupplierId string `json:"recycle_supplier_id,omitempty" xml:"recycle_supplier_id,omitempty"`
	// 商家收到货品时间
	IsvReceiveTime string `json:"isv_receive_time,omitempty" xml:"isv_receive_time,omitempty"`
	// 质检型号名称(若存在不一致情况,需要了解实际检测的质检型号,若实际型号在已挂载的spuid中则传spuid,否则传"其他")
	RealModel string `json:"real_model,omitempty" xml:"real_model,omitempty"`
	// 提交型号和质检型号是否一致
	SpuMatch string `json:"spu_match,omitempty" xml:"spu_match,omitempty"`
	// order_status=103、101时候填写 关闭原因code。QA_STAFF_NOT_VISIT_HOME("质检员未上门取件"), SELLER_CAN_NOT_CONTACT("用户无法联系"), SELLER_NOT_COME_STORE_AT_TIME("用户未按时到店"), CANCEL_BY_SELLER_DEMAND("用户要求不回收了"), QA_NOT_QUALIFIED("不符合服务商质检要求"), OTHER("其他原因")
	CloseReasonCode string `json:"close_reason_code,omitempty" xml:"close_reason_code,omitempty"`
}

Attribute 结构体

type BaseResult

type BaseResult struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误描述
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 是否发货成功
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 请求是否执行成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

BaseResult 结构体

type CheckResultDto

type CheckResultDto struct {
	// 不通过错误码
	ExtraCode string `json:"extra_code,omitempty" xml:"extra_code,omitempty"`
	// 不通过详细信息
	ExtraMessage string `json:"extra_message,omitempty" xml:"extra_message,omitempty"`
	// 商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// sku id
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 是否通过
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CheckResultDto 结构体

type CommonPageResult added in v1.2.5

type CommonPageResult struct {
	// 商品数据
	Data []TenderItemListVO `json:"data,omitempty" xml:"data>tender_item_list_vo,omitempty"`
	// 异常编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 异常信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 当前页
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 数据总量
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 请求结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 是否有下页
	HasNextPage bool `json:"has_next_page,omitempty" xml:"has_next_page,omitempty"`
}

CommonPageResult 结构体

type CommonResult added in v1.2.5

type CommonResult struct {
	// 异常编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 异常描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 结果数据
	Data *QuestionnaireInfoTopVO `json:"data,omitempty" xml:"data,omitempty"`
	// 请求结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CommonResult 结构体

type ConsignmentOrderSynDto

type ConsignmentOrderSynDto struct {
	// 订单二级状态,一级状态的子状态,对于没有二级状态的场景该字段为空。一级状态为2已取件: 21:已取件; 22:已收件; 一级状态为3已质检: 31:已质检; 32:用户已确认; 201:一次挂拍; 一级状态为20竞拍中: 202:一次竞拍中; 203:一次竞拍成交; 204:一次拍卖违约; 205:一次竞拍流拍; 211:二次挂拍; 212:二次竞拍中; 213:二次竞拍成交; 214:二次拍卖违约; 215:二次竞拍流拍; 一级状态为5服务商确认交易完成: 51:拍卖成功/订单成功; 58:回收商确认交易/拍卖流拍成交; 59:服务商(兜底)确认交易/支付;
	OrderSubStatus string `json:"order_sub_status,omitempty" xml:"order_sub_status,omitempty"`
	// 订单一级状态。1:已下单; 2:已取件; 3:已质检; 20:竞拍中; 5:交易成功; 6:卖家已评价; 7:服务商已评价; 100:申请退货; 101:已退货; 102:卖家取消订单关闭; 103:服务商取消订单关闭;
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 闲鱼订单号
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 履约节点数据
	Attribute *Attribute `json:"attribute,omitempty" xml:"attribute,omitempty"`
}

ConsignmentOrderSynDto 结构体

type ConsignmentOrderTo

type ConsignmentOrderTo struct {
	// 订单创建时间,格式为"yyyy-MM-dd HH:mm:ss"
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 支付方式。1:支付宝现金 2:天猫红包
	IdlePayType string `json:"idle_pay_type,omitempty" xml:"idle_pay_type,omitempty"`
	// 订单环境。online:线上环境 pre:测试环境
	Env string `json:"env,omitempty" xml:"env,omitempty"`
	// 退货原因
	RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"`
	// 买家关闭原因
	BuyerCloseReason string `json:"buyer_close_reason,omitempty" xml:"buyer_close_reason,omitempty"`
	// 卖家关闭原因
	SellerCloseReason string `json:"seller_close_reason,omitempty" xml:"seller_close_reason,omitempty"`
	// 评价内容
	RateContent string `json:"rate_content,omitempty" xml:"rate_content,omitempty"`
	// 评价等级。1 好评,0 默认中评
	RateGrade string `json:"rate_grade,omitempty" xml:"rate_grade,omitempty"`
	// 预留json格式渠道业务数据,如无则为空。比如,ship=1:不需要发货,weight=5-15代表5-15kg,userLevel=vip代表免议价用户
	ChannelData string `json:"channel_data,omitempty" xml:"channel_data,omitempty"`
	// 子渠道
	SubChannel string `json:"sub_channel,omitempty" xml:"sub_channel,omitempty"`
	// 渠道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 村
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 区
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 省
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 估价ID
	ApprizeId string `json:"apprize_id,omitempty" xml:"apprize_id,omitempty"`
	// 卖家真实姓名
	SellerRealName string `json:"seller_real_name,omitempty" xml:"seller_real_name,omitempty"`
	// 取件时间,格式为"yyyy-MM-dd HH:mm:ss"
	ShipTime string `json:"ship_time,omitempty" xml:"ship_time,omitempty"`
	// 取件类型 1:顺丰 2:上门取件
	ShipType string `json:"ship_type,omitempty" xml:"ship_type,omitempty"`
	// 卖家手机号码
	SellerPhone string `json:"seller_phone,omitempty" xml:"seller_phone,omitempty"`
	// 卖家取件地址/收货地址
	SellerAddress string `json:"seller_address,omitempty" xml:"seller_address,omitempty"`
	// 卖家支付宝账号
	SellerAlipayAccount string `json:"seller_alipay_account,omitempty" xml:"seller_alipay_account,omitempty"`
	// 卖家支付宝用户ID
	SellerAlipayUserId string `json:"seller_alipay_user_id,omitempty" xml:"seller_alipay_user_id,omitempty"`
	// 卖家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 买家昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 闲鱼订单ID
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 回收商appKey
	AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"`
	// json格式服务费计算规则,单位为分,精确到元:最终成交金额*percent%,最高为max金额,最低为min金额。
	ServiceRule string `json:"service_rule,omitempty" xml:"service_rule,omitempty"`
	// 估价金额,单位分,精确到元
	ApprizeAmount int64 `json:"apprize_amount,omitempty" xml:"apprize_amount,omitempty"`
	// 订单二级状态,一级状态的子状态,对于没有二级状态的场景该字段为空。一级状态为2已取件: 21:已取件; 22:已收件; 一级状态为3已质检: 31:已质检; 32:用户已确认; 201:一次挂拍; 一级状态为20竞拍中: 202:一次竞拍中; 203:一次竞拍成交; 204:一次拍卖违约; 205:一次竞拍流拍; 211:二次挂拍; 212:二次竞拍中; 213:二次竞拍成交; 214:二次拍卖违约; 215:二次竞拍流拍; 一级状态为5服务商确认交易完成: 51:拍卖成功/订单成功; 58:回收商确认交易/拍卖流拍成交; 59:服务商(兜底)确认交易/支付;
	OrderSubStatus int64 `json:"order_sub_status,omitempty" xml:"order_sub_status,omitempty"`
	// 订单一级状态。1:已下单; 2:已取件; 3:已质检; 20:竞拍中; 5:交易成功; 6:卖家已评价; 7:服务商已评价; 100:申请退货; 101:已退货; 102:卖家取消订单关闭; 103:服务商取消订单关闭;
	OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"`
}

ConsignmentOrderTo 结构体

type ConsignmentV2OrderSynDto

type ConsignmentV2OrderSynDto struct {
	// 订单子状态
	OrderSubStatus string `json:"order_sub_status,omitempty" xml:"order_sub_status,omitempty"`
	// 订单主状态
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 闲鱼订单号
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 下单环境
	Env string `json:"env,omitempty" xml:"env,omitempty"`
	// 不同的状态传递不同参数
	Attribute *Attribute `json:"attribute,omitempty" xml:"attribute,omitempty"`
}

ConsignmentV2OrderSynDto 结构体

type ConsignmentV2OrderTo

type ConsignmentV2OrderTo struct {
	// 回收商appKey
	AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"`
	// 估价金额,单位分,精确到元
	ApprizeAmount string `json:"apprize_amount,omitempty" xml:"apprize_amount,omitempty"`
	// 估价ID
	ApprizeId string `json:"apprize_id,omitempty" xml:"apprize_id,omitempty"`
	// 区
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 闲鱼订单ID
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 买家关闭原因
	BuyerCloseReason string `json:"buyer_close_reason,omitempty" xml:"buyer_close_reason,omitempty"`
	// 渠道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 预留json格式渠道业务数据,如无则为空。比如,ship=1:不需要发货,weight=5-15代表5-15kg,userLevel=vip代表免议价用户
	ChannelData string `json:"channel_data,omitempty" xml:"channel_data,omitempty"`
	// 市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 用户定价,精确到分
	ConfirmFee string `json:"confirm_fee,omitempty" xml:"confirm_fee,omitempty"`
	// 估价范围,上下限用分号分隔。
	ConsignmentMaxDealAmt string `json:"consignment_max_deal_amt,omitempty" xml:"consignment_max_deal_amt,omitempty"`
	// 服务商最终支付金额,精确到分。成交价减服务费
	ConsignmentPayAmount string `json:"consignment_pay_amount,omitempty" xml:"consignment_pay_amount,omitempty"`
	// 正向服务费,精确到分
	ConsignmentServiceFee string `json:"consignment_service_fee,omitempty" xml:"consignment_service_fee,omitempty"`
	// 村
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 成色,几成新
	Degree string `json:"degree,omitempty" xml:"degree,omitempty"`
	// 下单环境
	Env string `json:"env,omitempty" xml:"env,omitempty"`
	// 订单创建时间,格式为"yyyy-MM-dd HH:mm:ss"
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 订单一级状态
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 订单二级状态
	OrderSubStatus string `json:"order_sub_status,omitempty" xml:"order_sub_status,omitempty"`
	// 省
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 卖家定价,分
	QaAmount string `json:"qa_amount,omitempty" xml:"qa_amount,omitempty"`
	// 评价内容
	RateContent string `json:"rate_content,omitempty" xml:"rate_content,omitempty"`
	// 评价等级。1 好评,0 默认中评
	RateGrade string `json:"rate_grade,omitempty" xml:"rate_grade,omitempty"`
	// 回收参考价格,分
	ReferenceRecyclePrice string `json:"reference_recycle_price,omitempty" xml:"reference_recycle_price,omitempty"`
	// 逆向发货物流单
	RefundMailNo string `json:"refund_mail_no,omitempty" xml:"refund_mail_no,omitempty"`
	// 鉴定报告url
	ReportUrl string `json:"report_url,omitempty" xml:"report_url,omitempty"`
	// 逆向服务费,分
	ReverseServiceFee string `json:"reverse_service_fee,omitempty" xml:"reverse_service_fee,omitempty"`
	// 卖家取件地址/收货地址
	SellerAddress string `json:"seller_address,omitempty" xml:"seller_address,omitempty"`
	// 卖家支付宝账号,服务商打款用
	SellerAlipayAccount string `json:"seller_alipay_account,omitempty" xml:"seller_alipay_account,omitempty"`
	// 卖家支付宝账号,服务商打款用
	SellerAlipayUserId string `json:"seller_alipay_user_id,omitempty" xml:"seller_alipay_user_id,omitempty"`
	// 卖家关闭原因
	SellerCloseReason string `json:"seller_close_reason,omitempty" xml:"seller_close_reason,omitempty"`
	// 卖家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 卖家上门取件手机号码
	SellerPhone string `json:"seller_phone,omitempty" xml:"seller_phone,omitempty"`
	// 卖家上门取件名称
	SellerRealName string `json:"seller_real_name,omitempty" xml:"seller_real_name,omitempty"`
	// 逆向卖家退回地址
	SellerReceiptAddress string `json:"seller_receipt_address,omitempty" xml:"seller_receipt_address,omitempty"`
	// 逆向卖家退回取件名称
	SellerReceiptName string `json:"seller_receipt_name,omitempty" xml:"seller_receipt_name,omitempty"`
	// 逆向卖家退回手机号
	SellerReceiptPhone string `json:"seller_receipt_phone,omitempty" xml:"seller_receipt_phone,omitempty"`
	// json格式服务费计算规则,单位为分,精确到元:最终成交金额*percent%,最高为max金额,最低为min金额。
	ServiceRule string `json:"service_rule,omitempty" xml:"service_rule,omitempty"`
	// 上门取件物流单号
	ShipMailNo string `json:"ship_mail_no,omitempty" xml:"ship_mail_no,omitempty"`
	// 上门取件时间
	ShipTime string `json:"ship_time,omitempty" xml:"ship_time,omitempty"`
	// 子渠道
	SubChannel string `json:"sub_channel,omitempty" xml:"sub_channel,omitempty"`
	// 验货结论摘要
	Summary string `json:"summary,omitempty" xml:"summary,omitempty"`
}

ConsignmentV2OrderTo 结构体

type EquipmentDto

type EquipmentDto struct {
	// 标配名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 标配值,多为数量
	Value string `json:"value,omitempty" xml:"value,omitempty"`
}

EquipmentDto 结构体

type IdleAppraiseSpuRegister4TopDto

type IdleAppraiseSpuRegister4TopDto struct {
	// 类目Id
	CateId string `json:"cate_id,omitempty" xml:"cate_id,omitempty"`
	// 操作类型,0新增,-1删除。当spu第一次挂载时,会进入1测试中状态。服务商联调通过后,需要再次挂载,actionType还传0,挂载信息状态会变成0已上线。
	ActionType int64 `json:"action_type,omitempty" xml:"action_type,omitempty"`
	// 验货类型,1新品,2二手
	AppraiseScene int64 `json:"appraise_scene,omitempty" xml:"appraise_scene,omitempty"`
	// brandId
	BrandId int64 `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// spuId
	SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
}

IdleAppraiseSpuRegister4TopDto 结构体

type IdleCommonResult added in v1.2.5

type IdleCommonResult struct {
	// 错误码
	ErrCodeInfo string `json:"err_code_info,omitempty" xml:"err_code_info,omitempty"`
	// 上下文信息
	Context string `json:"context,omitempty" xml:"context,omitempty"`
	// 错误信息
	ErrMsgInfo string `json:"err_msg_info,omitempty" xml:"err_msg_info,omitempty"`
	// id
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 成功
	RespSuccess bool `json:"resp_success,omitempty" xml:"resp_success,omitempty"`
}

IdleCommonResult 结构体

type IdleSpuRegister4TopDto

type IdleSpuRegister4TopDto struct {
	// 业务场景编码, 如YHB_3C、RECYCLE_PHONE,具体值由挂载spu文档给出
	Scene string `json:"scene,omitempty" xml:"scene,omitempty"`
	// 操作类型,0新增,-1删除。当spu第一次挂载时,会进入1测试中状态。服务商联调通过后,需要再次挂载,actionType还传0,挂载信息状态会变成0已上线。
	ActionType int64 `json:"action_type,omitempty" xml:"action_type,omitempty"`
	// spuId 具体值由挂载spu文档给出
	SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
}

IdleSpuRegister4TopDto 结构体

type IdleTopResult

type IdleTopResult struct {
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 申请结果
	Module *RefundBaseDto `json:"module,omitempty" xml:"module,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

IdleTopResult 结构体

type ImageInfoDto

type ImageInfoDto struct {
	// 图片id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

ImageInfoDto 结构体

type InspectionReport

type InspectionReport struct {
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 鉴定报告
	Report string `json:"report,omitempty" xml:"report,omitempty"`
	// 错误描述
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 成色
	Degree string `json:"degree,omitempty" xml:"degree,omitempty"`
	// 估价id,与order_id任选其一,orderId优先
	QuoteId string `json:"quote_id,omitempty" xml:"quote_id,omitempty"`
	// 对此商品的质检描述
	Summary string `json:"summary,omitempty" xml:"summary,omitempty"`
	// *      * Json串:desc存储特别说明的文字描述,images存储上传的图片url;      * 形如:      * {      *   "desc":"desc",      *   "images":[      *      "imageUrl1",      *      "imageUrl2"      *   ]      * };
	Explanation string `json:"explanation,omitempty" xml:"explanation,omitempty"`
	// 设备imei号
	Imei string `json:"imei,omitempty" xml:"imei,omitempty"`
	// 价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 订单,orderId优先,与quote_id任选其一
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 手淘商家的淘宝账号id,通过 spuId 和 recycleSupplierId 定位到唯一的回收模板
	RecycleSupplierId int64 `json:"recycle_supplier_id,omitempty" xml:"recycle_supplier_id,omitempty"`
	// 质检类型(1第一次直接;2二次复检)
	AppraiseType int64 `json:"appraise_type,omitempty" xml:"appraise_type,omitempty"`
	// 成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

InspectionReport 结构体

type ItemPvPairDto

type ItemPvPairDto struct {
	// sku属性名
	PropText string `json:"prop_text,omitempty" xml:"prop_text,omitempty"`
	// sku属性值名称
	ValueText string `json:"value_text,omitempty" xml:"value_text,omitempty"`
}

ItemPvPairDto 结构体

type ItemSkuDto

type ItemSkuDto struct {
	// sku属性
	PropList []ItemPvPairDto `json:"prop_list,omitempty" xml:"prop_list>item_pv_pair_dto,omitempty"`
	// sku价格,单位分
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// sku库存
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// sku id
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
}

ItemSkuDto 结构体

type LogisticsDto

type LogisticsDto struct {
	// 快递/物流名称
	LogisticsName string `json:"logistics_name,omitempty" xml:"logistics_name,omitempty"`
	// 物流id
	LogisticsId string `json:"logistics_id,omitempty" xml:"logistics_id,omitempty"`
	// 发货人地址信息
	SenderAddress *UserAddressDto `json:"sender_address,omitempty" xml:"sender_address,omitempty"`
}

LogisticsDto 结构体

type MediaDto

type MediaDto struct {
	// 商品主图列表
	Images []ImageInfoDto `json:"images,omitempty" xml:"images>image_info_dto,omitempty"`
	// 商品详情图片列表
	PropImages []ImageInfoDto `json:"prop_images,omitempty" xml:"prop_images>image_info_dto,omitempty"`
}

MediaDto 结构体

type OrderDummySendRequest

type OrderDummySendRequest struct {
	// 需要虚拟发货的订单号
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
}

OrderDummySendRequest 结构体

type PayQueryRequest

type PayQueryRequest struct {
	// 业务订单号
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
}

PayQueryRequest 结构体

type PriceDto

type PriceDto struct {
	// 星级
	Star string `json:"star,omitempty" xml:"star,omitempty"`
	// 押金,单位分
	Deposit int64 `json:"deposit,omitempty" xml:"deposit,omitempty"`
	// 市场价,单位分
	OriginalPrice int64 `json:"original_price,omitempty" xml:"original_price,omitempty"`
	// 买断价,单位分
	ReservePrice int64 `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"`
	// 日结算价格,单位分
	SettlePricePerDay int64 `json:"settle_price_per_day,omitempty" xml:"settle_price_per_day,omitempty"`
}

PriceDto 结构体

type QuestionnaireInfoTopVO added in v1.2.5

type QuestionnaireInfoTopVO struct {
	// 投放业务,RECYCLE_3C(回收),RECYCLE_TENDER(寄拍)
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 在线版本号
	OnlineVersion string `json:"online_version,omitempty" xml:"online_version,omitempty"`
	// 在线问卷内容
	OnlineQuestionnaire string `json:"online_questionnaire,omitempty" xml:"online_questionnaire,omitempty"`
	// 预发布版本号
	PreVersion string `json:"pre_version,omitempty" xml:"pre_version,omitempty"`
	// 预发布问卷
	PreQuestionnaire string `json:"pre_questionnaire,omitempty" xml:"pre_questionnaire,omitempty"`
	// SPUID
	SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
}

QuestionnaireInfoTopVO 结构体

type QuestionnaireSupportCmd added in v1.2.5

type QuestionnaireSupportCmd struct {
	// 投放业务,RECYCLE_3C(回收),RECYCLE_TENDER(寄拍)
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 预上线版本号
	PreVersion string `json:"pre_version,omitempty" xml:"pre_version,omitempty"`
	// spu id
	SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
}

QuestionnaireSupportCmd 结构体

type QuestionnaireSupportResult added in v1.2.5

type QuestionnaireSupportResult struct {
	// 投放业务
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 预上线版本号
	PreVersion string `json:"pre_version,omitempty" xml:"pre_version,omitempty"`
	// spu id
	SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
}

QuestionnaireSupportResult 结构体

type RecycleOrderSynDto

type RecycleOrderSynDto struct {
	// 订单号
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 1:置订单可见 2:已上门取件    3:已质检      4:卖家确认交易完成      5:回收商确认交易完成      6:卖家订单已评价      7:回收商订单已评价  8:信用预付订单打款 101:货物已退回  103:回收商关闭订单  104:支付宝代扣失败 105:支付宝代扣成 106:支付宝代扣逾期
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 回收商在top上申请的appkey
	PartnerKey string `json:"partner_key,omitempty" xml:"partner_key,omitempty"`
	// 属性入参
	Attribute *Attribute `json:"attribute,omitempty" xml:"attribute,omitempty"`
}

RecycleOrderSynDto 结构体

type RecycleRefundDetailDto

type RecycleRefundDetailDto struct {
	// 毫秒,操作超时时间,截止时间
	OpTimeout string `json:"op_timeout,omitempty" xml:"op_timeout,omitempty"`
	// 订单号
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 状态(1, "买家已经申请退款,等待卖家同意"),  (2, "卖家已经同意退货退款,等待买家退货"), --该状态下卖家已经提供退货地址,同意退货退款和发送地址是同时的  (3, "买家已经退货,等待卖家确认收货"),  (4, "退款关闭"),  (5, "退款成功"), --仅退款情况下是从状态1变更到5,同意退款和退款是同时的  (6, "卖家拒绝退款"),  (7, "等待买家确认重新邮寄的货物"),--如补寄等情形,一般不会出现  (8, "等待卖家确认退货地址")
	RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 退款状态描述
	RefundStatusDesc string `json:"refund_status_desc,omitempty" xml:"refund_status_desc,omitempty"`
	// 退款金额
	RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 退款描述
	RefundDesc string `json:"refund_desc,omitempty" xml:"refund_desc,omitempty"`
	// 申请原因
	ApplyReason string `json:"apply_reason,omitempty" xml:"apply_reason,omitempty"`
	// 拒绝原因
	RefuseReason string `json:"refuse_reason,omitempty" xml:"refuse_reason,omitempty"`
	// 退款完结时间
	RefundEndTime string `json:"refund_end_time,omitempty" xml:"refund_end_time,omitempty"`
	// 退款开始时间
	RefundStartTime string `json:"refund_start_time,omitempty" xml:"refund_start_time,omitempty"`
	// 卖家同意退货说明
	SellerAgreeMsg string `json:"seller_agree_msg,omitempty" xml:"seller_agree_msg,omitempty"`
	// 地址信息,交易状态为2时返回此字段
	SellerAddress *ShippingAddressInfo `json:"seller_address,omitempty" xml:"seller_address,omitempty"`
	// 实际退款金额,不包括追缴单
	ActualRefundFee int64 `json:"actual_refund_fee,omitempty" xml:"actual_refund_fee,omitempty"`
	// 追缴单
	RecoverOrderInfo *AlipayOrderDto `json:"recover_order_info,omitempty" xml:"recover_order_info,omitempty"`
}

RecycleRefundDetailDto 结构体

type RecycleRefundTopRequest

type RecycleRefundTopRequest struct {
	// 申请仅退款
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 订单号
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
}

RecycleRefundTopRequest 结构体

type RecycleResult

type RecycleResult struct {
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// errCode
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// errMessage
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// 闲鱼后台spu状态,0为在线,1为待测试,需要测试完成后再次挂载,-1为已删除(置为无效)
	SpuStatus int64 `json:"spu_status,omitempty" xml:"spu_status,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

RecycleResult 结构体

type RecycleReturnGoodsRequest

type RecycleReturnGoodsRequest struct {
	// 快递公司
	LogisticsCompanyName string `json:"logistics_company_name,omitempty" xml:"logistics_company_name,omitempty"`
	// 运单号
	LogisticsMailNo string `json:"logistics_mail_no,omitempty" xml:"logistics_mail_no,omitempty"`
	// 卖家电话
	MobileNumber string `json:"mobile_number,omitempty" xml:"mobile_number,omitempty"`
	// 订单号
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
}

RecycleReturnGoodsRequest 结构体

type RecycleSpuTemplate

type RecycleSpuTemplate struct {
	// 可选, 回收V1版本:3C数码"3C",奢侈品"LUXURIES",大件"BULKS",车"CAR",母婴"BABY",办公设备"OFFICE",美妆"MAKEUP",服装"CLOTHING",低残值"LOWVALUE",虚拟卡券"VIRTUAL" 回收V2版本:3C数码"3C_NEW",奢侈品"LUXURIES_NEW",大件"BULKS_NEW",黄金"GOLD_NEW"
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// spuId
	SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
	// 闲鱼端的spu变化,0新增,1删除,2修改名字
	ActionType int64 `json:"action_type,omitempty" xml:"action_type,omitempty"`
	// 回收商类型 1专业回收商(省心卖) 2淘宝商家兼职回收
	RecycleType int64 `json:"recycle_type,omitempty" xml:"recycle_type,omitempty"`
	// 回收卖家的id,当 recyclerType 为2时才会有值
	RecycleSupplierId int64 `json:"recycle_supplier_id,omitempty" xml:"recycle_supplier_id,omitempty"`
}

RecycleSpuTemplate 结构体

type RefundBaseDto

type RefundBaseDto struct {
	// 退款状态描述
	RefundStatusDesc string `json:"refund_status_desc,omitempty" xml:"refund_status_desc,omitempty"`
	// 订单号
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 退款状态
	RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 退款金额/分
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
}

RefundBaseDto 结构体

type RefundDto

type RefundDto struct {
	// 退款状态 与逆向DisputeStatusEnum 一致,1-9
	RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 退款时间
	RefundTime string `json:"refund_time,omitempty" xml:"refund_time,omitempty"`
	// 申请退款类型: REFUND_ONLY_NO_SHIP(未发货仅退款),REFUND_ONLY_NO_RECIVE(已发货未收到货仅退款),REFUND_ONLY_WHIT_GOODS(收到货仅退款(退货退款))
	RefundType string `json:"refund_type,omitempty" xml:"refund_type,omitempty"`
	// 退货状态 GoodsStatusEnum 一致
	ReturnGoodsStatus string `json:"return_goods_status,omitempty" xml:"return_goods_status,omitempty"`
	// 申请退款金额
	ApplyRefundFee int64 `json:"apply_refund_fee,omitempty" xml:"apply_refund_fee,omitempty"`
	// 订单Id
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 退款单ID
	DisputeId int64 `json:"dispute_id,omitempty" xml:"dispute_id,omitempty"`
	// 实际退款金额
	RealRefundFee int64 `json:"real_refund_fee,omitempty" xml:"real_refund_fee,omitempty"`
	// 到达下一个节点的超时时间点
	Timeout int64 `json:"timeout,omitempty" xml:"timeout,omitempty"`
}

RefundDto 结构体

type RentItemDto

type RentItemDto struct {
	// 标签
	FeaturedTags []string `json:"featured_tags,omitempty" xml:"featured_tags>string,omitempty"`
	// sku
	ItemSkuList []ItemSkuDto `json:"item_sku_list,omitempty" xml:"item_sku_list>item_sku_dto,omitempty"`
	// 类目属性对
	PropPairs []ItemPvPairDto `json:"prop_pairs,omitempty" xml:"prop_pairs>item_pv_pair_dto,omitempty"`
	// 标配信息
	StandardEquipments []EquipmentDto `json:"standard_equipments,omitempty" xml:"standard_equipments>equipment_dto,omitempty"`
	// 至少5个字符
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 标题,最少一个5个字符
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 地址信息
	Address *AddressDto `json:"address,omitempty" xml:"address,omitempty"`
	// 类目id
	CatId int64 `json:"cat_id,omitempty" xml:"cat_id,omitempty"`
	// 商品图片
	Media *MediaDto `json:"media,omitempty" xml:"media,omitempty"`
	// 价格信息
	PriceInfo *PriceDto `json:"price_info,omitempty" xml:"price_info,omitempty"`
	// 库存,无sku信息时必选
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 新旧程度,10表示全新,9表示九成新
	UsedLevel int64 `json:"used_level,omitempty" xml:"used_level,omitempty"`
	// 物流模板id
	TemplateId int64 `json:"template_id,omitempty" xml:"template_id,omitempty"`
	// 要更新的商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 状态,可选值为0(表示上架),-2(表示下架),不填默认为0
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// true表示包邮,否则表示不包邮
	FreePostage bool `json:"free_postage,omitempty" xml:"free_postage,omitempty"`
}

RentItemDto 结构体

type RentalOrderDto

type RentalOrderDto struct {
	// 订单商品信息
	Items []RentalOrderItemDto `json:"items,omitempty" xml:"items>rental_order_item_dto,omitempty"`
	// 买家id
	BuyerId string `json:"buyer_id,omitempty" xml:"buyer_id,omitempty"`
	// 预约时间
	ReservedPackageTime string `json:"reserved_package_time,omitempty" xml:"reserved_package_time,omitempty"`
	// 用户会员卡到期时间
	BuyerMemberExpireDate string `json:"buyer_member_expire_date,omitempty" xml:"buyer_member_expire_date,omitempty"`
	// 买家地址
	BuyerAddress *UserAddressDto `json:"buyer_address,omitempty" xml:"buyer_address,omitempty"`
	// 订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 订单状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 邮费,单位分
	Postage int64 `json:"postage,omitempty" xml:"postage,omitempty"`
}

RentalOrderDto 结构体

type RentalOrderItemDto

type RentalOrderItemDto struct {
	// 商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// sku信息
	SkuDTO *ItemSkuDto `json:"sku_d_t_o,omitempty" xml:"sku_d_t_o,omitempty"`
	// 价格信息
	Price *PriceDto `json:"price,omitempty" xml:"price,omitempty"`
}

RentalOrderItemDto 结构体

type Serializable

type Serializable struct {
	// 明细
	PayDetails []SubPayBillDto `json:"pay_details,omitempty" xml:"pay_details>sub_pay_bill_dto,omitempty"`
	// 代扣计划列表
	PlanIds []string `json:"plan_ids,omitempty" xml:"plan_ids>string,omitempty"`
	// 商户订单号(唯一建)
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 代扣计划
	PlanId string `json:"plan_id,omitempty" xml:"plan_id,omitempty"`
	// 支付宝流水号
	AlipayTradeNo string `json:"alipay_trade_no,omitempty" xml:"alipay_trade_no,omitempty"`
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// INIT:初始状态;PARTIAL_SUCCESSED:支付部分成功;SUCCESSED:支付成功;FAILED:支付失败
	PayStatus string `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 业务编码:R1:回收
	PayBizCode string `json:"pay_biz_code,omitempty" xml:"pay_biz_code,omitempty"`
	// 状态描述
	PayStatusDesc string `json:"pay_status_desc,omitempty" xml:"pay_status_desc,omitempty"`
	// 回收商appkey
	AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"`
	// 买家nick
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 卖家nick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 卖家支付宝id,用于回收商支付宝打款
	SellerAlipayUserId string `json:"seller_alipay_user_id,omitempty" xml:"seller_alipay_user_id,omitempty"`
	// 卖家支付宝账号,已脱敏
	SellerAlipayAccount string `json:"seller_alipay_account,omitempty" xml:"seller_alipay_account,omitempty"`
	// 卖家收货地址
	SellerAddress string `json:"seller_address,omitempty" xml:"seller_address,omitempty"`
	// 卖家手机号码
	SellerPhone string `json:"seller_phone,omitempty" xml:"seller_phone,omitempty"`
	// 取件类型 1:顺风 2:上门取件
	ShipType string `json:"ship_type,omitempty" xml:"ship_type,omitempty"`
	// 取件时间
	ShipTime string `json:"ship_time,omitempty" xml:"ship_time,omitempty"`
	// 卖家姓名
	SellerRealName string `json:"seller_real_name,omitempty" xml:"seller_real_name,omitempty"`
	// 支付宝签约code
	ZfbDkCode string `json:"zfb_dk_code,omitempty" xml:"zfb_dk_code,omitempty"`
	// 估价id
	ApprizeId string `json:"apprize_id,omitempty" xml:"apprize_id,omitempty"`
	// 城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 省
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 区
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 村
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 芝麻分
	ZmScore string `json:"zm_score,omitempty" xml:"zm_score,omitempty"`
	// 未来的卡券id
	CouponId string `json:"coupon_id,omitempty" xml:"coupon_id,omitempty"`
	// 加价券金额
	CouponFee string `json:"coupon_fee,omitempty" xml:"coupon_fee,omitempty"`
	// 一、按百分比 {     "actType": 1,     "beg": "2017-12-01 12:00:00",     "couponFee": 4400,     "couponId": "-2",     "desc": "满50加价10%",     "end": "2017-12-13 12:00:00",     "idleBizCode": "9",     "low": 5000,     "percent": 0.1 }  二、按固定加价 {     "actType": 2,     "beg": "2017-12-01 12:00:00",     "couponFee": 3000,     "couponId": "-3",     "desc": "满50固定加价30",     "end": "2017-12-13 12:00:00",     "idleBizCode": "9",     "low": 5000,     "addFee": 3000 }  三、阶梯价 {     "actType": 3,     "beg": "2017-12-21 16:00:00",     "couponFee": 0,     "couponId": "-5",     "desc": "阶梯价",     "end": "2019-02-31 00:00:00",     "idleBizCode": "8",     "low": 0,     "range": [{         "actType": 1,         "couponFee": 0,         "desc": "100~2000元,加价10%",         "low": 10000,         "percent": 0.1,         "up": 200000     },     {         "actType": 1,         "couponFee": 0,         "desc": "2000~3000元,加价20%",         "low": 200000,         "percent": 0.2,         "up": 300000     },     {         "actType": 2,         "addFee": 70000,         "couponFee": 0,         "desc": "3000元以上,加价700",         "low": 300000,         "up": 0     }] }
	CouponRule string `json:"coupon_rule,omitempty" xml:"coupon_rule,omitempty"`
	// 回收渠道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 1 好评,0 默认中评
	RateGrade string `json:"rate_grade,omitempty" xml:"rate_grade,omitempty"`
	// 评价内容
	RateContent string `json:"rate_content,omitempty" xml:"rate_content,omitempty"`
	// 卖家关闭订单原因
	CloseReason string `json:"close_reason,omitempty" xml:"close_reason,omitempty"`
	// 买家关闭订单原因
	BuyerCloseReason string `json:"buyer_close_reason,omitempty" xml:"buyer_close_reason,omitempty"`
	// 卖家申请退回原因
	RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"`
	// onlien:线上环境  pre:测试环境
	Env string `json:"env,omitempty" xml:"env,omitempty"`
	// 订单创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 600以下为Z5,600-649为Z4,650-699为Z3,700-749为Z2,750及以上为Z1
	ZmLevel string `json:"zm_level,omitempty" xml:"zm_level,omitempty"`
	// 1:支付宝现金 2:天猫红包
	IdlePayType string `json:"idle_pay_type,omitempty" xml:"idle_pay_type,omitempty"`
	// 渠道内的业务数据json格式 比如 ship=1 服装类的不需要发货,weight=5-15 代表服装5-15kg, userLevel=vip 代表免议价用户,sellerRealPhone 淘宝账号绑定的手机号
	ChannelData string `json:"channel_data,omitempty" xml:"channel_data,omitempty"`
	// spuId
	SpuId string `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
	// xydk:闲鱼代扣,信用订单使用
	DkType string `json:"dk_type,omitempty" xml:"dk_type,omitempty"`
	// 回收订单对应的快递单号
	ShipMailNo string `json:"ship_mail_no,omitempty" xml:"ship_mail_no,omitempty"`
	// 多笔估价场景,订单纬度对应的多笔估价集合
	ApprizeIdList string `json:"apprize_id_list,omitempty" xml:"apprize_id_list,omitempty"`
	// 多笔估价场景,订单纬度对应的多笔spuId集合
	SpuIdList string `json:"spu_id_list,omitempty" xml:"spu_id_list,omitempty"`
	// 回收场景
	SceneType string `json:"scene_type,omitempty" xml:"scene_type,omitempty"`
	// 取件截止时间
	ShipTimeEnd string `json:"ship_time_end,omitempty" xml:"ship_time_end,omitempty"`
	// 支付宝交易号
	AlipayOrderId string `json:"alipay_order_id,omitempty" xml:"alipay_order_id,omitempty"`
	// 金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 外部业务ID
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 申请扣款金额(单位分)
	TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 实际支付金额(单位分)
	ReceiptAmount int64 `json:"receipt_amount,omitempty" xml:"receipt_amount,omitempty"`
	// 回收订单状态
	OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 买家id,已脱敏处理返回0
	BuyerId int64 `json:"buyer_id,omitempty" xml:"buyer_id,omitempty"`
	// 卖家id,已脱敏处理返回0
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 信用预付金额,单位分
	CreditPayAmount int64 `json:"credit_pay_amount,omitempty" xml:"credit_pay_amount,omitempty"`
	// 估价金额,单位分
	ApprizeAmount int64 `json:"apprize_amount,omitempty" xml:"apprize_amount,omitempty"`
	// 是否信用预付订单
	CreditPay bool `json:"credit_pay,omitempty" xml:"credit_pay,omitempty"`
	// 是否支付宝签约
	ZfbDk bool `json:"zfb_dk,omitempty" xml:"zfb_dk,omitempty"`
}

Serializable 结构体

type ShippingAddressInfo

type ShippingAddressInfo struct {
	// 这里必须写全详细地址
	AddressDetail string `json:"address_detail,omitempty" xml:"address_detail,omitempty"`
	// 区
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 收件人姓名
	ConsigneeName string `json:"consignee_name,omitempty" xml:"consignee_name,omitempty"`
	// 手机号码
	MobilePhone string `json:"mobile_phone,omitempty" xml:"mobile_phone,omitempty"`
	// 邮编
	PostCode string `json:"post_code,omitempty" xml:"post_code,omitempty"`
	// 省
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 固话
	TelNo string `json:"tel_no,omitempty" xml:"tel_no,omitempty"`
	// 四级地址 镇/街道
	Town string `json:"town,omitempty" xml:"town,omitempty"`
}

ShippingAddressInfo 结构体

type SpuQuestionnaireTopQry added in v1.2.5

type SpuQuestionnaireTopQry struct {
	// 投放业务,RECYCLE_3C(回收),RECYCLE_TENDER(寄拍)
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// SPU ID
	SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
}

SpuQuestionnaireTopQry 结构体

type SpuStatistics

type SpuStatistics struct {
	// 开始时间(预留)
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 场景:3C(3C行业)、BULKS(大件)
	SceneType string `json:"scene_type,omitempty" xml:"scene_type,omitempty"`
	// 预留字段
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 该spu
	Descr string `json:"descr,omitempty" xml:"descr,omitempty"`
	// 结束时间(预留)
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 结构数据,涉及金额的数据单位为分,精确到元
	SpuData string `json:"spu_data,omitempty" xml:"spu_data,omitempty"`
	// 数据状态:1(可用)2(不可用)
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// spuId
	SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
	// 版本号(预留)
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
}

SpuStatistics 结构体

type SubPayBillDto

type SubPayBillDto struct {
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 支付状态描述
	PayStatusDesc string `json:"pay_status_desc,omitempty" xml:"pay_status_desc,omitempty"`
	// 支付状态
	PayStatus string `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 代扣错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 代扣错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 支付宝流水号
	AlipayTradeNo string `json:"alipay_trade_no,omitempty" xml:"alipay_trade_no,omitempty"`
	// 金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 计划id
	PlanId string `json:"plan_id,omitempty" xml:"plan_id,omitempty"`
}

SubPayBillDto 结构体

type TaobaoIdleRecycleRefundApplyAPIRequest

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

TaobaoIdleRecycleRefundApplyAPIRequest 闲鱼回收交易退款申请V2 API请求 taobao.idle.recycle.refund.apply

回收商买家申请退款

func NewTaobaoIdleRecycleRefundApplyRequest

func NewTaobaoIdleRecycleRefundApplyRequest() *TaobaoIdleRecycleRefundApplyAPIRequest

NewTaobaoIdleRecycleRefundApplyRequest 初始化TaobaoIdleRecycleRefundApplyAPIRequest对象

func (TaobaoIdleRecycleRefundApplyAPIRequest) GetApiMethodName

func (r TaobaoIdleRecycleRefundApplyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoIdleRecycleRefundApplyAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoIdleRecycleRefundApplyAPIRequest) GetRefundApply

GetRefundApply RefundApply Getter

func (*TaobaoIdleRecycleRefundApplyAPIRequest) SetRefundApply

func (r *TaobaoIdleRecycleRefundApplyAPIRequest) SetRefundApply(_refundApply *RecycleRefundTopRequest) error

SetRefundApply is RefundApply Setter 退款申请

type TaobaoIdleRecycleRefundApplyAPIResponse

type TaobaoIdleRecycleRefundApplyAPIResponse struct {
	model.CommonResponse
	TaobaoIdleRecycleRefundApplyAPIResponseModel
}

TaobaoIdleRecycleRefundApplyAPIResponse 闲鱼回收交易退款申请V2 API返回值 taobao.idle.recycle.refund.apply

回收商买家申请退款

type TaobaoIdleRecycleRefundApplyAPIResponseModel

type TaobaoIdleRecycleRefundApplyAPIResponseModel struct {
	XMLName xml.Name `xml:"idle_recycle_refund_apply_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 退款申请结果
	Result *IdleTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoIdleRecycleRefundApplyAPIResponseModel is 闲鱼回收交易退款申请V2 成功返回结果

type TaobaoIdleRecycleRefundCancleapplyAPIRequest

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

TaobaoIdleRecycleRefundCancleapplyAPIRequest 闲鱼回收取消退款申请V2 API请求 taobao.idle.recycle.refund.cancleapply

回收商的回收订单取消退款申请

func NewTaobaoIdleRecycleRefundCancleapplyRequest

func NewTaobaoIdleRecycleRefundCancleapplyRequest() *TaobaoIdleRecycleRefundCancleapplyAPIRequest

NewTaobaoIdleRecycleRefundCancleapplyRequest 初始化TaobaoIdleRecycleRefundCancleapplyAPIRequest对象

func (TaobaoIdleRecycleRefundCancleapplyAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoIdleRecycleRefundCancleapplyAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoIdleRecycleRefundCancleapplyAPIRequest) GetBizOrderId

GetBizOrderId BizOrderId Getter

func (*TaobaoIdleRecycleRefundCancleapplyAPIRequest) SetBizOrderId

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

SetBizOrderId is BizOrderId Setter 订单号

type TaobaoIdleRecycleRefundCancleapplyAPIResponse

type TaobaoIdleRecycleRefundCancleapplyAPIResponse struct {
	model.CommonResponse
	TaobaoIdleRecycleRefundCancleapplyAPIResponseModel
}

TaobaoIdleRecycleRefundCancleapplyAPIResponse 闲鱼回收取消退款申请V2 API返回值 taobao.idle.recycle.refund.cancleapply

回收商的回收订单取消退款申请

type TaobaoIdleRecycleRefundCancleapplyAPIResponseModel

type TaobaoIdleRecycleRefundCancleapplyAPIResponseModel struct {
	XMLName xml.Name `xml:"idle_recycle_refund_cancleapply_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 撤销申请结果
	Result *IdleTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoIdleRecycleRefundCancleapplyAPIResponseModel is 闲鱼回收取消退款申请V2 成功返回结果

type TaobaoIdleRecycleRefundDetailAPIRequest

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

TaobaoIdleRecycleRefundDetailAPIRequest 闲鱼回收退款详情V2 API请求 taobao.idle.recycle.refund.detail

回收订单退款详情,主要包括退款状态,超时时间,和同意退款的卖家退货地址信息

func NewTaobaoIdleRecycleRefundDetailRequest

func NewTaobaoIdleRecycleRefundDetailRequest() *TaobaoIdleRecycleRefundDetailAPIRequest

NewTaobaoIdleRecycleRefundDetailRequest 初始化TaobaoIdleRecycleRefundDetailAPIRequest对象

func (TaobaoIdleRecycleRefundDetailAPIRequest) GetApiMethodName

func (r TaobaoIdleRecycleRefundDetailAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoIdleRecycleRefundDetailAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoIdleRecycleRefundDetailAPIRequest) GetBizOrderId

GetBizOrderId BizOrderId Getter

func (*TaobaoIdleRecycleRefundDetailAPIRequest) SetBizOrderId

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

SetBizOrderId is BizOrderId Setter 订单号

type TaobaoIdleRecycleRefundDetailAPIResponse

type TaobaoIdleRecycleRefundDetailAPIResponse struct {
	model.CommonResponse
	TaobaoIdleRecycleRefundDetailAPIResponseModel
}

TaobaoIdleRecycleRefundDetailAPIResponse 闲鱼回收退款详情V2 API返回值 taobao.idle.recycle.refund.detail

回收订单退款详情,主要包括退款状态,超时时间,和同意退款的卖家退货地址信息

type TaobaoIdleRecycleRefundDetailAPIResponseModel

type TaobaoIdleRecycleRefundDetailAPIResponseModel struct {
	XMLName xml.Name `xml:"idle_recycle_refund_detail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 退款详情,说明文档:https://www.yuque.com/tushuguanyuan/fsgl7y/xn2lu8#ed2c2d6a
	Result *IdleTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoIdleRecycleRefundDetailAPIResponseModel is 闲鱼回收退款详情V2 成功返回结果

type TaobaoIdleRecycleRefundReturngoodsAPIRequest

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

TaobaoIdleRecycleRefundReturngoodsAPIRequest 闲鱼回收退货V2 API请求 taobao.idle.recycle.refund.returngoods

回收商买家退货,填写退货运单号

func NewTaobaoIdleRecycleRefundReturngoodsRequest

func NewTaobaoIdleRecycleRefundReturngoodsRequest() *TaobaoIdleRecycleRefundReturngoodsAPIRequest

NewTaobaoIdleRecycleRefundReturngoodsRequest 初始化TaobaoIdleRecycleRefundReturngoodsAPIRequest对象

func (TaobaoIdleRecycleRefundReturngoodsAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoIdleRecycleRefundReturngoodsAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoIdleRecycleRefundReturngoodsAPIRequest) GetParam0

GetParam0 Param0 Getter

func (*TaobaoIdleRecycleRefundReturngoodsAPIRequest) SetParam0

SetParam0 is Param0 Setter 退货

type TaobaoIdleRecycleRefundReturngoodsAPIResponse

type TaobaoIdleRecycleRefundReturngoodsAPIResponse struct {
	model.CommonResponse
	TaobaoIdleRecycleRefundReturngoodsAPIResponseModel
}

TaobaoIdleRecycleRefundReturngoodsAPIResponse 闲鱼回收退货V2 API返回值 taobao.idle.recycle.refund.returngoods

回收商买家退货,填写退货运单号

type TaobaoIdleRecycleRefundReturngoodsAPIResponseModel

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

TaobaoIdleRecycleRefundReturngoodsAPIResponseModel is 闲鱼回收退货V2 成功返回结果

type TenderItemDeleteCmd added in v1.2.5

type TenderItemDeleteCmd struct {
	// 商品id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
}

TenderItemDeleteCmd 结构体

type TenderItemListQry added in v1.2.5

type TenderItemListQry struct {
	// 商品id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 场次日期
	ScheduleDate string `json:"schedule_date,omitempty" xml:"schedule_date,omitempty"`
	// 场次编码(两位数)
	ScheduleNumber string `json:"schedule_number,omitempty" xml:"schedule_number,omitempty"`
	// 用户昵称
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
	// 查询页码
	PageNumber int64 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// 分页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 用户id
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

TenderItemListQry 结构体

type TenderItemListVO added in v1.2.5

type TenderItemListVO struct {
	// 商品id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 订单id
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 场次(日期+编码)
	Schedule string `json:"schedule,omitempty" xml:"schedule,omitempty"`
	// 等级
	Degree string `json:"degree,omitempty" xml:"degree,omitempty"`
	// 开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 服务商仓库码
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 起拍价(分)
	StartPrice int64 `json:"start_price,omitempty" xml:"start_price,omitempty"`
	// 最终成交价(分)
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 订单信息
	OrderInfo *TenderOrderInfoVO `json:"order_info,omitempty" xml:"order_info,omitempty"`
}

TenderItemListVO 结构体

type TenderItemUploadCmd added in v1.2.5

type TenderItemUploadCmd struct {
	// 商品id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 质检报告
	Report string `json:"report,omitempty" xml:"report,omitempty"`
	// 上拍场次日期
	ScheduleDate string `json:"schedule_date,omitempty" xml:"schedule_date,omitempty"`
	// 外部码
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 场次编码(两位数值)
	ScheduleNumber string `json:"schedule_number,omitempty" xml:"schedule_number,omitempty"`
	// 动作类型:add:上传,update:更新
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 货源类型,RECYCLE(回收), OTHER(其他,服务商自有)
	SourceType string `json:"source_type,omitempty" xml:"source_type,omitempty"`
}

TenderItemUploadCmd 结构体

type TenderItemUploadVO added in v1.2.5

type TenderItemUploadVO struct {
	// 商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 订单ID
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 类目
	Category string `json:"category,omitempty" xml:"category,omitempty"`
}

TenderItemUploadVO 结构体

type TenderOrderInfoDto added in v1.2.5

type TenderOrderInfoDto struct {
	// 扩展信息
	ChannelData string `json:"channel_data,omitempty" xml:"channel_data,omitempty"`
	// 拍卖买家的用户nick
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 服务商退货的原因
	ServiceRefundReason string `json:"service_refund_reason,omitempty" xml:"service_refund_reason,omitempty"`
	// 上门回收时间
	ShipTime string `json:"ship_time,omitempty" xml:"ship_time,omitempty"`
	// 渠道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 订单主状态
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 卖家地址
	SellerAddress string `json:"seller_address,omitempty" xml:"seller_address,omitempty"`
	// 拍卖最终成交价格
	DealPrice string `json:"deal_price,omitempty" xml:"deal_price,omitempty"`
	// 买家区
	BuyerArea string `json:"buyer_area,omitempty" xml:"buyer_area,omitempty"`
	// 服务商评估价格
	AppraisePrice string `json:"appraise_price,omitempty" xml:"appraise_price,omitempty"`
	// 买家
	BuyerAddress string `json:"buyer_address,omitempty" xml:"buyer_address,omitempty"`
	// 买家城市信息
	BuyerCity string `json:"buyer_city,omitempty" xml:"buyer_city,omitempty"`
	// 卖家alipay信息
	SellerAlipayUserId string `json:"seller_alipay_user_id,omitempty" xml:"seller_alipay_user_id,omitempty"`
	// 卖家城市信息
	SellerCity string `json:"seller_city,omitempty" xml:"seller_city,omitempty"`
	// appkey
	AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"`
	// 扩展信息
	Attribute string `json:"attribute,omitempty" xml:"attribute,omitempty"`
	// 服务商绑定的用户id
	ServiceId string `json:"service_id,omitempty" xml:"service_id,omitempty"`
	// 卖家nick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 起拍价格
	StartPrice string `json:"start_price,omitempty" xml:"start_price,omitempty"`
	// 购买人的省
	BuyerProvince string `json:"buyer_province,omitempty" xml:"buyer_province,omitempty"`
	// 订单子状态
	OrderSubStatus string `json:"order_sub_status,omitempty" xml:"order_sub_status,omitempty"`
	// 卖家的电话信息
	SellerPhone string `json:"seller_phone,omitempty" xml:"seller_phone,omitempty"`
	// 卖家小区信息
	SellerCountry string `json:"seller_country,omitempty" xml:"seller_country,omitempty"`
	// 卖家的alipay账号信息
	SellerAlipayAccount string `json:"seller_alipay_account,omitempty" xml:"seller_alipay_account,omitempty"`
	// 卖家关闭原因
	SellerCloseReason string `json:"seller_close_reason,omitempty" xml:"seller_close_reason,omitempty"`
	// 拍卖的终止价格
	EndPrice string `json:"end_price,omitempty" xml:"end_price,omitempty"`
	// 购买人的真实姓名
	BuyerRealName string `json:"buyer_real_name,omitempty" xml:"buyer_real_name,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 创建环境
	Env string `json:"env,omitempty" xml:"env,omitempty"`
	// 卖家真实姓名
	SellerRealName string `json:"seller_real_name,omitempty" xml:"seller_real_name,omitempty"`
	// 服务商关闭的原因
	ServiceCloseReason string `json:"service_close_reason,omitempty" xml:"service_close_reason,omitempty"`
	// 卖家的地址
	SellerArea string `json:"seller_area,omitempty" xml:"seller_area,omitempty"`
	// 买家的地址信息
	BuyerCountry string `json:"buyer_country,omitempty" xml:"buyer_country,omitempty"`
	// 回收支付类型
	IdlePayType string `json:"idle_pay_type,omitempty" xml:"idle_pay_type,omitempty"`
	// 买家的电话信息
	BuyerPhone string `json:"buyer_phone,omitempty" xml:"buyer_phone,omitempty"`
	// 服务商的公司名称
	ServiceNick string `json:"service_nick,omitempty" xml:"service_nick,omitempty"`
	// 下单场景
	SceneType string `json:"scene_type,omitempty" xml:"scene_type,omitempty"`
	// 订单id
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 估价id
	AppraiseId string `json:"appraise_id,omitempty" xml:"appraise_id,omitempty"`
	// 服务商最终成交价格
	ServiceDealPrice string `json:"service_deal_price,omitempty" xml:"service_deal_price,omitempty"`
	// 上门类型
	ShipType string `json:"ship_type,omitempty" xml:"ship_type,omitempty"`
	// spuId
	SpuId string `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
	// 卖家的退回原因
	SellerRefundReason string `json:"seller_refund_reason,omitempty" xml:"seller_refund_reason,omitempty"`
	// 卖家的地址信息
	SellerProvince string `json:"seller_province,omitempty" xml:"seller_province,omitempty"`
	// 买家支付宝流水号
	BuyerOutPayId string `json:"buyer_out_pay_id,omitempty" xml:"buyer_out_pay_id,omitempty"`
	// 买家付款时间
	BuyerPayTime string `json:"buyer_pay_time,omitempty" xml:"buyer_pay_time,omitempty"`
	// 商品id/质检报告ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 拍场订单Id
	TenderOrderId int64 `json:"tender_order_id,omitempty" xml:"tender_order_id,omitempty"`
	// 服务费(分)
	ServiceFee int64 `json:"service_fee,omitempty" xml:"service_fee,omitempty"`
}

TenderOrderInfoDto 结构体

type TenderOrderInfoVO added in v1.2.5

type TenderOrderInfoVO struct {
	// 扩展信息
	ChannelData string `json:"channel_data,omitempty" xml:"channel_data,omitempty"`
	// 拍卖买家的用户nick
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 服务商退货的原因
	ServiceRefundReason string `json:"service_refund_reason,omitempty" xml:"service_refund_reason,omitempty"`
	// 上门回收时间
	ShipTime string `json:"ship_time,omitempty" xml:"ship_time,omitempty"`
	// 渠道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 订单主状态
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 卖家地址
	SellerAddress string `json:"seller_address,omitempty" xml:"seller_address,omitempty"`
	// 拍卖最终成交价格
	DealPrice string `json:"deal_price,omitempty" xml:"deal_price,omitempty"`
	// 买家区
	BuyerArea string `json:"buyer_area,omitempty" xml:"buyer_area,omitempty"`
	// 服务商评估价格
	AppraisePrice string `json:"appraise_price,omitempty" xml:"appraise_price,omitempty"`
	// 买家地址
	BuyerAddress string `json:"buyer_address,omitempty" xml:"buyer_address,omitempty"`
	// 买家城市信息
	BuyerCity string `json:"buyer_city,omitempty" xml:"buyer_city,omitempty"`
	// 卖家alipay信息
	SellerAlipayUserId string `json:"seller_alipay_user_id,omitempty" xml:"seller_alipay_user_id,omitempty"`
	// 卖家城市信息
	SellerCity string `json:"seller_city,omitempty" xml:"seller_city,omitempty"`
	// appkey
	AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"`
	// 扩展信息
	Attribute string `json:"attribute,omitempty" xml:"attribute,omitempty"`
	// 服务商绑定的用户id
	ServiceId string `json:"service_id,omitempty" xml:"service_id,omitempty"`
	// 卖家nick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 起拍价格
	StartPrice string `json:"start_price,omitempty" xml:"start_price,omitempty"`
	// 买家省份
	BuyerProvince string `json:"buyer_province,omitempty" xml:"buyer_province,omitempty"`
	// 订单子状态
	OrderSubStatus string `json:"order_sub_status,omitempty" xml:"order_sub_status,omitempty"`
	// 卖家的电话信息
	SellerPhone string `json:"seller_phone,omitempty" xml:"seller_phone,omitempty"`
	// 卖家小区信息
	SellerCountry string `json:"seller_country,omitempty" xml:"seller_country,omitempty"`
	// 卖家的alipay账号信息
	SellerAlipayAccount string `json:"seller_alipay_account,omitempty" xml:"seller_alipay_account,omitempty"`
	// 卖家关闭原因
	SellerCloseReason string `json:"seller_close_reason,omitempty" xml:"seller_close_reason,omitempty"`
	// 拍卖的终止价格
	EndPrice string `json:"end_price,omitempty" xml:"end_price,omitempty"`
	// 购买人的真实姓名
	BuyerRealName string `json:"buyer_real_name,omitempty" xml:"buyer_real_name,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 创建环境
	Env string `json:"env,omitempty" xml:"env,omitempty"`
	// 卖家真实姓名
	SellerRealName string `json:"seller_real_name,omitempty" xml:"seller_real_name,omitempty"`
	// 服务商关闭的原因
	ServiceCloseReason string `json:"service_close_reason,omitempty" xml:"service_close_reason,omitempty"`
	// 卖家的地址
	SellerArea string `json:"seller_area,omitempty" xml:"seller_area,omitempty"`
	// 买家的地址信息
	BuyerCountry string `json:"buyer_country,omitempty" xml:"buyer_country,omitempty"`
	// 回收支付类型
	IdlePayType string `json:"idle_pay_type,omitempty" xml:"idle_pay_type,omitempty"`
	// 买家的电话信息
	BuyerPhone string `json:"buyer_phone,omitempty" xml:"buyer_phone,omitempty"`
	// 服务商的公司名称
	ServiceNick string `json:"service_nick,omitempty" xml:"service_nick,omitempty"`
	// 下单场景
	SceneType string `json:"scene_type,omitempty" xml:"scene_type,omitempty"`
	// 订单id2
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 估价id
	AppraiseId string `json:"appraise_id,omitempty" xml:"appraise_id,omitempty"`
	// 服务商最终成交价格
	ServiceDealPrice string `json:"service_deal_price,omitempty" xml:"service_deal_price,omitempty"`
	// 上门类型
	ShipType string `json:"ship_type,omitempty" xml:"ship_type,omitempty"`
	// spuId
	SpuId string `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
	// 卖家的退回原因
	SellerRefundReason string `json:"seller_refund_reason,omitempty" xml:"seller_refund_reason,omitempty"`
	// 卖家的地址信息
	SellerProvince string `json:"seller_province,omitempty" xml:"seller_province,omitempty"`
	// 拍场订单Id
	TenderOrderId string `json:"tender_order_id,omitempty" xml:"tender_order_id,omitempty"`
	// 服务费(分)
	ServiceFee string `json:"service_fee,omitempty" xml:"service_fee,omitempty"`
	// 买家支付宝流水号
	BuyerOutPayId string `json:"buyer_out_pay_id,omitempty" xml:"buyer_out_pay_id,omitempty"`
}

TenderOrderInfoVO 结构体

type TenderOrderQuery added in v1.2.5

type TenderOrderQuery struct {
	// 订单id
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
}

TenderOrderQuery 结构体

type UserAddressDto

type UserAddressDto struct {
	// 区
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 详细地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 发货人名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 省
	Prov string `json:"prov,omitempty" xml:"prov,omitempty"`
	// 手机号
	PhoneNo string `json:"phone_no,omitempty" xml:"phone_no,omitempty"`
}

UserAddressDto 结构体

type UserGrantRequest

type UserGrantRequest struct {
	// 当前用户的所属业务类型编码,优品&开放平台业务 默认使用 IDLE_TOP
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 场景码,标识品类。22:虚拟卡券/账号
	SceneType string `json:"scene_type,omitempty" xml:"scene_type,omitempty"`
}

UserGrantRequest 结构体

Source Files

Jump to

Keyboard shortcuts

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