opentrade

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Overview

交易开放 model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupActivityResponse

type GroupActivityResponse struct {
	// 组团活动id
	GroupActivityId int64 `json:"group_activity_id,omitempty" xml:"group_activity_id,omitempty"`
	// 组团活动开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 组团活动结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 成团有效期,单位为秒
	Expiration int64 `json:"expiration,omitempty" xml:"expiration,omitempty"`
	// 成团的目标人数
	Goal int64 `json:"goal,omitempty" xml:"goal,omitempty"`
	// 组团类型,0:拼团;1:团购
	GroupType int64 `json:"group_type,omitempty" xml:"group_type,omitempty"`
	// 是否任何账号可开团。whitelist:仅白名单账号可开团 all:任何账号可开团
	AllowType string `json:"allow_type,omitempty" xml:"allow_type,omitempty"`
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 组团购买的折扣价,单位为分,不能低于店铺最低折扣
	DiscountPrice int64 `json:"discount_price,omitempty" xml:"discount_price,omitempty"`
	// 未成团处理办法,close:系统关单;continue:订单继续下行
	FailProcess string `json:"fail_process,omitempty" xml:"fail_process,omitempty"`
	// 组团类型为团购,可限制团长针对一个商品的开团数量上限
	OpenLimit int64 `json:"open_limit,omitempty" xml:"open_limit,omitempty"`
	// 允许开团的淘宝账号列表
	AllowWhiteList []string `json:"allow_white_list,omitempty" xml:"allow_white_list>string,omitempty"`
}

GroupActivityResponse 结构体

type GroupDetailResponse

type GroupDetailResponse struct {
	// 已参团人数
	Joined int64 `json:"joined,omitempty" xml:"joined,omitempty"`
	// 成团目标数
	Goal int64 `json:"goal,omitempty" xml:"goal,omitempty"`
	// 组团类型,0 拼团 1 团购
	GroupType int64 `json:"group_type,omitempty" xml:"group_type,omitempty"`
	// 团id
	GroupId int64 `json:"group_id,omitempty" xml:"group_id,omitempty"`
	// 商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 团长信息
	Leader *RopGroupMemberInfo `json:"leader,omitempty" xml:"leader,omitempty"`
	// 团员信息
	Members []RopGroupMemberInfo `json:"members,omitempty" xml:"members>rop_group_member_info,omitempty"`
	// 是否成团
	Done bool `json:"done,omitempty" xml:"done,omitempty"`
	// 成团有效截止日期
	Expiration string `json:"expiration,omitempty" xml:"expiration,omitempty"`
	// 下单付款人数
	Payed int64 `json:"payed,omitempty" xml:"payed,omitempty"`
	// 组团活动id
	GroupActivityId int64 `json:"group_activity_id,omitempty" xml:"group_activity_id,omitempty"`
	// 1-未付款,2-已付款,4-已退款,6-交易成功,8-交易关闭
	MemberPayStatus int64 `json:"member_pay_status,omitempty" xml:"member_pay_status,omitempty"`
}

GroupDetailResponse 结构体

type GroupMemberInfoResponse

type GroupMemberInfoResponse struct {
	// 1-未付款,2-已付款,4-已退款,6-交易成功,8-交易关闭,null表示用户未参团
	PayStatus int64 `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 用户openId
	OpenUserId string `json:"open_user_id,omitempty" xml:"open_user_id,omitempty"`
	// 用户参团订单号
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

GroupMemberInfoResponse 结构体

type ItemBindResult

type ItemBindResult struct {
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 绑定异常时的错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 是否绑定成功
	BindOk bool `json:"bind_ok,omitempty" xml:"bind_ok,omitempty"`
}

ItemBindResult 结构体

type ItemInfo

type ItemInfo struct {
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品SKU
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 商品数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 订单页显示的商品名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 订单页显示的商品主图地址,只能为图片空间中的图片。只需传入图片地址的path,无需域名
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
}

ItemInfo 结构体

type ItemResultDto

type ItemResultDto struct {
	// 失败商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 失败原因
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
}

ItemResultDto 结构体

type ItemUnBindResult

type ItemUnBindResult struct {
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 解绑异常时的错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 是否解绑成功
	BindOk bool `json:"bind_ok,omitempty" xml:"bind_ok,omitempty"`
}

ItemUnBindResult 结构体

type MarkUserInfo

type MarkUserInfo struct {
	// 用户openId
	UserOpenId string `json:"user_open_id,omitempty" xml:"user_open_id,omitempty"`
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品SKU ID
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 专属下单商品数量
	Quality int64 `json:"quality,omitempty" xml:"quality,omitempty"`
	// 用户状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
}

MarkUserInfo 结构体

type McSceneActivityDto

type McSceneActivityDto struct {
	// 活动开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 活动关联的商品列表,使用逗号(,)分割
	ItemIds string `json:"item_ids,omitempty" xml:"item_ids,omitempty"`
	// 活动名称
	ActivityName string `json:"activity_name,omitempty" xml:"activity_name,omitempty"`
	// 创建活动的appkey
	Appkey string `json:"appkey,omitempty" xml:"appkey,omitempty"`
	// 排队活动ID
	ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 最近修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 活动结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
}

McSceneActivityDto 结构体

type McUserDto

type McUserDto struct {
	// 用户状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 排队活动ID
	ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 排队传入的扩展信息
	ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"`
	// 排队商品数量
	Quality int64 `json:"quality,omitempty" xml:"quality,omitempty"`
	// 排队商品SKU ID
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 排队商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 用户openId
	UserOpenId string `json:"user_open_id,omitempty" xml:"user_open_id,omitempty"`
}

McUserDto 结构体

type OpenGroupResponse

type OpenGroupResponse struct {
	// 团id
	GroupId int64 `json:"group_id,omitempty" xml:"group_id,omitempty"`
	// 成团过期时间,单位为秒
	Expiration int64 `json:"expiration,omitempty" xml:"expiration,omitempty"`
	// 成团目标数
	Goal int64 `json:"goal,omitempty" xml:"goal,omitempty"`
	// 组团类型,0 拼团 1 成团
	GroupType int64 `json:"group_type,omitempty" xml:"group_type,omitempty"`
}

OpenGroupResponse 结构体

type RopGroupMemberInfo

