c2m

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseOrganizationInviteInfoVo added in v1.3.4

func ReleaseOrganizationInviteInfoVo(v *OrganizationInviteInfoVo)

ReleaseOrganizationInviteInfoVo 释放OrganizationInviteInfoVo

func ReleasePageInfo added in v1.3.4

func ReleasePageInfo(v *PageInfo)

ReleasePageInfo 释放PageInfo

func ReleaseTaobaoSebpOrganizationGetinviteinfoAPIRequest added in v1.3.4

func ReleaseTaobaoSebpOrganizationGetinviteinfoAPIRequest(v *TaobaoSebpOrganizationGetinviteinfoAPIRequest)

ReleaseTaobaoSebpOrganizationGetinviteinfoAPIRequest 将 TaobaoSebpOrganizationGetinviteinfoAPIRequest 放入 sync.Pool

func ReleaseTaobaoSebpOrganizationGetinviteinfoAPIResponse added in v1.3.4

func ReleaseTaobaoSebpOrganizationGetinviteinfoAPIResponse(v *TaobaoSebpOrganizationGetinviteinfoAPIResponse)

ReleaseTaobaoSebpOrganizationGetinviteinfoAPIResponse 将 TaobaoSebpOrganizationGetinviteinfoAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSebpOrganizationGetinviteinfoResultDo added in v1.3.4

func ReleaseTaobaoSebpOrganizationGetinviteinfoResultDo(v *TaobaoSebpOrganizationGetinviteinfoResultDo)

ReleaseTaobaoSebpOrganizationGetinviteinfoResultDo 释放TaobaoSebpOrganizationGetinviteinfoResultDo

func ReleaseTaobaoSebpOrganizationGetorderinfoAPIRequest added in v1.3.4

func ReleaseTaobaoSebpOrganizationGetorderinfoAPIRequest(v *TaobaoSebpOrganizationGetorderinfoAPIRequest)

ReleaseTaobaoSebpOrganizationGetorderinfoAPIRequest 将 TaobaoSebpOrganizationGetorderinfoAPIRequest 放入 sync.Pool

func ReleaseTaobaoSebpOrganizationGetorderinfoAPIResponse added in v1.3.4

func ReleaseTaobaoSebpOrganizationGetorderinfoAPIResponse(v *TaobaoSebpOrganizationGetorderinfoAPIResponse)

ReleaseTaobaoSebpOrganizationGetorderinfoAPIResponse 将 TaobaoSebpOrganizationGetorderinfoAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSebpOrganizationGetorderinfoResultDo added in v1.3.4

func ReleaseTaobaoSebpOrganizationGetorderinfoResultDo(v *TaobaoSebpOrganizationGetorderinfoResultDo)

ReleaseTaobaoSebpOrganizationGetorderinfoResultDo 释放TaobaoSebpOrganizationGetorderinfoResultDo

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

func GetOrganizationInviteInfoVo added in v1.3.4

func GetOrganizationInviteInfoVo() *OrganizationInviteInfoVo

GetOrganizationInviteInfoVo() 从对象池中获取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 结构体

func GetPageInfo added in v1.3.4

func GetPageInfo() *PageInfo

GetPageInfo() 从对象池中获取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 GetTaobaoSebpOrganizationGetinviteinfoAPIRequest added in v1.3.4

func GetTaobaoSebpOrganizationGetinviteinfoAPIRequest() *TaobaoSebpOrganizationGetinviteinfoAPIRequest

GetTaobaoSebpOrganizationGetinviteinfoRequest 从 sync.Pool 获取 TaobaoSebpOrganizationGetinviteinfoAPIRequest

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) GetRawParams added in v1.2.8

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

func (*TaobaoSebpOrganizationGetinviteinfoAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

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

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

func GetTaobaoSebpOrganizationGetinviteinfoAPIResponse added in v1.3.4

func GetTaobaoSebpOrganizationGetinviteinfoAPIResponse() *TaobaoSebpOrganizationGetinviteinfoAPIResponse

GetTaobaoSebpOrganizationGetinviteinfoAPIResponse 从 sync.Pool 获取 TaobaoSebpOrganizationGetinviteinfoAPIResponse

func (*TaobaoSebpOrganizationGetinviteinfoAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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 淘小铺机构上下级关系 成功返回结果

func (*TaobaoSebpOrganizationGetinviteinfoAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

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

func GetTaobaoSebpOrganizationGetinviteinfoResultDo added in v1.3.4

func GetTaobaoSebpOrganizationGetinviteinfoResultDo() *TaobaoSebpOrganizationGetinviteinfoResultDo

GetTaobaoSebpOrganizationGetinviteinfoResultDo() 从对象池中获取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 GetTaobaoSebpOrganizationGetorderinfoAPIRequest added in v1.3.4

func GetTaobaoSebpOrganizationGetorderinfoAPIRequest() *TaobaoSebpOrganizationGetorderinfoAPIRequest

GetTaobaoSebpOrganizationGetorderinfoRequest 从 sync.Pool 获取 TaobaoSebpOrganizationGetorderinfoAPIRequest

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) GetRawParams added in v1.2.8

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

func (TaobaoSebpOrganizationGetorderinfoAPIRequest) GetStartTime added in v1.2.0

GetStartTime StartTime Getter

func (*TaobaoSebpOrganizationGetorderinfoAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

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

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

func GetTaobaoSebpOrganizationGetorderinfoAPIResponse added in v1.3.4

func GetTaobaoSebpOrganizationGetorderinfoAPIResponse() *TaobaoSebpOrganizationGetorderinfoAPIResponse

GetTaobaoSebpOrganizationGetorderinfoAPIResponse 从 sync.Pool 获取 TaobaoSebpOrganizationGetorderinfoAPIResponse

func (*TaobaoSebpOrganizationGetorderinfoAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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 淘小铺机构订单信息 成功返回结果

func (*TaobaoSebpOrganizationGetorderinfoAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

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

func GetTaobaoSebpOrganizationGetorderinfoResultDo added in v1.3.4

func GetTaobaoSebpOrganizationGetorderinfoResultDo() *TaobaoSebpOrganizationGetorderinfoResultDo

GetTaobaoSebpOrganizationGetorderinfoResultDo() 从对象池中获取TaobaoSebpOrganizationGetorderinfoResultDo

Jump to

Keyboard shortcuts

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