c2m

package
v1.2.2 Latest Latest
Warning

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

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

Documentation

Overview

Package c2m 包含淘宝C2M相关结构体

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 {
	// 商品标题
	AuctionTitle string `json:"auction_title,omitempty" xml:"auction_title,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"`
	// 订单修改日期
	ModifyDate string `json:"modify_date,omitempty" xml:"modify_date,omitempty"`
	// 订单确认收货日期
	SuccDate string `json:"succ_date,omitempty" xml:"succ_date,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"`
	// 上级导师名称
	UpTutorNick string `json:"up_tutor_nick,omitempty" xml:"up_tutor_nick,omitempty"`
	// 佣金金额(单位:分)
	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"`
	// 商品ID
	AuctionId int64 `json:"auction_id,omitempty" xml:"auction_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"`
	// 商品类型,0-普通商品,1-高佣商品
	AuctionType int64 `json:"auction_type,omitempty" xml:"auction_type,omitempty"`
	// 退款金额(单位:分)
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 订单付款时间
	PayTime int64 `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 订单创建时间
	GmtCreate int64 `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 班级ID
	ClassId int64 `json:"class_id,omitempty" xml:"class_id,omitempty"`
	// 订单规则ID
	RuleId int64 `json:"rule_id,omitempty" xml:"rule_id,omitempty"`
}

CompanyOrderInfoVo 结构体

type ItemTopDto

type ItemTopDto struct {
	// 主图信息
	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"`
	// 商品对应的类目名称
	CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"`
	// 商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 用户的id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
}

ItemTopDto 结构体

type ItemTopResponse

type ItemTopResponse struct {
	// 返回的商品信息
	ItemTopDTOList []ItemTopDto `json:"item_top_d_t_o_list,omitempty" xml:"item_top_d_t_o_list>item_top_dto,omitempty"`
	// 总共多少条
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 每页多少条
	PagSize int64 `json:"pag_size,omitempty" xml:"pag_size,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"`
	// 商品标题
	AuctionTitle string `json:"auction_title,omitempty" xml:"auction_title,omitempty"`
	// 加密后的买家ID
	EncryptBuyerId string `json:"encrypt_buyer_id,omitempty" xml:"encrypt_buyer_id,omitempty"`
	// 订单确认收货日期
	SuccDate string `json:"succ_date,omitempty" xml:"succ_date,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"`
	// 加密收货人手机号
	EncryptMordMobilePhone string `json:"encrypt_mord_mobile_phone,omitempty" xml:"encrypt_mord_mobile_phone,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"`
	// 订单创建时间
	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"`
	// 购买数量
	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"`
	// 订单规则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"`
}

OrganizationInviteInfoVo 结构体

type PageInfo

type PageInfo struct {
	// 订单信息
	List []CompanyOrderInfoVo `json:"list,omitempty" xml:"list>company_order_info_vo,omitempty"`
	// 总条数
	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"`
}

PageInfo 结构体

type TaobaoSebpCompanyGetorderinfoAPIRequest added in v1.2.0

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

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

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

func NewTaobaoSebpCompanyGetorderinfoRequest

func NewTaobaoSebpCompanyGetorderinfoRequest() *TaobaoSebpCompanyGetorderinfoAPIRequest

NewTaobaoSebpCompanyGetorderinfoRequest 初始化TaobaoSebpCompanyGetorderinfoAPIRequest对象

func (TaobaoSebpCompanyGetorderinfoAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoSebpCompanyGetorderinfoAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSebpCompanyGetorderinfoAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSebpCompanyGetorderinfoAPIRequest) GetModifyDate added in v1.2.0

GetModifyDate ModifyDate Getter

func (TaobaoSebpCompanyGetorderinfoAPIRequest) GetPageNum added in v1.2.0

GetPageNum PageNum Getter

func (*TaobaoSebpCompanyGetorderinfoAPIRequest) SetModifyDate added in v1.2.0

func (r *TaobaoSebpCompanyGetorderinfoAPIRequest) SetModifyDate(_modifyDate string) error

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

func (*TaobaoSebpCompanyGetorderinfoAPIRequest) SetPageNum added in v1.2.0

func (r *TaobaoSebpCompanyGetorderinfoAPIRequest) SetPageNum(_pageNum int64) error

SetPageNum is PageNum Setter 第几页

type TaobaoSebpCompanyGetorderinfoAPIResponse

type TaobaoSebpCompanyGetorderinfoAPIResponse struct {
	model.CommonResponse
	TaobaoSebpCompanyGetorderinfoAPIResponseModel
}

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

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

