c2m

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

淘宝C2M model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompanyOrderInfoVo

type CompanyOrderInfoVo struct {
	// 佣金金额(单位:分)
	CommissionFee int64 `json:"commission_fee,omitempty" xml:"commission_fee,omitempty"`
	// 购买数量
	BuyAmount int64 `json:"buy_amount,omitempty" xml:"buy_amount,omitempty"`
	// 付款金额(单位:分)
	TotalFee int64 `json:"total_fee,omitempty" xml:"total_fee,omitempty"`
	// 商品标题
	AuctionTitle string `json:"auction_title,omitempty" xml:"auction_title,omitempty"`
	// 商品ID
	AuctionId int64 `json:"auction_id,omitempty" xml:"auction_id,omitempty"`
	// 加密后的分销商上级ID
	EncryptInvitorId string `json:"encrypt_invitor_id,omitempty" xml:"encrypt_invitor_id,omitempty"`
	// 加密后的买家ID
	EncryptBuyerId string `json:"encrypt_buyer_id,omitempty" xml:"encrypt_buyer_id,omitempty"`
	// 加密后的分销商ID
	EncryptDistributorId string `json:"encrypt_distributor_id,omitempty" xml:"encrypt_distributor_id,omitempty"`
	// 订单类型,0-自购,1-代下单,2-分享购买
	Delegate int64 `json:"delegate,omitempty" xml:"delegate,omitempty"`
	// 子订单ID
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 订单修改日期
	ModifyDate string `json:"modify_date,omitempty" xml:"modify_date,omitempty"`
	// 商品类型,0-普通商品,1-高佣商品
	AuctionType int64 `json:"auction_type,omitempty" xml:"auction_type,omitempty"`
	// 退款金额(单位:分)
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 订单确认收货日期
	SuccDate string `json:"succ_date,omitempty" xml:"succ_date,omitempty"`
	// 订单付款时间
	PayTime int64 `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 订单创建时间
	GmtCreate int64 `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 加密后的订单商品标
	EncryptItemTag string `json:"encrypt_item_tag,omitempty" xml:"encrypt_item_tag,omitempty"`
	// 收货人区域
	MordArea string `json:"mord_area,omitempty" xml:"mord_area,omitempty"`
	// 收货人城市
	MordCity string `json:"mord_city,omitempty" xml:"mord_city,omitempty"`
	// 收货人省份
	MordProv string `json:"mord_prov,omitempty" xml:"mord_prov,omitempty"`
	// 导师名称
	TutorNick string `json:"tutor_nick,omitempty" xml:"tutor_nick,omitempty"`
	// 班级名称
	ClassName string `json:"class_name,omitempty" xml:"class_name,omitempty"`
	// 班级ID
	ClassId int64 `json:"class_id,omitempty" xml:"class_id,omitempty"`
	// 上级导师名称
	UpTutorNick string `json:"up_tutor_nick,omitempty" xml:"up_tutor_nick,omitempty"`
	// 订单规则ID
	RuleId int64 `json:"rule_id,omitempty" xml:"rule_id,omitempty"`
}

CompanyOrderInfoVo

type ItemTopDto

type ItemTopDto struct {
	// 商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 主图信息
	ImgUrl string `json:"img_url,omitempty" xml:"img_url,omitempty"`
	// 商品标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 用户的nick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 用户的id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 商品对应的类目名称
	CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"`
}

ItemTopDto

type ItemTopResponse

type ItemTopResponse struct {
	// 总共多少条
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 每页多少条
	PagSize int64 `json:"pag_size,omitempty" xml:"pag_size,omitempty"`
	// 返回的商品信息
	ItemTopDTOList []ItemTopDto `json:"item_top_d_t_o_list,omitempty" xml:"item_top_d_t_o_list>item_top_dto,omitempty"`
}

ItemTopResponse

type OrganizationInviteInfoVo