type RopGroupMemberInfo struct {
	// 用户昵称
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
	// 用户头像
	Avatar string `json:"avatar,omitempty" xml:"avatar,omitempty"`
	// 1-未付款,2-已付款,4-已退款,6-交易成功,8-交易关闭
	PayStatus int64 `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
}

RopGroupMemberInfo 结构体

type TaobaoOpentradeActivityQueryAPIRequest added in v1.2.0

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

查询尖货活动信息 API请求 taobao.opentrade.activity.query

尖货交易活动信息配置,查询尖货活动信息

func NewTaobaoOpentradeActivityQueryRequest

func NewTaobaoOpentradeActivityQueryRequest() *TaobaoOpentradeActivityQueryAPIRequest

NewTaobaoOpentradeActivityQueryRequest 初始化TaobaoOpentradeActivityQueryAPIRequest对象

func (TaobaoOpentradeActivityQueryAPIRequest) GetActivityName added in v1.2.0

func (r TaobaoOpentradeActivityQueryAPIRequest) GetActivityName() string

Get ActivityName Getter

func (TaobaoOpentradeActivityQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpentradeActivityQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeActivityQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeActivityQueryAPIRequest) GetEndTime added in v1.2.0

Get EndTime Getter

func (TaobaoOpentradeActivityQueryAPIRequest) GetPageIndex added in v1.2.0

Get PageIndex Getter

func (TaobaoOpentradeActivityQueryAPIRequest) GetPageSize added in v1.2.0

Get PageSize Getter

func (*TaobaoOpentradeActivityQueryAPIRequest) SetActivityName added in v1.2.0

func (r *TaobaoOpentradeActivityQueryAPIRequest) SetActivityName(_activityName string) error

Set is ActivityName Setter 活动名称

func (*TaobaoOpentradeActivityQueryAPIRequest) SetEndTime added in v1.2.0

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

Set is EndTime Setter 活动结束时间

func (*TaobaoOpentradeActivityQueryAPIRequest) SetPageIndex added in v1.2.0

func (r *TaobaoOpentradeActivityQueryAPIRequest) SetPageIndex(_pageIndex int64) error

Set is PageIndex Setter 分页序号

func (*TaobaoOpentradeActivityQueryAPIRequest) SetPageSize added in v1.2.0

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

Set is PageSize Setter 分页大小

type TaobaoOpentradeActivityQueryAPIResponse

type TaobaoOpentradeActivityQueryAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeActivityQueryAPIResponseModel
}
TaobaoOpentradeActivityQueryAPIResponse

查询尖货活动信息 API返回值 taobao.opentrade.activity.query

尖货交易活动信息配置,查询尖货活动信息

type TaobaoOpentradeActivityQueryAPIResponseModel added in v1.2.0

type TaobaoOpentradeActivityQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_activity_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 总条数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 活动信息记录
	Results []McSceneActivityDto `json:"results,omitempty" xml:"results>mc_scene_activity_dto,omitempty"`
}

TaobaoOpentradeActivityQueryAPIResponseModel is 查询尖货活动信息 成功返回结果

type TaobaoOpentradeActivitySyncAPIRequest added in v1.2.0

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

尖货交易活动信息同步 API请求 taobao.opentrade.activity.sync

尖货交易活动信息配置,创建或更新活动信息 在活动时间开始前,所有用户(包括标记可购买的用户),无法购买商品; 在活动时间内,标记可购买的用户可在小程序中跳转下单页,完成购买; 在活动结束后,对限购不再限制,平台开放购买,用户可在小程序内、商品详情、购物车下单购买;

func NewTaobaoOpentradeActivitySyncRequest

func NewTaobaoOpentradeActivitySyncRequest() *TaobaoOpentradeActivitySyncAPIRequest

NewTaobaoOpentradeActivitySyncRequest 初始化TaobaoOpentradeActivitySyncAPIRequest对象

func (TaobaoOpentradeActivitySyncAPIRequest) GetActivityId added in v1.2.0

Get ActivityId Getter

func (TaobaoOpentradeActivitySyncAPIRequest) GetActivityName added in v1.2.0

func (r TaobaoOpentradeActivitySyncAPIRequest) GetActivityName() string

Get ActivityName Getter

func (TaobaoOpentradeActivitySyncAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpentradeActivitySyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeActivitySyncAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeActivitySyncAPIRequest) GetEndTime added in v1.2.0

Get EndTime Getter

func (TaobaoOpentradeActivitySyncAPIRequest) GetItemIdList added in v1.2.0

func (r TaobaoOpentradeActivitySyncAPIRequest) GetItemIdList() []int64

Get ItemIdList Getter

func (TaobaoOpentradeActivitySyncAPIRequest) GetStartTime added in v1.2.0

Get StartTime Getter

func (*TaobaoOpentradeActivitySyncAPIRequest) SetActivityId added in v1.2.0

func (r *TaobaoOpentradeActivitySyncAPIRequest) SetActivityId(_activityId string) error

Set is ActivityId Setter 排队活动ID,排队时如传入,这里需要填写;若未传,这里也可以不传

func (*TaobaoOpentradeActivitySyncAPIRequest) SetActivityName added in v1.2.0

func (r *TaobaoOpentradeActivitySyncAPIRequest) SetActivityName(_activityName string) error

Set is ActivityName Setter 活动名称

func (*TaobaoOpentradeActivitySyncAPIRequest) SetEndTime added in v1.2.0

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

Set is EndTime Setter 活动结束时间(全流程结束时间,非排队结束时间)

func (*TaobaoOpentradeActivitySyncAPIRequest) SetItemIdList added in v1.2.0

func (r *TaobaoOpentradeActivitySyncAPIRequest) SetItemIdList(_itemIdList []int64) error

Set is ItemIdList Setter 活动关联的商品列表,使用逗号(,)分割

func (*TaobaoOpentradeActivitySyncAPIRequest) SetStartTime added in v1.2.0

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

Set is StartTime Setter 活动开始时间

type TaobaoOpentradeActivitySyncAPIResponse

type TaobaoOpentradeActivitySyncAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeActivitySyncAPIResponseModel
}
TaobaoOpentradeActivitySyncAPIResponse

尖货交易活动信息同步 API返回值 taobao.opentrade.activity.sync

尖货交易活动信息配置,创建或更新活动信息 在活动时间开始前,所有用户(包括标记可购买的用户),无法购买商品; 在活动时间内,标记可购买的用户可在小程序中跳转下单页,完成购买; 在活动结束后,对限购不再限制,平台开放购买,用户可在小程序内、商品详情、购物车下单购买;

type TaobaoOpentradeActivitySyncAPIResponseModel added in v1.2.0

type TaobaoOpentradeActivitySyncAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_activity_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 活动开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 活动关联的商品列表,使用逗号(,)分割
	ItemIds string `json:"item_ids,omitempty" xml:"item_ids,omitempty"`
	// 活动名称
	ActivityName string `json:"activity_name,omitempty" xml:"activity_name,omitempty"`
	// 创建活动的appkey
	Appkey string `json:"appkey,omitempty" xml:"appkey,omitempty"`
	// 排队活动ID
	ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 最近修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 活动结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
}

TaobaoOpentradeActivitySyncAPIResponseModel is 尖货交易活动信息同步 成功返回结果

type TaobaoOpentradeCreateOrderAPIRequest added in v1.2.0

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

订单创建 API请求 taobao.opentrade.create.order

交易开放创建订单

func NewTaobaoOpentradeCreateOrderRequest

func NewTaobaoOpentradeCreateOrderRequest() *TaobaoOpentradeCreateOrderAPIRequest

NewTaobaoOpentradeCreateOrderRequest 初始化TaobaoOpentradeCreateOrderAPIRequest对象

func (TaobaoOpentradeCreateOrderAPIRequest) GetAddress added in v1.2.0

Get Address Getter

func (TaobaoOpentradeCreateOrderAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpentradeCreateOrderAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeCreateOrderAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeCreateOrderAPIRequest) GetBuyerMemo added in v1.2.0

Get BuyerMemo Getter

func (TaobaoOpentradeCreateOrderAPIRequest) GetFullName added in v1.2.0

Get FullName Getter

func (TaobaoOpentradeCreateOrderAPIRequest) GetItemInfos added in v1.2.0

Get ItemInfos Getter

func (TaobaoOpentradeCreateOrderAPIRequest) GetMobile added in v1.2.0

Get Mobile Getter

func (TaobaoOpentradeCreateOrderAPIRequest) GetOpenUserId added in v1.2.0

func (r TaobaoOpentradeCreateOrderAPIRequest) GetOpenUserId() string

Get OpenUserId Getter

func (TaobaoOpentradeCreateOrderAPIRequest) GetOutId added in v1.2.0

Get OutId Getter

func (TaobaoOpentradeCreateOrderAPIRequest) GetSellerMemo added in v1.2.0

func (r TaobaoOpentradeCreateOrderAPIRequest) GetSellerMemo() string

Get SellerMemo Getter

func (*TaobaoOpentradeCreateOrderAPIRequest) SetAddress added in v1.2.0

func (r *TaobaoOpentradeCreateOrderAPIRequest) SetAddress(_address string) error

Set is Address Setter 收货地址

func (*TaobaoOpentradeCreateOrderAPIRequest) SetBuyerMemo added in v1.2.0

func (r *TaobaoOpentradeCreateOrderAPIRequest) SetBuyerMemo(_buyerMemo string) error

Set is BuyerMemo Setter 卖家备忘

func (*TaobaoOpentradeCreateOrderAPIRequest) SetFullName added in v1.2.0

func (r *TaobaoOpentradeCreateOrderAPIRequest) SetFullName(_fullName string) error

Set is FullName Setter 收货地址的收件人姓名

func (*TaobaoOpentradeCreateOrderAPIRequest) SetItemInfos added in v1.2.0

func (r *TaobaoOpentradeCreateOrderAPIRequest) SetItemInfos(_itemInfos []ItemInfo) error

Set is ItemInfos Setter 商品信息,一次不能超过10个

func (*TaobaoOpentradeCreateOrderAPIRequest) SetMobile added in v1.2.0

func (r *TaobaoOpentradeCreateOrderAPIRequest) SetMobile(_mobile string) error

Set is Mobile Setter 收货地址的手机号码

func (*TaobaoOpentradeCreateOrderAPIRequest) SetOpenUserId added in v1.2.0

func (r *TaobaoOpentradeCreateOrderAPIRequest) SetOpenUserId(_openUserId string) error

Set is OpenUserId Setter 买家openID

func (*TaobaoOpentradeCreateOrderAPIRequest) SetOutId added in v1.2.0

Set is OutId Setter 外部订单ID

func (*TaobaoOpentradeCreateOrderAPIRequest) SetSellerMemo added in v1.2.0

func (r *TaobaoOpentradeCreateOrderAPIRequest) SetSellerMemo(_sellerMemo string) error

Set is SellerMemo Setter 卖家备忘

type TaobaoOpentradeCreateOrderAPIResponse

type TaobaoOpentradeCreateOrderAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeCreateOrderAPIResponseModel
}
TaobaoOpentradeCreateOrderAPIResponse

订单创建 API返回值 taobao.opentrade.create.order

交易开放创建订单

type TaobaoOpentradeCreateOrderAPIResponseModel added in v1.2.0

type TaobaoOpentradeCreateOrderAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_create_order_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 订单ID
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

TaobaoOpentradeCreateOrderAPIResponseModel is 订单创建 成功返回结果

type TaobaoOpentradeGroupActivtiyQueryAPIRequest added in v1.2.0

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

组团活动信息查询 API请求 taobao.opentrade.group.activtiy.query

组团购场景下,团购活动信息查询

func NewTaobaoOpentradeGroupActivtiyQueryRequest

func NewTaobaoOpentradeGroupActivtiyQueryRequest() *TaobaoOpentradeGroupActivtiyQueryAPIRequest

NewTaobaoOpentradeGroupActivtiyQueryRequest 初始化TaobaoOpentradeGroupActivtiyQueryAPIRequest对象

func (TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetGroupActivityId added in v1.2.0

func (r TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetGroupActivityId() int64

Get GroupActivityId Getter

func (TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetItemId added in v1.2.0

Get ItemId Getter

func (TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetPageIndex added in v1.2.0

Get PageIndex Getter

func (TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetPageSize added in v1.2.0

Get PageSize Getter

func (*TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetGroupActivityId added in v1.2.0

func (r *TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetGroupActivityId(_groupActivityId int64) error

Set is GroupActivityId Setter 组团活动id

func (*TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetItemId added in v1.2.0

Set is ItemId Setter 商品ID

func (*TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetPageIndex added in v1.2.0

func (r *TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetPageIndex(_pageIndex int64) error

Set is PageIndex Setter 分页参数,当前页,以0开始

func (*TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetPageSize added in v1.2.0

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

Set is PageSize Setter 分页参数,每页大小

type TaobaoOpentradeGroupActivtiyQueryAPIResponse

type TaobaoOpentradeGroupActivtiyQueryAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeGroupActivtiyQueryAPIResponseModel
}
TaobaoOpentradeGroupActivtiyQueryAPIResponse

组团活动信息查询 API返回值 taobao.opentrade.group.activtiy.query

组团购场景下,团购活动信息查询

type TaobaoOpentradeGroupActivtiyQueryAPIResponseModel added in v1.2.0

type TaobaoOpentradeGroupActivtiyQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_group_activtiy_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 总记录数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 组团活动信息
	Results []GroupActivityResponse `json:"results,omitempty" xml:"results>group_activity_response,omitempty"`
}

TaobaoOpentradeGroupActivtiyQueryAPIResponseModel is 组团活动信息查询 成功返回结果

type TaobaoOpentradeGroupDetailAPIRequest added in v1.2.0

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

组团购场景查询团详情 API请求 taobao.opentrade.group.detail

组团购场景下,查询团详情

func NewTaobaoOpentradeGroupDetailRequest

func NewTaobaoOpentradeGroupDetailRequest() *TaobaoOpentradeGroupDetailAPIRequest

NewTaobaoOpentradeGroupDetailRequest 初始化TaobaoOpentradeGroupDetailAPIRequest对象

func (TaobaoOpentradeGroupDetailAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpentradeGroupDetailAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeGroupDetailAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeGroupDetailAPIRequest) GetGroupId added in v1.2.0

Get GroupId Getter

func (*TaobaoOpentradeGroupDetailAPIRequest) SetGroupId added in v1.2.0

func (r *TaobaoOpentradeGroupDetailAPIRequest) SetGroupId(_groupId int64) error

Set is GroupId Setter 团id

type TaobaoOpentradeGroupDetailAPIResponse

type TaobaoOpentradeGroupDetailAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeGroupDetailAPIResponseModel
}
TaobaoOpentradeGroupDetailAPIResponse

组团购场景查询团详情 API返回值 taobao.opentrade.group.detail

组团购场景下,查询团详情

type TaobaoOpentradeGroupDetailAPIResponseModel added in v1.2.0

type TaobaoOpentradeGroupDetailAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_group_detail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 团信息
	Result *GroupDetailResponse `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoOpentradeGroupDetailAPIResponseModel is 组团购场景查询团详情 成功返回结果

type TaobaoOpentradeGroupJoinAPIRequest added in v1.2.0

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

组团购场景参团 API请求 taobao.opentrade.group.join

组团购场景下,用户参团

func NewTaobaoOpentradeGroupJoinRequest

func NewTaobaoOpentradeGroupJoinRequest() *TaobaoOpentradeGroupJoinAPIRequest

NewTaobaoOpentradeGroupJoinRequest 初始化TaobaoOpentradeGroupJoinAPIRequest对象

func (TaobaoOpentradeGroupJoinAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpentradeGroupJoinAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeGroupJoinAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeGroupJoinAPIRequest) GetGroupId added in v1.2.0

Get GroupId Getter

func (TaobaoOpentradeGroupJoinAPIRequest) GetItemId added in v1.2.0

Get ItemId Getter

func (TaobaoOpentradeGroupJoinAPIRequest) GetOpenUserId added in v1.2.0

func (r TaobaoOpentradeGroupJoinAPIRequest) GetOpenUserId() string

Get OpenUserId Getter

func (*TaobaoOpentradeGroupJoinAPIRequest) SetGroupId added in v1.2.0

func (r *TaobaoOpentradeGroupJoinAPIRequest) SetGroupId(_groupId int64) error

Set is GroupId Setter 团id

func (*TaobaoOpentradeGroupJoinAPIRequest) SetItemId added in v1.2.0

func (r *TaobaoOpentradeGroupJoinAPIRequest) SetItemId(_itemId int64) error

Set is ItemId Setter 商品id

func (*TaobaoOpentradeGroupJoinAPIRequest) SetOpenUserId added in v1.2.0

func (r *TaobaoOpentradeGroupJoinAPIRequest) SetOpenUserId(_openUserId string) error

Set is OpenUserId Setter 用户openId

type TaobaoOpentradeGroupJoinAPIResponse

type TaobaoOpentradeGroupJoinAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeGroupJoinAPIResponseModel
}
TaobaoOpentradeGroupJoinAPIResponse