type TaobaoSebpCompanyGetorderinfoAPIResponseModel added in v1.2.0

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

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

type TaobaoSebpCompanyGetorderinfoResultDo

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

TaobaoSebpCompanyGetorderinfoResultDo 结构体

type TaobaoSebpIsvUserCheckAPIRequest added in v1.2.0

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

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

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

func NewTaobaoSebpIsvUserCheckRequest

func NewTaobaoSebpIsvUserCheckRequest() *TaobaoSebpIsvUserCheckAPIRequest

NewTaobaoSebpIsvUserCheckRequest 初始化TaobaoSebpIsvUserCheckAPIRequest对象

func (TaobaoSebpIsvUserCheckAPIRequest) GetAlipay added in v1.2.0

GetAlipay Alipay Getter

func (TaobaoSebpIsvUserCheckAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoSebpIsvUserCheckAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSebpIsvUserCheckAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoSebpIsvUserCheckAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSebpIsvUserCheckAPIRequest) GetIdentity added in v1.2.0

func (r TaobaoSebpIsvUserCheckAPIRequest) GetIdentity() string

GetIdentity Identity Getter

func (TaobaoSebpIsvUserCheckAPIRequest) GetName added in v1.2.0

GetName Name Getter

func (TaobaoSebpIsvUserCheckAPIRequest) GetUserName added in v1.2.0

func (r TaobaoSebpIsvUserCheckAPIRequest) GetUserName() string

GetUserName UserName Getter

func (*TaobaoSebpIsvUserCheckAPIRequest) SetAlipay added in v1.2.0

func (r *TaobaoSebpIsvUserCheckAPIRequest) SetAlipay(_alipay string) error

SetAlipay is Alipay Setter 支付宝账号

func (*TaobaoSebpIsvUserCheckAPIRequest) SetIdentity added in v1.2.0

func (r *TaobaoSebpIsvUserCheckAPIRequest) SetIdentity(_identity string) error

SetIdentity is Identity Setter 证件号

func (*TaobaoSebpIsvUserCheckAPIRequest) SetName added in v1.2.0

func (r *TaobaoSebpIsvUserCheckAPIRequest) SetName(_name string) error

SetName is Name Setter 姓名

func (*TaobaoSebpIsvUserCheckAPIRequest) SetUserName added in v1.2.0

func (r *TaobaoSebpIsvUserCheckAPIRequest) SetUserName(_userName string) error

SetUserName is UserName Setter 淘宝账号

type TaobaoSebpIsvUserCheckAPIResponse

type TaobaoSebpIsvUserCheckAPIResponse struct {
	model.CommonResponse
	TaobaoSebpIsvUserCheckAPIResponseModel
}

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

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

type TaobaoSebpIsvUserCheckAPIResponseModel added in v1.2.0

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

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

type TaobaoSebpIsvUserSignAPIRequest added in v1.2.0

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

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

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

func NewTaobaoSebpIsvUserSignRequest

func NewTaobaoSebpIsvUserSignRequest() *TaobaoSebpIsvUserSignAPIRequest

NewTaobaoSebpIsvUserSignRequest 初始化TaobaoSebpIsvUserSignAPIRequest对象

func (TaobaoSebpIsvUserSignAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoSebpIsvUserSignAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSebpIsvUserSignAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoSebpIsvUserSignAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSebpIsvUserSignAPIRequest) GetEndTime added in v1.2.0

func (r TaobaoSebpIsvUserSignAPIRequest) GetEndTime() string

GetEndTime EndTime Getter

func (TaobaoSebpIsvUserSignAPIRequest) GetIdentity added in v1.2.0

func (r TaobaoSebpIsvUserSignAPIRequest) GetIdentity() string

GetIdentity Identity Getter

func (TaobaoSebpIsvUserSignAPIRequest) GetStartTime added in v1.2.0

func (r TaobaoSebpIsvUserSignAPIRequest) GetStartTime() string

GetStartTime StartTime Getter

func (TaobaoSebpIsvUserSignAPIRequest) GetUserName added in v1.2.0

func (r TaobaoSebpIsvUserSignAPIRequest) GetUserName() string

GetUserName UserName Getter

func (*TaobaoSebpIsvUserSignAPIRequest) SetEndTime added in v1.2.0

func (r *TaobaoSebpIsvUserSignAPIRequest) SetEndTime(_endTime string) error

SetEndTime is EndTime Setter 到期日期

func (*TaobaoSebpIsvUserSignAPIRequest) SetIdentity added in v1.2.0