type OrganizationInviteInfoVo struct {
	// 加密后的邀请者ID
	EncryptInvitorId string `json:"encrypt_invitor_id,omitempty" xml:"encrypt_invitor_id,omitempty"`
	// 修改日期,latest-为最新
	ModifyDate string `json:"modify_date,omitempty" xml:"modify_date,omitempty"`
	// 加密后的分销商ID
	EncryptDistributorId string `json:"encrypt_distributor_id,omitempty" xml:"encrypt_distributor_id,omitempty"`
	// -1-在体系内,高佣全部退款,0-在体系内,未退高佣,1-不在体系内
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 退款金额(单位:分)
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 佣金金额(单位:分)
	CommissionFee int64 `json:"commission_fee,omitempty" xml:"commission_fee,omitempty"`
	// 订单付款时间
	PayTime int64 `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 商品标题
	AuctionTitle string `json:"auction_title,omitempty" xml:"auction_title,omitempty"`
	// 加密后的买家ID
	EncryptBuyerId string `json:"encrypt_buyer_id,omitempty" xml:"encrypt_buyer_id,omitempty"`
	// 订单创建时间
	GmtCreate int64 `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 商品ID
	AuctionId int64 `json:"auction_id,omitempty" xml:"auction_id,omitempty"`
	// 订单类型,0-自购,1-代下单,2-分享购买
	Delegate int64 `json:"delegate,omitempty" xml:"delegate,omitempty"`
	// 订单确认收货日期
	SuccDate string `json:"succ_date,omitempty" xml:"succ_date,omitempty"`
	// 购买数量
	BuyAmount int64 `json:"buy_amount,omitempty" xml:"buy_amount,omitempty"`
	// 子订单ID
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 付款金额(单位:分)
	TotalFee int64 `json:"total_fee,omitempty" xml:"total_fee,omitempty"`
	// 商品类型,0-普通商品,1-高佣商品
	AuctionType int64 `json:"auction_type,omitempty" xml:"auction_type,omitempty"`
	// 收货人省份
	MordProv string `json:"mord_prov,omitempty" xml:"mord_prov,omitempty"`
	// 收货人城市
	MordCity string `json:"mord_city,omitempty" xml:"mord_city,omitempty"`
	// 收货人区域
	MordArea string `json:"mord_area,omitempty" xml:"mord_area,omitempty"`
	// 加密后的订单商品标
	EncryptItemTag string `json:"encrypt_item_tag,omitempty" xml:"encrypt_item_tag,omitempty"`
	// 订单规则ID
	RuleId int64 `json:"rule_id,omitempty" xml:"rule_id,omitempty"`
	// 特殊,非掌柜佣金
	OrgCommissionFee int64 `json:"org_commission_fee,omitempty" xml:"org_commission_fee,omitempty"`
	// sku id
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 加密收货人手机号
	EncryptMordMobilePhone string `json:"encrypt_mord_mobile_phone,omitempty" xml:"encrypt_mord_mobile_phone,omitempty"`
}

OrganizationInviteInfoVo

type PageInfo

type PageInfo struct {
	// 总条数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 总页数
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 页大小,固定50
	Pages int64 `json:"pages,omitempty" xml:"pages,omitempty"`
	// 第几页
	PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"`
	// 订单信息
	List []CompanyOrderInfoVo `json:"list,omitempty" xml:"list>company_order_info_vo,omitempty"`
}

PageInfo

type TaobaoSebpCompanyGetorderinfoAPIResponse

type TaobaoSebpCompanyGetorderinfoAPIResponse struct {
	model.CommonResponse
	TaobaoSebpCompanyGetorderinfoResponse
}

淘小铺公司订单信息 API返回值 taobao.sebp.company.getorderinfo

淘小铺合作公司获取公司订单信息,用于公司结算使用

type TaobaoSebpCompanyGetorderinfoRequest

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

淘小铺公司订单信息 API请求 taobao.sebp.company.getorderinfo

淘小铺合作公司获取公司订单信息,用于公司结算使用

func NewTaobaoSebpCompanyGetorderinfoRequest

