idleisv

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package idleisv 包含闲鱼已验货相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddUserAuthorizationCmd added in v1.2.8

type AddUserAuthorizationCmd struct {
	// 需要为用户添加的权限类型,具体类型可以参考api描述的语雀文档
	AuthType string `json:"auth_type,omitempty" xml:"auth_type,omitempty"`
}

AddUserAuthorizationCmd 结构体

type AlibabaidleisvitemdownshelfAPIRequest added in v1.3.1

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

AlibabaidleisvitemdownshelfAPIRequest 服务商闲鱼商品下架 API请求 alibaba.idle.isv.item.downshelf

供外部服务商ISV进行闲鱼商品下架操作

func NewAlibabaidleisvitemdownshelfRequest added in v1.3.1

func NewAlibabaidleisvitemdownshelfRequest() *AlibabaidleisvitemdownshelfAPIRequest

NewAlibabaidleisvitemdownshelfRequest 初始化AlibabaidleisvitemdownshelfAPIRequest对象

func (AlibabaidleisvitemdownshelfAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleisvitemdownshelfAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleisvitemdownshelfAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleisvitemdownshelfAPIRequest) GetParam added in v1.3.1

GetParam Param Getter

func (AlibabaidleisvitemdownshelfAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabaidleisvitemdownshelfAPIRequest) SetParam added in v1.3.1

SetParam is Param Setter 返回结果result

type AlibabaidleisvitemdownshelfAPIResponse added in v1.3.1

type AlibabaidleisvitemdownshelfAPIResponse struct {
	model.CommonResponse
	AlibabaidleisvitemdownshelfAPIResponseModel
}

AlibabaidleisvitemdownshelfAPIResponse 服务商闲鱼商品下架 API返回值 alibaba.idle.isv.item.downshelf

供外部服务商ISV进行闲鱼商品下架操作

type AlibabaidleisvitemdownshelfAPIResponseModel added in v1.3.1

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

AlibabaidleisvitemdownshelfAPIResponseModel is 服务商闲鱼商品下架 成功返回结果

type AlibabaidleisvitemdownshelfTopResult added in v1.3.1

