idleisv

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 idleisv 包含闲鱼已验货相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaIdleIsvItemDownshelfAPIRequest

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

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

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

func NewAlibabaIdleIsvItemDownshelfRequest

func NewAlibabaIdleIsvItemDownshelfRequest() *AlibabaIdleIsvItemDownshelfAPIRequest

NewAlibabaIdleIsvItemDownshelfRequest 初始化AlibabaIdleIsvItemDownshelfAPIRequest对象

func (AlibabaIdleIsvItemDownshelfAPIRequest) GetApiMethodName

func (r AlibabaIdleIsvItemDownshelfAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleIsvItemDownshelfAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleIsvItemDownshelfAPIRequest) GetParam

GetParam Param Getter

func (*AlibabaIdleIsvItemDownshelfAPIRequest) SetParam

SetParam is Param Setter 返回结果result

type AlibabaIdleIsvItemDownshelfAPIResponse

type AlibabaIdleIsvItemDownshelfAPIResponse struct {
	model.CommonResponse
	AlibabaIdleIsvItemDownshelfAPIResponseModel
}

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

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

type AlibabaIdleIsvItemDownshelfAPIResponseModel

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

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

AlibabaIdleIsvItemDownshelfTopResult 结构体

type AlibabaIdleIsvItemEditAPIRequest

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

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

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

func NewAlibabaIdleIsvItemEditRequest

func NewAlibabaIdleIsvItemEditRequest() *AlibabaIdleIsvItemEditAPIRequest

NewAlibabaIdleIsvItemEditRequest 初始化AlibabaIdleIsvItemEditAPIRequest对象

func (AlibabaIdleIsvItemEditAPIRequest) GetApiMethodName

func (r AlibabaIdleIsvItemEditAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleIsvItemEditAPIRequest) GetApiParams

func (r AlibabaIdleIsvItemEditAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleIsvItemEditAPIRequest) GetParam

GetParam Param Getter

func (*AlibabaIdleIsvItemEditAPIRequest) SetParam

SetParam is Param Setter 商品数据参数

type AlibabaIdleIsvItemEditAPIResponse

type AlibabaIdleIsvItemEditAPIResponse struct {
	model.CommonResponse
	AlibabaIdleIsvItemEditAPIResponseModel
}

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

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

type AlibabaIdleIsvItemEditAPIResponseModel

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

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

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

服务商ISV闲鱼商品发布

func NewAlibabaIdleIsvItemPublishRequest

func NewAlibabaIdleIsvItemPublishRequest() *AlibabaIdleIsvItemPublishAPIRequest

NewAlibabaIdleIsvItemPublishRequest 初始化AlibabaIdleIsvItemPublishAPIRequest对象

func (AlibabaIdleIsvItemPublishAPIRequest) GetApiMethodName

func (r AlibabaIdleIsvItemPublishAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleIsvItemPublishAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleIsvItemPublishAPIRequest) GetItemParam

GetItemParam ItemParam Getter

func (*AlibabaIdleIsvItemPublishAPIRequest) SetItemParam

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

SetItemParam is ItemParam Setter 商品数据参数

type AlibabaIdleIsvItemPublishAPIResponse

type AlibabaIdleIsvItemPublishAPIResponse struct {
	model.CommonResponse
	AlibabaIdleIsvItemPublishAPIResponseModel
}

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

服务商ISV闲鱼商品发布

type AlibabaIdleIsvItemPublishAPIResponseModel

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

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

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

服务商ISV闲鱼商品查询

func NewAlibabaIdleIsvItemQueryRequest

func NewAlibabaIdleIsvItemQueryRequest() *AlibabaIdleIsvItemQueryAPIRequest

NewAlibabaIdleIsvItemQueryRequest 初始化AlibabaIdleIsvItemQueryAPIRequest对象

func (AlibabaIdleIsvItemQueryAPIRequest) GetApiMethodName

func (r AlibabaIdleIsvItemQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleIsvItemQueryAPIRequest) GetApiParams

func (r AlibabaIdleIsvItemQueryAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleIsvItemQueryAPIRequest) GetParam

GetParam Param Getter

func (*AlibabaIdleIsvItemQueryAPIRequest) SetParam

SetParam is Param Setter 商品查询参数

type AlibabaIdleIsvItemQueryAPIResponse