func NewTaobaoSebpCompanyGetorderinfoRequest() *TaobaoSebpCompanyGetorderinfoRequest

初始化TaobaoSebpCompanyGetorderinfoRequest对象

func (TaobaoSebpCompanyGetorderinfoRequest) GetApiMethodName

func (r TaobaoSebpCompanyGetorderinfoRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoSebpCompanyGetorderinfoRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoSebpCompanyGetorderinfoRequest) GetModifyDate

func (r TaobaoSebpCompanyGetorderinfoRequest) GetModifyDate() string

ModifyDate Getter

func (TaobaoSebpCompanyGetorderinfoRequest) GetPageNum

PageNum Getter

func (*TaobaoSebpCompanyGetorderinfoRequest) SetModifyDate

func (r *TaobaoSebpCompanyGetorderinfoRequest) SetModifyDate(modifyDate string) error

ModifyDate Setter null-请求所有,20200616-请求2020年6月16号的变更信息

func (*TaobaoSebpCompanyGetorderinfoRequest) SetPageNum

func (r *TaobaoSebpCompanyGetorderinfoRequest) SetPageNum(pageNum int64) error

PageNum Setter 第几页

type TaobaoSebpCompanyGetorderinfoResponse

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

淘小铺公司订单信息 成功返回结果

type TaobaoSebpCompanyGetorderinfoResultDo

