c2m

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 c2m 包含淘宝C2M相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 []OrganizationInviteInfoVo `json:"list,omitempty" xml:"list>organization_invite_info_vo,omitempty"`
	// 总条数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 总页数
	Pages int64 `json:"pages,omitempty" xml:"pages,omitempty"`
	// 页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 第几页
	PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"`
}

PageInfo 结构体

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 结构体

Jump to

Keyboard shortcuts

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