func (r *TaobaoSebpIsvUserSignAPIRequest) SetIdentity(_identity string) error

SetIdentity is Identity Setter 身份证

func (*TaobaoSebpIsvUserSignAPIRequest) SetStartTime added in v1.2.0

func (r *TaobaoSebpIsvUserSignAPIRequest) SetStartTime(_startTime string) error

SetStartTime is StartTime Setter 签约日期

func (*TaobaoSebpIsvUserSignAPIRequest) SetUserName added in v1.2.0

func (r *TaobaoSebpIsvUserSignAPIRequest) SetUserName(_userName string) error

SetUserName is UserName Setter 淘宝账号

type TaobaoSebpIsvUserSignAPIResponse

type TaobaoSebpIsvUserSignAPIResponse struct {
	model.CommonResponse
	TaobaoSebpIsvUserSignAPIResponseModel
}

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

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

type TaobaoSebpIsvUserSignAPIResponseModel added in v1.2.0

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

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

type TaobaoSebpIsvWxrobotCallbackAPIRequest added in v1.2.0

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

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

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

func NewTaobaoSebpIsvWxrobotCallbackRequest

func NewTaobaoSebpIsvWxrobotCallbackRequest() *TaobaoSebpIsvWxrobotCallbackAPIRequest

NewTaobaoSebpIsvWxrobotCallbackRequest 初始化TaobaoSebpIsvWxrobotCallbackAPIRequest对象

func (TaobaoSebpIsvWxrobotCallbackAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoSebpIsvWxrobotCallbackAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSebpIsvWxrobotCallbackAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSebpIsvWxrobotCallbackAPIRequest) GetNType added in v1.2.0

GetNType NType Getter

func (TaobaoSebpIsvWxrobotCallbackAPIRequest) GetStrContext added in v1.2.0

GetStrContext StrContext Getter

func (TaobaoSebpIsvWxrobotCallbackAPIRequest) GetStrSign added in v1.2.0

GetStrSign StrSign Getter

func (*TaobaoSebpIsvWxrobotCallbackAPIRequest) SetNType added in v1.2.0

SetNType is NType Setter 操作类型

func (*TaobaoSebpIsvWxrobotCallbackAPIRequest) SetStrContext added in v1.2.0

func (r *TaobaoSebpIsvWxrobotCallbackAPIRequest) SetStrContext(_strContext string) error

SetStrContext is StrContext Setter 参数

func (*TaobaoSebpIsvWxrobotCallbackAPIRequest) SetStrSign added in v1.2.0

func (r *TaobaoSebpIsvWxrobotCallbackAPIRequest) SetStrSign(_strSign string) error

SetStrSign is StrSign Setter 调用签名

type TaobaoSebpIsvWxrobotCallbackAPIResponse

type TaobaoSebpIsvWxrobotCallbackAPIResponse struct {
	model.CommonResponse
	TaobaoSebpIsvWxrobotCallbackAPIResponseModel
}

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

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

type TaobaoSebpIsvWxrobotCallbackAPIResponseModel added in v1.2.0

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

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

type TaobaoSebpOrganizationGetinviteinfoAPIRequest added in v1.2.0

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

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

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

func NewTaobaoSebpOrganizationGetinviteinfoRequest

func NewTaobaoSebpOrganizationGetinviteinfoRequest() *TaobaoSebpOrganizationGetinviteinfoAPIRequest

NewTaobaoSebpOrganizationGetinviteinfoRequest 初始化TaobaoSebpOrganizationGetinviteinfoAPIRequest对象

func (TaobaoSebpOrganizationGetinviteinfoAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSebpOrganizationGetinviteinfoAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSebpOrganizationGetinviteinfoAPIRequest) GetModifyDate added in v1.2.0

GetModifyDate ModifyDate Getter

func (TaobaoSebpOrganizationGetinviteinfoAPIRequest) GetPageNum added in v1.2.0

GetPageNum PageNum Getter

func (*TaobaoSebpOrganizationGetinviteinfoAPIRequest) SetModifyDate added in v1.2.0

func (r *TaobaoSebpOrganizationGetinviteinfoAPIRequest) SetModifyDate(_modifyDate string) error

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

func (*TaobaoSebpOrganizationGetinviteinfoAPIRequest) SetPageNum added in v1.2.0

SetPageNum is PageNum Setter 第几页

type TaobaoSebpOrganizationGetinviteinfoAPIResponse