组团购场景参团 API返回值 taobao.opentrade.group.join

组团购场景下,用户参团

type TaobaoOpentradeGroupJoinAPIResponseModel added in v1.2.0

type TaobaoOpentradeGroupJoinAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_group_join_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
}

TaobaoOpentradeGroupJoinAPIResponseModel is 组团购场景参团 成功返回结果

type TaobaoOpentradeGroupMemberInfoAPIRequest added in v1.2.0

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

组团购获取用户参团信息 API请求 taobao.opentrade.group.member.info

组团购场景下,获取用户参团信息

func NewTaobaoOpentradeGroupMemberInfoRequest

func NewTaobaoOpentradeGroupMemberInfoRequest() *TaobaoOpentradeGroupMemberInfoAPIRequest

NewTaobaoOpentradeGroupMemberInfoRequest 初始化TaobaoOpentradeGroupMemberInfoAPIRequest对象

func (TaobaoOpentradeGroupMemberInfoAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpentradeGroupMemberInfoAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeGroupMemberInfoAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeGroupMemberInfoAPIRequest) GetGroupId added in v1.2.0

Get GroupId Getter

func (TaobaoOpentradeGroupMemberInfoAPIRequest) GetOpenUserId added in v1.2.0

Get OpenUserId Getter

func (*TaobaoOpentradeGroupMemberInfoAPIRequest) SetGroupId added in v1.2.0

func (r *TaobaoOpentradeGroupMemberInfoAPIRequest) SetGroupId(_groupId int64) error

Set is GroupId Setter 团id

func (*TaobaoOpentradeGroupMemberInfoAPIRequest) SetOpenUserId added in v1.2.0

func (r *TaobaoOpentradeGroupMemberInfoAPIRequest) SetOpenUserId(_openUserId string) error

Set is OpenUserId Setter 用户openId

type TaobaoOpentradeGroupMemberInfoAPIResponse

type TaobaoOpentradeGroupMemberInfoAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeGroupMemberInfoAPIResponseModel
}
TaobaoOpentradeGroupMemberInfoAPIResponse

组团购获取用户参团信息 API返回值 taobao.opentrade.group.member.info

组团购场景下,获取用户参团信息

type TaobaoOpentradeGroupMemberInfoAPIResponseModel added in v1.2.0

type TaobaoOpentradeGroupMemberInfoAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_group_member_info_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 参团信息
	Result *RopGroupMemberInfo `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoOpentradeGroupMemberInfoAPIResponseModel is 组团购获取用户参团信息 成功返回结果

type TaobaoOpentradeGroupMemberInfosAPIRequest added in v1.2.0

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

组团购批量获取用户参团信息 API请求 taobao.opentrade.group.member.infos

组团购场景下,获取用户参团信息

func NewTaobaoOpentradeGroupMemberInfosRequest

func NewTaobaoOpentradeGroupMemberInfosRequest() *TaobaoOpentradeGroupMemberInfosAPIRequest

NewTaobaoOpentradeGroupMemberInfosRequest 初始化TaobaoOpentradeGroupMemberInfosAPIRequest对象

func (TaobaoOpentradeGroupMemberInfosAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeGroupMemberInfosAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeGroupMemberInfosAPIRequest) GetGroupId added in v1.2.0

Get GroupId Getter

func (TaobaoOpentradeGroupMemberInfosAPIRequest) GetOpenUserIds added in v1.2.0

Get OpenUserIds Getter

func (*TaobaoOpentradeGroupMemberInfosAPIRequest) SetGroupId added in v1.2.0

func (r *TaobaoOpentradeGroupMemberInfosAPIRequest) SetGroupId(_groupId int64) error

Set is GroupId Setter 团id

func (*TaobaoOpentradeGroupMemberInfosAPIRequest) SetOpenUserIds added in v1.2.0

func (r *TaobaoOpentradeGroupMemberInfosAPIRequest) SetOpenUserIds(_openUserIds []string) error

Set is OpenUserIds Setter 用户openId列表

type TaobaoOpentradeGroupMemberInfosAPIResponse

type TaobaoOpentradeGroupMemberInfosAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeGroupMemberInfosAPIResponseModel
}
TaobaoOpentradeGroupMemberInfosAPIResponse

组团购批量获取用户参团信息 API返回值 taobao.opentrade.group.member.infos

组团购场景下,获取用户参团信息

type TaobaoOpentradeGroupMemberInfosAPIResponseModel added in v1.2.0

type TaobaoOpentradeGroupMemberInfosAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_group_member_infos_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 参团信息
	Result []GroupMemberInfoResponse `json:"result,omitempty" xml:"result>group_member_info_response,omitempty"`
}

TaobaoOpentradeGroupMemberInfosAPIResponseModel is 组团购批量获取用户参团信息 成功返回结果

type TaobaoOpentradeGroupOpenAPIRequest added in v1.2.0

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

组团购场景开团 API请求 taobao.opentrade.group.open

组团购场景下,团长开团

func NewTaobaoOpentradeGroupOpenRequest

func NewTaobaoOpentradeGroupOpenRequest() *TaobaoOpentradeGroupOpenAPIRequest

NewTaobaoOpentradeGroupOpenRequest 初始化TaobaoOpentradeGroupOpenAPIRequest对象

func (TaobaoOpentradeGroupOpenAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpentradeGroupOpenAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeGroupOpenAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeGroupOpenAPIRequest) GetGroupActivityId added in v1.2.0

func (r TaobaoOpentradeGroupOpenAPIRequest) GetGroupActivityId() int64

Get GroupActivityId Getter

func (TaobaoOpentradeGroupOpenAPIRequest) GetItemId added in v1.2.0

Get ItemId Getter

func (TaobaoOpentradeGroupOpenAPIRequest) GetOpenUserId added in v1.2.0

func (r TaobaoOpentradeGroupOpenAPIRequest) GetOpenUserId() string

Get OpenUserId Getter

func (*TaobaoOpentradeGroupOpenAPIRequest) SetGroupActivityId added in v1.2.0

func (r *TaobaoOpentradeGroupOpenAPIRequest) SetGroupActivityId(_groupActivityId int64) error

Set is GroupActivityId Setter 组团活动id

func (*TaobaoOpentradeGroupOpenAPIRequest) SetItemId added in v1.2.0

func (r *TaobaoOpentradeGroupOpenAPIRequest) SetItemId(_itemId int64) error

Set is ItemId Setter 商品id

func (*TaobaoOpentradeGroupOpenAPIRequest) SetOpenUserId added in v1.2.0

func (r *TaobaoOpentradeGroupOpenAPIRequest) SetOpenUserId(_openUserId string) error

Set is OpenUserId Setter 用户openId

type TaobaoOpentradeGroupOpenAPIResponse

type TaobaoOpentradeGroupOpenAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeGroupOpenAPIResponseModel
}
TaobaoOpentradeGroupOpenAPIResponse

组团购场景开团 API返回值 taobao.opentrade.group.open

组团购场景下,团长开团

type TaobaoOpentradeGroupOpenAPIResponseModel added in v1.2.0

type TaobaoOpentradeGroupOpenAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_group_open_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 团信息
	Result *OpenGroupResponse `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoOpentradeGroupOpenAPIResponseModel is 组团购场景开团 成功返回结果

type TaobaoOpentradeGroupOrderAPIRequest added in v1.2.0

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

组团购获取订单列表 API请求 taobao.opentrade.group.order

组团购场景下,获取开团的订单列表

func NewTaobaoOpentradeGroupOrderRequest

func NewTaobaoOpentradeGroupOrderRequest() *TaobaoOpentradeGroupOrderAPIRequest

NewTaobaoOpentradeGroupOrderRequest 初始化TaobaoOpentradeGroupOrderAPIRequest对象

func (TaobaoOpentradeGroupOrderAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpentradeGroupOrderAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeGroupOrderAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeGroupOrderAPIRequest) GetGroupId added in v1.2.0

Get GroupId Getter

func (*TaobaoOpentradeGroupOrderAPIRequest) SetGroupId added in v1.2.0

func (r *TaobaoOpentradeGroupOrderAPIRequest) SetGroupId(_groupId int64) error

Set is GroupId Setter 团id

type TaobaoOpentradeGroupOrderAPIResponse

type TaobaoOpentradeGroupOrderAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeGroupOrderAPIResponseModel
}
TaobaoOpentradeGroupOrderAPIResponse

组团购获取订单列表 API返回值 taobao.opentrade.group.order

组团购场景下,获取开团的订单列表

type TaobaoOpentradeGroupOrderAPIResponseModel added in v1.2.0

type TaobaoOpentradeGroupOrderAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_group_order_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 订单id列表
	Result []string `json:"result,omitempty" xml:"result>string,omitempty"`
}

TaobaoOpentradeGroupOrderAPIResponseModel is 组团购获取订单列表 成功返回结果

type TaobaoOpentradeGroupQueryAPIRequest added in v1.2.0

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

组团购场景查询商品组团详情 API请求 taobao.opentrade.group.query

组团购场景下,查询商品开团详情

func NewTaobaoOpentradeGroupQueryRequest

func NewTaobaoOpentradeGroupQueryRequest() *TaobaoOpentradeGroupQueryAPIRequest

NewTaobaoOpentradeGroupQueryRequest 初始化TaobaoOpentradeGroupQueryAPIRequest对象

func (TaobaoOpentradeGroupQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpentradeGroupQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeGroupQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeGroupQueryAPIRequest) GetGroupActivityId added in v1.2.0

func (r TaobaoOpentradeGroupQueryAPIRequest) GetGroupActivityId() int64

Get GroupActivityId Getter

func (TaobaoOpentradeGroupQueryAPIRequest) GetItemId added in v1.2.0

Get ItemId Getter

func (TaobaoOpentradeGroupQueryAPIRequest) GetOpenUserId added in v1.2.0

func (r TaobaoOpentradeGroupQueryAPIRequest) GetOpenUserId() string

Get OpenUserId Getter

func (TaobaoOpentradeGroupQueryAPIRequest) GetOrderBy added in v1.2.0

Get OrderBy Getter

func (TaobaoOpentradeGroupQueryAPIRequest) GetPageIndex added in v1.2.0

func (r TaobaoOpentradeGroupQueryAPIRequest) GetPageIndex() int64

Get PageIndex Getter

func (TaobaoOpentradeGroupQueryAPIRequest) GetPageSize added in v1.2.0

Get PageSize Getter

func (TaobaoOpentradeGroupQueryAPIRequest) GetWithExpire added in v1.2.0

func (r TaobaoOpentradeGroupQueryAPIRequest) GetWithExpire() bool

Get WithExpire Getter

func (*TaobaoOpentradeGroupQueryAPIRequest) SetGroupActivityId added in v1.2.0

func (r *TaobaoOpentradeGroupQueryAPIRequest) SetGroupActivityId(_groupActivityId int64) error

Set is GroupActivityId Setter 组团活动id

func (*TaobaoOpentradeGroupQueryAPIRequest) SetItemId added in v1.2.0

func (r *TaobaoOpentradeGroupQueryAPIRequest) SetItemId(_itemId int64) error

Set is ItemId Setter 商品id

func (*TaobaoOpentradeGroupQueryAPIRequest) SetOpenUserId added in v1.2.0

func (r *TaobaoOpentradeGroupQueryAPIRequest) SetOpenUserId(_openUserId string) error

Set is OpenUserId Setter 用户openId

func (*TaobaoOpentradeGroupQueryAPIRequest) SetOrderBy added in v1.2.0

func (r *TaobaoOpentradeGroupQueryAPIRequest) SetOrderBy(_orderBy int64) error

Set is OrderBy Setter 0 返回未成团列表,1 返回已成团列表

func (*TaobaoOpentradeGroupQueryAPIRequest) SetPageIndex added in v1.2.0

func (r *TaobaoOpentradeGroupQueryAPIRequest) SetPageIndex(_pageIndex int64) error

Set is PageIndex Setter 页数

func (*TaobaoOpentradeGroupQueryAPIRequest) SetPageSize added in v1.2.0

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

Set is PageSize Setter 每页展示条数,不能超过100

func (*TaobaoOpentradeGroupQueryAPIRequest) SetWithExpire added in v1.2.0

func (r *TaobaoOpentradeGroupQueryAPIRequest) SetWithExpire(_withExpire bool) error

Set is WithExpire Setter 是否返回已过期的团,true 返回,false 不返回

type TaobaoOpentradeGroupQueryAPIResponse

type TaobaoOpentradeGroupQueryAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeGroupQueryAPIResponseModel
}
TaobaoOpentradeGroupQueryAPIResponse

组团购场景查询商品组团详情 API返回值 taobao.opentrade.group.query

组团购场景下,查询商品开团详情

type TaobaoOpentradeGroupQueryAPIResponseModel added in v1.2.0

type TaobaoOpentradeGroupQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_group_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 总记录数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 团信息
	Results []GroupDetailResponse `json:"results,omitempty" xml:"results>group_detail_response,omitempty"`
}

TaobaoOpentradeGroupQueryAPIResponseModel is 组团购场景查询商品组团详情 成功返回结果

type TaobaoOpentradeGroupSyncAPIRequest added in v1.2.0

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

组团购场景创建或更新组团活动 API请求 taobao.opentrade.group.sync

组团购场景中创建团购活动

func NewTaobaoOpentradeGroupSyncRequest

func NewTaobaoOpentradeGroupSyncRequest() *TaobaoOpentradeGroupSyncAPIRequest

NewTaobaoOpentradeGroupSyncRequest 初始化TaobaoOpentradeGroupSyncAPIRequest对象

func (TaobaoOpentradeGroupSyncAPIRequest) GetAllowType added in v1.2.0

func (r TaobaoOpentradeGroupSyncAPIRequest) GetAllowType() string

Get AllowType Getter

func (TaobaoOpentradeGroupSyncAPIRequest) GetAllowWhiteList added in v1.2.0

func (r TaobaoOpentradeGroupSyncAPIRequest) GetAllowWhiteList() []string

Get AllowWhiteList Getter

func (TaobaoOpentradeGroupSyncAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpentradeGroupSyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeGroupSyncAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeGroupSyncAPIRequest) GetDiscountPrice added in v1.2.0

func (r TaobaoOpentradeGroupSyncAPIRequest) GetDiscountPrice() int64

Get DiscountPrice Getter

func (TaobaoOpentradeGroupSyncAPIRequest) GetEndTime added in v1.2.0

Get EndTime Getter

func (TaobaoOpentradeGroupSyncAPIRequest) GetExpiration added in v1.2.0

func (r TaobaoOpentradeGroupSyncAPIRequest) GetExpiration() int64

Get Expiration Getter

func (TaobaoOpentradeGroupSyncAPIRequest) GetFailProcess added in v1.2.0

func (r TaobaoOpentradeGroupSyncAPIRequest) GetFailProcess() string

Get FailProcess Getter

func (TaobaoOpentradeGroupSyncAPIRequest) GetGoal added in v1.2.0

Get Goal Getter

func (TaobaoOpentradeGroupSyncAPIRequest) GetGroupActivityId added in v1.2.0

func (r TaobaoOpentradeGroupSyncAPIRequest) GetGroupActivityId() int64

Get GroupActivityId Getter

func (TaobaoOpentradeGroupSyncAPIRequest) GetGroupType added in v1.2.0

func (r TaobaoOpentradeGroupSyncAPIRequest) GetGroupType() int64

Get GroupType Getter

func (TaobaoOpentradeGroupSyncAPIRequest) GetItemId added in v1.2.0

Get ItemId Getter

func (TaobaoOpentradeGroupSyncAPIRequest) GetOpenLimit added in v1.2.0

func (r TaobaoOpentradeGroupSyncAPIRequest) GetOpenLimit() int64

Get OpenLimit Getter

func (TaobaoOpentradeGroupSyncAPIRequest) GetStartTime added in v1.2.0

func (r TaobaoOpentradeGroupSyncAPIRequest) GetStartTime() string

Get StartTime Getter

func (*TaobaoOpentradeGroupSyncAPIRequest) SetAllowType added in v1.2.0

func (r *TaobaoOpentradeGroupSyncAPIRequest) SetAllowType(_allowType string) error

Set is AllowType Setter 是否任何账号可开团。whitelist:仅白名单账号可开团 all:任何账号可开团

func (*TaobaoOpentradeGroupSyncAPIRequest) SetAllowWhiteList added in v1.2.0

func (r *TaobaoOpentradeGroupSyncAPIRequest) SetAllowWhiteList(_allowWhiteList []string) error

Set is AllowWhiteList Setter 允许开团的淘宝账号列表

func (*TaobaoOpentradeGroupSyncAPIRequest) SetDiscountPrice added in v1.2.0

func (r *TaobaoOpentradeGroupSyncAPIRequest) SetDiscountPrice(_discountPrice int64) error

Set is DiscountPrice Setter 组团购买的折扣价,单位为分

func (*TaobaoOpentradeGroupSyncAPIRequest) SetEndTime added in v1.2.0

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

Set is EndTime Setter 组团活动结束时间

func (*TaobaoOpentradeGroupSyncAPIRequest) SetExpiration added in v1.2.0

func (r *TaobaoOpentradeGroupSyncAPIRequest) SetExpiration(_expiration int64) error

Set is Expiration Setter 成团有效期,单位为妙

func (*TaobaoOpentradeGroupSyncAPIRequest) SetFailProcess added in v1.2.0

func (r *TaobaoOpentradeGroupSyncAPIRequest) SetFailProcess(_failProcess string) error

Set is FailProcess Setter 未成团处理办法,close:系统关单;continue:订单继续下行

func (*TaobaoOpentradeGroupSyncAPIRequest) SetGoal added in v1.2.0

Set is Goal Setter 成团的目标人数

func (*TaobaoOpentradeGroupSyncAPIRequest) SetGroupActivityId added in v1.2.0

func (r *TaobaoOpentradeGroupSyncAPIRequest) SetGroupActivityId(_groupActivityId int64) error

Set is GroupActivityId Setter 组团活动id

func (*TaobaoOpentradeGroupSyncAPIRequest) SetGroupType added in v1.2.0

func (r *TaobaoOpentradeGroupSyncAPIRequest) SetGroupType(_groupType int64) error

Set is GroupType Setter 组团类型,0:拼团;1:团购

func (*TaobaoOpentradeGroupSyncAPIRequest) SetItemId added in v1.2.0

func (r *TaobaoOpentradeGroupSyncAPIRequest) SetItemId(_itemId int64) error

Set is ItemId Setter 商品ID

func (*TaobaoOpentradeGroupSyncAPIRequest) SetOpenLimit added in v1.2.0

func (r *TaobaoOpentradeGroupSyncAPIRequest) SetOpenLimit(_openLimit int64) error

Set is OpenLimit Setter 组团类型为团购,可限制团长针对一个商品的开团数量上限

func (*TaobaoOpentradeGroupSyncAPIRequest) SetStartTime added in v1.2.0

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

Set is StartTime Setter 组团活动开始时间

type TaobaoOpentradeGroupSyncAPIResponse

type TaobaoOpentradeGroupSyncAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeGroupSyncAPIResponseModel
}
TaobaoOpentradeGroupSyncAPIResponse

组团购场景创建或更新组团活动 API返回值 taobao.opentrade.group.sync

组团购场景中创建团购活动

type TaobaoOpentradeGroupSyncAPIResponseModel added in v1.2.0

type TaobaoOpentradeGroupSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_group_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 团购活动信息
	Result *GroupActivityResponse `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoOpentradeGroupSyncAPIResponseModel is 组团购场景创建或更新组团活动 成功返回结果

type TaobaoOpentradeQueueQueryAPIRequest added in v1.2.0

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

尖货交易排队信息查询 API请求 taobao.opentrade.queue.query

尖货交易排队信息查询

func NewTaobaoOpentradeQueueQueryRequest

func NewTaobaoOpentradeQueueQueryRequest() *TaobaoOpentradeQueueQueryAPIRequest

NewTaobaoOpentradeQueueQueryRequest 初始化TaobaoOpentradeQueueQueryAPIRequest对象

func (TaobaoOpentradeQueueQueryAPIRequest) GetActivityId added in v1.2.0

func (r TaobaoOpentradeQueueQueryAPIRequest) GetActivityId() string

Get ActivityId Getter

func (TaobaoOpentradeQueueQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpentradeQueueQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeQueueQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeQueueQueryAPIRequest) GetItemId added in v1.2.0

Get ItemId Getter

func (TaobaoOpentradeQueueQueryAPIRequest) GetPageIndex added in v1.2.0

func (r TaobaoOpentradeQueueQueryAPIRequest) GetPageIndex() int64

Get PageIndex Getter

func (TaobaoOpentradeQueueQueryAPIRequest) GetPageSize added in v1.2.0

Get PageSize Getter

func (TaobaoOpentradeQueueQueryAPIRequest) GetSkuId added in v1.2.0

Get SkuId Getter

func (TaobaoOpentradeQueueQueryAPIRequest) GetStatus added in v1.2.0

Get Status Getter

func (*TaobaoOpentradeQueueQueryAPIRequest) SetActivityId added in v1.2.0

func (r *TaobaoOpentradeQueueQueryAPIRequest) SetActivityId(_activityId string) error

Set is ActivityId Setter 排队活动ID,排队时如传入,这里需要填写;若未传,这里也可以不传

func (*TaobaoOpentradeQueueQueryAPIRequest) SetItemId added in v1.2.0

func (r *TaobaoOpentradeQueueQueryAPIRequest) SetItemId(_itemId int64) error

Set is ItemId Setter 排队商品ID

func (*TaobaoOpentradeQueueQueryAPIRequest) SetPageIndex added in v1.2.0

func (r *TaobaoOpentradeQueueQueryAPIRequest) SetPageIndex(_pageIndex int64) error

Set is PageIndex Setter 分页参数,当前页,以0开始

func (*TaobaoOpentradeQueueQueryAPIRequest) SetPageSize added in v1.2.0

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

Set is PageSize Setter 分页参数,每页大小

func (*TaobaoOpentradeQueueQueryAPIRequest) SetSkuId added in v1.2.0

func (r *TaobaoOpentradeQueueQueryAPIRequest) SetSkuId(_skuId int64) error

Set is SkuId Setter 排队商品SKU ID,不存在传0

func (*TaobaoOpentradeQueueQueryAPIRequest) SetStatus added in v1.2.0

func (r *TaobaoOpentradeQueueQueryAPIRequest) SetStatus(_status string) error

Set is Status Setter 排队用户状态,新用户为NEW

type TaobaoOpentradeQueueQueryAPIResponse

type TaobaoOpentradeQueueQueryAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeQueueQueryAPIResponseModel
}
TaobaoOpentradeQueueQueryAPIResponse

尖货交易排队信息查询 API返回值 taobao.opentrade.queue.query

尖货交易排队信息查询

type TaobaoOpentradeQueueQueryAPIResponseModel added in v1.2.0

type TaobaoOpentradeQueueQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_queue_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 总记录数
	TotalCount string `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 返回的排队用户数据
	Results []McUserDto `json:"results,omitempty" xml:"results>mc_user_dto,omitempty"`
}