type TaobaoSebpCompanyGetorderinfoResultDo struct {
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 结果信息
	Module *PageInfo `json:"module,omitempty" xml:"module,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
}

TaobaoSebpCompanyGetorderinfoResultDo

type TaobaoSebpIsvUserCheckAPIResponse

type TaobaoSebpIsvUserCheckAPIResponse struct {
	model.CommonResponse
	TaobaoSebpIsvUserCheckResponse
}

淘小铺账户实名校验接口 API返回值 taobao.sebp.isv.user.check

校验淘小铺账户和身份信息匹配成功

type TaobaoSebpIsvUserCheckRequest

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

淘小铺账户实名校验接口 API请求 taobao.sebp.isv.user.check

校验淘小铺账户和身份信息匹配成功

func NewTaobaoSebpIsvUserCheckRequest

func NewTaobaoSebpIsvUserCheckRequest() *TaobaoSebpIsvUserCheckRequest

初始化TaobaoSebpIsvUserCheckRequest对象

func (TaobaoSebpIsvUserCheckRequest) GetAlipay

func (r TaobaoSebpIsvUserCheckRequest) GetAlipay() string

Alipay Getter

func (TaobaoSebpIsvUserCheckRequest) GetApiMethodName

func (r TaobaoSebpIsvUserCheckRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoSebpIsvUserCheckRequest) GetApiParams

func (r TaobaoSebpIsvUserCheckRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoSebpIsvUserCheckRequest) GetIdentity

func (r TaobaoSebpIsvUserCheckRequest) GetIdentity() string

Identity Getter

func (TaobaoSebpIsvUserCheckRequest) GetName

Name Getter

func (TaobaoSebpIsvUserCheckRequest) GetUserName

func (r TaobaoSebpIsvUserCheckRequest) GetUserName() string

UserName Getter

func (*TaobaoSebpIsvUserCheckRequest) SetAlipay

func (r *TaobaoSebpIsvUserCheckRequest) SetAlipay(alipay string) error

Alipay Setter 支付宝账号

func (*TaobaoSebpIsvUserCheckRequest) SetIdentity

func (r *TaobaoSebpIsvUserCheckRequest) SetIdentity(identity string) error

Identity Setter 证件号

func (*TaobaoSebpIsvUserCheckRequest) SetName

func (r *TaobaoSebpIsvUserCheckRequest) SetName(name string) error

Name Setter 姓名

func (*TaobaoSebpIsvUserCheckRequest) SetUserName

func (r *TaobaoSebpIsvUserCheckRequest) SetUserName(userName string) error

UserName Setter 淘宝账号

type TaobaoSebpIsvUserCheckResponse

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

淘小铺账户实名校验接口 成功返回结果

type TaobaoSebpIsvUserSignAPIResponse

type TaobaoSebpIsvUserSignAPIResponse struct {
	model.CommonResponse
	TaobaoSebpIsvUserSignResponse
}

淘小铺三方签约同步 API返回值 taobao.sebp.isv.user.sign

同步淘小铺三方服务签约信息

type TaobaoSebpIsvUserSignRequest

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

淘小铺三方签约同步 API请求 taobao.sebp.isv.user.sign

同步淘小铺三方服务签约信息

func NewTaobaoSebpIsvUserSignRequest

func NewTaobaoSebpIsvUserSignRequest() *TaobaoSebpIsvUserSignRequest

初始化TaobaoSebpIsvUserSignRequest对象

func (TaobaoSebpIsvUserSignRequest) GetApiMethodName

func (r TaobaoSebpIsvUserSignRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoSebpIsvUserSignRequest) GetApiParams

func (r TaobaoSebpIsvUserSignRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoSebpIsvUserSignRequest) GetEndTime

func (r TaobaoSebpIsvUserSignRequest) GetEndTime() string

EndTime Getter

func (TaobaoSebpIsvUserSignRequest) GetIdentity

func (r TaobaoSebpIsvUserSignRequest) GetIdentity() string

Identity Getter

func (TaobaoSebpIsvUserSignRequest) GetStartTime

func (r TaobaoSebpIsvUserSignRequest) GetStartTime() string

StartTime Getter

func (TaobaoSebpIsvUserSignRequest) GetUserName

func (r TaobaoSebpIsvUserSignRequest) GetUserName() string

UserName Getter

func (*TaobaoSebpIsvUserSignRequest) SetEndTime

func (r *TaobaoSebpIsvUserSignRequest) SetEndTime(endTime string) error

EndTime Setter 到期日期

func (*TaobaoSebpIsvUserSignRequest) SetIdentity

func (r *TaobaoSebpIsvUserSignRequest) SetIdentity(identity string) error

Identity Setter 身份证

func (*TaobaoSebpIsvUserSignRequest) SetStartTime

func (r *TaobaoSebpIsvUserSignRequest) SetStartTime(startTime string) error

StartTime Setter 签约日期

func (*TaobaoSebpIsvUserSignRequest) SetUserName

func (r *TaobaoSebpIsvUserSignRequest) SetUserName(userName string) error

UserName Setter 淘宝账号

type TaobaoSebpIsvUserSignResponse

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

淘小铺三方签约同步 成功返回结果

type TaobaoSebpIsvWxrobotCallbackAPIResponse

type TaobaoSebpIsvWxrobotCallbackAPIResponse struct {
	model.CommonResponse
	TaobaoSebpIsvWxrobotCallbackResponse
}

isv机器人回调接口 API返回值 taobao.sebp.isv.wxrobot.callback

机器人入群回调,进行校验、功能开通等操作

type TaobaoSebpIsvWxrobotCallbackRequest

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

isv机器人回调接口 API请求 taobao.sebp.isv.wxrobot.callback

机器人入群回调,进行校验、功能开通等操作

func NewTaobaoSebpIsvWxrobotCallbackRequest

func NewTaobaoSebpIsvWxrobotCallbackRequest() *TaobaoSebpIsvWxrobotCallbackRequest

初始化TaobaoSebpIsvWxrobotCallbackRequest对象

func (TaobaoSebpIsvWxrobotCallbackRequest) GetApiMethodName

func (r TaobaoSebpIsvWxrobotCallbackRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoSebpIsvWxrobotCallbackRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoSebpIsvWxrobotCallbackRequest) GetNType

NType Getter

func (TaobaoSebpIsvWxrobotCallbackRequest) GetStrContext

func (r TaobaoSebpIsvWxrobotCallbackRequest) GetStrContext() string

StrContext Getter

func (TaobaoSebpIsvWxrobotCallbackRequest) GetStrSign

StrSign Getter

func (*TaobaoSebpIsvWxrobotCallbackRequest) SetNType

NType Setter 操作类型

func (*TaobaoSebpIsvWxrobotCallbackRequest) SetStrContext

func (r *TaobaoSebpIsvWxrobotCallbackRequest) SetStrContext(strContext string) error

StrContext Setter 参数

func (*TaobaoSebpIsvWxrobotCallbackRequest) SetStrSign

func (r *TaobaoSebpIsvWxrobotCallbackRequest) SetStrSign(strSign string) error

StrSign Setter 调用签名

type TaobaoSebpIsvWxrobotCallbackResponse

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

isv机器人回调接口 成功返回结果

type TaobaoSebpOrganizationGetinviteinfoAPIResponse

type TaobaoSebpOrganizationGetinviteinfoAPIResponse struct {
	model.CommonResponse
	TaobaoSebpOrganizationGetinviteinfoResponse
}

淘小铺机构上下级关系 API返回值 taobao.sebp.organization.getinviteinfo

机构人员获取机构上下级关系信息

type TaobaoSebpOrganizationGetinviteinfoRequest

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

淘小铺机构上下级关系 API请求 taobao.sebp.organization.getinviteinfo

机构人员获取机构上下级关系信息

func NewTaobaoSebpOrganizationGetinviteinfoRequest

func NewTaobaoSebpOrganizationGetinviteinfoRequest() *TaobaoSebpOrganizationGetinviteinfoRequest

初始化TaobaoSebpOrganizationGetinviteinfoRequest对象

func (TaobaoSebpOrganizationGetinviteinfoRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoSebpOrganizationGetinviteinfoRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoSebpOrganizationGetinviteinfoRequest) GetModifyDate

ModifyDate Getter

func (TaobaoSebpOrganizationGetinviteinfoRequest) GetPageNum

PageNum Getter

func (*TaobaoSebpOrganizationGetinviteinfoRequest) SetModifyDate

func (r *TaobaoSebpOrganizationGetinviteinfoRequest) SetModifyDate(modifyDate string) error

ModifyDate Setter null-请求所有,20200616-请求2020年6月16号的变更信息

func (*TaobaoSebpOrganizationGetinviteinfoRequest) SetPageNum

PageNum Setter 第几页

type TaobaoSebpOrganizationGetinviteinfoResponse

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

淘小铺机构上下级关系 成功返回结果

type TaobaoSebpOrganizationGetinviteinfoResultDo

type TaobaoSebpOrganizationGetinviteinfoResultDo struct {
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 结果信息
	Module *PageInfo `json:"module,omitempty" xml:"module,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
}