type AlibabaIdleIsvItemQueryAPIResponse struct {
	model.CommonResponse
	AlibabaIdleIsvItemQueryAPIResponseModel
}

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

服务商ISV闲鱼商品查询

type AlibabaIdleIsvItemQueryAPIResponseModel

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

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

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

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

func NewAlibabaIdleIsvMediaUploadRequest

func NewAlibabaIdleIsvMediaUploadRequest() *AlibabaIdleIsvMediaUploadAPIRequest

NewAlibabaIdleIsvMediaUploadRequest 初始化AlibabaIdleIsvMediaUploadAPIRequest对象

func (AlibabaIdleIsvMediaUploadAPIRequest) GetApiMethodName

func (r AlibabaIdleIsvMediaUploadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleIsvMediaUploadAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleIsvMediaUploadAPIRequest) GetData

GetData Data Getter

func (AlibabaIdleIsvMediaUploadAPIRequest) GetName

GetName Name Getter

func (AlibabaIdleIsvMediaUploadAPIRequest) GetType

GetType Type Getter

func (*AlibabaIdleIsvMediaUploadAPIRequest) SetData

SetData is Data Setter 多媒体字节数组

func (*AlibabaIdleIsvMediaUploadAPIRequest) SetName

SetName is Name Setter 文件名

func (*AlibabaIdleIsvMediaUploadAPIRequest) SetType

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

type AlibabaIdleIsvMediaUploadAPIResponse

type AlibabaIdleIsvMediaUploadAPIResponse struct {
	model.CommonResponse
	AlibabaIdleIsvMediaUploadAPIResponseModel
}

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

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

type AlibabaIdleIsvMediaUploadAPIResponseModel

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

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

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

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

func NewAlibabaIdleIsvOrderAdjustpriceRequest

func NewAlibabaIdleIsvOrderAdjustpriceRequest() *AlibabaIdleIsvOrderAdjustpriceAPIRequest

NewAlibabaIdleIsvOrderAdjustpriceRequest 初始化AlibabaIdleIsvOrderAdjustpriceAPIRequest对象

func (AlibabaIdleIsvOrderAdjustpriceAPIRequest) GetApiMethodName

func (r AlibabaIdleIsvOrderAdjustpriceAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleIsvOrderAdjustpriceAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleIsvOrderAdjustpriceAPIRequest) GetParamAdjustOrderPrice

GetParamAdjustOrderPrice ParamAdjustOrderPrice Getter

func (*AlibabaIdleIsvOrderAdjustpriceAPIRequest) SetParamAdjustOrderPrice

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

SetParamAdjustOrderPrice is ParamAdjustOrderPrice Setter 输入参数

type AlibabaIdleIsvOrderAdjustpriceAPIResponse

type AlibabaIdleIsvOrderAdjustpriceAPIResponse struct {
	model.CommonResponse
	AlibabaIdleIsvOrderAdjustpriceAPIResponseModel
}

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

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

type AlibabaIdleIsvOrderAdjustpriceAPIResponseModel

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

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

AlibabaIdleIsvOrderAdjustpriceResult 结构体

type AlibabaIdleIsvOrderCloseAPIRequest

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

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

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

func NewAlibabaIdleIsvOrderCloseRequest

func NewAlibabaIdleIsvOrderCloseRequest() *AlibabaIdleIsvOrderCloseAPIRequest

NewAlibabaIdleIsvOrderCloseRequest 初始化AlibabaIdleIsvOrderCloseAPIRequest对象

func (AlibabaIdleIsvOrderCloseAPIRequest) GetApiMethodName

func (r AlibabaIdleIsvOrderCloseAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleIsvOrderCloseAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleIsvOrderCloseAPIRequest) GetIsvAppraiseIsvOrderCloseDto

func (r AlibabaIdleIsvOrderCloseAPIRequest) GetIsvAppraiseIsvOrderCloseDto() *AppraiseIsvOrderCloseDto

GetIsvAppraiseIsvOrderCloseDto IsvAppraiseIsvOrderCloseDto Getter

func (*AlibabaIdleIsvOrderCloseAPIRequest) SetIsvAppraiseIsvOrderCloseDto

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

SetIsvAppraiseIsvOrderCloseDto is IsvAppraiseIsvOrderCloseDto Setter 输入参数

type AlibabaIdleIsvOrderCloseAPIResponse