TaobaoOpentradeQueueQueryAPIResponseModel is 尖货交易排队信息查询 成功返回结果

type TaobaoOpentradeQueueUsersMarkAPIRequest added in v1.2.0

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

尖货交易可购买用户标记 API请求 taobao.opentrade.queue.users.mark

尖货交易用户标记信息回传,根据openId标记用户可购买商品

func NewTaobaoOpentradeQueueUsersMarkRequest

func NewTaobaoOpentradeQueueUsersMarkRequest() *TaobaoOpentradeQueueUsersMarkAPIRequest

NewTaobaoOpentradeQueueUsersMarkRequest 初始化TaobaoOpentradeQueueUsersMarkAPIRequest对象

func (TaobaoOpentradeQueueUsersMarkAPIRequest) GetActivityId added in v1.2.0

Get ActivityId Getter

func (TaobaoOpentradeQueueUsersMarkAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeQueueUsersMarkAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeQueueUsersMarkAPIRequest) GetHit added in v1.2.0

Get Hit Getter

func (TaobaoOpentradeQueueUsersMarkAPIRequest) GetItemId added in v1.2.0

Get ItemId Getter

func (TaobaoOpentradeQueueUsersMarkAPIRequest) GetOpenUserIds added in v1.2.0

func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetOpenUserIds() []string

Get OpenUserIds Getter

func (TaobaoOpentradeQueueUsersMarkAPIRequest) GetSkuId added in v1.2.0

Get SkuId Getter

func (TaobaoOpentradeQueueUsersMarkAPIRequest) GetStatus added in v1.2.0

Get Status Getter

func (*TaobaoOpentradeQueueUsersMarkAPIRequest) SetActivityId added in v1.2.0

func (r *TaobaoOpentradeQueueUsersMarkAPIRequest) SetActivityId(_activityId string) error

Set is ActivityId Setter 排队活动ID,排队时如传入,这里需要填写;若未传,这里也可以不传

func (*TaobaoOpentradeQueueUsersMarkAPIRequest) SetHit added in v1.2.0

Set is Hit Setter 是否目标用户,传入true后,用户可购买商品

func (*TaobaoOpentradeQueueUsersMarkAPIRequest) SetItemId added in v1.2.0

func (r *TaobaoOpentradeQueueUsersMarkAPIRequest) SetItemId(_itemId int64) error

Set is ItemId Setter 排队商品ID

func (*TaobaoOpentradeQueueUsersMarkAPIRequest) SetOpenUserIds added in v1.2.0

func (r *TaobaoOpentradeQueueUsersMarkAPIRequest) SetOpenUserIds(_openUserIds []string) error

Set is OpenUserIds Setter 本次待标记的用户列表,多个以逗号(,)分割,最大20个

func (*TaobaoOpentradeQueueUsersMarkAPIRequest) SetSkuId added in v1.2.0

Set is SkuId Setter 排队商品SKU ID,不存在传0

func (*TaobaoOpentradeQueueUsersMarkAPIRequest) SetStatus added in v1.2.0

Set is Status Setter 用户状态,可任意传入,后续查询返回

type TaobaoOpentradeQueueUsersMarkAPIResponse

type TaobaoOpentradeQueueUsersMarkAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeQueueUsersMarkAPIResponseModel
}
TaobaoOpentradeQueueUsersMarkAPIResponse

尖货交易可购买用户标记 API返回值 taobao.opentrade.queue.users.mark

尖货交易用户标记信息回传,根据openId标记用户可购买商品

type TaobaoOpentradeQueueUsersMarkAPIResponseModel added in v1.2.0

type TaobaoOpentradeQueueUsersMarkAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_queue_users_mark_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 标记成功的用户数
	Result int64 `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoOpentradeQueueUsersMarkAPIResponseModel is 尖货交易可购买用户标记 成功返回结果

type TaobaoOpentradeSpecialItemsBindAPIRequest added in v1.2.0

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

专属下单场景商品绑定 API请求 taobao.opentrade.special.items.bind

专属下单场景商品绑定

func NewTaobaoOpentradeSpecialItemsBindRequest

func NewTaobaoOpentradeSpecialItemsBindRequest() *TaobaoOpentradeSpecialItemsBindAPIRequest

NewTaobaoOpentradeSpecialItemsBindRequest 初始化TaobaoOpentradeSpecialItemsBindAPIRequest对象

func (TaobaoOpentradeSpecialItemsBindAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeSpecialItemsBindAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeSpecialItemsBindAPIRequest) GetItemIds added in v1.2.0

Get ItemIds Getter

func (TaobaoOpentradeSpecialItemsBindAPIRequest) GetMiniappId added in v1.2.0

Get MiniappId Getter

func (*TaobaoOpentradeSpecialItemsBindAPIRequest) SetItemIds added in v1.2.0

func (r *TaobaoOpentradeSpecialItemsBindAPIRequest) SetItemIds(_itemIds []int64) error

Set is ItemIds Setter 本次待绑定的商品ID列表

func (*TaobaoOpentradeSpecialItemsBindAPIRequest) SetMiniappId added in v1.2.0

func (r *TaobaoOpentradeSpecialItemsBindAPIRequest) SetMiniappId(_miniappId int64) error

Set is MiniappId Setter 绑定专属下单场景的C端小程序ID

type TaobaoOpentradeSpecialItemsBindAPIResponse

type TaobaoOpentradeSpecialItemsBindAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeSpecialItemsBindAPIResponseModel
}
TaobaoOpentradeSpecialItemsBindAPIResponse

专属下单场景商品绑定 API返回值 taobao.opentrade.special.items.bind

专属下单场景商品绑定

type TaobaoOpentradeSpecialItemsBindAPIResponseModel added in v1.2.0

type TaobaoOpentradeSpecialItemsBindAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_special_items_bind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 绑定返回结构
	Results []ItemBindResult `json:"results,omitempty" xml:"results>item_bind_result,omitempty"`
}

TaobaoOpentradeSpecialItemsBindAPIResponseModel is 专属下单场景商品绑定 成功返回结果

type TaobaoOpentradeSpecialItemsQueryAPIRequest added in v1.2.0

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

专属下单获取商品绑定信息 API请求 taobao.opentrade.special.items.query

专属下单获取商品绑定信息

func NewTaobaoOpentradeSpecialItemsQueryRequest

func NewTaobaoOpentradeSpecialItemsQueryRequest() *TaobaoOpentradeSpecialItemsQueryAPIRequest

NewTaobaoOpentradeSpecialItemsQueryRequest 初始化TaobaoOpentradeSpecialItemsQueryAPIRequest对象

func (TaobaoOpentradeSpecialItemsQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeSpecialItemsQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeSpecialItemsQueryAPIRequest) GetMiniappId added in v1.2.0

Get MiniappId Getter

func (*TaobaoOpentradeSpecialItemsQueryAPIRequest) SetMiniappId added in v1.2.0

func (r *TaobaoOpentradeSpecialItemsQueryAPIRequest) SetMiniappId(_miniappId int64) error

Set is MiniappId Setter 绑定专属下单场景的C端小程序ID

type TaobaoOpentradeSpecialItemsQueryAPIResponse

type TaobaoOpentradeSpecialItemsQueryAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeSpecialItemsQueryAPIResponseModel
}
TaobaoOpentradeSpecialItemsQueryAPIResponse

专属下单获取商品绑定信息 API返回值 taobao.opentrade.special.items.query

专属下单获取商品绑定信息

type TaobaoOpentradeSpecialItemsQueryAPIResponseModel added in v1.2.0

type TaobaoOpentradeSpecialItemsQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_special_items_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 已绑定的商品ID列表
	Items []int64 `json:"items,omitempty" xml:"items>int64,omitempty"`
}

TaobaoOpentradeSpecialItemsQueryAPIResponseModel is 专属下单获取商品绑定信息 成功返回结果

type TaobaoOpentradeSpecialItemsUnbindAPIRequest added in v1.2.0

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

专属下单场景商品解绑 API请求 taobao.opentrade.special.items.unbind

专属下单场景商品解绑

func NewTaobaoOpentradeSpecialItemsUnbindRequest

func NewTaobaoOpentradeSpecialItemsUnbindRequest() *TaobaoOpentradeSpecialItemsUnbindAPIRequest

NewTaobaoOpentradeSpecialItemsUnbindRequest 初始化TaobaoOpentradeSpecialItemsUnbindAPIRequest对象

func (TaobaoOpentradeSpecialItemsUnbindAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeSpecialItemsUnbindAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeSpecialItemsUnbindAPIRequest) GetItemIds added in v1.2.0

Get ItemIds Getter

func (TaobaoOpentradeSpecialItemsUnbindAPIRequest) GetMiniappId added in v1.2.0

Get MiniappId Getter

func (*TaobaoOpentradeSpecialItemsUnbindAPIRequest) SetItemIds added in v1.2.0

func (r *TaobaoOpentradeSpecialItemsUnbindAPIRequest) SetItemIds(_itemIds []int64) error

Set is ItemIds Setter 本次待解绑的商品ID列表

func (*TaobaoOpentradeSpecialItemsUnbindAPIRequest) SetMiniappId added in v1.2.0

func (r *TaobaoOpentradeSpecialItemsUnbindAPIRequest) SetMiniappId(_miniappId int64) error

Set is MiniappId Setter 绑定专属下单场景的C端小程序ID

type TaobaoOpentradeSpecialItemsUnbindAPIResponse

type TaobaoOpentradeSpecialItemsUnbindAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeSpecialItemsUnbindAPIResponseModel
}
TaobaoOpentradeSpecialItemsUnbindAPIResponse

专属下单场景商品解绑 API返回值 taobao.opentrade.special.items.unbind

专属下单场景商品解绑

type TaobaoOpentradeSpecialItemsUnbindAPIResponseModel added in v1.2.0

type TaobaoOpentradeSpecialItemsUnbindAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_special_items_unbind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 解绑返回结构
	Results []ItemUnBindResult `json:"results,omitempty" xml:"results>item_un_bind_result,omitempty"`
}

TaobaoOpentradeSpecialItemsUnbindAPIResponseModel is 专属下单场景商品解绑 成功返回结果

type TaobaoOpentradeSpecialRuleUpdateAPIRequest added in v1.2.0

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

专属下单更新限购规则 API请求 taobao.opentrade.special.rule.update

对于专属下单的交易场景更新限购规则

func NewTaobaoOpentradeSpecialRuleUpdateRequest

func NewTaobaoOpentradeSpecialRuleUpdateRequest() *TaobaoOpentradeSpecialRuleUpdateAPIRequest

NewTaobaoOpentradeSpecialRuleUpdateRequest 初始化TaobaoOpentradeSpecialRuleUpdateAPIRequest对象

func (TaobaoOpentradeSpecialRuleUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeSpecialRuleUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeSpecialRuleUpdateAPIRequest) GetItemIds added in v1.2.0

Get ItemIds Getter

func (TaobaoOpentradeSpecialRuleUpdateAPIRequest) GetLimitNum added in v1.2.0

Get LimitNum Getter

func (*TaobaoOpentradeSpecialRuleUpdateAPIRequest) SetItemIds added in v1.2.0

func (r *TaobaoOpentradeSpecialRuleUpdateAPIRequest) SetItemIds(_itemIds []int64) error

Set is ItemIds Setter 商品id列表

func (*TaobaoOpentradeSpecialRuleUpdateAPIRequest) SetLimitNum added in v1.2.0

func (r *TaobaoOpentradeSpecialRuleUpdateAPIRequest) SetLimitNum(_limitNum int64) error

Set is LimitNum Setter 最大限购数量

type TaobaoOpentradeSpecialRuleUpdateAPIResponse

type TaobaoOpentradeSpecialRuleUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeSpecialRuleUpdateAPIResponseModel
}
TaobaoOpentradeSpecialRuleUpdateAPIResponse

专属下单更新限购规则 API返回值 taobao.opentrade.special.rule.update

对于专属下单的交易场景更新限购规则

type TaobaoOpentradeSpecialRuleUpdateAPIResponseModel added in v1.2.0

type TaobaoOpentradeSpecialRuleUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_special_rule_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 更新失败的商品列表
	Result []ItemResultDto `json:"result,omitempty" xml:"result>item_result_dto,omitempty"`
}

TaobaoOpentradeSpecialRuleUpdateAPIResponseModel is 专属下单更新限购规则 成功返回结果

type TaobaoOpentradeSpecialUsersMarkAPIRequest added in v1.2.0

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

专属下单可购买用户标记 API请求 taobao.opentrade.special.users.mark

对于专属下单的交易场景,根据openid标记用户可购买商品

func NewTaobaoOpentradeSpecialUsersMarkRequest

func NewTaobaoOpentradeSpecialUsersMarkRequest() *TaobaoOpentradeSpecialUsersMarkAPIRequest

NewTaobaoOpentradeSpecialUsersMarkRequest 初始化TaobaoOpentradeSpecialUsersMarkAPIRequest对象

func (TaobaoOpentradeSpecialUsersMarkAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeSpecialUsersMarkAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeSpecialUsersMarkAPIRequest) GetHit added in v1.2.0

Get Hit Getter

func (TaobaoOpentradeSpecialUsersMarkAPIRequest) GetItemId added in v1.2.0

Get ItemId Getter

func (TaobaoOpentradeSpecialUsersMarkAPIRequest) GetLimitNum added in v1.2.0

Get LimitNum Getter

func (TaobaoOpentradeSpecialUsersMarkAPIRequest) GetOpenUserIds added in v1.2.0

Get OpenUserIds Getter

func (TaobaoOpentradeSpecialUsersMarkAPIRequest) GetSkuId added in v1.2.0

Get SkuId Getter

func (TaobaoOpentradeSpecialUsersMarkAPIRequest) GetStatus added in v1.2.0

Get Status Getter

func (*TaobaoOpentradeSpecialUsersMarkAPIRequest) SetHit added in v1.2.0

Set is Hit Setter 是否目标用户,传入true后,用户可购买商品

func (*TaobaoOpentradeSpecialUsersMarkAPIRequest) SetItemId added in v1.2.0

Set is ItemId Setter 商品ID

func (*TaobaoOpentradeSpecialUsersMarkAPIRequest) SetLimitNum added in v1.2.0

func (r *TaobaoOpentradeSpecialUsersMarkAPIRequest) SetLimitNum(_limitNum int64) error

Set is LimitNum Setter 单次购买最大限购数量

func (*TaobaoOpentradeSpecialUsersMarkAPIRequest) SetOpenUserIds added in v1.2.0

func (r *TaobaoOpentradeSpecialUsersMarkAPIRequest) SetOpenUserIds(_openUserIds []string) error

Set is OpenUserIds Setter 本次待标记的用户列表,多个以逗号(,)分割,最大20个

func (*TaobaoOpentradeSpecialUsersMarkAPIRequest) SetSkuId added in v1.2.0

Set is SkuId Setter 商品SKU ID,不存在传0

func (*TaobaoOpentradeSpecialUsersMarkAPIRequest) SetStatus added in v1.2.0

Set is Status Setter 用户状态,可任意传入,后续查询返回

type TaobaoOpentradeSpecialUsersMarkAPIResponse

type TaobaoOpentradeSpecialUsersMarkAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeSpecialUsersMarkAPIResponseModel
}
TaobaoOpentradeSpecialUsersMarkAPIResponse

专属下单可购买用户标记 API返回值 taobao.opentrade.special.users.mark

对于专属下单的交易场景,根据openid标记用户可购买商品

type TaobaoOpentradeSpecialUsersMarkAPIResponseModel added in v1.2.0

type TaobaoOpentradeSpecialUsersMarkAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_special_users_mark_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 标记成功的用户数
	Result int64 `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoOpentradeSpecialUsersMarkAPIResponseModel is 专属下单可购买用户标记 成功返回结果

type TaobaoOpentradeSpecialUsersQueryAPIRequest added in v1.2.0

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

专属下单标记信息查询 API请求 taobao.opentrade.special.users.query

专属下单标记信息查询

func NewTaobaoOpentradeSpecialUsersQueryRequest

func NewTaobaoOpentradeSpecialUsersQueryRequest() *TaobaoOpentradeSpecialUsersQueryAPIRequest

NewTaobaoOpentradeSpecialUsersQueryRequest 初始化TaobaoOpentradeSpecialUsersQueryAPIRequest对象

func (TaobaoOpentradeSpecialUsersQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeSpecialUsersQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeSpecialUsersQueryAPIRequest) GetItemId added in v1.2.0

Get ItemId Getter

func (TaobaoOpentradeSpecialUsersQueryAPIRequest) GetOpenUserIds added in v1.2.0