type AlibabaidleisvitemdownshelfTopResult struct {
	// data
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaidleisvitemdownshelfTopResult 结构体

type AlibabaidleisvitemeditAPIRequest added in v1.3.1

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

AlibabaidleisvitemeditAPIRequest 服务商闲鱼商品编辑 API请求 alibaba.idle.isv.item.edit

服务商ISV闲鱼商品编辑操作

func NewAlibabaidleisvitemeditRequest added in v1.3.1

func NewAlibabaidleisvitemeditRequest() *AlibabaidleisvitemeditAPIRequest

NewAlibabaidleisvitemeditRequest 初始化AlibabaidleisvitemeditAPIRequest对象

func (AlibabaidleisvitemeditAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleisvitemeditAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleisvitemeditAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleisvitemeditAPIRequest) GetParam added in v1.3.1

GetParam Param Getter

func (AlibabaidleisvitemeditAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabaidleisvitemeditAPIRequest) SetParam added in v1.3.1

SetParam is Param Setter 商品数据参数

type AlibabaidleisvitemeditAPIResponse added in v1.3.1

type AlibabaidleisvitemeditAPIResponse struct {
	model.CommonResponse
	AlibabaidleisvitemeditAPIResponseModel
}

AlibabaidleisvitemeditAPIResponse 服务商闲鱼商品编辑 API返回值 alibaba.idle.isv.item.edit

服务商ISV闲鱼商品编辑操作

type AlibabaidleisvitemeditAPIResponseModel added in v1.3.1

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

AlibabaidleisvitemeditAPIResponseModel is 服务商闲鱼商品编辑 成功返回结果

type AlibabaidleisvitemeditTopResult added in v1.3.1

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

AlibabaidleisvitemeditTopResult 结构体

type AlibabaidleisvitempublishAPIRequest added in v1.3.1

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

AlibabaidleisvitempublishAPIRequest 服务商闲鱼商品发布 API请求 alibaba.idle.isv.item.publish

服务商ISV闲鱼商品发布

func NewAlibabaidleisvitempublishRequest added in v1.3.1

func NewAlibabaidleisvitempublishRequest() *AlibabaidleisvitempublishAPIRequest

NewAlibabaidleisvitempublishRequest 初始化AlibabaidleisvitempublishAPIRequest对象

func (AlibabaidleisvitempublishAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleisvitempublishAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleisvitempublishAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleisvitempublishAPIRequest) GetItemParam added in v1.3.1

GetItemParam ItemParam Getter

func (AlibabaidleisvitempublishAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabaidleisvitempublishAPIRequest) SetItemParam added in v1.3.1

func (r *AlibabaidleisvitempublishAPIRequest) SetItemParam(_itemParam *IdleItemApiDo) error

SetItemParam is ItemParam Setter 商品数据参数

type AlibabaidleisvitempublishAPIResponse added in v1.3.1

type AlibabaidleisvitempublishAPIResponse struct {
	model.CommonResponse
	AlibabaidleisvitempublishAPIResponseModel
}

AlibabaidleisvitempublishAPIResponse 服务商闲鱼商品发布 API返回值 alibaba.idle.isv.item.publish

服务商ISV闲鱼商品发布

type AlibabaidleisvitempublishAPIResponseModel added in v1.3.1

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

AlibabaidleisvitempublishAPIResponseModel is 服务商闲鱼商品发布 成功返回结果

type AlibabaidleisvitemqueryAPIRequest added in v1.3.1

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

AlibabaidleisvitemqueryAPIRequest 服务商闲鱼商品查询 API请求 alibaba.idle.isv.item.query

服务商ISV闲鱼商品查询

func NewAlibabaidleisvitemqueryRequest added in v1.3.1

func NewAlibabaidleisvitemqueryRequest() *AlibabaidleisvitemqueryAPIRequest

NewAlibabaidleisvitemqueryRequest 初始化AlibabaidleisvitemqueryAPIRequest对象

func (AlibabaidleisvitemqueryAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleisvitemqueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleisvitemqueryAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleisvitemqueryAPIRequest) GetParam added in v1.3.1

GetParam Param Getter

func (AlibabaidleisvitemqueryAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabaidleisvitemqueryAPIRequest) SetParam added in v1.3.1

SetParam is Param Setter 商品查询参数

type AlibabaidleisvitemqueryAPIResponse added in v1.3.1

type AlibabaidleisvitemqueryAPIResponse struct {
	model.CommonResponse
	AlibabaidleisvitemqueryAPIResponseModel
}

AlibabaidleisvitemqueryAPIResponse 服务商闲鱼商品查询 API返回值 alibaba.idle.isv.item.query

服务商ISV闲鱼商品查询

type AlibabaidleisvitemqueryAPIResponseModel added in v1.3.1

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

AlibabaidleisvitemqueryAPIResponseModel is 服务商闲鱼商品查询 成功返回结果

type AlibabaidleisvitemqueryTopResult added in v1.3.1

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

AlibabaidleisvitemqueryTopResult 结构体

type AlibabaidleisvmediauploadAPIRequest added in v1.3.1

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

AlibabaidleisvmediauploadAPIRequest 闲鱼服务商-图片上传 API请求 alibaba.idle.isv.media.upload

供外部服务商ISV进行闲鱼商品发布时上传商品所需图片

func NewAlibabaidleisvmediauploadRequest added in v1.3.1

func NewAlibabaidleisvmediauploadRequest() *AlibabaidleisvmediauploadAPIRequest

NewAlibabaidleisvmediauploadRequest 初始化AlibabaidleisvmediauploadAPIRequest对象

func (AlibabaidleisvmediauploadAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleisvmediauploadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleisvmediauploadAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleisvmediauploadAPIRequest) GetData added in v1.3.1

GetData Data Getter

func (AlibabaidleisvmediauploadAPIRequest) GetName added in v1.3.1

GetName Name Getter

func (AlibabaidleisvmediauploadAPIRequest) GetRawParams added in v1.3.1

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

func (AlibabaidleisvmediauploadAPIRequest) GetType added in v1.3.1

GetType Type Getter

func (*AlibabaidleisvmediauploadAPIRequest) SetData added in v1.3.1

SetData is Data Setter 多媒体字节数组

func (*AlibabaidleisvmediauploadAPIRequest) SetName added in v1.3.1

SetName is Name Setter 文件名

func (*AlibabaidleisvmediauploadAPIRequest) SetType added in v1.3.1

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

type AlibabaidleisvmediauploadAPIResponse added in v1.3.1

type AlibabaidleisvmediauploadAPIResponse struct {
	model.CommonResponse
	AlibabaidleisvmediauploadAPIResponseModel
}

AlibabaidleisvmediauploadAPIResponse 闲鱼服务商-图片上传 API返回值 alibaba.idle.isv.media.upload

供外部服务商ISV进行闲鱼商品发布时上传商品所需图片

type AlibabaidleisvmediauploadAPIResponseModel added in v1.3.1

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

AlibabaidleisvmediauploadAPIResponseModel is 闲鱼服务商-图片上传 成功返回结果

type AlibabaidleisvmediauploadTopResult added in v1.3.1

type AlibabaidleisvmediauploadTopResult struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 媒体文件id
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaidleisvmediauploadTopResult 结构体

type AlibabaidleisvorderadjustpriceAPIRequest added in v1.3.1

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

AlibabaidleisvorderadjustpriceAPIRequest 闲鱼服务商订单价格修改接口 API请求 alibaba.idle.isv.order.adjustprice

闲鱼用户通过授权的服务商修改订单价格和邮费

func NewAlibabaidleisvorderadjustpriceRequest added in v1.3.1

func NewAlibabaidleisvorderadjustpriceRequest() *AlibabaidleisvorderadjustpriceAPIRequest

NewAlibabaidleisvorderadjustpriceRequest 初始化AlibabaidleisvorderadjustpriceAPIRequest对象

func (AlibabaidleisvorderadjustpriceAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleisvorderadjustpriceAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleisvorderadjustpriceAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleisvorderadjustpriceAPIRequest) GetParamAdjustOrderPrice added in v1.3.1

GetParamAdjustOrderPrice ParamAdjustOrderPrice Getter

func (AlibabaidleisvorderadjustpriceAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabaidleisvorderadjustpriceAPIRequest) SetParamAdjustOrderPrice added in v1.3.1

func (r *AlibabaidleisvorderadjustpriceAPIRequest) SetParamAdjustOrderPrice(_paramAdjustOrderPrice *IsvAdjustOrderPriceDto) error

SetParamAdjustOrderPrice is ParamAdjustOrderPrice Setter 输入参数

type AlibabaidleisvorderadjustpriceAPIResponse added in v1.3.1

type AlibabaidleisvorderadjustpriceAPIResponse struct {
	model.CommonResponse
	AlibabaidleisvorderadjustpriceAPIResponseModel
}

AlibabaidleisvorderadjustpriceAPIResponse 闲鱼服务商订单价格修改接口 API返回值 alibaba.idle.isv.order.adjustprice

闲鱼用户通过授权的服务商修改订单价格和邮费

type AlibabaidleisvorderadjustpriceAPIResponseModel added in v1.3.1

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

AlibabaidleisvorderadjustpriceAPIResponseModel is 闲鱼服务商订单价格修改接口 成功返回结果

type AlibabaidleisvorderadjustpriceResult added in v1.3.1

type AlibabaidleisvorderadjustpriceResult struct {
	// 修改成功返回标示
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaidleisvorderadjustpriceResult 结构体

type AlibabaidleisvordercloseAPIRequest added in v1.3.1

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

AlibabaidleisvordercloseAPIRequest 服务商闲鱼卖家主动关闭订单 API请求 alibaba.idle.isv.order.close

供外部服务商 isv 提供卖家主动关闭交易订单的功能

func NewAlibabaidleisvordercloseRequest added in v1.3.1

func NewAlibabaidleisvordercloseRequest() *AlibabaidleisvordercloseAPIRequest

NewAlibabaidleisvordercloseRequest 初始化AlibabaidleisvordercloseAPIRequest对象

func (AlibabaidleisvordercloseAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleisvordercloseAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleisvordercloseAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleisvordercloseAPIRequest) GetIsvAppraiseIsvOrderCloseDto added in v1.3.1

func (r AlibabaidleisvordercloseAPIRequest) GetIsvAppraiseIsvOrderCloseDto() *AppraiseIsvOrderCloseDto

GetIsvAppraiseIsvOrderCloseDto IsvAppraiseIsvOrderCloseDto Getter

func (AlibabaidleisvordercloseAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabaidleisvordercloseAPIRequest) SetIsvAppraiseIsvOrderCloseDto added in v1.3.1

func (r *AlibabaidleisvordercloseAPIRequest) SetIsvAppraiseIsvOrderCloseDto(_isvAppraiseIsvOrderCloseDto *AppraiseIsvOrderCloseDto) error

SetIsvAppraiseIsvOrderCloseDto is IsvAppraiseIsvOrderCloseDto Setter 输入参数

type AlibabaidleisvordercloseAPIResponse added in v1.3.1

type AlibabaidleisvordercloseAPIResponse struct {
	model.CommonResponse
	AlibabaidleisvordercloseAPIResponseModel
}

AlibabaidleisvordercloseAPIResponse 服务商闲鱼卖家主动关闭订单 API返回值 alibaba.idle.isv.order.close

供外部服务商 isv 提供卖家主动关闭交易订单的功能

type AlibabaidleisvordercloseAPIResponseModel added in v1.3.1

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

AlibabaidleisvordercloseAPIResponseModel is 服务商闲鱼卖家主动关闭订单 成功返回结果

type AlibabaidleisvordercloseResult added in v1.3.1

type AlibabaidleisvordercloseResult struct {
	// 关闭成功返回标识
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaidleisvordercloseResult 结构体

type AlibabaidleisvordershipAPIRequest added in v1.3.1

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

AlibabaidleisvordershipAPIRequest 闲鱼订单服务商物流发货 API请求 alibaba.idle.isv.order.ship

闲鱼开放平台服务商订单发货接口

func NewAlibabaidleisvordershipRequest added in v1.3.1

func NewAlibabaidleisvordershipRequest() *AlibabaidleisvordershipAPIRequest

NewAlibabaidleisvordershipRequest 初始化AlibabaidleisvordershipAPIRequest对象

func (AlibabaidleisvordershipAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleisvordershipAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleisvordershipAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleisvordershipAPIRequest) GetBizOrderId added in v1.3.1

func (r AlibabaidleisvordershipAPIRequest) GetBizOrderId() string

GetBizOrderId BizOrderId Getter

func (AlibabaidleisvordershipAPIRequest) GetLcCode added in v1.3.1

GetLcCode LcCode Getter

func (AlibabaidleisvordershipAPIRequest) GetLogisticsCompany added in v1.3.1

func (r AlibabaidleisvordershipAPIRequest) GetLogisticsCompany() string

GetLogisticsCompany LogisticsCompany Getter

func (AlibabaidleisvordershipAPIRequest) GetRawParams added in v1.3.1

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

func (AlibabaidleisvordershipAPIRequest) GetSenderAddress added in v1.3.1

func (r AlibabaidleisvordershipAPIRequest) GetSenderAddress() string

GetSenderAddress SenderAddress Getter

func (AlibabaidleisvordershipAPIRequest) GetSenderDivisionid added in v1.3.1

func (r AlibabaidleisvordershipAPIRequest) GetSenderDivisionid() int64

GetSenderDivisionid SenderDivisionid Getter

func (AlibabaidleisvordershipAPIRequest) GetSenderName added in v1.3.1

func (r AlibabaidleisvordershipAPIRequest) GetSenderName() string

GetSenderName SenderName Getter

func (AlibabaidleisvordershipAPIRequest) GetSenderPhone added in v1.3.1

func (r AlibabaidleisvordershipAPIRequest) GetSenderPhone() string

GetSenderPhone SenderPhone Getter

func (AlibabaidleisvordershipAPIRequest) GetShipMailNo added in v1.3.1

func (r AlibabaidleisvordershipAPIRequest) GetShipMailNo() string

GetShipMailNo ShipMailNo Getter

func (*AlibabaidleisvordershipAPIRequest) SetBizOrderId added in v1.3.1

func (r *AlibabaidleisvordershipAPIRequest) SetBizOrderId(_bizOrderId string) error

SetBizOrderId is BizOrderId Setter 订单号

func (*AlibabaidleisvordershipAPIRequest) SetLcCode added in v1.3.1

func (r *AlibabaidleisvordershipAPIRequest) SetLcCode(_lcCode string) error

SetLcCode is LcCode Setter 快递公司编码,从alibaba.idle.logistics.companies.query查询

func (*AlibabaidleisvordershipAPIRequest) SetLogisticsCompany added in v1.3.1

func (r *AlibabaidleisvordershipAPIRequest) SetLogisticsCompany(_logisticsCompany string) error

SetLogisticsCompany is LogisticsCompany Setter 物流公司(底层最新发货已不使用)

func (*AlibabaidleisvordershipAPIRequest) SetSenderAddress added in v1.3.1

func (r *AlibabaidleisvordershipAPIRequest) SetSenderAddress(_senderAddress string) error

SetSenderAddress is SenderAddress Setter 发货人地址,用于菜鸟同步物流信息[重要]

func (*AlibabaidleisvordershipAPIRequest) SetSenderDivisionid added in v1.3.1

func (r *AlibabaidleisvordershipAPIRequest) SetSenderDivisionid(_senderDivisionid int64) error

SetSenderDivisionid is SenderDivisionid Setter 行政区划Id,最小行政单位code,若是地区级别,则为地区级别的id;否则为城市级别的id(long型,6位)

func (*AlibabaidleisvordershipAPIRequest) SetSenderName added in v1.3.1

func (r *AlibabaidleisvordershipAPIRequest) SetSenderName(_senderName string) error

SetSenderName is SenderName Setter 发货人姓名,用于菜鸟同步物流信息[重要]

func (*AlibabaidleisvordershipAPIRequest) SetSenderPhone added in v1.3.1

func (r *AlibabaidleisvordershipAPIRequest) SetSenderPhone(_senderPhone string) error

SetSenderPhone is SenderPhone Setter 发货人手机号码,用于菜鸟同步物流信息[重要]

func (*AlibabaidleisvordershipAPIRequest) SetShipMailNo added in v1.3.1

func (r *AlibabaidleisvordershipAPIRequest) SetShipMailNo(_shipMailNo string) error

SetShipMailNo is ShipMailNo Setter 运单号

type AlibabaidleisvordershipAPIResponse added in v1.3.1

type AlibabaidleisvordershipAPIResponse struct {
	model.CommonResponse
	AlibabaidleisvordershipAPIResponseModel
}

AlibabaidleisvordershipAPIResponse 闲鱼订单服务商物流发货 API返回值 alibaba.idle.isv.order.ship

闲鱼开放平台服务商订单发货接口

type AlibabaidleisvordershipAPIResponseModel added in v1.3.1

type AlibabaidleisvordershipAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_isv_order_ship_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	ResultErrCode string `json:"result_err_code,omitempty" xml:"result_err_code,omitempty"`
	// 错误信息
	ResultErrMsg string `json:"result_err_msg,omitempty" xml:"result_err_msg,omitempty"`
	// 请求结果,是否成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
	// 业务逻辑结果,暂时不用
	ResultModule bool `json:"result_module,omitempty" xml:"result_module,omitempty"`
}

AlibabaidleisvordershipAPIResponseModel is 闲鱼订单服务商物流发货 成功返回结果

type AlibabaidleisvpvlistAPIRequest added in v1.3.1

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

AlibabaidleisvpvlistAPIRequest 闲鱼已验货pv查询 API请求 alibaba.idle.isv.pv.list

根据闲鱼渠道类目查询对应的品牌和型号清单,供服务商进行选择

func NewAlibabaidleisvpvlistRequest added in v1.3.1

func NewAlibabaidleisvpvlistRequest() *AlibabaidleisvpvlistAPIRequest

NewAlibabaidleisvpvlistRequest 初始化AlibabaidleisvpvlistAPIRequest对象

func (AlibabaidleisvpvlistAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleisvpvlistAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleisvpvlistAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleisvpvlistAPIRequest) GetBrandModelInfo added in v1.3.1

func (r AlibabaidleisvpvlistAPIRequest) GetBrandModelInfo() []IdleNewPubValueDo

GetBrandModelInfo BrandModelInfo Getter

func (AlibabaidleisvpvlistAPIRequest) GetChannelCatId added in v1.3.1

func (r AlibabaidleisvpvlistAPIRequest) GetChannelCatId() string

GetChannelCatId ChannelCatId Getter

func (AlibabaidleisvpvlistAPIRequest) GetRawParams added in v1.3.1

func (r AlibabaidleisvpvlistAPIRequest) GetRawParams() model.Params

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

func (*AlibabaidleisvpvlistAPIRequest) SetBrandModelInfo added in v1.3.1

func (r *AlibabaidleisvpvlistAPIRequest) SetBrandModelInfo(_brandModelInfo []IdleNewPubValueDo) error

SetBrandModelInfo is BrandModelInfo Setter 系统自动生成

func (*AlibabaidleisvpvlistAPIRequest) SetChannelCatId added in v1.3.1

func (r *AlibabaidleisvpvlistAPIRequest) SetChannelCatId(_channelCatId string) error

SetChannelCatId is ChannelCatId Setter 闲鱼渠道类目的id

type AlibabaidleisvpvlistAPIResponse added in v1.3.1

type AlibabaidleisvpvlistAPIResponse struct {
	model.CommonResponse
	AlibabaidleisvpvlistAPIResponseModel
}

AlibabaidleisvpvlistAPIResponse 闲鱼已验货pv查询 API返回值 alibaba.idle.isv.pv.list

根据闲鱼渠道类目查询对应的品牌和型号清单,供服务商进行选择

type AlibabaidleisvpvlistAPIResponseModel added in v1.3.1

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

AlibabaidleisvpvlistAPIResponseModel is 闲鱼已验货pv查询 成功返回结果

type AlibabaidleisvpvlistResult added in v1.3.1

type AlibabaidleisvpvlistResult struct {
	// 品牌/型号两级属性
	PropertyList []IdleNewPubPropertyValueDo `json:"property_list,omitempty" xml:"property_list>idle_new_pub_property_value_do,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaidleisvpvlistResult 结构体

type AlibabaidleisvpvqueryAPIRequest added in v1.3.1

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

AlibabaidleisvpvqueryAPIRequest 查询pv属性 API请求 alibaba.idle.isv.pv.query

查询pv属性

func NewAlibabaidleisvpvqueryRequest added in v1.3.1

func NewAlibabaidleisvpvqueryRequest() *AlibabaidleisvpvqueryAPIRequest

NewAlibabaidleisvpvqueryRequest 初始化AlibabaidleisvpvqueryAPIRequest对象

func (AlibabaidleisvpvqueryAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleisvpvqueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleisvpvqueryAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleisvpvqueryAPIRequest) GetRawParams added in v1.3.1

func (r AlibabaidleisvpvqueryAPIRequest) GetRawParams() model.Params

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

func (AlibabaidleisvpvqueryAPIRequest) GetYoupinCpvQry added in v1.3.1

func (r AlibabaidleisvpvqueryAPIRequest) GetYoupinCpvQry() *YoupinCpvQry

GetYoupinCpvQry YoupinCpvQry Getter

func (*AlibabaidleisvpvqueryAPIRequest) SetYoupinCpvQry added in v1.3.1

func (r *AlibabaidleisvpvqueryAPIRequest) SetYoupinCpvQry(_youpinCpvQry *YoupinCpvQry) error

SetYoupinCpvQry is YoupinCpvQry Setter 入参对象

type AlibabaidleisvpvqueryAPIResponse added in v1.3.1

type AlibabaidleisvpvqueryAPIResponse struct {
	model.CommonResponse
	AlibabaidleisvpvqueryAPIResponseModel
}

AlibabaidleisvpvqueryAPIResponse 查询pv属性 API返回值 alibaba.idle.isv.pv.query

查询pv属性

type AlibabaidleisvpvqueryAPIResponseModel added in v1.3.1

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

AlibabaidleisvpvqueryAPIResponseModel is 查询pv属性 成功返回结果

type AlibabaidleisvrefundqueryAPIRequest added in v1.3.1

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

AlibabaidleisvrefundqueryAPIRequest 闲鱼已验货交易订单退款信息查询 API请求 alibaba.idle.isv.refund.query

闲鱼服务商交易订单退款信息查询-单个退款查询

func NewAlibabaidleisvrefundqueryRequest added in v1.3.1

func NewAlibabaidleisvrefundqueryRequest() *AlibabaidleisvrefundqueryAPIRequest

NewAlibabaidleisvrefundqueryRequest 初始化AlibabaidleisvrefundqueryAPIRequest对象

func (AlibabaidleisvrefundqueryAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleisvrefundqueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleisvrefundqueryAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleisvrefundqueryAPIRequest) GetParamAppraiseIsvOrderQuery added in v1.3.1

func (r AlibabaidleisvrefundqueryAPIRequest) GetParamAppraiseIsvOrderQuery() *AppraiseIsvOrderQuery

GetParamAppraiseIsvOrderQuery ParamAppraiseIsvOrderQuery Getter

func (AlibabaidleisvrefundqueryAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabaidleisvrefundqueryAPIRequest) SetParamAppraiseIsvOrderQuery added in v1.3.1

func (r *AlibabaidleisvrefundqueryAPIRequest) SetParamAppraiseIsvOrderQuery(_paramAppraiseIsvOrderQuery *AppraiseIsvOrderQuery) error

SetParamAppraiseIsvOrderQuery is ParamAppraiseIsvOrderQuery Setter 系统自动生成

type AlibabaidleisvrefundqueryAPIResponse added in v1.3.1

type AlibabaidleisvrefundqueryAPIResponse struct {
	model.CommonResponse
	AlibabaidleisvrefundqueryAPIResponseModel
}

AlibabaidleisvrefundqueryAPIResponse 闲鱼已验货交易订单退款信息查询 API返回值 alibaba.idle.isv.refund.query

闲鱼服务商交易订单退款信息查询-单个退款查询

type AlibabaidleisvrefundqueryAPIResponseModel added in v1.3.1

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

AlibabaidleisvrefundqueryAPIResponseModel is 闲鱼已验货交易订单退款信息查询 成功返回结果

type AlibabaidleisvrefundqueryResult added in v1.3.1

type AlibabaidleisvrefundqueryResult struct {
	// 退款信息
	Module *AppraiseIsvRefundDto `json:"module,omitempty" xml:"module,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaidleisvrefundqueryResult 结构体

type AlibabaidleisvspusearchAPIRequest added in v1.3.1

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

AlibabaidleisvspusearchAPIRequest spu搜索接口 API请求 alibaba.idle.isv.spu.search

搜索的品牌和型号,供服务商进行选择

func NewAlibabaidleisvspusearchRequest added in v1.3.1

func NewAlibabaidleisvspusearchRequest() *AlibabaidleisvspusearchAPIRequest

NewAlibabaidleisvspusearchRequest 初始化AlibabaidleisvspusearchAPIRequest对象

func (AlibabaidleisvspusearchAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleisvspusearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleisvspusearchAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleisvspusearchAPIRequest) GetChannelCatId added in v1.3.1

func (r AlibabaidleisvspusearchAPIRequest) GetChannelCatId() string

GetChannelCatId ChannelCatId Getter

func (AlibabaidleisvspusearchAPIRequest) GetRawParams added in v1.3.1

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

func (AlibabaidleisvspusearchAPIRequest) GetSearchText added in v1.3.1

func (r AlibabaidleisvspusearchAPIRequest) GetSearchText() string

GetSearchText SearchText Getter

func (*AlibabaidleisvspusearchAPIRequest) SetChannelCatId added in v1.3.1

func (r *AlibabaidleisvspusearchAPIRequest) SetChannelCatId(_channelCatId string) error

SetChannelCatId is ChannelCatId Setter 闲鱼渠道类目的id

func (*AlibabaidleisvspusearchAPIRequest) SetSearchText added in v1.3.1

func (r *AlibabaidleisvspusearchAPIRequest) SetSearchText(_searchText string) error

SetSearchText is SearchText Setter 搜索的文本

type AlibabaidleisvspusearchAPIResponse added in v1.3.1

type AlibabaidleisvspusearchAPIResponse struct {
	model.CommonResponse
	AlibabaidleisvspusearchAPIResponseModel
}

AlibabaidleisvspusearchAPIResponse spu搜索接口 API返回值 alibaba.idle.isv.spu.search

搜索的品牌和型号,供服务商进行选择

type AlibabaidleisvspusearchAPIResponseModel added in v1.3.1

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

AlibabaidleisvspusearchAPIResponseModel is spu搜索接口 成功返回结果

type AlibabaidleisvspusearchResult added in v1.3.1

type AlibabaidleisvspusearchResult struct {
	// 候选的品牌型号列表
	SpuList []SpuPvdo `json:"spu_list,omitempty" xml:"spu_list>spu_pvdo,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaidleisvspusearchResult 结构体

type AlibabaidleisvuserauthorizeAPIRequest added in v1.3.1

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

AlibabaidleisvuserauthorizeAPIRequest 用户授权接口 API请求 alibaba.idle.isv.user.authorize

用户授权接口 接口调用相关参考文档 https://www.yuque.com/docs/share/9cd991b7-e3a3-40b6-948c-1835422d0164?# 《闲鱼优品2.0API接入说明》

func NewAlibabaidleisvuserauthorizeRequest added in v1.3.1

func NewAlibabaidleisvuserauthorizeRequest() *AlibabaidleisvuserauthorizeAPIRequest

NewAlibabaidleisvuserauthorizeRequest 初始化AlibabaidleisvuserauthorizeAPIRequest对象

func (AlibabaidleisvuserauthorizeAPIRequest) GetAddUserAuthorizationCmd added in v1.3.1

func (r AlibabaidleisvuserauthorizeAPIRequest) GetAddUserAuthorizationCmd() *AddUserAuthorizationCmd

GetAddUserAuthorizationCmd AddUserAuthorizationCmd Getter

func (AlibabaidleisvuserauthorizeAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleisvuserauthorizeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleisvuserauthorizeAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleisvuserauthorizeAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabaidleisvuserauthorizeAPIRequest) SetAddUserAuthorizationCmd added in v1.3.1

func (r *AlibabaidleisvuserauthorizeAPIRequest) SetAddUserAuthorizationCmd(_addUserAuthorizationCmd *AddUserAuthorizationCmd) error

SetAddUserAuthorizationCmd is AddUserAuthorizationCmd Setter 添加用户授权信息

type AlibabaidleisvuserauthorizeAPIResponse added in v1.3.1

type AlibabaidleisvuserauthorizeAPIResponse struct {
	model.CommonResponse
	AlibabaidleisvuserauthorizeAPIResponseModel
}

AlibabaidleisvuserauthorizeAPIResponse 用户授权接口 API返回值 alibaba.idle.isv.user.authorize

用户授权接口 接口调用相关参考文档 https://www.yuque.com/docs/share/9cd991b7-e3a3-40b6-948c-1835422d0164?# 《闲鱼优品2.0API接入说明》

type AlibabaidleisvuserauthorizeAPIResponseModel added in v1.3.1

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

AlibabaidleisvuserauthorizeAPIResponseModel is 用户授权接口 成功返回结果

type AlibabaidleisvuserinfoAPIRequest added in v1.3.1

type AlibabaidleisvuserinfoAPIRequest struct {
	model.Params
}

AlibabaidleisvuserinfoAPIRequest 闲鱼用户信息查询接口 API请求 alibaba.idle.isv.user.info

闲鱼用户信息查询接口

func NewAlibabaidleisvuserinfoRequest added in v1.3.1

func NewAlibabaidleisvuserinfoRequest() *AlibabaidleisvuserinfoAPIRequest

NewAlibabaidleisvuserinfoRequest 初始化AlibabaidleisvuserinfoAPIRequest对象

func (AlibabaidleisvuserinfoAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleisvuserinfoAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleisvuserinfoAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleisvuserinfoAPIRequest) GetRawParams added in v1.3.1

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

type AlibabaidleisvuserinfoAPIResponse added in v1.3.1

type AlibabaidleisvuserinfoAPIResponse struct {
	model.CommonResponse
	AlibabaidleisvuserinfoAPIResponseModel
}

AlibabaidleisvuserinfoAPIResponse 闲鱼用户信息查询接口 API返回值 alibaba.idle.isv.user.info

闲鱼用户信息查询接口

type AlibabaidleisvuserinfoAPIResponseModel added in v1.3.1

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

AlibabaidleisvuserinfoAPIResponseModel is 闲鱼用户信息查询接口 成功返回结果

type AlibabaidleisvuserqueryAPIRequest added in v1.3.1

type AlibabaidleisvuserqueryAPIRequest struct {
	model.Params
}

AlibabaidleisvuserqueryAPIRequest 服务商ISV闲鱼用户信息查询 API请求 alibaba.idle.isv.user.query

服务商ISV闲鱼用户信息查询

func NewAlibabaidleisvuserqueryRequest added in v1.3.1

func NewAlibabaidleisvuserqueryRequest() *AlibabaidleisvuserqueryAPIRequest

NewAlibabaidleisvuserqueryRequest 初始化AlibabaidleisvuserqueryAPIRequest对象

func (AlibabaidleisvuserqueryAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleisvuserqueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleisvuserqueryAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleisvuserqueryAPIRequest) GetRawParams added in v1.3.1

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

type AlibabaidleisvuserqueryAPIResponse added in v1.3.1

type AlibabaidleisvuserqueryAPIResponse struct {
	model.CommonResponse
	AlibabaidleisvuserqueryAPIResponseModel
}

AlibabaidleisvuserqueryAPIResponse 服务商ISV闲鱼用户信息查询 API返回值 alibaba.idle.isv.user.query

服务商ISV闲鱼用户信息查询

type AlibabaidleisvuserqueryAPIResponseModel added in v1.3.1

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

AlibabaidleisvuserqueryAPIResponseModel is 服务商ISV闲鱼用户信息查询 成功返回结果

type AlibabaidleisvuserqueryTopResult added in v1.3.1

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

AlibabaidleisvuserqueryTopResult 结构体

type AlibabaidleitemuserpublishitemsAPIRequest added in v1.3.1

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

AlibabaidleitemuserpublishitemsAPIRequest 发布的商品列表 API请求 alibaba.idle.item.user.publishitems

为服务商的卖家提供发布的闲鱼商品列表

func NewAlibabaidleitemuserpublishitemsRequest added in v1.3.1

func NewAlibabaidleitemuserpublishitemsRequest() *AlibabaidleitemuserpublishitemsAPIRequest

NewAlibabaidleitemuserpublishitemsRequest 初始化AlibabaidleitemuserpublishitemsAPIRequest对象

func (AlibabaidleitemuserpublishitemsAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleitemuserpublishitemsAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleitemuserpublishitemsAPIRequest) GetParamItemPageQuery added in v1.3.1

func (r AlibabaidleitemuserpublishitemsAPIRequest) GetParamItemPageQuery() *ItemPageQuery

GetParamItemPageQuery ParamItemPageQuery Getter

func (AlibabaidleitemuserpublishitemsAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabaidleitemuserpublishitemsAPIRequest) SetParamItemPageQuery added in v1.3.1

func (r *AlibabaidleitemuserpublishitemsAPIRequest) SetParamItemPageQuery(_paramItemPageQuery *ItemPageQuery) error

SetParamItemPageQuery is ParamItemPageQuery Setter 查询参数

type AlibabaidleitemuserpublishitemsAPIResponse added in v1.3.1

type AlibabaidleitemuserpublishitemsAPIResponse struct {
	model.CommonResponse
	AlibabaidleitemuserpublishitemsAPIResponseModel
}

AlibabaidleitemuserpublishitemsAPIResponse 发布的商品列表 API返回值 alibaba.idle.item.user.publishitems

为服务商的卖家提供发布的闲鱼商品列表

type AlibabaidleitemuserpublishitemsAPIResponseModel added in v1.3.1

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

AlibabaidleitemuserpublishitemsAPIResponseModel is 发布的商品列表 成功返回结果

type AlibabaidlelogisticscompaniesqueryAPIRequest added in v1.3.1

type AlibabaidlelogisticscompaniesqueryAPIRequest struct {
	model.Params
}

AlibabaidlelogisticscompaniesqueryAPIRequest 快递公司列表查询 API请求 alibaba.idle.logistics.companies.query

支持发货的快递公司列表查询

func NewAlibabaidlelogisticscompaniesqueryRequest added in v1.3.1

func NewAlibabaidlelogisticscompaniesqueryRequest() *AlibabaidlelogisticscompaniesqueryAPIRequest

NewAlibabaidlelogisticscompaniesqueryRequest 初始化AlibabaidlelogisticscompaniesqueryAPIRequest对象

func (AlibabaidlelogisticscompaniesqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidlelogisticscompaniesqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidlelogisticscompaniesqueryAPIRequest) GetRawParams added in v1.3.1

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

type AlibabaidlelogisticscompaniesqueryAPIResponse added in v1.3.1

type AlibabaidlelogisticscompaniesqueryAPIResponse struct {
	model.CommonResponse
	AlibabaidlelogisticscompaniesqueryAPIResponseModel
}

AlibabaidlelogisticscompaniesqueryAPIResponse 快递公司列表查询 API返回值 alibaba.idle.logistics.companies.query

支持发货的快递公司列表查询

type AlibabaidlelogisticscompaniesqueryAPIResponseModel added in v1.3.1

type AlibabaidlelogisticscompaniesqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_logistics_companies_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	ResultErrCode string `json:"result_err_code,omitempty" xml:"result_err_code,omitempty"`
	// 错误信息
	ResultErrMsg string `json:"result_err_msg,omitempty" xml:"result_err_msg,omitempty"`
	// 快递公司列表返回参数
	LogisticsRespResult *LogisticsRespResult `json:"logistics_resp_result,omitempty" xml:"logistics_resp_result,omitempty"`
	// 调用结果
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

AlibabaidlelogisticscompaniesqueryAPIResponseModel is 快递公司列表查询 成功返回结果

type AlibabaidleuserpermitqueryAPIRequest added in v1.3.1

type AlibabaidleuserpermitqueryAPIRequest struct {
	model.Params
}

AlibabaidleuserpermitqueryAPIRequest 查询服务商与卖家之间的订单消息绑定关系 API请求 alibaba.idle.user.permit.query

查询服务商与卖家之间的订单消息绑定关系

func NewAlibabaidleuserpermitqueryRequest added in v1.3.1

func NewAlibabaidleuserpermitqueryRequest() *AlibabaidleuserpermitqueryAPIRequest

NewAlibabaidleuserpermitqueryRequest 初始化AlibabaidleuserpermitqueryAPIRequest对象

func (AlibabaidleuserpermitqueryAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleuserpermitqueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleuserpermitqueryAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleuserpermitqueryAPIRequest) GetRawParams added in v1.3.1

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

type AlibabaidleuserpermitqueryAPIResponse added in v1.3.1

type AlibabaidleuserpermitqueryAPIResponse struct {
	model.CommonResponse
	AlibabaidleuserpermitqueryAPIResponseModel
}

AlibabaidleuserpermitqueryAPIResponse 查询服务商与卖家之间的订单消息绑定关系 API返回值 alibaba.idle.user.permit.query

查询服务商与卖家之间的订单消息绑定关系

type AlibabaidleuserpermitqueryAPIResponseModel added in v1.3.1

type AlibabaidleuserpermitqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_user_permit_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	ResultErrorCode string `json:"result_error_code,omitempty" xml:"result_error_code,omitempty"`
	// 错误信息
	ResultErrorMsg string `json:"result_error_msg,omitempty" xml:"result_error_msg,omitempty"`
	// 当前绑定状态,true为已经绑定,false为没有绑定
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 处理结果
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

AlibabaidleuserpermitqueryAPIResponseModel is 查询服务商与卖家之间的订单消息绑定关系 成功返回结果

type AlibabaidleuserpermitrevokeAPIRequest added in v1.3.1

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

AlibabaidleuserpermitrevokeAPIRequest 删除服务商与卖家之间的订单消息绑定关系 API请求 alibaba.idle.user.permit.revoke

删除服务商与卖家之间的订单消息绑定关系,删除后不再发送消息

func NewAlibabaidleuserpermitrevokeRequest added in v1.3.1

func NewAlibabaidleuserpermitrevokeRequest() *AlibabaidleuserpermitrevokeAPIRequest

NewAlibabaidleuserpermitrevokeRequest 初始化AlibabaidleuserpermitrevokeAPIRequest对象

func (AlibabaidleuserpermitrevokeAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaidleuserpermitrevokeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaidleuserpermitrevokeAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaidleuserpermitrevokeAPIRequest) GetRawParams added in v1.3.1

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

func (AlibabaidleuserpermitrevokeAPIRequest) GetUserPermitCmd added in v1.3.1

GetUserPermitCmd UserPermitCmd Getter

func (*AlibabaidleuserpermitrevokeAPIRequest) SetUserPermitCmd added in v1.3.1

func (r *AlibabaidleuserpermitrevokeAPIRequest) SetUserPermitCmd(_userPermitCmd *UserPermitCmd) error

SetUserPermitCmd is UserPermitCmd Setter 撤销用户授权请求参数

type AlibabaidleuserpermitrevokeAPIResponse added in v1.3.1

type AlibabaidleuserpermitrevokeAPIResponse struct {
	model.CommonResponse
	AlibabaidleuserpermitrevokeAPIResponseModel
}

AlibabaidleuserpermitrevokeAPIResponse 删除服务商与卖家之间的订单消息绑定关系 API返回值 alibaba.idle.user.permit.revoke

删除服务商与卖家之间的订单消息绑定关系,删除后不再发送消息

type AlibabaidleuserpermitrevokeAPIResponseModel added in v1.3.1

type AlibabaidleuserpermitrevokeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_idle_user_permit_revoke_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	ResultErrorCode string `json:"result_error_code,omitempty" xml:"result_error_code,omitempty"`
	// 错误信息
	ResultErrorMsg string `json:"result_error_msg,omitempty" xml:"result_error_msg,omitempty"`
	// 处理结果
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 处理结果
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

AlibabaidleuserpermitrevokeAPIResponseModel is 删除服务商与卖家之间的订单消息绑定关系 成功返回结果

type AppraiseIsvItemDto

type AppraiseIsvItemDto struct {
	// 商品图片,绝对途径
	PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"`
	// 商品标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 商品Id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品价格,单位分
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
}

AppraiseIsvItemDto 结构体

type AppraiseIsvOrderCloseDto

type AppraiseIsvOrderCloseDto struct {
	// 关闭订单原因
	CloseReason string `json:"close_reason,omitempty" xml:"close_reason,omitempty"`
	// 订单id
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
}

AppraiseIsvOrderCloseDto 结构体

type AppraiseIsvOrderQuery

type AppraiseIsvOrderQuery struct {
	// 交易订单号
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
}

AppraiseIsvOrderQuery 结构体

type AppraiseIsvRefundDto

type AppraiseIsvRefundDto struct {
	// 买家申请退款原因
	BuyerApplyReason string `json:"buyer_apply_reason,omitempty" xml:"buyer_apply_reason,omitempty"`
	// 买家退款说明,买家申请退款二级原因
	BuyerApplySubReason string `json:"buyer_apply_sub_reason,omitempty" xml:"buyer_apply_sub_reason,omitempty"`
	// 买家昵称(不唯一且用户可以自己更改)
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 买家申请退款描述
	BuyerApplyDesc string `json:"buyer_apply_desc,omitempty" xml:"buyer_apply_desc,omitempty"`
	// 退货-快递公司
	RefundPostCompany string `json:"refund_post_company,omitempty" xml:"refund_post_company,omitempty"`
	// 退货-快递单号
	RefundPostNo string `json:"refund_post_no,omitempty" xml:"refund_post_no,omitempty"`
	// 卖家同意退货说明
	SellerAgreeMsg string `json:"seller_agree_msg,omitempty" xml:"seller_agree_msg,omitempty"`
	// 卖家昵称(不唯一且用户可以自己更改)
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 卖家拒绝退款说明
	SellerRefuseMsg string `json:"seller_refuse_msg,omitempty" xml:"seller_refuse_msg,omitempty"`
	// 卖家拒绝退款原因
	SellerRefuseReason string `json:"seller_refuse_reason,omitempty" xml:"seller_refuse_reason,omitempty"`
	// 加密的买家id(唯一且不会改变)
	EncryptionBuyerId string `json:"encryption_buyer_id,omitempty" xml:"encryption_buyer_id,omitempty"`
	// 加密的卖家id(唯一且不会改变)
	EncryptionSellerId string `json:"encryption_seller_id,omitempty" xml:"encryption_seller_id,omitempty"`
	// 订单号
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 商品购买数量
	BuyAmount int64 `json:"buy_amount,omitempty" xml:"buy_amount,omitempty"`
	// 货物状态
	GoodsStatus int64 `json:"goods_status,omitempty" xml:"goods_status,omitempty"`
	// 商品信息
	Item *AppraiseIsvItemDto `json:"item,omitempty" xml:"item,omitempty"`
	// 订单状态
	OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 订单实付金额,单位分
	Payment int64 `json:"payment,omitempty" xml:"payment,omitempty"`
	// 退款申请时间,时间戳,单位分
	RefundCreateTime int64 `json:"refund_create_time,omitempty" xml:"refund_create_time,omitempty"`
	// 退还金额(退还给买家的金额),单位分
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 退款订单号
	RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 退款订单状态
	RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 退款最新修改时间,时间戳,单位分
	RefundModifyTime int64 `json:"refund_modify_time,omitempty" xml:"refund_modify_time,omitempty"`
	// 退款超时信息
	TimeoutData *IsvRefundTimeoutDto `json:"timeout_data,omitempty" xml:"timeout_data,omitempty"`
	// 买家是否需要退货
	NeedReturnGoods bool `json:"need_return_goods,omitempty" xml:"need_return_goods,omitempty"`
}

AppraiseIsvRefundDto 结构体

type CommonResult added in v1.2.5

type CommonResult struct {
	// 属性list
	Data []YoupinCpvResultDto `json:"data,omitempty" xml:"data>youpin_cpv_result_dto,omitempty"`
	// 是否成功
	Success string `json:"success,omitempty" xml:"success,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

CommonResult 结构体

type CompanyList added in v1.2.5

type CompanyList struct {
	// 快递公司代码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 快递公司名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 快递公司id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

CompanyList 结构体

type HotCompanyList added in v1.2.5

type HotCompanyList struct {
	// 快递公司代码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 快递公司名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 快递公司id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

HotCompanyList 结构体

type IdleDepositTopSubVo added in v1.2.8

type IdleDepositTopSubVo struct {
	// 保证金余额是否足够
	BalanceEnough bool `json:"balance_enough,omitempty" xml:"balance_enough,omitempty"`
}

IdleDepositTopSubVo 结构体

type IdleItemApiAfterSalesDo added in v1.2.8

type IdleItemApiAfterSalesDo struct {
	// 是否支持七天无理由
	SupportSdrPolicy bool `json:"support_sdr_policy,omitempty" xml:"support_sdr_policy,omitempty"`
	// 是否支持描述不符包邮退
	SupportNfrPolicy bool `json:"support_nfr_policy,omitempty" xml:"support_nfr_policy,omitempty"`
	// 是否支持 虚拟-描述不符包退
	SupportVnrPolicy bool `json:"support_vnr_policy,omitempty" xml:"support_vnr_policy,omitempty"`
	// 是否支持 极速发货-24小时
	SupportFd24hsPolicy bool `json:"support_fd24hs_policy,omitempty" xml:"support_fd24hs_policy,omitempty"`
	// 是否支持 极速发货-10分钟
	SupportFd10msPolicy bool `json:"support_fd10ms_policy,omitempty" xml:"support_fd10ms_policy,omitempty"`
}

IdleItemApiAfterSalesDo 结构体

type IdleItemApiAutoRechargeDo added in v1.2.9

type IdleItemApiAutoRechargeDo struct {
	// 直充模板code
	TemplateCode string `json:"template_code,omitempty" xml:"template_code,omitempty"`
	// 模版的额外参数
	TemplateExtraInfo string `json:"template_extra_info,omitempty" xml:"template_extra_info,omitempty"`
	// 直充动作,add:添加,remove:移除
	Action string `json:"action,omitempty" xml:"action,omitempty"`
	// 当前服务商是否拥有直充编辑权限
	Owner bool `json:"owner,omitempty" xml:"owner,omitempty"`
}

IdleItemApiAutoRechargeDo 结构体

type IdleItemApiBidDo added in v1.2.5

type IdleItemApiBidDo struct {
	// 拍卖商品id
	BidItemId int64 `json:"bid_item_id,omitempty" xml:"bid_item_id,omitempty"`
	// 拍卖开始时间,传入豪秒时间戳(底层精度为分钟)
	BidStartTime int64 `json:"bid_start_time,omitempty" xml:"bid_start_time,omitempty"`
	// 拍卖结束时间,传入豪秒时间戳(底层精度为分钟)
	BidEndTime int64 `json:"bid_end_time,omitempty" xml:"bid_end_time,omitempty"`
	// 买家参拍保证金金额,单位:分
	BidBail int64 `json:"bid_bail,omitempty" xml:"bid_bail,omitempty"`
	// 出价幅度金额(起拍价使用reserve_price),单位:分
	BidStep int64 `json:"bid_step,omitempty" xml:"bid_step,omitempty"`
	// 当前出价金额, 最高出价, 单位分
	CurrentBidPrice int64 `json:"current_bid_price,omitempty" xml:"current_bid_price,omitempty"`
	// 总出价次数
	BidCount int64 `json:"bid_count,omitempty" xml:"bid_count,omitempty"`
	// 最后两分钟被出价的延迟次数
	DelayCount int64 `json:"delay_count,omitempty" xml:"delay_count,omitempty"`
}

IdleItemApiBidDo 结构体

type IdleItemApiBookDo

type IdleItemApiBookDo struct {
	// 图书ISBN码
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// 图书ISBN码对应的书名等信息
	BarcodeName string `json:"barcode_name,omitempty" xml:"barcode_name,omitempty"`
}

IdleItemApiBookDo 结构体

type IdleItemApiDo

type IdleItemApiDo struct {
	// 属性的键值对信息,包括品牌、型号、内存大小(手机)等,(不传入则不修改)
	PvList []IdleNewPubValueDo `json:"pv_list,omitempty" xml:"pv_list>idle_new_pub_value_do,omitempty"`
	// sku列表(不传入则不修改)
	ItemSkuList []IdleItemApiSkuDo `json:"item_sku_list,omitempty" xml:"item_sku_list>idle_item_api_sku_do,omitempty"`
	// 商品图片列表,使用图片上传接口返回的文件Id,支持多张(最多9张)
	Images []int64 `json:"images,omitempty" xml:"images>int64,omitempty"`
	// 商品白底图列表(目前暂时只支持一张)
	WhiteBgImgs []int64 `json:"white_bg_imgs,omitempty" xml:"white_bg_imgs>int64,omitempty"`
	// 图片链接
	ImgUrls []string `json:"img_urls,omitempty" xml:"img_urls>string,omitempty"`
	// 商品业务标签,不可修改
	ItemTags []string `json:"item_tags,omitempty" xml:"item_tags>string,omitempty"`
	// 商品白底图
	WhiteBgImgUrls []string `json:"white_bg_img_urls,omitempty" xml:"white_bg_img_urls>string,omitempty"`
	// 商品描述(长度<=5000)
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 商品原价, 单位:元(最大99999999)
	OriginalPrice string `json:"original_price,omitempty" xml:"original_price,omitempty"`
	// 商品售价, 单位:元(最大99999999)
	ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"`
	// 商品标题(长度<=30)
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 邮费, 单位:元(最大99999999)
	TransportFee string `json:"transport_fee,omitempty" xml:"transport_fee,omitempty"`
	// 外部商品编码
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 商品类型: b 一口价;a 拍卖
	AuctionType string `json:"auction_type,omitempty" xml:"auction_type,omitempty"`
	// [已废弃]商品服务标签,用逗号分隔 || 1:100%验货;2:正品鉴别;3:七天包退;4:一年质保;5:48小时发货;7:质量问题包退;8:一物一证
	SpGuarantee string `json:"sp_guarantee,omitempty" xml:"sp_guarantee,omitempty"`
	// 商品类目Id,手机: 50025386(long型,一般8~10位)
	CategoryId string `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 渠道类目id
	ChannelCatId string `json:"channel_cat_id,omitempty" xml:"channel_cat_id,omitempty"`
	// 验货报告url链接(长度<=300)
	InspectReport string `json:"inspect_report,omitempty" xml:"inspect_report,omitempty"`
	// 服务商商品业务分类,手机:1, 潮品:2, 家电:3, 乐器:8, 3C数码:9, 奢品:16, 母婴:17, 美妆:18, 文玩/珠宝:19, 潮玩:20, 家居:21
	SpBizType string `json:"sp_biz_type,omitempty" xml:"sp_biz_type,omitempty"`
	// 业务模式 0 已验货不入仓,1 已验货入仓,2 普通商品
	ItemBizType string `json:"item_biz_type,omitempty" xml:"item_biz_type,omitempty"`
	// 入仓城市,不可修改
	WareHouseCity string `json:"ware_house_city,omitempty" xml:"ware_house_city,omitempty"`
	// 卖家昵称(不唯一且用户可以自己更改)
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 加密的卖家id
	EncryptionSellerId string `json:"encryption_seller_id,omitempty" xml:"encryption_seller_id,omitempty"`
	// 商品Id(根据此数据进行相应商品更新)
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 图书业务数据(不传入则不修改)
	BookData *IdleItemApiBookDo `json:"book_data,omitempty" xml:"book_data,omitempty"`
	// 商品新旧程度, 值为0-100的整数,例如100代表全新,95代表95新;特殊场景会影响优品标
	StuffStatus int64 `json:"stuff_status,omitempty" xml:"stuff_status,omitempty"`
	// 行政区划Id,最小行政单位code,若是地区级别,则为地区级别的id;否则为城市级别的id(6位)
	DivisionId int64 `json:"division_id,omitempty" xml:"division_id,omitempty"`
	// 纬度
	Latitude float64 `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 经度
	Longitude float64 `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 已验货业务数据(不传入则不修改)
	InspectedData *IdleItemApiInspectedDo `json:"inspected_data,omitempty" xml:"inspected_data,omitempty"`
	// 宝贝库存数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 淘宝卖家后台的运费模板id
	TemplateId int64 `json:"template_id,omitempty" xml:"template_id,omitempty"`
	// 拍卖业务数据(不传入则不修改)
	BidData *IdleItemApiBidDo `json:"bid_data,omitempty" xml:"bid_data,omitempty"`
	// 卖家服务信息
	AfterSalesData *IdleItemApiAfterSalesDo `json:"after_sales_data,omitempty" xml:"after_sales_data,omitempty"`
	// 直充相关信息
	IdleItemApiAutoRechargeDo *IdleItemApiAutoRechargeDo `json:"idle_item_api_auto_recharge_do,omitempty" xml:"idle_item_api_auto_recharge_do,omitempty"`
	// 商品状态,可选值为0(表示在线),1(表示售出下架)-2(表示下架),-1(表示删除),99(其他)
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 交易方式, 仅在线交易: 0,仅线下交易: 1,线上OR线下交易: 2(int型,1位)
	TradeType int64 `json:"trade_type,omitempty" xml:"trade_type,omitempty"`
	// 入仓时间,时间戳秒,不可修改
	WareHouseTime int64 `json:"ware_house_time,omitempty" xml:"ware_house_time,omitempty"`
	// 国际分销业务独有数据
	DistributionData *IdleItemDistributionDo `json:"distribution_data,omitempty" xml:"distribution_data,omitempty"`
}

IdleItemApiDo 结构体

type IdleItemApiInspectedDo

type IdleItemApiInspectedDo struct {
	// 验货报告url链接(长度<=300)
	InspectReport string `json:"inspect_report,omitempty" xml:"inspect_report,omitempty"`
	// 已验货入仓城市
	WareHouseCity string `json:"ware_house_city,omitempty" xml:"ware_house_city,omitempty"`
	// 已验货入仓时间,时间戳,单位秒
	WareHouseTime int64 `json:"ware_house_time,omitempty" xml:"ware_house_time,omitempty"`
}

IdleItemApiInspectedDo 结构体

type IdleItemApiPvPairDo

type IdleItemApiPvPairDo struct {
	// 属性名文本(长度<=30)
	PropertyText string `json:"property_text,omitempty" xml:"property_text,omitempty"`
	// 属性值文本(长度<=30)
	ValueText string `json:"value_text,omitempty" xml:"value_text,omitempty"`
}

IdleItemApiPvPairDo 结构体

type IdleItemApiSkuDo

type IdleItemApiSkuDo struct {
	// 销售属性列表(最多2个销售属性,每一个的属性值个数为2~10)
	PropertyList []IdleItemApiPvPairDo `json:"property_list,omitempty" xml:"property_list>idle_item_api_pv_pair_do,omitempty"`
	// 外部商家标识(商品编码对接ERP等)(长度<=30)
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 价格,单位分
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 库存
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

IdleItemApiSkuDo 结构体

type IdleItemBaseApiDo

type IdleItemBaseApiDo struct {
	// 商品Id(根据此数据进行相应商品下架)
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 服务商Id(已废弃,无需传入)
	ProviderId int64 `json:"provider_id,omitempty" xml:"provider_id,omitempty"`
	// 是否需要sku信息(不需要的业务场景,不要设置为true,会增加查询耗时)
	NeedSku bool `json:"need_sku,omitempty" xml:"need_sku,omitempty"`
}

IdleItemBaseApiDo 结构体

type IdleItemDistributionDo added in v1.2.5

type IdleItemDistributionDo struct {
	// 货品供货价,国际分销场景中使用
	ProductPrice string `json:"product_price,omitempty" xml:"product_price,omitempty"`
	// 后端货品id,在国际分销场景下使用
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 对应的货品库存等级,在库良品:1,临期品:139,一级残次:137,二级残次:138,在库残次:101
	InvGrade string `json:"inv_grade,omitempty" xml:"inv_grade,omitempty"`
}

IdleItemDistributionDo 结构体

type IdleNewPubPropertyValueDo

type IdleNewPubPropertyValueDo struct {
	// 属性下所有的值
	ValuesList []IdleNewPubValueDo `json:"values_list,omitempty" xml:"values_list>idle_new_pub_value_do,omitempty"`
	// 属性的名称,显示
	PropertyName string `json:"property_name,omitempty" xml:"property_name,omitempty"`
	// 输入提示文本
	InputWord string `json:"input_word,omitempty" xml:"input_word,omitempty"`
	// 属性的key
	PropertyId string `json:"property_id,omitempty" xml:"property_id,omitempty"`
	// 是否多选
	IsMultiple bool `json:"is_multiple,omitempty" xml:"is_multiple,omitempty"`
}

IdleNewPubPropertyValueDo 结构体

type IdleNewPubValueDo

type IdleNewPubValueDo struct {
	// 属性id
	PropertyId string `json:"property_id,omitempty" xml:"property_id,omitempty"`
	// 属性名称
	PropertyName string `json:"property_name,omitempty" xml:"property_name,omitempty"`
	// 渠道类目id
	ChannelCatId string `json:"channel_cat_id,omitempty" xml:"channel_cat_id,omitempty"`
	// 值id
	ValueId string `json:"value_id,omitempty" xml:"value_id,omitempty"`
	// 值名称
	ValueName string `json:"value_name,omitempty" xml:"value_name,omitempty"`
}

IdleNewPubValueDo 结构体

type IdleResultDo

type IdleResultDo struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 返回数据
	Data *IdleItemApiDo `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

IdleResultDo 结构体

type IdleUserApiDo

type IdleUserApiDo struct {
	// 具备准入权限的业务类型列表
	SupportBizTypes []SupportBizType `json:"support_biz_types,omitempty" xml:"support_biz_types>support_biz_type,omitempty"`
	// 具备准入权限的行业品类列表
	SupportCatTypes []SupportCatType `json:"support_cat_types,omitempty" xml:"support_cat_types>support_cat_type,omitempty"`
	// 卖家的snsNick(已经废弃,不再返回数据)
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
	// 用户身份(GENERAL: 普通用户,PRO_PLAYER: 个人经营者)
	Identity string `json:"identity,omitempty" xml:"identity,omitempty"`
	// 加密的卖家userId
	EncryptionSellerId string `json:"encryption_seller_id,omitempty" xml:"encryption_seller_id,omitempty"`
	// 是否是账号独立升级用户,是否有闲鱼独立账号升级标
	HasUptag bool `json:"has_uptag,omitempty" xml:"has_uptag,omitempty"`
}

IdleUserApiDo 结构体

type IdleUserTopVo added in v1.2.8

type IdleUserTopVo struct {
	// 用户选项信息: IDLE_UP(闲鱼升级用户),SDR(已开通七天无理由服务),NFR(已开通描述不符包邮退服务),VNR(已开通虚拟-描述不符包退),FD_24HS(已开通极速发货-24小时),FD_10MS(已开通极速发货-10分钟)
	Options []string `json:"options,omitempty" xml:"options>string,omitempty"`
	// 加密用户id
	EncryptUserid string `json:"encrypt_userid,omitempty" xml:"encrypt_userid,omitempty"`
	// 服务保障金信息
	ServiceDeposit *IdleDepositTopSubVo `json:"service_deposit,omitempty" xml:"service_deposit,omitempty"`
}

IdleUserTopVo 结构体

type IsvAdjustOrderPriceDto

type IsvAdjustOrderPriceDto struct {
	// 最新价格,单位分;必选,金额>0
	NewPriceFee int64 `json:"new_price_fee,omitempty" xml:"new_price_fee,omitempty"`
	// 最新邮费,单位分;必选,金额>=0
	NewTransportFee int64 `json:"new_transport_fee,omitempty" xml:"new_transport_fee,omitempty"`
	// 订单id
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
}

IsvAdjustOrderPriceDto 结构体

type IsvRefundTimeoutDto

type IsvRefundTimeoutDto struct {
	// 退款超时动作类型
	TimeoutActionType string `json:"timeout_action_type,omitempty" xml:"timeout_action_type,omitempty"`
	// 退款超时创建时间,时间戳,毫秒
	Create int64 `json:"create,omitempty" xml:"create,omitempty"`
	// 退款超时修改时间,时间戳,毫秒
	Modified int64 `json:"modified,omitempty" xml:"modified,omitempty"`
	// 退款超时时长,时间长度(毫秒)
	Duration int64 `json:"duration,omitempty" xml:"duration,omitempty"`
	// 退款超时时间点(自动触发状态变更的超时时间点),时间戳,毫秒
	Timeout int64 `json:"timeout,omitempty" xml:"timeout,omitempty"`
	// 退款超时运行状态 0:超时创建完成, 1:超时运行中, 2:超时暂停, 3:超时关闭, 4:超时失败, 5:超时成功
	TimeoutStatus int64 `json:"timeout_status,omitempty" xml:"timeout_status,omitempty"`
}

IsvRefundTimeoutDto 结构体

type ItemPageQuery added in v1.2.5

type ItemPageQuery struct {
	// 类目集
	CategoryIds []int64 `json:"category_ids,omitempty" xml:"category_ids>int64,omitempty"`
	// 商品状态 0:在线 1售出
	Status []string `json:"status,omitempty" xml:"status>string,omitempty"`
	// 页号
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

ItemPageQuery 结构体

type LogisticsRespResult added in v1.2.5

type LogisticsRespResult struct {
	// 全部公司列表
	CompanyList []CompanyList `json:"company_list,omitempty" xml:"company_list>company_list,omitempty"`
	// 热门公司列表
	HotCompanyList []HotCompanyList `json:"hot_company_list,omitempty" xml:"hot_company_list>hot_company_list,omitempty"`
	// 快递公司总数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
}

LogisticsRespResult 结构体

type SpuPvdo added in v1.3.1

type SpuPvdo struct {
	// 品牌和型号信息
	BrandModelList []IdleNewPubValueDo `json:"brand_model_list,omitempty" xml:"brand_model_list>idle_new_pub_value_do,omitempty"`
	// 品牌型号的显示值
	SpuTitle string `json:"spu_title,omitempty" xml:"spu_title,omitempty"`
}

SpuPvdo 结构体

type SupportBizType added in v1.2.5

type SupportBizType struct {
	// 0 已验货-不入仓,1 已验货-入仓,3 寄卖,4 品牌免检,5  官方自营,7 品牌直营,8 专业认证,9  信誉担保
	ItemBizType int64 `json:"item_biz_type,omitempty" xml:"item_biz_type,omitempty"`
}

SupportBizType 结构体

type SupportCatType added in v1.2.5

type SupportCatType struct {
	// 1 手机,2 潮品,3 家电,8 乐器,9 数码
	SpBizType string `json:"sp_biz_type,omitempty" xml:"sp_biz_type,omitempty"`
}

SupportCatType 结构体

type TopPageResult added in v1.2.5

type TopPageResult struct {
	// 商品列表
	ItemList []IdleItemApiDo `json:"item_list,omitempty" xml:"item_list>idle_item_api_do,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误描述
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 总结果数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 是否有下一页
	NextPage bool `json:"next_page,omitempty" xml:"next_page,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TopPageResult 结构体

type UserPermitCmd added in v1.2.5

type UserPermitCmd struct {
	// 当前用户的所属业务类型编码,优品&开放平台业务 默认使用 IDLE_TOP
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
}

UserPermitCmd 结构体

type YoupinCpvQry added in v1.2.5

type YoupinCpvQry struct {
	// 属性值id
	ValueId string `json:"value_id,omitempty" xml:"value_id,omitempty"`
	// 属性id
	PropertyId string `json:"property_id,omitempty" xml:"property_id,omitempty"`
	// 类目id
	ChannelCatId string `json:"channel_cat_id,omitempty" xml:"channel_cat_id,omitempty"`
}

YoupinCpvQry 结构体

type YoupinCpvResultDto added in v1.2.5

type YoupinCpvResultDto struct {
	// 属性值list
	ValueList []YoupinPropertyValueResultDto `json:"value_list,omitempty" xml:"value_list>youpin_property_value_result_dto,omitempty"`
	// 属性id
	PropertyId string `json:"property_id,omitempty" xml:"property_id,omitempty"`
	// 属性名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 是否包含子属性
	ShowSubProperty bool `json:"show_sub_property,omitempty" xml:"show_sub_property,omitempty"`
}

YoupinCpvResultDto 结构体

type YoupinPropertyValueResultDto added in v1.2.5

type YoupinPropertyValueResultDto struct {
	// 属性值d
	ValueId string `json:"value_id,omitempty" xml:"value_id,omitempty"`
	// 属性值名称
	ValueName string `json:"value_name,omitempty" xml:"value_name,omitempty"`
}

YoupinPropertyValueResultDto 结构体

Source Files

Jump to

Keyboard shortcuts

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