type AlibabaIdleIsvOrderCloseAPIResponse struct {
	model.CommonResponse
	AlibabaIdleIsvOrderCloseAPIResponseModel
}

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

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

type AlibabaIdleIsvOrderCloseAPIResponseModel

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

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

AlibabaIdleIsvOrderCloseResult 结构体

type AlibabaIdleIsvOrderQueryAPIRequest

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

AlibabaIdleIsvOrderQueryAPIRequest 闲鱼已验货订单查询 API请求 alibaba.idle.isv.order.query

服务商ISV,根据订单号,查询闲鱼订单信息

func NewAlibabaIdleIsvOrderQueryRequest

func NewAlibabaIdleIsvOrderQueryRequest() *AlibabaIdleIsvOrderQueryAPIRequest

NewAlibabaIdleIsvOrderQueryRequest 初始化AlibabaIdleIsvOrderQueryAPIRequest对象

func (AlibabaIdleIsvOrderQueryAPIRequest) GetApiMethodName

func (r AlibabaIdleIsvOrderQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleIsvOrderQueryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleIsvOrderQueryAPIRequest) GetParamAppraiseIsvOrderQuery

func (r AlibabaIdleIsvOrderQueryAPIRequest) GetParamAppraiseIsvOrderQuery() *AppraiseIsvOrderQuery

GetParamAppraiseIsvOrderQuery ParamAppraiseIsvOrderQuery Getter

func (*AlibabaIdleIsvOrderQueryAPIRequest) SetParamAppraiseIsvOrderQuery

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

SetParamAppraiseIsvOrderQuery is ParamAppraiseIsvOrderQuery Setter 订单查询接口入参

type AlibabaIdleIsvOrderQueryAPIResponse

type AlibabaIdleIsvOrderQueryAPIResponse struct {
	model.CommonResponse
	AlibabaIdleIsvOrderQueryAPIResponseModel
}

AlibabaIdleIsvOrderQueryAPIResponse 闲鱼已验货订单查询 API返回值 alibaba.idle.isv.order.query

服务商ISV,根据订单号,查询闲鱼订单信息

type AlibabaIdleIsvOrderQueryAPIResponseModel

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

AlibabaIdleIsvOrderQueryAPIResponseModel is 闲鱼已验货订单查询 成功返回结果

type AlibabaIdleIsvOrderQueryResult