TaobaoSebpOrganizationGetinviteinfoResultDo

type TaobaoSebpOrganizationGetorderinfoAPIResponse

type TaobaoSebpOrganizationGetorderinfoAPIResponse struct {
	model.CommonResponse
	TaobaoSebpOrganizationGetorderinfoResponse
}

淘小铺机构订单信息 API返回值 taobao.sebp.organization.getorderinfo

淘小铺合作机构获取机构订单信息,用于机构结算使用

type TaobaoSebpOrganizationGetorderinfoRequest

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

淘小铺机构订单信息 API请求 taobao.sebp.organization.getorderinfo

淘小铺合作机构获取机构订单信息,用于机构结算使用

func NewTaobaoSebpOrganizationGetorderinfoRequest

func NewTaobaoSebpOrganizationGetorderinfoRequest() *TaobaoSebpOrganizationGetorderinfoRequest

初始化TaobaoSebpOrganizationGetorderinfoRequest对象

func (TaobaoSebpOrganizationGetorderinfoRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoSebpOrganizationGetorderinfoRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoSebpOrganizationGetorderinfoRequest) GetEndTime

EndTime Getter

func (TaobaoSebpOrganizationGetorderinfoRequest) GetModifyDate

ModifyDate Getter

func (TaobaoSebpOrganizationGetorderinfoRequest) GetPageNum