Get OpenUserIds Getter

func (TaobaoOpentradeSpecialUsersQueryAPIRequest) GetPageIndex added in v1.2.0

Get PageIndex Getter

func (TaobaoOpentradeSpecialUsersQueryAPIRequest) GetPageSize added in v1.2.0

Get PageSize Getter

func (TaobaoOpentradeSpecialUsersQueryAPIRequest) GetSkuId added in v1.2.0

Get SkuId Getter

func (TaobaoOpentradeSpecialUsersQueryAPIRequest) GetStatus added in v1.2.0

Get Status Getter

func (*TaobaoOpentradeSpecialUsersQueryAPIRequest) SetItemId added in v1.2.0

Set is ItemId Setter 商品ID

func (*TaobaoOpentradeSpecialUsersQueryAPIRequest) SetOpenUserIds added in v1.2.0

func (r *TaobaoOpentradeSpecialUsersQueryAPIRequest) SetOpenUserIds(_openUserIds []string) error

Set is OpenUserIds Setter 用户openId列表,多个以逗号(,)分割

func (*TaobaoOpentradeSpecialUsersQueryAPIRequest) SetPageIndex added in v1.2.0

func (r *TaobaoOpentradeSpecialUsersQueryAPIRequest) SetPageIndex(_pageIndex int64) error

Set is PageIndex Setter 分页参数,当前页,以0开始

func (*TaobaoOpentradeSpecialUsersQueryAPIRequest) SetPageSize added in v1.2.0

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

Set is PageSize Setter 分页参数,每页大小

func (*TaobaoOpentradeSpecialUsersQueryAPIRequest) SetSkuId added in v1.2.0

Set is SkuId Setter 商品SKU ID,不存在传0

func (*TaobaoOpentradeSpecialUsersQueryAPIRequest) SetStatus added in v1.2.0

Set is Status Setter 用户状态

type TaobaoOpentradeSpecialUsersQueryAPIResponse

type TaobaoOpentradeSpecialUsersQueryAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeSpecialUsersQueryAPIResponseModel
}
TaobaoOpentradeSpecialUsersQueryAPIResponse

专属下单标记信息查询 API返回值 taobao.opentrade.special.users.query

专属下单标记信息查询

type TaobaoOpentradeSpecialUsersQueryAPIResponseModel added in v1.2.0

type TaobaoOpentradeSpecialUsersQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_special_users_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 总记录数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 标记用户数据
	Results []MarkUserInfo `json:"results,omitempty" xml:"results>mark_user_info,omitempty"`
}

TaobaoOpentradeSpecialUsersQueryAPIResponseModel is 专属下单标记信息查询 成功返回结果

type TaobaoOpentradeToolsItemsBindAPIRequest added in v1.2.0

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

交易开放商品绑定 API请求 taobao.opentrade.tools.items.bind

交易开放商品绑定

func NewTaobaoOpentradeToolsItemsBindRequest

func NewTaobaoOpentradeToolsItemsBindRequest() *TaobaoOpentradeToolsItemsBindAPIRequest

NewTaobaoOpentradeToolsItemsBindRequest 初始化TaobaoOpentradeToolsItemsBindAPIRequest对象

func (TaobaoOpentradeToolsItemsBindAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpentradeToolsItemsBindAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeToolsItemsBindAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeToolsItemsBindAPIRequest) GetItemIds added in v1.2.0

Get ItemIds Getter

func (TaobaoOpentradeToolsItemsBindAPIRequest) GetMiniappId added in v1.2.0

Get MiniappId Getter

func (*TaobaoOpentradeToolsItemsBindAPIRequest) SetItemIds added in v1.2.0

func (r *TaobaoOpentradeToolsItemsBindAPIRequest) SetItemIds(_itemIds []int64) error

Set is ItemIds Setter 待绑定商品id

func (*TaobaoOpentradeToolsItemsBindAPIRequest) SetMiniappId added in v1.2.0

func (r *TaobaoOpentradeToolsItemsBindAPIRequest) SetMiniappId(_miniappId int64) error

Set is MiniappId Setter 绑定交易开放场景的C端小程序ID

type TaobaoOpentradeToolsItemsBindAPIResponse

type TaobaoOpentradeToolsItemsBindAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeToolsItemsBindAPIResponseModel
}
TaobaoOpentradeToolsItemsBindAPIResponse

交易开放商品绑定 API返回值 taobao.opentrade.tools.items.bind

交易开放商品绑定

type TaobaoOpentradeToolsItemsBindAPIResponseModel added in v1.2.0

type TaobaoOpentradeToolsItemsBindAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_tools_items_bind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 绑定返回结构
	Results []ItemBindResult `json:"results,omitempty" xml:"results>item_bind_result,omitempty"`
}

TaobaoOpentradeToolsItemsBindAPIResponseModel is 交易开放商品绑定 成功返回结果

type TaobaoOpentradeToolsItemsQueryAPIRequest added in v1.2.0

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

交易开放获取商品绑定信息 API请求 taobao.opentrade.tools.items.query

交易开放获取商品绑定信息

func NewTaobaoOpentradeToolsItemsQueryRequest

func NewTaobaoOpentradeToolsItemsQueryRequest() *TaobaoOpentradeToolsItemsQueryAPIRequest

NewTaobaoOpentradeToolsItemsQueryRequest 初始化TaobaoOpentradeToolsItemsQueryAPIRequest对象

func (TaobaoOpentradeToolsItemsQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOpentradeToolsItemsQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeToolsItemsQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeToolsItemsQueryAPIRequest) GetMiniappId added in v1.2.0

Get MiniappId Getter

func (*TaobaoOpentradeToolsItemsQueryAPIRequest) SetMiniappId added in v1.2.0

func (r *TaobaoOpentradeToolsItemsQueryAPIRequest) SetMiniappId(_miniappId int64) error

Set is MiniappId Setter 交易开放C端小程序ID

type TaobaoOpentradeToolsItemsQueryAPIResponse

type TaobaoOpentradeToolsItemsQueryAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeToolsItemsQueryAPIResponseModel
}
TaobaoOpentradeToolsItemsQueryAPIResponse

交易开放获取商品绑定信息 API返回值 taobao.opentrade.tools.items.query

交易开放获取商品绑定信息

type TaobaoOpentradeToolsItemsQueryAPIResponseModel added in v1.2.0

type TaobaoOpentradeToolsItemsQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_tools_items_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 已绑定的商品ID列表
	ItemIds []int64 `json:"item_ids,omitempty" xml:"item_ids>int64,omitempty"`
}

TaobaoOpentradeToolsItemsQueryAPIResponseModel is 交易开放获取商品绑定信息 成功返回结果

type TaobaoOpentradeToolsItemsUnbindAPIRequest added in v1.2.0

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

交易开放商品解绑 API请求 taobao.opentrade.tools.items.unbind

交易开放商品解绑

func NewTaobaoOpentradeToolsItemsUnbindRequest

func NewTaobaoOpentradeToolsItemsUnbindRequest() *TaobaoOpentradeToolsItemsUnbindAPIRequest

NewTaobaoOpentradeToolsItemsUnbindRequest 初始化TaobaoOpentradeToolsItemsUnbindAPIRequest对象

func (TaobaoOpentradeToolsItemsUnbindAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpentradeToolsItemsUnbindAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpentradeToolsItemsUnbindAPIRequest) GetItemIds added in v1.2.0

Get ItemIds Getter

func (TaobaoOpentradeToolsItemsUnbindAPIRequest) GetMiniappId added in v1.2.0

Get MiniappId Getter

func (*TaobaoOpentradeToolsItemsUnbindAPIRequest) SetItemIds added in v1.2.0

func (r *TaobaoOpentradeToolsItemsUnbindAPIRequest) SetItemIds(_itemIds []int64) error

Set is ItemIds Setter 商品id

func (*TaobaoOpentradeToolsItemsUnbindAPIRequest) SetMiniappId added in v1.2.0

func (r *TaobaoOpentradeToolsItemsUnbindAPIRequest) SetMiniappId(_miniappId int64) error

Set is MiniappId Setter 绑定交易开放场景的C端小程序ID

type TaobaoOpentradeToolsItemsUnbindAPIResponse

type TaobaoOpentradeToolsItemsUnbindAPIResponse struct {
	model.CommonResponse
	TaobaoOpentradeToolsItemsUnbindAPIResponseModel
}
TaobaoOpentradeToolsItemsUnbindAPIResponse

交易开放商品解绑 API返回值 taobao.opentrade.tools.items.unbind

交易开放商品解绑

type TaobaoOpentradeToolsItemsUnbindAPIResponseModel added in v1.2.0

type TaobaoOpentradeToolsItemsUnbindAPIResponseModel struct {
	XMLName xml.Name `xml:"opentrade_tools_items_unbind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 解绑返回结构
	Results []ItemUnBindResult `json:"results,omitempty" xml:"results>item_un_bind_result,omitempty"`
}

TaobaoOpentradeToolsItemsUnbindAPIResponseModel is 交易开放商品解绑 成功返回结果

Source Files

Jump to

Keyboard shortcuts

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