type AlibabaIdleIsvOrderQueryResult struct {
	// 订单信息
	Module *AppraiseIsvOrderDto `json:"module,omitempty" xml:"module,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaIdleIsvOrderQueryResult 结构体

type AlibabaIdleIsvOrderShipAPIRequest added in v1.2.5

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

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

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

func NewAlibabaIdleIsvOrderShipRequest added in v1.2.5

func NewAlibabaIdleIsvOrderShipRequest() *AlibabaIdleIsvOrderShipAPIRequest

NewAlibabaIdleIsvOrderShipRequest 初始化AlibabaIdleIsvOrderShipAPIRequest对象

func (AlibabaIdleIsvOrderShipAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaIdleIsvOrderShipAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleIsvOrderShipAPIRequest) GetApiParams added in v1.2.5

func (r AlibabaIdleIsvOrderShipAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleIsvOrderShipAPIRequest) GetBizOrderId added in v1.2.5

func (r AlibabaIdleIsvOrderShipAPIRequest) GetBizOrderId() string

GetBizOrderId BizOrderId Getter

func (AlibabaIdleIsvOrderShipAPIRequest) GetLcCode added in v1.2.5

GetLcCode LcCode Getter

func (AlibabaIdleIsvOrderShipAPIRequest) GetLogisticsCompany added in v1.2.5

func (r AlibabaIdleIsvOrderShipAPIRequest) GetLogisticsCompany() string

GetLogisticsCompany LogisticsCompany Getter

func (AlibabaIdleIsvOrderShipAPIRequest) GetSenderAddress added in v1.2.5

func (r AlibabaIdleIsvOrderShipAPIRequest) GetSenderAddress() string

GetSenderAddress SenderAddress Getter

func (AlibabaIdleIsvOrderShipAPIRequest) GetSenderDivisionid added in v1.2.5

func (r AlibabaIdleIsvOrderShipAPIRequest) GetSenderDivisionid() int64

GetSenderDivisionid SenderDivisionid Getter

func (AlibabaIdleIsvOrderShipAPIRequest) GetSenderName added in v1.2.5

func (r AlibabaIdleIsvOrderShipAPIRequest) GetSenderName() string

GetSenderName SenderName Getter

func (AlibabaIdleIsvOrderShipAPIRequest) GetSenderPhone added in v1.2.5

func (r AlibabaIdleIsvOrderShipAPIRequest) GetSenderPhone() string

GetSenderPhone SenderPhone Getter

func (AlibabaIdleIsvOrderShipAPIRequest) GetShipMailNo added in v1.2.5

func (r AlibabaIdleIsvOrderShipAPIRequest) GetShipMailNo() string

GetShipMailNo ShipMailNo Getter

func (*AlibabaIdleIsvOrderShipAPIRequest) SetBizOrderId added in v1.2.5

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

SetBizOrderId is BizOrderId Setter 订单号

func (*AlibabaIdleIsvOrderShipAPIRequest) SetLcCode added in v1.2.5

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

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

func (*AlibabaIdleIsvOrderShipAPIRequest) SetLogisticsCompany added in v1.2.5

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

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

func (*AlibabaIdleIsvOrderShipAPIRequest) SetSenderAddress added in v1.2.5

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

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

func (*AlibabaIdleIsvOrderShipAPIRequest) SetSenderDivisionid added in v1.2.5

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

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

func (*AlibabaIdleIsvOrderShipAPIRequest) SetSenderName added in v1.2.5

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

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

func (*AlibabaIdleIsvOrderShipAPIRequest) SetSenderPhone added in v1.2.5

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

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

func (*AlibabaIdleIsvOrderShipAPIRequest) SetShipMailNo added in v1.2.5

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

SetShipMailNo is ShipMailNo Setter 运单号

type AlibabaIdleIsvOrderShipAPIResponse added in v1.2.5

type AlibabaIdleIsvOrderShipAPIResponse struct {
	model.CommonResponse
	AlibabaIdleIsvOrderShipAPIResponseModel
}

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

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

type AlibabaIdleIsvOrderShipAPIResponseModel added in v1.2.5

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

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

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

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

func NewAlibabaIdleIsvPvListRequest

func NewAlibabaIdleIsvPvListRequest() *AlibabaIdleIsvPvListAPIRequest

NewAlibabaIdleIsvPvListRequest 初始化AlibabaIdleIsvPvListAPIRequest对象

func (AlibabaIdleIsvPvListAPIRequest) GetApiMethodName

func (r AlibabaIdleIsvPvListAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleIsvPvListAPIRequest) GetApiParams

func (r AlibabaIdleIsvPvListAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleIsvPvListAPIRequest) GetBrandModelInfo

func (r AlibabaIdleIsvPvListAPIRequest) GetBrandModelInfo() []IdleNewPubValueDo

GetBrandModelInfo BrandModelInfo Getter

func (AlibabaIdleIsvPvListAPIRequest) GetChannelCatId

func (r AlibabaIdleIsvPvListAPIRequest) GetChannelCatId() string

GetChannelCatId ChannelCatId Getter

func (*AlibabaIdleIsvPvListAPIRequest) SetBrandModelInfo

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

SetBrandModelInfo is BrandModelInfo Setter 系统自动生成

func (*AlibabaIdleIsvPvListAPIRequest) SetChannelCatId

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

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

type AlibabaIdleIsvPvListAPIResponse

type AlibabaIdleIsvPvListAPIResponse struct {
	model.CommonResponse
	AlibabaIdleIsvPvListAPIResponseModel
}

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

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

type AlibabaIdleIsvPvListAPIResponseModel

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

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

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

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

查询pv属性

func NewAlibabaIdleIsvPvQueryRequest added in v1.2.5

func NewAlibabaIdleIsvPvQueryRequest() *AlibabaIdleIsvPvQueryAPIRequest

NewAlibabaIdleIsvPvQueryRequest 初始化AlibabaIdleIsvPvQueryAPIRequest对象

func (AlibabaIdleIsvPvQueryAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaIdleIsvPvQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleIsvPvQueryAPIRequest) GetApiParams added in v1.2.5

func (r AlibabaIdleIsvPvQueryAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleIsvPvQueryAPIRequest) GetYoupinCpvQry added in v1.2.5

func (r AlibabaIdleIsvPvQueryAPIRequest) GetYoupinCpvQry() *YoupinCpvQry

GetYoupinCpvQry YoupinCpvQry Getter

func (*AlibabaIdleIsvPvQueryAPIRequest) SetYoupinCpvQry added in v1.2.5

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

SetYoupinCpvQry is YoupinCpvQry Setter 入参对象

type AlibabaIdleIsvPvQueryAPIResponse added in v1.2.5

type AlibabaIdleIsvPvQueryAPIResponse struct {
	model.CommonResponse
	AlibabaIdleIsvPvQueryAPIResponseModel
}

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

查询pv属性

type AlibabaIdleIsvPvQueryAPIResponseModel added in v1.2.5

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

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

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

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

func NewAlibabaIdleIsvRefundQueryRequest

func NewAlibabaIdleIsvRefundQueryRequest() *AlibabaIdleIsvRefundQueryAPIRequest

NewAlibabaIdleIsvRefundQueryRequest 初始化AlibabaIdleIsvRefundQueryAPIRequest对象

func (AlibabaIdleIsvRefundQueryAPIRequest) GetApiMethodName

func (r AlibabaIdleIsvRefundQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleIsvRefundQueryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleIsvRefundQueryAPIRequest) GetParamAppraiseIsvOrderQuery

func (r AlibabaIdleIsvRefundQueryAPIRequest) GetParamAppraiseIsvOrderQuery() *AppraiseIsvOrderQuery

GetParamAppraiseIsvOrderQuery ParamAppraiseIsvOrderQuery Getter

func (*AlibabaIdleIsvRefundQueryAPIRequest) SetParamAppraiseIsvOrderQuery

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

SetParamAppraiseIsvOrderQuery is ParamAppraiseIsvOrderQuery Setter 系统自动生成

type AlibabaIdleIsvRefundQueryAPIResponse

type AlibabaIdleIsvRefundQueryAPIResponse struct {
	model.CommonResponse
	AlibabaIdleIsvRefundQueryAPIResponseModel
}

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

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

type AlibabaIdleIsvRefundQueryAPIResponseModel

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

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

AlibabaIdleIsvRefundQueryResult 结构体

type AlibabaIdleIsvSpuSearchAPIRequest

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

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

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

func NewAlibabaIdleIsvSpuSearchRequest

func NewAlibabaIdleIsvSpuSearchRequest() *AlibabaIdleIsvSpuSearchAPIRequest

NewAlibabaIdleIsvSpuSearchRequest 初始化AlibabaIdleIsvSpuSearchAPIRequest对象

func (AlibabaIdleIsvSpuSearchAPIRequest) GetApiMethodName

func (r AlibabaIdleIsvSpuSearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleIsvSpuSearchAPIRequest) GetApiParams

func (r AlibabaIdleIsvSpuSearchAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleIsvSpuSearchAPIRequest) GetChannelCatId

func (r AlibabaIdleIsvSpuSearchAPIRequest) GetChannelCatId() string

GetChannelCatId ChannelCatId Getter

func (AlibabaIdleIsvSpuSearchAPIRequest) GetSearchText

func (r AlibabaIdleIsvSpuSearchAPIRequest) GetSearchText() string

GetSearchText SearchText Getter

func (*AlibabaIdleIsvSpuSearchAPIRequest) SetChannelCatId

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

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

func (*AlibabaIdleIsvSpuSearchAPIRequest) SetSearchText

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

SetSearchText is SearchText Setter 搜索的文本

type AlibabaIdleIsvSpuSearchAPIResponse

type AlibabaIdleIsvSpuSearchAPIResponse struct {
	model.CommonResponse
	AlibabaIdleIsvSpuSearchAPIResponseModel
}

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

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

type AlibabaIdleIsvSpuSearchAPIResponseModel

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

type AlibabaIdleIsvSpuSearchResult struct {
	// 候选的品牌型号列表
	SpuList []SpuPVDo `json:"spu_list,omitempty" xml:"spu_list>spu_pv_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"`
}

AlibabaIdleIsvSpuSearchResult 结构体

type AlibabaIdleIsvUserQueryAPIRequest

type AlibabaIdleIsvUserQueryAPIRequest struct {
	model.Params
}

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

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

func NewAlibabaIdleIsvUserQueryRequest

func NewAlibabaIdleIsvUserQueryRequest() *AlibabaIdleIsvUserQueryAPIRequest

NewAlibabaIdleIsvUserQueryRequest 初始化AlibabaIdleIsvUserQueryAPIRequest对象

func (AlibabaIdleIsvUserQueryAPIRequest) GetApiMethodName

func (r AlibabaIdleIsvUserQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleIsvUserQueryAPIRequest) GetApiParams

func (r AlibabaIdleIsvUserQueryAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

type AlibabaIdleIsvUserQueryAPIResponse

type AlibabaIdleIsvUserQueryAPIResponse struct {
	model.CommonResponse
	AlibabaIdleIsvUserQueryAPIResponseModel
}

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

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

type AlibabaIdleIsvUserQueryAPIResponseModel

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

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

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

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

func NewAlibabaIdleItemUserPublishitemsRequest added in v1.2.5

func NewAlibabaIdleItemUserPublishitemsRequest() *AlibabaIdleItemUserPublishitemsAPIRequest

NewAlibabaIdleItemUserPublishitemsRequest 初始化AlibabaIdleItemUserPublishitemsAPIRequest对象

func (AlibabaIdleItemUserPublishitemsAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleItemUserPublishitemsAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleItemUserPublishitemsAPIRequest) GetParamItemPageQuery added in v1.2.5

func (r AlibabaIdleItemUserPublishitemsAPIRequest) GetParamItemPageQuery() *ItemPageQuery

GetParamItemPageQuery ParamItemPageQuery Getter

func (*AlibabaIdleItemUserPublishitemsAPIRequest) SetParamItemPageQuery added in v1.2.5

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

SetParamItemPageQuery is ParamItemPageQuery Setter 查询参数

type AlibabaIdleItemUserPublishitemsAPIResponse added in v1.2.5

type AlibabaIdleItemUserPublishitemsAPIResponse struct {
	model.CommonResponse
	AlibabaIdleItemUserPublishitemsAPIResponseModel
}

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

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

type AlibabaIdleItemUserPublishitemsAPIResponseModel added in v1.2.5

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

type AlibabaIdleLogisticsCompaniesQueryAPIRequest struct {
	model.Params
}

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

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

func NewAlibabaIdleLogisticsCompaniesQueryRequest added in v1.2.5

func NewAlibabaIdleLogisticsCompaniesQueryRequest() *AlibabaIdleLogisticsCompaniesQueryAPIRequest

NewAlibabaIdleLogisticsCompaniesQueryRequest 初始化AlibabaIdleLogisticsCompaniesQueryAPIRequest对象

func (AlibabaIdleLogisticsCompaniesQueryAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleLogisticsCompaniesQueryAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

type AlibabaIdleLogisticsCompaniesQueryAPIResponse added in v1.2.5

type AlibabaIdleLogisticsCompaniesQueryAPIResponse struct {
	model.CommonResponse
	AlibabaIdleLogisticsCompaniesQueryAPIResponseModel
}

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

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

type AlibabaIdleLogisticsCompaniesQueryAPIResponseModel added in v1.2.5

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

type AlibabaIdleUserPermitQueryAPIRequest struct {
	model.Params
}

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

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

func NewAlibabaIdleUserPermitQueryRequest added in v1.2.5

func NewAlibabaIdleUserPermitQueryRequest() *AlibabaIdleUserPermitQueryAPIRequest

NewAlibabaIdleUserPermitQueryRequest 初始化AlibabaIdleUserPermitQueryAPIRequest对象

func (AlibabaIdleUserPermitQueryAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaIdleUserPermitQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleUserPermitQueryAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

type AlibabaIdleUserPermitQueryAPIResponse added in v1.2.5

type AlibabaIdleUserPermitQueryAPIResponse struct {
	model.CommonResponse
	AlibabaIdleUserPermitQueryAPIResponseModel
}

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

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

type AlibabaIdleUserPermitQueryAPIResponseModel added in v1.2.5

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

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

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

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

func NewAlibabaIdleUserPermitRevokeRequest added in v1.2.5

func NewAlibabaIdleUserPermitRevokeRequest() *AlibabaIdleUserPermitRevokeAPIRequest

NewAlibabaIdleUserPermitRevokeRequest 初始化AlibabaIdleUserPermitRevokeAPIRequest对象

func (AlibabaIdleUserPermitRevokeAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaIdleUserPermitRevokeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIdleUserPermitRevokeAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIdleUserPermitRevokeAPIRequest) GetUserPermitCmd added in v1.2.5

GetUserPermitCmd UserPermitCmd Getter

func (*AlibabaIdleUserPermitRevokeAPIRequest) SetUserPermitCmd added in v1.2.5

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

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

type AlibabaIdleUserPermitRevokeAPIResponse added in v1.2.5

type AlibabaIdleUserPermitRevokeAPIResponse struct {
	model.CommonResponse
	AlibabaIdleUserPermitRevokeAPIResponseModel
}

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

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

type AlibabaIdleUserPermitRevokeAPIResponseModel added in v1.2.5

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 AppraiseIsvAddressDto

type AppraiseIsvAddressDto struct {
	// 详细地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 行政区
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 收件人姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 电话号码
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 省份
	Prov string `json:"prov,omitempty" xml:"prov,omitempty"`
	// 城镇/街道
	Town string `json:"town,omitempty" xml:"town,omitempty"`
}

AppraiseIsvAddressDto 结构体

type AppraiseIsvDistributionDto added in v1.2.5

type AppraiseIsvDistributionDto struct {
	// 分销商利润(单位分),global_tax_fee + product_price + daigou_fee 等于订单总价
	DaigouFee string `json:"daigou_fee,omitempty" xml:"daigou_fee,omitempty"`
	// 商品的供货价格,即货品的价格(单位分)
	ProductPrice string `json:"product_price,omitempty" xml:"product_price,omitempty"`
	// 国际商品税费(单位分)
	GlobalTaxFee string `json:"global_tax_fee,omitempty" xml:"global_tax_fee,omitempty"`
}

AppraiseIsvDistributionDto 结构体

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 AppraiseIsvLogisticsDto

type AppraiseIsvLogisticsDto struct {
	// 快递单号
	ExpressNo string `json:"express_no,omitempty" xml:"express_no,omitempty"`
	// 快递公司名称
	ExpressCompName string `json:"express_comp_name,omitempty" xml:"express_comp_name,omitempty"`
}

AppraiseIsvLogisticsDto 结构体

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 AppraiseIsvOrderDto

type AppraiseIsvOrderDto struct {
	// 买家昵称(不唯一且买家可以自己更改)
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 卖家昵称(不唯一且买家可以自己更改)
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// sku信息(格式: skuId|属性名:属性值;属性名:属性值)
	Sku string `json:"sku,omitempty" xml:"sku,omitempty"`
	// 支付宝订单号
	OutPayId string `json:"out_pay_id,omitempty" xml:"out_pay_id,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"`
	// 买家收货地址
	BuyerAddress *AppraiseIsvAddressDto `json:"buyer_address,omitempty" xml:"buyer_address,omitempty"`
	// 订单创建时间,时间戳,毫秒
	CreateTime int64 `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 商品信息
	Item *AppraiseIsvItemDto `json:"item,omitempty" xml:"item,omitempty"`
	// 0:未知状态、1:订单已创建、2:订单已付款、3:已发货、4:交易成功、5:已退款、6:交易关闭
	OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 订单下单付款时间,时间戳,毫秒
	PayTime int64 `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 实付金额, 单位分
	Payment int64 `json:"payment,omitempty" xml:"payment,omitempty"`
	// 邮费
	PostFee int64 `json:"post_fee,omitempty" xml:"post_fee,omitempty"`
	// 订单发货时间,时间戳,毫秒
	ShipTime int64 `json:"ship_time,omitempty" xml:"ship_time,omitempty"`
	// 订单完结时间,时间戳,毫秒
	EndTime int64 `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 物流信息
	Logistics *AppraiseIsvLogisticsDto `json:"logistics,omitempty" xml:"logistics,omitempty"`
	// 国际分销订单信息
	Distribution *AppraiseIsvDistributionDto `json:"distribution,omitempty" xml:"distribution,omitempty"`
}

AppraiseIsvOrderDto 结构体

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 BigDecimal added in v1.2.5

type BigDecimal struct {
}

BigDecimal 结构体

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 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 *BigDecimal `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 经度
	Longitude *BigDecimal `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"`
	// 商品状态,可选值为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 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

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