PageNum Getter

func (TaobaoSebpOrganizationGetorderinfoRequest) GetStartTime

StartTime Getter

func (*TaobaoSebpOrganizationGetorderinfoRequest) SetEndTime

EndTime Setter 查询实时数据时,必传,开始时间结束时间间隔不能超过4个小时

func (*TaobaoSebpOrganizationGetorderinfoRequest) SetModifyDate

func (r *TaobaoSebpOrganizationGetorderinfoRequest) SetModifyDate(modifyDate string) error

ModifyDate Setter null-请求所有,20200616-请求2020年6月16号的变更信息

func (*TaobaoSebpOrganizationGetorderinfoRequest) SetPageNum

func (r *TaobaoSebpOrganizationGetorderinfoRequest) SetPageNum(pageNum int64) error

PageNum Setter 第几页

func (*TaobaoSebpOrganizationGetorderinfoRequest) SetStartTime

func (r *TaobaoSebpOrganizationGetorderinfoRequest) SetStartTime(startTime string) error

StartTime Setter 查询实时数据时,必传,开始时间不能早于2天前

type TaobaoSebpOrganizationGetorderinfoResponse

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

淘小铺机构订单信息 成功返回结果

type TaobaoSebpOrganizationGetorderinfoResultDo

type TaobaoSebpOrganizationGetorderinfoResultDo struct {
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 结果信息
	Module *PageInfo `json:"module,omitempty" xml:"module,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
}

TaobaoSebpOrganizationGetorderinfoResultDo

type TaobaoTxpItemItemlistgetAPIResponse

type TaobaoTxpItemItemlistgetAPIResponse struct {
	model.CommonResponse
	TaobaoTxpItemItemlistgetResponse
}

淘小铺商品接口 API返回值 taobao.txp.item.itemlistget

淘小铺商品的查询服务。

type TaobaoTxpItemItemlistgetRequest

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

淘小铺商品接口 API请求 taobao.txp.item.itemlistget

淘小铺商品的查询服务。

func NewTaobaoTxpItemItemlistgetRequest

func NewTaobaoTxpItemItemlistgetRequest() *TaobaoTxpItemItemlistgetRequest

初始化TaobaoTxpItemItemlistgetRequest对象

func (TaobaoTxpItemItemlistgetRequest) GetApiMethodName

func (r TaobaoTxpItemItemlistgetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoTxpItemItemlistgetRequest) GetApiParams

func (r TaobaoTxpItemItemlistgetRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoTxpItemItemlistgetRequest) GetBeginPage

func (r TaobaoTxpItemItemlistgetRequest) GetBeginPage() int64

BeginPage Getter

func (TaobaoTxpItemItemlistgetRequest) GetPageSize

func (r TaobaoTxpItemItemlistgetRequest) GetPageSize() int64

PageSize Getter

func (*TaobaoTxpItemItemlistgetRequest) SetBeginPage

func (r *TaobaoTxpItemItemlistgetRequest) SetBeginPage(beginPage int64) error

BeginPage Setter 第几页

func (*TaobaoTxpItemItemlistgetRequest) SetPageSize

func (r *TaobaoTxpItemItemlistgetRequest) SetPageSize(pageSize int64) error

PageSize Setter 每页多少条

type TaobaoTxpItemItemlistgetResponse

type TaobaoTxpItemItemlistgetResponse struct {
	XMLName xml.Name `xml:"txp_item_itemlistget_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *TaobaoTxpItemItemlistgetResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

淘小铺商品接口 成功返回结果

type TaobaoTxpItemItemlistgetResultDto

type TaobaoTxpItemItemlistgetResultDto struct {
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 返回的结果信息
	Model *ItemTopResponse `json:"model,omitempty" xml:"model,omitempty"`
	// 执行的错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

TaobaoTxpItemItemlistgetResultDto

Jump to

Keyboard shortcuts

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