type TaobaoSebpOrganizationGetinviteinfoAPIResponse struct {
	model.CommonResponse
	TaobaoSebpOrganizationGetinviteinfoAPIResponseModel
}

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

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

type TaobaoSebpOrganizationGetinviteinfoAPIResponseModel added in v1.2.0

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

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

type TaobaoSebpOrganizationGetinviteinfoResultDo

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

TaobaoSebpOrganizationGetinviteinfoResultDo 结构体

type TaobaoSebpOrganizationGetorderinfoAPIRequest added in v1.2.0

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

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

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

func NewTaobaoSebpOrganizationGetorderinfoRequest

func NewTaobaoSebpOrganizationGetorderinfoRequest() *TaobaoSebpOrganizationGetorderinfoAPIRequest

NewTaobaoSebpOrganizationGetorderinfoRequest 初始化TaobaoSebpOrganizationGetorderinfoAPIRequest对象

func (TaobaoSebpOrganizationGetorderinfoAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSebpOrganizationGetorderinfoAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSebpOrganizationGetorderinfoAPIRequest) GetEndTime added in v1.2.0

GetEndTime EndTime Getter

func (TaobaoSebpOrganizationGetorderinfoAPIRequest) GetModifyDate added in v1.2.0

GetModifyDate ModifyDate Getter

func (TaobaoSebpOrganizationGetorderinfoAPIRequest) GetPageNum added in v1.2.0

GetPageNum PageNum Getter

func (TaobaoSebpOrganizationGetorderinfoAPIRequest) GetStartTime added in v1.2.0

GetStartTime StartTime Getter

func (*TaobaoSebpOrganizationGetorderinfoAPIRequest) SetEndTime added in v1.2.0

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

func (*TaobaoSebpOrganizationGetorderinfoAPIRequest) SetModifyDate added in v1.2.0

func (r *TaobaoSebpOrganizationGetorderinfoAPIRequest) SetModifyDate(_modifyDate string) error

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

func (*TaobaoSebpOrganizationGetorderinfoAPIRequest) SetPageNum added in v1.2.0

SetPageNum is PageNum Setter 第几页

func (*TaobaoSebpOrganizationGetorderinfoAPIRequest) SetStartTime added in v1.2.0

func (r *TaobaoSebpOrganizationGetorderinfoAPIRequest) SetStartTime(_startTime string) error

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

type TaobaoSebpOrganizationGetorderinfoAPIResponse

type TaobaoSebpOrganizationGetorderinfoAPIResponse struct {
	model.CommonResponse
	TaobaoSebpOrganizationGetorderinfoAPIResponseModel
}

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

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

type TaobaoSebpOrganizationGetorderinfoAPIResponseModel added in v1.2.0

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

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

type TaobaoSebpOrganizationGetorderinfoResultDo

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

TaobaoSebpOrganizationGetorderinfoResultDo 结构体

type TaobaoTxpItemItemlistgetAPIRequest added in v1.2.0

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

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

淘小铺商品的查询服务。

func NewTaobaoTxpItemItemlistgetRequest

func NewTaobaoTxpItemItemlistgetRequest() *TaobaoTxpItemItemlistgetAPIRequest

NewTaobaoTxpItemItemlistgetRequest 初始化TaobaoTxpItemItemlistgetAPIRequest对象

func (TaobaoTxpItemItemlistgetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTxpItemItemlistgetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTxpItemItemlistgetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTxpItemItemlistgetAPIRequest) GetBeginPage added in v1.2.0

func (r TaobaoTxpItemItemlistgetAPIRequest) GetBeginPage() int64

GetBeginPage BeginPage Getter

func (TaobaoTxpItemItemlistgetAPIRequest) GetPageSize added in v1.2.0

func (r TaobaoTxpItemItemlistgetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (*TaobaoTxpItemItemlistgetAPIRequest) SetBeginPage added in v1.2.0

func (r *TaobaoTxpItemItemlistgetAPIRequest) SetBeginPage(_beginPage int64) error

SetBeginPage is BeginPage Setter 第几页

func (*TaobaoTxpItemItemlistgetAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 每页多少条

type TaobaoTxpItemItemlistgetAPIResponse

type TaobaoTxpItemItemlistgetAPIResponse struct {
	model.CommonResponse
	TaobaoTxpItemItemlistgetAPIResponseModel
}

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

淘小铺商品的查询服务。

type TaobaoTxpItemItemlistgetAPIResponseModel added in v1.2.0

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

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

type TaobaoTxpItemItemlistgetResultDto

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

TaobaoTxpItemItemlistgetResultDto 结构体

Jump to

Keyboard shortcuts

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