Documentation ¶
Overview ¶
Package opentrade 包含交易开放相关结构体
Index ¶
- type GroupActivityResponse
- type GroupDetailResponse
- type GroupMemberInfoResponse
- type ItemBindResult
- type ItemInfo
- type ItemResultDto
- type ItemUnBindResult
- type MarkUserInfo
- type McSceneActivityDto
- type McUserDto
- type OpenGroupResponse
- type OrderDetailEntryConfig
- type RopGroupMemberInfo
- type TaobaoOpentradeActivityQueryAPIRequest
- func (r TaobaoOpentradeActivityQueryAPIRequest) GetActivityName() string
- func (r TaobaoOpentradeActivityQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeActivityQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeActivityQueryAPIRequest) GetEndTime() string
- func (r TaobaoOpentradeActivityQueryAPIRequest) GetPageIndex() int64
- func (r TaobaoOpentradeActivityQueryAPIRequest) GetPageSize() int64
- func (r *TaobaoOpentradeActivityQueryAPIRequest) SetActivityName(_activityName string) error
- func (r *TaobaoOpentradeActivityQueryAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoOpentradeActivityQueryAPIRequest) SetPageIndex(_pageIndex int64) error
- func (r *TaobaoOpentradeActivityQueryAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaoOpentradeActivityQueryAPIResponse
- type TaobaoOpentradeActivityQueryAPIResponseModel
- type TaobaoOpentradeActivitySyncAPIRequest
- func (r TaobaoOpentradeActivitySyncAPIRequest) GetActivityId() string
- func (r TaobaoOpentradeActivitySyncAPIRequest) GetActivityName() string
- func (r TaobaoOpentradeActivitySyncAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeActivitySyncAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeActivitySyncAPIRequest) GetEndTime() string
- func (r TaobaoOpentradeActivitySyncAPIRequest) GetItemIdList() []int64
- func (r TaobaoOpentradeActivitySyncAPIRequest) GetStartTime() string
- func (r *TaobaoOpentradeActivitySyncAPIRequest) SetActivityId(_activityId string) error
- func (r *TaobaoOpentradeActivitySyncAPIRequest) SetActivityName(_activityName string) error
- func (r *TaobaoOpentradeActivitySyncAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoOpentradeActivitySyncAPIRequest) SetItemIdList(_itemIdList []int64) error
- func (r *TaobaoOpentradeActivitySyncAPIRequest) SetStartTime(_startTime string) error
- type TaobaoOpentradeActivitySyncAPIResponse
- type TaobaoOpentradeActivitySyncAPIResponseModel
- type TaobaoOpentradeCreateOrderAPIRequest
- func (r TaobaoOpentradeCreateOrderAPIRequest) GetAddress() string
- func (r TaobaoOpentradeCreateOrderAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeCreateOrderAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeCreateOrderAPIRequest) GetBuyerMemo() string
- func (r TaobaoOpentradeCreateOrderAPIRequest) GetFullName() string
- func (r TaobaoOpentradeCreateOrderAPIRequest) GetItemInfos() []ItemInfo
- func (r TaobaoOpentradeCreateOrderAPIRequest) GetMobile() string
- func (r TaobaoOpentradeCreateOrderAPIRequest) GetOpenUserId() string
- func (r TaobaoOpentradeCreateOrderAPIRequest) GetOutId() string
- func (r TaobaoOpentradeCreateOrderAPIRequest) GetSellerMemo() string
- func (r *TaobaoOpentradeCreateOrderAPIRequest) SetAddress(_address string) error
- func (r *TaobaoOpentradeCreateOrderAPIRequest) SetBuyerMemo(_buyerMemo string) error
- func (r *TaobaoOpentradeCreateOrderAPIRequest) SetFullName(_fullName string) error
- func (r *TaobaoOpentradeCreateOrderAPIRequest) SetItemInfos(_itemInfos []ItemInfo) error
- func (r *TaobaoOpentradeCreateOrderAPIRequest) SetMobile(_mobile string) error
- func (r *TaobaoOpentradeCreateOrderAPIRequest) SetOpenUserId(_openUserId string) error
- func (r *TaobaoOpentradeCreateOrderAPIRequest) SetOutId(_outId string) error
- func (r *TaobaoOpentradeCreateOrderAPIRequest) SetSellerMemo(_sellerMemo string) error
- type TaobaoOpentradeCreateOrderAPIResponse
- type TaobaoOpentradeCreateOrderAPIResponseModel
- type TaobaoOpentradeGroupActivtiyQueryAPIRequest
- func (r TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetGroupActivityId() int64
- func (r TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetItemId() int64
- func (r TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetPageIndex() int64
- func (r TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetPageSize() int64
- func (r *TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetGroupActivityId(_groupActivityId int64) error
- func (r *TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetPageIndex(_pageIndex int64) error
- func (r *TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaoOpentradeGroupActivtiyQueryAPIResponse
- type TaobaoOpentradeGroupActivtiyQueryAPIResponseModel
- type TaobaoOpentradeGroupDetailAPIRequest
- type TaobaoOpentradeGroupDetailAPIResponse
- type TaobaoOpentradeGroupDetailAPIResponseModel
- type TaobaoOpentradeGroupJoinAPIRequest
- func (r TaobaoOpentradeGroupJoinAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeGroupJoinAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeGroupJoinAPIRequest) GetGroupId() int64
- func (r TaobaoOpentradeGroupJoinAPIRequest) GetItemId() int64
- func (r TaobaoOpentradeGroupJoinAPIRequest) GetOpenUserId() string
- func (r *TaobaoOpentradeGroupJoinAPIRequest) SetGroupId(_groupId int64) error
- func (r *TaobaoOpentradeGroupJoinAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoOpentradeGroupJoinAPIRequest) SetOpenUserId(_openUserId string) error
- type TaobaoOpentradeGroupJoinAPIResponse
- type TaobaoOpentradeGroupJoinAPIResponseModel
- type TaobaoOpentradeGroupMemberInfoAPIRequest
- func (r TaobaoOpentradeGroupMemberInfoAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeGroupMemberInfoAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeGroupMemberInfoAPIRequest) GetGroupId() int64
- func (r TaobaoOpentradeGroupMemberInfoAPIRequest) GetOpenUserId() string
- func (r *TaobaoOpentradeGroupMemberInfoAPIRequest) SetGroupId(_groupId int64) error
- func (r *TaobaoOpentradeGroupMemberInfoAPIRequest) SetOpenUserId(_openUserId string) error
- type TaobaoOpentradeGroupMemberInfoAPIResponse
- type TaobaoOpentradeGroupMemberInfoAPIResponseModel
- type TaobaoOpentradeGroupMemberInfosAPIRequest
- func (r TaobaoOpentradeGroupMemberInfosAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeGroupMemberInfosAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeGroupMemberInfosAPIRequest) GetGroupId() int64
- func (r TaobaoOpentradeGroupMemberInfosAPIRequest) GetOpenUserIds() []string
- func (r *TaobaoOpentradeGroupMemberInfosAPIRequest) SetGroupId(_groupId int64) error
- func (r *TaobaoOpentradeGroupMemberInfosAPIRequest) SetOpenUserIds(_openUserIds []string) error
- type TaobaoOpentradeGroupMemberInfosAPIResponse
- type TaobaoOpentradeGroupMemberInfosAPIResponseModel
- type TaobaoOpentradeGroupOpenAPIRequest
- func (r TaobaoOpentradeGroupOpenAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeGroupOpenAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeGroupOpenAPIRequest) GetGroupActivityId() int64
- func (r TaobaoOpentradeGroupOpenAPIRequest) GetItemId() int64
- func (r TaobaoOpentradeGroupOpenAPIRequest) GetOpenUserId() string
- func (r *TaobaoOpentradeGroupOpenAPIRequest) SetGroupActivityId(_groupActivityId int64) error
- func (r *TaobaoOpentradeGroupOpenAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoOpentradeGroupOpenAPIRequest) SetOpenUserId(_openUserId string) error
- type TaobaoOpentradeGroupOpenAPIResponse
- type TaobaoOpentradeGroupOpenAPIResponseModel
- type TaobaoOpentradeGroupOrderAPIRequest
- type TaobaoOpentradeGroupOrderAPIResponse
- type TaobaoOpentradeGroupOrderAPIResponseModel
- type TaobaoOpentradeGroupQueryAPIRequest
- func (r TaobaoOpentradeGroupQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeGroupQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeGroupQueryAPIRequest) GetGroupActivityId() int64
- func (r TaobaoOpentradeGroupQueryAPIRequest) GetItemId() int64
- func (r TaobaoOpentradeGroupQueryAPIRequest) GetOpenUserId() string
- func (r TaobaoOpentradeGroupQueryAPIRequest) GetOrderBy() int64
- func (r TaobaoOpentradeGroupQueryAPIRequest) GetPageIndex() int64
- func (r TaobaoOpentradeGroupQueryAPIRequest) GetPageSize() int64
- func (r TaobaoOpentradeGroupQueryAPIRequest) GetWithExpire() bool
- func (r *TaobaoOpentradeGroupQueryAPIRequest) SetGroupActivityId(_groupActivityId int64) error
- func (r *TaobaoOpentradeGroupQueryAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoOpentradeGroupQueryAPIRequest) SetOpenUserId(_openUserId string) error
- func (r *TaobaoOpentradeGroupQueryAPIRequest) SetOrderBy(_orderBy int64) error
- func (r *TaobaoOpentradeGroupQueryAPIRequest) SetPageIndex(_pageIndex int64) error
- func (r *TaobaoOpentradeGroupQueryAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoOpentradeGroupQueryAPIRequest) SetWithExpire(_withExpire bool) error
- type TaobaoOpentradeGroupQueryAPIResponse
- type TaobaoOpentradeGroupQueryAPIResponseModel
- type TaobaoOpentradeGroupSyncAPIRequest
- func (r TaobaoOpentradeGroupSyncAPIRequest) GetAllowType() string
- func (r TaobaoOpentradeGroupSyncAPIRequest) GetAllowWhiteList() []string
- func (r TaobaoOpentradeGroupSyncAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeGroupSyncAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeGroupSyncAPIRequest) GetDiscountPrice() int64
- func (r TaobaoOpentradeGroupSyncAPIRequest) GetEndTime() string
- func (r TaobaoOpentradeGroupSyncAPIRequest) GetExpiration() int64
- func (r TaobaoOpentradeGroupSyncAPIRequest) GetFailProcess() string
- func (r TaobaoOpentradeGroupSyncAPIRequest) GetGoal() int64
- func (r TaobaoOpentradeGroupSyncAPIRequest) GetGroupActivityId() int64
- func (r TaobaoOpentradeGroupSyncAPIRequest) GetGroupType() int64
- func (r TaobaoOpentradeGroupSyncAPIRequest) GetItemId() int64
- func (r TaobaoOpentradeGroupSyncAPIRequest) GetOpenLimit() int64
- func (r TaobaoOpentradeGroupSyncAPIRequest) GetStartTime() string
- func (r *TaobaoOpentradeGroupSyncAPIRequest) SetAllowType(_allowType string) error
- func (r *TaobaoOpentradeGroupSyncAPIRequest) SetAllowWhiteList(_allowWhiteList []string) error
- func (r *TaobaoOpentradeGroupSyncAPIRequest) SetDiscountPrice(_discountPrice int64) error
- func (r *TaobaoOpentradeGroupSyncAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoOpentradeGroupSyncAPIRequest) SetExpiration(_expiration int64) error
- func (r *TaobaoOpentradeGroupSyncAPIRequest) SetFailProcess(_failProcess string) error
- func (r *TaobaoOpentradeGroupSyncAPIRequest) SetGoal(_goal int64) error
- func (r *TaobaoOpentradeGroupSyncAPIRequest) SetGroupActivityId(_groupActivityId int64) error
- func (r *TaobaoOpentradeGroupSyncAPIRequest) SetGroupType(_groupType int64) error
- func (r *TaobaoOpentradeGroupSyncAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoOpentradeGroupSyncAPIRequest) SetOpenLimit(_openLimit int64) error
- func (r *TaobaoOpentradeGroupSyncAPIRequest) SetStartTime(_startTime string) error
- type TaobaoOpentradeGroupSyncAPIResponse
- type TaobaoOpentradeGroupSyncAPIResponseModel
- type TaobaoOpentradeOrderdetailEntryGetAPIRequest
- func (r TaobaoOpentradeOrderdetailEntryGetAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeOrderdetailEntryGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeOrderdetailEntryGetAPIRequest) GetItemIdList() int64
- func (r *TaobaoOpentradeOrderdetailEntryGetAPIRequest) SetItemIdList(_itemIdList int64) error
- type TaobaoOpentradeOrderdetailEntryGetAPIResponse
- type TaobaoOpentradeOrderdetailEntryGetAPIResponseModel
- type TaobaoOpentradeQueueQueryAPIRequest
- func (r TaobaoOpentradeQueueQueryAPIRequest) GetActivityId() string
- func (r TaobaoOpentradeQueueQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeQueueQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeQueueQueryAPIRequest) GetItemId() int64
- func (r TaobaoOpentradeQueueQueryAPIRequest) GetPageIndex() int64
- func (r TaobaoOpentradeQueueQueryAPIRequest) GetPageSize() int64
- func (r TaobaoOpentradeQueueQueryAPIRequest) GetSkuId() int64
- func (r TaobaoOpentradeQueueQueryAPIRequest) GetStatus() string
- func (r *TaobaoOpentradeQueueQueryAPIRequest) SetActivityId(_activityId string) error
- func (r *TaobaoOpentradeQueueQueryAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoOpentradeQueueQueryAPIRequest) SetPageIndex(_pageIndex int64) error
- func (r *TaobaoOpentradeQueueQueryAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoOpentradeQueueQueryAPIRequest) SetSkuId(_skuId int64) error
- func (r *TaobaoOpentradeQueueQueryAPIRequest) SetStatus(_status string) error
- type TaobaoOpentradeQueueQueryAPIResponse
- type TaobaoOpentradeQueueQueryAPIResponseModel
- type TaobaoOpentradeQueueUsersMarkAPIRequest
- func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetActivityId() string
- func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetHit() bool
- func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetItemId() int64
- func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetOpenUserIds() []string
- func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetSkuId() int64
- func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetStatus() string
- func (r *TaobaoOpentradeQueueUsersMarkAPIRequest) SetActivityId(_activityId string) error
- func (r *TaobaoOpentradeQueueUsersMarkAPIRequest) SetHit(_hit bool) error
- func (r *TaobaoOpentradeQueueUsersMarkAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoOpentradeQueueUsersMarkAPIRequest) SetOpenUserIds(_openUserIds []string) error
- func (r *TaobaoOpentradeQueueUsersMarkAPIRequest) SetSkuId(_skuId int64) error
- func (r *TaobaoOpentradeQueueUsersMarkAPIRequest) SetStatus(_status string) error
- type TaobaoOpentradeQueueUsersMarkAPIResponse
- type TaobaoOpentradeQueueUsersMarkAPIResponseModel
- type TaobaoOpentradeSpecialItemsBindAPIRequest
- func (r TaobaoOpentradeSpecialItemsBindAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeSpecialItemsBindAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeSpecialItemsBindAPIRequest) GetItemIds() []int64
- func (r TaobaoOpentradeSpecialItemsBindAPIRequest) GetMiniappId() int64
- func (r *TaobaoOpentradeSpecialItemsBindAPIRequest) SetItemIds(_itemIds []int64) error
- func (r *TaobaoOpentradeSpecialItemsBindAPIRequest) SetMiniappId(_miniappId int64) error
- type TaobaoOpentradeSpecialItemsBindAPIResponse
- type TaobaoOpentradeSpecialItemsBindAPIResponseModel
- type TaobaoOpentradeSpecialItemsQueryAPIRequest
- func (r TaobaoOpentradeSpecialItemsQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeSpecialItemsQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeSpecialItemsQueryAPIRequest) GetMiniappId() int64
- func (r *TaobaoOpentradeSpecialItemsQueryAPIRequest) SetMiniappId(_miniappId int64) error
- type TaobaoOpentradeSpecialItemsQueryAPIResponse
- type TaobaoOpentradeSpecialItemsQueryAPIResponseModel
- type TaobaoOpentradeSpecialItemsUnbindAPIRequest
- func (r TaobaoOpentradeSpecialItemsUnbindAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeSpecialItemsUnbindAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeSpecialItemsUnbindAPIRequest) GetItemIds() []int64
- func (r TaobaoOpentradeSpecialItemsUnbindAPIRequest) GetMiniappId() int64
- func (r *TaobaoOpentradeSpecialItemsUnbindAPIRequest) SetItemIds(_itemIds []int64) error
- func (r *TaobaoOpentradeSpecialItemsUnbindAPIRequest) SetMiniappId(_miniappId int64) error
- type TaobaoOpentradeSpecialItemsUnbindAPIResponse
- type TaobaoOpentradeSpecialItemsUnbindAPIResponseModel
- type TaobaoOpentradeSpecialRuleUpdateAPIRequest
- func (r TaobaoOpentradeSpecialRuleUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeSpecialRuleUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeSpecialRuleUpdateAPIRequest) GetItemIds() []int64
- func (r TaobaoOpentradeSpecialRuleUpdateAPIRequest) GetLimitNum() int64
- func (r *TaobaoOpentradeSpecialRuleUpdateAPIRequest) SetItemIds(_itemIds []int64) error
- func (r *TaobaoOpentradeSpecialRuleUpdateAPIRequest) SetLimitNum(_limitNum int64) error
- type TaobaoOpentradeSpecialRuleUpdateAPIResponse
- type TaobaoOpentradeSpecialRuleUpdateAPIResponseModel
- type TaobaoOpentradeSpecialUsersMarkAPIRequest
- func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetHit() bool
- func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetItemId() int64
- func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetLimitNum() int64
- func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetOpenUserIds() []string
- func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetSkuId() int64
- func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetStatus() string
- func (r *TaobaoOpentradeSpecialUsersMarkAPIRequest) SetHit(_hit bool) error
- func (r *TaobaoOpentradeSpecialUsersMarkAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoOpentradeSpecialUsersMarkAPIRequest) SetLimitNum(_limitNum int64) error
- func (r *TaobaoOpentradeSpecialUsersMarkAPIRequest) SetOpenUserIds(_openUserIds []string) error
- func (r *TaobaoOpentradeSpecialUsersMarkAPIRequest) SetSkuId(_skuId int64) error
- func (r *TaobaoOpentradeSpecialUsersMarkAPIRequest) SetStatus(_status string) error
- type TaobaoOpentradeSpecialUsersMarkAPIResponse
- type TaobaoOpentradeSpecialUsersMarkAPIResponseModel
- type TaobaoOpentradeSpecialUsersQueryAPIRequest
- func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetItemId() int64
- func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetOpenUserIds() []string
- func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetPageIndex() int64
- func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetPageSize() int64
- func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetSkuId() int64
- func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetStatus() string
- func (r *TaobaoOpentradeSpecialUsersQueryAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoOpentradeSpecialUsersQueryAPIRequest) SetOpenUserIds(_openUserIds []string) error
- func (r *TaobaoOpentradeSpecialUsersQueryAPIRequest) SetPageIndex(_pageIndex int64) error
- func (r *TaobaoOpentradeSpecialUsersQueryAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoOpentradeSpecialUsersQueryAPIRequest) SetSkuId(_skuId int64) error
- func (r *TaobaoOpentradeSpecialUsersQueryAPIRequest) SetStatus(_status string) error
- type TaobaoOpentradeSpecialUsersQueryAPIResponse
- type TaobaoOpentradeSpecialUsersQueryAPIResponseModel
- type TaobaoOpentradeToolsItemsBindAPIRequest
- func (r TaobaoOpentradeToolsItemsBindAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeToolsItemsBindAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeToolsItemsBindAPIRequest) GetItemIds() []int64
- func (r TaobaoOpentradeToolsItemsBindAPIRequest) GetMiniappId() int64
- func (r *TaobaoOpentradeToolsItemsBindAPIRequest) SetItemIds(_itemIds []int64) error
- func (r *TaobaoOpentradeToolsItemsBindAPIRequest) SetMiniappId(_miniappId int64) error
- type TaobaoOpentradeToolsItemsBindAPIResponse
- type TaobaoOpentradeToolsItemsBindAPIResponseModel
- type TaobaoOpentradeToolsItemsQueryAPIRequest
- func (r TaobaoOpentradeToolsItemsQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeToolsItemsQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeToolsItemsQueryAPIRequest) GetMiniappId() int64
- func (r TaobaoOpentradeToolsItemsQueryAPIRequest) GetPageIndex() int64
- func (r TaobaoOpentradeToolsItemsQueryAPIRequest) GetPageSize() int64
- func (r *TaobaoOpentradeToolsItemsQueryAPIRequest) SetMiniappId(_miniappId int64) error
- func (r *TaobaoOpentradeToolsItemsQueryAPIRequest) SetPageIndex(_pageIndex int64) error
- func (r *TaobaoOpentradeToolsItemsQueryAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaoOpentradeToolsItemsQueryAPIResponse
- type TaobaoOpentradeToolsItemsQueryAPIResponseModel
- type TaobaoOpentradeToolsItemsUnbindAPIRequest
- func (r TaobaoOpentradeToolsItemsUnbindAPIRequest) GetApiMethodName() string
- func (r TaobaoOpentradeToolsItemsUnbindAPIRequest) GetApiParams() url.Values
- func (r TaobaoOpentradeToolsItemsUnbindAPIRequest) GetItemIds() []int64
- func (r TaobaoOpentradeToolsItemsUnbindAPIRequest) GetMiniappId() int64
- func (r *TaobaoOpentradeToolsItemsUnbindAPIRequest) SetItemIds(_itemIds []int64) error
- func (r *TaobaoOpentradeToolsItemsUnbindAPIRequest) SetMiniappId(_miniappId int64) error
- type TaobaoOpentradeToolsItemsUnbindAPIResponse
- type TaobaoOpentradeToolsItemsUnbindAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupActivityResponse ¶
type GroupActivityResponse struct { // 允许开团的淘宝账号列表 AllowWhiteList []string `json:"allow_white_list,omitempty" xml:"allow_white_list>string,omitempty"` // 组团活动开始时间 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 组团活动结束时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 是否任何账号可开团。whitelist:仅白名单账号可开团 all:任何账号可开团 AllowType string `json:"allow_type,omitempty" xml:"allow_type,omitempty"` // 未成团处理办法,close:系统关单;continue:订单继续下行 FailProcess string `json:"fail_process,omitempty" xml:"fail_process,omitempty"` // 组团活动id GroupActivityId int64 `json:"group_activity_id,omitempty" xml:"group_activity_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"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 组团购买的折扣价,单位为分,不能低于店铺最低折扣 DiscountPrice int64 `json:"discount_price,omitempty" xml:"discount_price,omitempty"` // 组团类型为团购,可限制团长针对一个商品的开团数量上限 OpenLimit int64 `json:"open_limit,omitempty" xml:"open_limit,omitempty"` }
GroupActivityResponse 结构体
type GroupDetailResponse ¶
type GroupDetailResponse struct { // 团员信息 Members []RopGroupMemberInfo `json:"members,omitempty" xml:"members>rop_group_member_info,omitempty"` // 成团有效截止日期 Expiration string `json:"expiration,omitempty" xml:"expiration,omitempty"` // 已参团人数 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"` // 下单付款人数 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"` // 是否成团 Done bool `json:"done,omitempty" xml:"done,omitempty"` }
GroupDetailResponse 结构体
type GroupMemberInfoResponse ¶
type GroupMemberInfoResponse struct { // 用户openId OpenUserId string `json:"open_user_id,omitempty" xml:"open_user_id,omitempty"` // 用户参团订单号 OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"` // 1-未付款,2-已付款,4-已退款,6-交易成功,8-交易关闭,null表示用户未参团 PayStatus int64 `json:"pay_status,omitempty" xml:"pay_status,omitempty"` }
GroupMemberInfoResponse 结构体
type ItemBindResult ¶
type ItemBindResult struct { // 绑定异常时的错误信息 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 是否绑定成功 BindOk bool `json:"bind_ok,omitempty" xml:"bind_ok,omitempty"` }
ItemBindResult 结构体
type ItemInfo ¶
type ItemInfo struct { // 订单页显示的商品名称 Title string `json:"title,omitempty" xml:"title,omitempty"` // 订单页显示的商品主图地址,只能为图片空间中的图片。只需传入图片地址的path,无需域名 ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"` // 商品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"` }
ItemInfo 结构体
type ItemResultDto ¶
type ItemResultDto struct { // 失败原因 ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"` // 失败商品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` }
ItemResultDto 结构体
type ItemUnBindResult ¶
type ItemUnBindResult struct { // 解绑异常时的错误信息 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,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"` // 用户状态 Status string `json:"status,omitempty" xml:"status,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"` }
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"` // 用户openId UserOpenId string `json:"user_open_id,omitempty" xml:"user_open_id,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"` }
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 OrderDetailEntryConfig ¶ added in v1.2.5
type OrderDetailEntryConfig struct { // 跳转入口文案 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 允许展示入口的开始时间,未配置表示一直显示入口 ExposeStartTime int64 `json:"expose_start_time,omitempty" xml:"expose_start_time,omitempty"` // 允许展示入口的结束时间,未配置表示一直显示入口 ExposeEndTime int64 `json:"expose_end_time,omitempty" xml:"expose_end_time,omitempty"` }
OrderDetailEntryConfig 结构体
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
GetActivityName 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
func (r TaobaoOpentradeActivityQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeActivityQueryAPIRequest) GetEndTime ¶ added in v1.2.0
func (r TaobaoOpentradeActivityQueryAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoOpentradeActivityQueryAPIRequest) GetPageIndex ¶ added in v1.2.0
func (r TaobaoOpentradeActivityQueryAPIRequest) GetPageIndex() int64
GetPageIndex PageIndex Getter
func (TaobaoOpentradeActivityQueryAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoOpentradeActivityQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (*TaobaoOpentradeActivityQueryAPIRequest) SetActivityName ¶ added in v1.2.0
func (r *TaobaoOpentradeActivityQueryAPIRequest) SetActivityName(_activityName string) error
SetActivityName is ActivityName Setter 活动名称
func (*TaobaoOpentradeActivityQueryAPIRequest) SetEndTime ¶ added in v1.2.0
func (r *TaobaoOpentradeActivityQueryAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 活动结束时间
func (*TaobaoOpentradeActivityQueryAPIRequest) SetPageIndex ¶ added in v1.2.0
func (r *TaobaoOpentradeActivityQueryAPIRequest) SetPageIndex(_pageIndex int64) error
SetPageIndex is PageIndex Setter 分页序号
func (*TaobaoOpentradeActivityQueryAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoOpentradeActivityQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize 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"` // 活动信息记录 Results []McSceneActivityDto `json:"results,omitempty" xml:"results>mc_scene_activity_dto,omitempty"` // 总条数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,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
func (r TaobaoOpentradeActivitySyncAPIRequest) GetActivityId() string
GetActivityId ActivityId Getter
func (TaobaoOpentradeActivitySyncAPIRequest) GetActivityName ¶ added in v1.2.0
func (r TaobaoOpentradeActivitySyncAPIRequest) GetActivityName() string
GetActivityName 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
func (r TaobaoOpentradeActivitySyncAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeActivitySyncAPIRequest) GetEndTime ¶ added in v1.2.0
func (r TaobaoOpentradeActivitySyncAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoOpentradeActivitySyncAPIRequest) GetItemIdList ¶ added in v1.2.0
func (r TaobaoOpentradeActivitySyncAPIRequest) GetItemIdList() []int64
GetItemIdList ItemIdList Getter
func (TaobaoOpentradeActivitySyncAPIRequest) GetStartTime ¶ added in v1.2.0
func (r TaobaoOpentradeActivitySyncAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (*TaobaoOpentradeActivitySyncAPIRequest) SetActivityId ¶ added in v1.2.0
func (r *TaobaoOpentradeActivitySyncAPIRequest) SetActivityId(_activityId string) error
SetActivityId is ActivityId Setter 排队活动ID,排队时如传入,这里需要填写;若未传,这里也可以不传
func (*TaobaoOpentradeActivitySyncAPIRequest) SetActivityName ¶ added in v1.2.0
func (r *TaobaoOpentradeActivitySyncAPIRequest) SetActivityName(_activityName string) error
SetActivityName is ActivityName Setter 活动名称
func (*TaobaoOpentradeActivitySyncAPIRequest) SetEndTime ¶ added in v1.2.0
func (r *TaobaoOpentradeActivitySyncAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 活动结束时间(全流程结束时间,非排队结束时间)
func (*TaobaoOpentradeActivitySyncAPIRequest) SetItemIdList ¶ added in v1.2.0
func (r *TaobaoOpentradeActivitySyncAPIRequest) SetItemIdList(_itemIdList []int64) error
SetItemIdList is ItemIdList Setter 活动关联的商品列表,使用逗号(,)分割
func (*TaobaoOpentradeActivitySyncAPIRequest) SetStartTime ¶ added in v1.2.0
func (r *TaobaoOpentradeActivitySyncAPIRequest) SetStartTime(_startTime string) error
SetStartTime 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
func (r TaobaoOpentradeCreateOrderAPIRequest) GetAddress() string
GetAddress 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
func (r TaobaoOpentradeCreateOrderAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeCreateOrderAPIRequest) GetBuyerMemo ¶ added in v1.2.0
func (r TaobaoOpentradeCreateOrderAPIRequest) GetBuyerMemo() string
GetBuyerMemo BuyerMemo Getter
func (TaobaoOpentradeCreateOrderAPIRequest) GetFullName ¶ added in v1.2.0
func (r TaobaoOpentradeCreateOrderAPIRequest) GetFullName() string
GetFullName FullName Getter
func (TaobaoOpentradeCreateOrderAPIRequest) GetItemInfos ¶ added in v1.2.0
func (r TaobaoOpentradeCreateOrderAPIRequest) GetItemInfos() []ItemInfo
GetItemInfos ItemInfos Getter
func (TaobaoOpentradeCreateOrderAPIRequest) GetMobile ¶ added in v1.2.0
func (r TaobaoOpentradeCreateOrderAPIRequest) GetMobile() string
GetMobile Mobile Getter
func (TaobaoOpentradeCreateOrderAPIRequest) GetOpenUserId ¶ added in v1.2.0
func (r TaobaoOpentradeCreateOrderAPIRequest) GetOpenUserId() string
GetOpenUserId OpenUserId Getter
func (TaobaoOpentradeCreateOrderAPIRequest) GetOutId ¶ added in v1.2.0
func (r TaobaoOpentradeCreateOrderAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoOpentradeCreateOrderAPIRequest) GetSellerMemo ¶ added in v1.2.0
func (r TaobaoOpentradeCreateOrderAPIRequest) GetSellerMemo() string
GetSellerMemo SellerMemo Getter
func (*TaobaoOpentradeCreateOrderAPIRequest) SetAddress ¶ added in v1.2.0
func (r *TaobaoOpentradeCreateOrderAPIRequest) SetAddress(_address string) error
SetAddress is Address Setter 收货地址
func (*TaobaoOpentradeCreateOrderAPIRequest) SetBuyerMemo ¶ added in v1.2.0
func (r *TaobaoOpentradeCreateOrderAPIRequest) SetBuyerMemo(_buyerMemo string) error
SetBuyerMemo is BuyerMemo Setter 卖家备忘
func (*TaobaoOpentradeCreateOrderAPIRequest) SetFullName ¶ added in v1.2.0
func (r *TaobaoOpentradeCreateOrderAPIRequest) SetFullName(_fullName string) error
SetFullName is FullName Setter 收货地址的收件人姓名
func (*TaobaoOpentradeCreateOrderAPIRequest) SetItemInfos ¶ added in v1.2.0
func (r *TaobaoOpentradeCreateOrderAPIRequest) SetItemInfos(_itemInfos []ItemInfo) error
SetItemInfos is ItemInfos Setter 商品信息,一次不能超过10个
func (*TaobaoOpentradeCreateOrderAPIRequest) SetMobile ¶ added in v1.2.0
func (r *TaobaoOpentradeCreateOrderAPIRequest) SetMobile(_mobile string) error
SetMobile is Mobile Setter 收货地址的手机号码
func (*TaobaoOpentradeCreateOrderAPIRequest) SetOpenUserId ¶ added in v1.2.0
func (r *TaobaoOpentradeCreateOrderAPIRequest) SetOpenUserId(_openUserId string) error
SetOpenUserId is OpenUserId Setter 买家openID
func (*TaobaoOpentradeCreateOrderAPIRequest) SetOutId ¶ added in v1.2.0
func (r *TaobaoOpentradeCreateOrderAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 外部订单ID
func (*TaobaoOpentradeCreateOrderAPIRequest) SetSellerMemo ¶ added in v1.2.0
func (r *TaobaoOpentradeCreateOrderAPIRequest) SetSellerMemo(_sellerMemo string) error
SetSellerMemo 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
func (r TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetGroupActivityId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetGroupActivityId() int64
GetGroupActivityId GroupActivityId Getter
func (TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetPageIndex ¶ added in v1.2.0
func (r TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetPageIndex() int64
GetPageIndex PageIndex Getter
func (TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoOpentradeGroupActivtiyQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (*TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetGroupActivityId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetGroupActivityId(_groupActivityId int64) error
SetGroupActivityId is GroupActivityId Setter 组团活动id
func (*TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetPageIndex ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetPageIndex(_pageIndex int64) error
SetPageIndex is PageIndex Setter 分页参数,当前页,以0开始
func (*TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupActivtiyQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize 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"` // 组团活动信息 Results []GroupActivityResponse `json:"results,omitempty" xml:"results>group_activity_response,omitempty"` // 总记录数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,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
func (r TaobaoOpentradeGroupDetailAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeGroupDetailAPIRequest) GetGroupId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupDetailAPIRequest) GetGroupId() int64
GetGroupId GroupId Getter
func (*TaobaoOpentradeGroupDetailAPIRequest) SetGroupId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupDetailAPIRequest) SetGroupId(_groupId int64) error
SetGroupId 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
func (r TaobaoOpentradeGroupJoinAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeGroupJoinAPIRequest) GetGroupId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupJoinAPIRequest) GetGroupId() int64
GetGroupId GroupId Getter
func (TaobaoOpentradeGroupJoinAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupJoinAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoOpentradeGroupJoinAPIRequest) GetOpenUserId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupJoinAPIRequest) GetOpenUserId() string
GetOpenUserId OpenUserId Getter
func (*TaobaoOpentradeGroupJoinAPIRequest) SetGroupId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupJoinAPIRequest) SetGroupId(_groupId int64) error
SetGroupId is GroupId Setter 团id
func (*TaobaoOpentradeGroupJoinAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupJoinAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*TaobaoOpentradeGroupJoinAPIRequest) SetOpenUserId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupJoinAPIRequest) SetOpenUserId(_openUserId string) error
SetOpenUserId 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
func (r TaobaoOpentradeGroupMemberInfoAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeGroupMemberInfoAPIRequest) GetGroupId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupMemberInfoAPIRequest) GetGroupId() int64
GetGroupId GroupId Getter
func (TaobaoOpentradeGroupMemberInfoAPIRequest) GetOpenUserId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupMemberInfoAPIRequest) GetOpenUserId() string
GetOpenUserId OpenUserId Getter
func (*TaobaoOpentradeGroupMemberInfoAPIRequest) SetGroupId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupMemberInfoAPIRequest) SetGroupId(_groupId int64) error
SetGroupId is GroupId Setter 团id
func (*TaobaoOpentradeGroupMemberInfoAPIRequest) SetOpenUserId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupMemberInfoAPIRequest) SetOpenUserId(_openUserId string) error
SetOpenUserId 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
func (r TaobaoOpentradeGroupMemberInfosAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpentradeGroupMemberInfosAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpentradeGroupMemberInfosAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeGroupMemberInfosAPIRequest) GetGroupId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupMemberInfosAPIRequest) GetGroupId() int64
GetGroupId GroupId Getter
func (TaobaoOpentradeGroupMemberInfosAPIRequest) GetOpenUserIds ¶ added in v1.2.0
func (r TaobaoOpentradeGroupMemberInfosAPIRequest) GetOpenUserIds() []string
GetOpenUserIds OpenUserIds Getter
func (*TaobaoOpentradeGroupMemberInfosAPIRequest) SetGroupId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupMemberInfosAPIRequest) SetGroupId(_groupId int64) error
SetGroupId is GroupId Setter 团id
func (*TaobaoOpentradeGroupMemberInfosAPIRequest) SetOpenUserIds ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupMemberInfosAPIRequest) SetOpenUserIds(_openUserIds []string) error
SetOpenUserIds 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
func (r TaobaoOpentradeGroupOpenAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeGroupOpenAPIRequest) GetGroupActivityId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupOpenAPIRequest) GetGroupActivityId() int64
GetGroupActivityId GroupActivityId Getter
func (TaobaoOpentradeGroupOpenAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupOpenAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoOpentradeGroupOpenAPIRequest) GetOpenUserId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupOpenAPIRequest) GetOpenUserId() string
GetOpenUserId OpenUserId Getter
func (*TaobaoOpentradeGroupOpenAPIRequest) SetGroupActivityId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupOpenAPIRequest) SetGroupActivityId(_groupActivityId int64) error
SetGroupActivityId is GroupActivityId Setter 组团活动id
func (*TaobaoOpentradeGroupOpenAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupOpenAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*TaobaoOpentradeGroupOpenAPIRequest) SetOpenUserId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupOpenAPIRequest) SetOpenUserId(_openUserId string) error
SetOpenUserId 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
func (r TaobaoOpentradeGroupOrderAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeGroupOrderAPIRequest) GetGroupId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupOrderAPIRequest) GetGroupId() int64
GetGroupId GroupId Getter
func (*TaobaoOpentradeGroupOrderAPIRequest) SetGroupId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupOrderAPIRequest) SetGroupId(_groupId int64) error
SetGroupId 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
func (r TaobaoOpentradeGroupQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeGroupQueryAPIRequest) GetGroupActivityId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupQueryAPIRequest) GetGroupActivityId() int64
GetGroupActivityId GroupActivityId Getter
func (TaobaoOpentradeGroupQueryAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupQueryAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoOpentradeGroupQueryAPIRequest) GetOpenUserId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupQueryAPIRequest) GetOpenUserId() string
GetOpenUserId OpenUserId Getter
func (TaobaoOpentradeGroupQueryAPIRequest) GetOrderBy ¶ added in v1.2.0
func (r TaobaoOpentradeGroupQueryAPIRequest) GetOrderBy() int64
GetOrderBy OrderBy Getter
func (TaobaoOpentradeGroupQueryAPIRequest) GetPageIndex ¶ added in v1.2.0
func (r TaobaoOpentradeGroupQueryAPIRequest) GetPageIndex() int64
GetPageIndex PageIndex Getter
func (TaobaoOpentradeGroupQueryAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoOpentradeGroupQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoOpentradeGroupQueryAPIRequest) GetWithExpire ¶ added in v1.2.0
func (r TaobaoOpentradeGroupQueryAPIRequest) GetWithExpire() bool
GetWithExpire WithExpire Getter
func (*TaobaoOpentradeGroupQueryAPIRequest) SetGroupActivityId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupQueryAPIRequest) SetGroupActivityId(_groupActivityId int64) error
SetGroupActivityId is GroupActivityId Setter 组团活动id
func (*TaobaoOpentradeGroupQueryAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupQueryAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*TaobaoOpentradeGroupQueryAPIRequest) SetOpenUserId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupQueryAPIRequest) SetOpenUserId(_openUserId string) error
SetOpenUserId is OpenUserId Setter 用户openId
func (*TaobaoOpentradeGroupQueryAPIRequest) SetOrderBy ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupQueryAPIRequest) SetOrderBy(_orderBy int64) error
SetOrderBy is OrderBy Setter 0 返回未成团列表,1 返回已成团列表
func (*TaobaoOpentradeGroupQueryAPIRequest) SetPageIndex ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupQueryAPIRequest) SetPageIndex(_pageIndex int64) error
SetPageIndex is PageIndex Setter 页数
func (*TaobaoOpentradeGroupQueryAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页展示条数,不能超过100
func (*TaobaoOpentradeGroupQueryAPIRequest) SetWithExpire ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupQueryAPIRequest) SetWithExpire(_withExpire bool) error
SetWithExpire 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"` // 团信息 Results []GroupDetailResponse `json:"results,omitempty" xml:"results>group_detail_response,omitempty"` // 总记录数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,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
GetAllowType AllowType Getter
func (TaobaoOpentradeGroupSyncAPIRequest) GetAllowWhiteList ¶ added in v1.2.0
func (r TaobaoOpentradeGroupSyncAPIRequest) GetAllowWhiteList() []string
GetAllowWhiteList 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
func (r TaobaoOpentradeGroupSyncAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeGroupSyncAPIRequest) GetDiscountPrice ¶ added in v1.2.0
func (r TaobaoOpentradeGroupSyncAPIRequest) GetDiscountPrice() int64
GetDiscountPrice DiscountPrice Getter
func (TaobaoOpentradeGroupSyncAPIRequest) GetEndTime ¶ added in v1.2.0
func (r TaobaoOpentradeGroupSyncAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoOpentradeGroupSyncAPIRequest) GetExpiration ¶ added in v1.2.0
func (r TaobaoOpentradeGroupSyncAPIRequest) GetExpiration() int64
GetExpiration Expiration Getter
func (TaobaoOpentradeGroupSyncAPIRequest) GetFailProcess ¶ added in v1.2.0
func (r TaobaoOpentradeGroupSyncAPIRequest) GetFailProcess() string
GetFailProcess FailProcess Getter
func (TaobaoOpentradeGroupSyncAPIRequest) GetGoal ¶ added in v1.2.0
func (r TaobaoOpentradeGroupSyncAPIRequest) GetGoal() int64
GetGoal Goal Getter
func (TaobaoOpentradeGroupSyncAPIRequest) GetGroupActivityId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupSyncAPIRequest) GetGroupActivityId() int64
GetGroupActivityId GroupActivityId Getter
func (TaobaoOpentradeGroupSyncAPIRequest) GetGroupType ¶ added in v1.2.0
func (r TaobaoOpentradeGroupSyncAPIRequest) GetGroupType() int64
GetGroupType GroupType Getter
func (TaobaoOpentradeGroupSyncAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoOpentradeGroupSyncAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoOpentradeGroupSyncAPIRequest) GetOpenLimit ¶ added in v1.2.0
func (r TaobaoOpentradeGroupSyncAPIRequest) GetOpenLimit() int64
GetOpenLimit OpenLimit Getter
func (TaobaoOpentradeGroupSyncAPIRequest) GetStartTime ¶ added in v1.2.0
func (r TaobaoOpentradeGroupSyncAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (*TaobaoOpentradeGroupSyncAPIRequest) SetAllowType ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupSyncAPIRequest) SetAllowType(_allowType string) error
SetAllowType is AllowType Setter 是否任何账号可开团。whitelist:仅白名单账号可开团 all:任何账号可开团
func (*TaobaoOpentradeGroupSyncAPIRequest) SetAllowWhiteList ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupSyncAPIRequest) SetAllowWhiteList(_allowWhiteList []string) error
SetAllowWhiteList is AllowWhiteList Setter 允许开团的淘宝账号列表
func (*TaobaoOpentradeGroupSyncAPIRequest) SetDiscountPrice ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupSyncAPIRequest) SetDiscountPrice(_discountPrice int64) error
SetDiscountPrice is DiscountPrice Setter 组团购买的折扣价,单位为分
func (*TaobaoOpentradeGroupSyncAPIRequest) SetEndTime ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupSyncAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 组团活动结束时间
func (*TaobaoOpentradeGroupSyncAPIRequest) SetExpiration ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupSyncAPIRequest) SetExpiration(_expiration int64) error
SetExpiration is Expiration Setter 成团有效期,单位为妙
func (*TaobaoOpentradeGroupSyncAPIRequest) SetFailProcess ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupSyncAPIRequest) SetFailProcess(_failProcess string) error
SetFailProcess is FailProcess Setter 未成团处理办法,close:系统关单;continue:订单继续下行
func (*TaobaoOpentradeGroupSyncAPIRequest) SetGoal ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupSyncAPIRequest) SetGoal(_goal int64) error
SetGoal is Goal Setter 成团的目标人数
func (*TaobaoOpentradeGroupSyncAPIRequest) SetGroupActivityId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupSyncAPIRequest) SetGroupActivityId(_groupActivityId int64) error
SetGroupActivityId is GroupActivityId Setter 组团活动id
func (*TaobaoOpentradeGroupSyncAPIRequest) SetGroupType ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupSyncAPIRequest) SetGroupType(_groupType int64) error
SetGroupType is GroupType Setter 组团类型,0:拼团;1:团购
func (*TaobaoOpentradeGroupSyncAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupSyncAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*TaobaoOpentradeGroupSyncAPIRequest) SetOpenLimit ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupSyncAPIRequest) SetOpenLimit(_openLimit int64) error
SetOpenLimit is OpenLimit Setter 组团类型为团购,可限制团长针对一个商品的开团数量上限
func (*TaobaoOpentradeGroupSyncAPIRequest) SetStartTime ¶ added in v1.2.0
func (r *TaobaoOpentradeGroupSyncAPIRequest) SetStartTime(_startTime string) error
SetStartTime 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 TaobaoOpentradeOrderdetailEntryGetAPIRequest ¶ added in v1.2.5
type TaobaoOpentradeOrderdetailEntryGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoOpentradeOrderdetailEntryGetAPIRequest 获取订单详情页跳转入口配置 API请求 taobao.opentrade.orderdetail.entry.get
获取订单详情页跳转入口配置
func NewTaobaoOpentradeOrderdetailEntryGetRequest ¶ added in v1.2.5
func NewTaobaoOpentradeOrderdetailEntryGetRequest() *TaobaoOpentradeOrderdetailEntryGetAPIRequest
NewTaobaoOpentradeOrderdetailEntryGetRequest 初始化TaobaoOpentradeOrderdetailEntryGetAPIRequest对象
func (TaobaoOpentradeOrderdetailEntryGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoOpentradeOrderdetailEntryGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpentradeOrderdetailEntryGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoOpentradeOrderdetailEntryGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeOrderdetailEntryGetAPIRequest) GetItemIdList ¶ added in v1.2.5
func (r TaobaoOpentradeOrderdetailEntryGetAPIRequest) GetItemIdList() int64
GetItemIdList ItemIdList Getter
func (*TaobaoOpentradeOrderdetailEntryGetAPIRequest) SetItemIdList ¶ added in v1.2.5
func (r *TaobaoOpentradeOrderdetailEntryGetAPIRequest) SetItemIdList(_itemIdList int64) error
SetItemIdList is ItemIdList Setter 商品id列表
type TaobaoOpentradeOrderdetailEntryGetAPIResponse ¶ added in v1.2.5
type TaobaoOpentradeOrderdetailEntryGetAPIResponse struct { model.CommonResponse TaobaoOpentradeOrderdetailEntryGetAPIResponseModel }
TaobaoOpentradeOrderdetailEntryGetAPIResponse 获取订单详情页跳转入口配置 API返回值 taobao.opentrade.orderdetail.entry.get
获取订单详情页跳转入口配置
type TaobaoOpentradeOrderdetailEntryGetAPIResponseModel ¶ added in v1.2.5
type TaobaoOpentradeOrderdetailEntryGetAPIResponseModel struct { XMLName xml.Name `xml:"opentrade_orderdetail_entry_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 跳转入口配置 Result []OrderDetailEntryConfig `json:"result,omitempty" xml:"result>order_detail_entry_config,omitempty"` }
TaobaoOpentradeOrderdetailEntryGetAPIResponseModel 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
GetActivityId 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
func (r TaobaoOpentradeQueueQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeQueueQueryAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoOpentradeQueueQueryAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoOpentradeQueueQueryAPIRequest) GetPageIndex ¶ added in v1.2.0
func (r TaobaoOpentradeQueueQueryAPIRequest) GetPageIndex() int64
GetPageIndex PageIndex Getter
func (TaobaoOpentradeQueueQueryAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoOpentradeQueueQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoOpentradeQueueQueryAPIRequest) GetSkuId ¶ added in v1.2.0
func (r TaobaoOpentradeQueueQueryAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (TaobaoOpentradeQueueQueryAPIRequest) GetStatus ¶ added in v1.2.0
func (r TaobaoOpentradeQueueQueryAPIRequest) GetStatus() string
GetStatus Status Getter
func (*TaobaoOpentradeQueueQueryAPIRequest) SetActivityId ¶ added in v1.2.0
func (r *TaobaoOpentradeQueueQueryAPIRequest) SetActivityId(_activityId string) error
SetActivityId is ActivityId Setter 排队活动ID,排队时如传入,这里需要填写;若未传,这里也可以不传
func (*TaobaoOpentradeQueueQueryAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoOpentradeQueueQueryAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 排队商品ID
func (*TaobaoOpentradeQueueQueryAPIRequest) SetPageIndex ¶ added in v1.2.0
func (r *TaobaoOpentradeQueueQueryAPIRequest) SetPageIndex(_pageIndex int64) error
SetPageIndex is PageIndex Setter 分页参数,当前页,以0开始
func (*TaobaoOpentradeQueueQueryAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoOpentradeQueueQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页参数,每页大小
func (*TaobaoOpentradeQueueQueryAPIRequest) SetSkuId ¶ added in v1.2.0
func (r *TaobaoOpentradeQueueQueryAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 排队商品SKU ID,不存在传0
func (*TaobaoOpentradeQueueQueryAPIRequest) SetStatus ¶ added in v1.2.0
func (r *TaobaoOpentradeQueueQueryAPIRequest) SetStatus(_status string) error
SetStatus 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"` // 返回的排队用户数据 Results []McUserDto `json:"results,omitempty" xml:"results>mc_user_dto,omitempty"` // 总记录数 TotalCount string `json:"total_count,omitempty" xml:"total_count,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
func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetActivityId() string
GetActivityId 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
func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeQueueUsersMarkAPIRequest) GetHit ¶ added in v1.2.0
func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetHit() bool
GetHit Hit Getter
func (TaobaoOpentradeQueueUsersMarkAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoOpentradeQueueUsersMarkAPIRequest) GetOpenUserIds ¶ added in v1.2.0
func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetOpenUserIds() []string
GetOpenUserIds OpenUserIds Getter
func (TaobaoOpentradeQueueUsersMarkAPIRequest) GetSkuId ¶ added in v1.2.0
func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (TaobaoOpentradeQueueUsersMarkAPIRequest) GetStatus ¶ added in v1.2.0
func (r TaobaoOpentradeQueueUsersMarkAPIRequest) GetStatus() string
GetStatus Status Getter
func (*TaobaoOpentradeQueueUsersMarkAPIRequest) SetActivityId ¶ added in v1.2.0
func (r *TaobaoOpentradeQueueUsersMarkAPIRequest) SetActivityId(_activityId string) error
SetActivityId is ActivityId Setter 排队活动ID,排队时如传入,这里需要填写;若未传,这里也可以不传
func (*TaobaoOpentradeQueueUsersMarkAPIRequest) SetHit ¶ added in v1.2.0
func (r *TaobaoOpentradeQueueUsersMarkAPIRequest) SetHit(_hit bool) error
SetHit is Hit Setter 是否目标用户,传入true后,用户可购买商品
func (*TaobaoOpentradeQueueUsersMarkAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoOpentradeQueueUsersMarkAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 排队商品ID
func (*TaobaoOpentradeQueueUsersMarkAPIRequest) SetOpenUserIds ¶ added in v1.2.0
func (r *TaobaoOpentradeQueueUsersMarkAPIRequest) SetOpenUserIds(_openUserIds []string) error
SetOpenUserIds is OpenUserIds Setter 本次待标记的用户列表,多个以逗号(,)分割,最大20个
func (*TaobaoOpentradeQueueUsersMarkAPIRequest) SetSkuId ¶ added in v1.2.0
func (r *TaobaoOpentradeQueueUsersMarkAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 排队商品SKU ID,不存在传0
func (*TaobaoOpentradeQueueUsersMarkAPIRequest) SetStatus ¶ added in v1.2.0
func (r *TaobaoOpentradeQueueUsersMarkAPIRequest) SetStatus(_status string) error
SetStatus 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
func (r TaobaoOpentradeSpecialItemsBindAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpentradeSpecialItemsBindAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialItemsBindAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeSpecialItemsBindAPIRequest) GetItemIds ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialItemsBindAPIRequest) GetItemIds() []int64
GetItemIds ItemIds Getter
func (TaobaoOpentradeSpecialItemsBindAPIRequest) GetMiniappId ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialItemsBindAPIRequest) GetMiniappId() int64
GetMiniappId MiniappId Getter
func (*TaobaoOpentradeSpecialItemsBindAPIRequest) SetItemIds ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialItemsBindAPIRequest) SetItemIds(_itemIds []int64) error
SetItemIds is ItemIds Setter 本次待绑定的商品ID列表
func (*TaobaoOpentradeSpecialItemsBindAPIRequest) SetMiniappId ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialItemsBindAPIRequest) SetMiniappId(_miniappId int64) error
SetMiniappId 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
func (r TaobaoOpentradeSpecialItemsQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpentradeSpecialItemsQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialItemsQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeSpecialItemsQueryAPIRequest) GetMiniappId ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialItemsQueryAPIRequest) GetMiniappId() int64
GetMiniappId MiniappId Getter
func (*TaobaoOpentradeSpecialItemsQueryAPIRequest) SetMiniappId ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialItemsQueryAPIRequest) SetMiniappId(_miniappId int64) error
SetMiniappId 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
func (r TaobaoOpentradeSpecialItemsUnbindAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpentradeSpecialItemsUnbindAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialItemsUnbindAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeSpecialItemsUnbindAPIRequest) GetItemIds ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialItemsUnbindAPIRequest) GetItemIds() []int64
GetItemIds ItemIds Getter
func (TaobaoOpentradeSpecialItemsUnbindAPIRequest) GetMiniappId ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialItemsUnbindAPIRequest) GetMiniappId() int64
GetMiniappId MiniappId Getter
func (*TaobaoOpentradeSpecialItemsUnbindAPIRequest) SetItemIds ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialItemsUnbindAPIRequest) SetItemIds(_itemIds []int64) error
SetItemIds is ItemIds Setter 本次待解绑的商品ID列表
func (*TaobaoOpentradeSpecialItemsUnbindAPIRequest) SetMiniappId ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialItemsUnbindAPIRequest) SetMiniappId(_miniappId int64) error
SetMiniappId 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
func (r TaobaoOpentradeSpecialRuleUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpentradeSpecialRuleUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialRuleUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeSpecialRuleUpdateAPIRequest) GetItemIds ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialRuleUpdateAPIRequest) GetItemIds() []int64
GetItemIds ItemIds Getter
func (TaobaoOpentradeSpecialRuleUpdateAPIRequest) GetLimitNum ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialRuleUpdateAPIRequest) GetLimitNum() int64
GetLimitNum LimitNum Getter
func (*TaobaoOpentradeSpecialRuleUpdateAPIRequest) SetItemIds ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialRuleUpdateAPIRequest) SetItemIds(_itemIds []int64) error
SetItemIds is ItemIds Setter 商品id列表
func (*TaobaoOpentradeSpecialRuleUpdateAPIRequest) SetLimitNum ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialRuleUpdateAPIRequest) SetLimitNum(_limitNum int64) error
SetLimitNum 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
func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpentradeSpecialUsersMarkAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeSpecialUsersMarkAPIRequest) GetHit ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetHit() bool
GetHit Hit Getter
func (TaobaoOpentradeSpecialUsersMarkAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoOpentradeSpecialUsersMarkAPIRequest) GetLimitNum ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetLimitNum() int64
GetLimitNum LimitNum Getter
func (TaobaoOpentradeSpecialUsersMarkAPIRequest) GetOpenUserIds ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetOpenUserIds() []string
GetOpenUserIds OpenUserIds Getter
func (TaobaoOpentradeSpecialUsersMarkAPIRequest) GetSkuId ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (TaobaoOpentradeSpecialUsersMarkAPIRequest) GetStatus ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialUsersMarkAPIRequest) GetStatus() string
GetStatus Status Getter
func (*TaobaoOpentradeSpecialUsersMarkAPIRequest) SetHit ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialUsersMarkAPIRequest) SetHit(_hit bool) error
SetHit is Hit Setter 是否目标用户,传入true后,用户可购买商品
func (*TaobaoOpentradeSpecialUsersMarkAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialUsersMarkAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*TaobaoOpentradeSpecialUsersMarkAPIRequest) SetLimitNum ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialUsersMarkAPIRequest) SetLimitNum(_limitNum int64) error
SetLimitNum is LimitNum Setter 单次购买最大限购数量
func (*TaobaoOpentradeSpecialUsersMarkAPIRequest) SetOpenUserIds ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialUsersMarkAPIRequest) SetOpenUserIds(_openUserIds []string) error
SetOpenUserIds is OpenUserIds Setter 本次待标记的用户列表,多个以逗号(,)分割,最大20个
func (*TaobaoOpentradeSpecialUsersMarkAPIRequest) SetSkuId ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialUsersMarkAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 商品SKU ID,不存在传0
func (*TaobaoOpentradeSpecialUsersMarkAPIRequest) SetStatus ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialUsersMarkAPIRequest) SetStatus(_status string) error
SetStatus 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
func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpentradeSpecialUsersQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeSpecialUsersQueryAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoOpentradeSpecialUsersQueryAPIRequest) GetOpenUserIds ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetOpenUserIds() []string
GetOpenUserIds OpenUserIds Getter
func (TaobaoOpentradeSpecialUsersQueryAPIRequest) GetPageIndex ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetPageIndex() int64
GetPageIndex PageIndex Getter
func (TaobaoOpentradeSpecialUsersQueryAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoOpentradeSpecialUsersQueryAPIRequest) GetSkuId ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (TaobaoOpentradeSpecialUsersQueryAPIRequest) GetStatus ¶ added in v1.2.0
func (r TaobaoOpentradeSpecialUsersQueryAPIRequest) GetStatus() string
GetStatus Status Getter
func (*TaobaoOpentradeSpecialUsersQueryAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialUsersQueryAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*TaobaoOpentradeSpecialUsersQueryAPIRequest) SetOpenUserIds ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialUsersQueryAPIRequest) SetOpenUserIds(_openUserIds []string) error
SetOpenUserIds is OpenUserIds Setter 用户openId列表,多个以逗号(,)分割
func (*TaobaoOpentradeSpecialUsersQueryAPIRequest) SetPageIndex ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialUsersQueryAPIRequest) SetPageIndex(_pageIndex int64) error
SetPageIndex is PageIndex Setter 分页参数,当前页,以0开始
func (*TaobaoOpentradeSpecialUsersQueryAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialUsersQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页参数,每页大小
func (*TaobaoOpentradeSpecialUsersQueryAPIRequest) SetSkuId ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialUsersQueryAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 商品SKU ID,不存在传0
func (*TaobaoOpentradeSpecialUsersQueryAPIRequest) SetStatus ¶ added in v1.2.0
func (r *TaobaoOpentradeSpecialUsersQueryAPIRequest) SetStatus(_status string) error
SetStatus 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"` // 标记用户数据 Results []MarkUserInfo `json:"results,omitempty" xml:"results>mark_user_info,omitempty"` // 总记录数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,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
func (r TaobaoOpentradeToolsItemsBindAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeToolsItemsBindAPIRequest) GetItemIds ¶ added in v1.2.0
func (r TaobaoOpentradeToolsItemsBindAPIRequest) GetItemIds() []int64
GetItemIds ItemIds Getter
func (TaobaoOpentradeToolsItemsBindAPIRequest) GetMiniappId ¶ added in v1.2.0
func (r TaobaoOpentradeToolsItemsBindAPIRequest) GetMiniappId() int64
GetMiniappId MiniappId Getter
func (*TaobaoOpentradeToolsItemsBindAPIRequest) SetItemIds ¶ added in v1.2.0
func (r *TaobaoOpentradeToolsItemsBindAPIRequest) SetItemIds(_itemIds []int64) error
SetItemIds is ItemIds Setter 待绑定商品id
func (*TaobaoOpentradeToolsItemsBindAPIRequest) SetMiniappId ¶ added in v1.2.0
func (r *TaobaoOpentradeToolsItemsBindAPIRequest) SetMiniappId(_miniappId int64) error
SetMiniappId 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
func (r TaobaoOpentradeToolsItemsQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeToolsItemsQueryAPIRequest) GetMiniappId ¶ added in v1.2.0
func (r TaobaoOpentradeToolsItemsQueryAPIRequest) GetMiniappId() int64
GetMiniappId MiniappId Getter
func (TaobaoOpentradeToolsItemsQueryAPIRequest) GetPageIndex ¶ added in v1.2.5
func (r TaobaoOpentradeToolsItemsQueryAPIRequest) GetPageIndex() int64
GetPageIndex PageIndex Getter
func (TaobaoOpentradeToolsItemsQueryAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoOpentradeToolsItemsQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (*TaobaoOpentradeToolsItemsQueryAPIRequest) SetMiniappId ¶ added in v1.2.0
func (r *TaobaoOpentradeToolsItemsQueryAPIRequest) SetMiniappId(_miniappId int64) error
SetMiniappId is MiniappId Setter 交易开放C端小程序ID
func (*TaobaoOpentradeToolsItemsQueryAPIRequest) SetPageIndex ¶ added in v1.2.5
func (r *TaobaoOpentradeToolsItemsQueryAPIRequest) SetPageIndex(_pageIndex int64) error
SetPageIndex is PageIndex Setter 起始页
func (*TaobaoOpentradeToolsItemsQueryAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoOpentradeToolsItemsQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页大小
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"` // 总商品数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,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
func (r TaobaoOpentradeToolsItemsUnbindAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoOpentradeToolsItemsUnbindAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoOpentradeToolsItemsUnbindAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoOpentradeToolsItemsUnbindAPIRequest) GetItemIds ¶ added in v1.2.0
func (r TaobaoOpentradeToolsItemsUnbindAPIRequest) GetItemIds() []int64
GetItemIds ItemIds Getter
func (TaobaoOpentradeToolsItemsUnbindAPIRequest) GetMiniappId ¶ added in v1.2.0
func (r TaobaoOpentradeToolsItemsUnbindAPIRequest) GetMiniappId() int64
GetMiniappId MiniappId Getter
func (*TaobaoOpentradeToolsItemsUnbindAPIRequest) SetItemIds ¶ added in v1.2.0
func (r *TaobaoOpentradeToolsItemsUnbindAPIRequest) SetItemIds(_itemIds []int64) error
SetItemIds is ItemIds Setter 商品id
func (*TaobaoOpentradeToolsItemsUnbindAPIRequest) SetMiniappId ¶ added in v1.2.0
func (r *TaobaoOpentradeToolsItemsUnbindAPIRequest) SetMiniappId(_miniappId int64) error
SetMiniappId 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 ¶
- GroupActivityResponse.go
- GroupDetailResponse.go
- GroupMemberInfoResponse.go
- ItemBindResult.go
- ItemInfo.go
- ItemResultDto.go
- ItemUnBindResult.go
- MarkUserInfo.go
- McSceneActivityDto.go
- McUserDto.go
- OpenGroupResponse.go
- OrderDetailEntryConfig.go
- RopGroupMemberInfo.go
- TaobaoOpentradeActivityQueryAPIRequest.go
- TaobaoOpentradeActivityQueryAPIResponse.go
- TaobaoOpentradeActivitySyncAPIRequest.go
- TaobaoOpentradeActivitySyncAPIResponse.go
- TaobaoOpentradeCreateOrderAPIRequest.go
- TaobaoOpentradeCreateOrderAPIResponse.go
- TaobaoOpentradeGroupActivtiyQueryAPIRequest.go
- TaobaoOpentradeGroupActivtiyQueryAPIResponse.go
- TaobaoOpentradeGroupDetailAPIRequest.go
- TaobaoOpentradeGroupDetailAPIResponse.go
- TaobaoOpentradeGroupJoinAPIRequest.go
- TaobaoOpentradeGroupJoinAPIResponse.go
- TaobaoOpentradeGroupMemberInfoAPIRequest.go
- TaobaoOpentradeGroupMemberInfoAPIResponse.go
- TaobaoOpentradeGroupMemberInfosAPIRequest.go
- TaobaoOpentradeGroupMemberInfosAPIResponse.go
- TaobaoOpentradeGroupOpenAPIRequest.go
- TaobaoOpentradeGroupOpenAPIResponse.go
- TaobaoOpentradeGroupOrderAPIRequest.go
- TaobaoOpentradeGroupOrderAPIResponse.go
- TaobaoOpentradeGroupQueryAPIRequest.go
- TaobaoOpentradeGroupQueryAPIResponse.go
- TaobaoOpentradeGroupSyncAPIRequest.go
- TaobaoOpentradeGroupSyncAPIResponse.go
- TaobaoOpentradeOrderdetailEntryGetAPIRequest.go
- TaobaoOpentradeOrderdetailEntryGetAPIResponse.go
- TaobaoOpentradeQueueQueryAPIRequest.go
- TaobaoOpentradeQueueQueryAPIResponse.go
- TaobaoOpentradeQueueUsersMarkAPIRequest.go
- TaobaoOpentradeQueueUsersMarkAPIResponse.go
- TaobaoOpentradeSpecialItemsBindAPIRequest.go
- TaobaoOpentradeSpecialItemsBindAPIResponse.go
- TaobaoOpentradeSpecialItemsQueryAPIRequest.go
- TaobaoOpentradeSpecialItemsQueryAPIResponse.go
- TaobaoOpentradeSpecialItemsUnbindAPIRequest.go
- TaobaoOpentradeSpecialItemsUnbindAPIResponse.go
- TaobaoOpentradeSpecialRuleUpdateAPIRequest.go
- TaobaoOpentradeSpecialRuleUpdateAPIResponse.go
- TaobaoOpentradeSpecialUsersMarkAPIRequest.go
- TaobaoOpentradeSpecialUsersMarkAPIResponse.go
- TaobaoOpentradeSpecialUsersQueryAPIRequest.go
- TaobaoOpentradeSpecialUsersQueryAPIResponse.go
- TaobaoOpentradeToolsItemsBindAPIRequest.go
- TaobaoOpentradeToolsItemsBindAPIResponse.go
- TaobaoOpentradeToolsItemsQueryAPIRequest.go
- TaobaoOpentradeToolsItemsQueryAPIResponse.go
- TaobaoOpentradeToolsItemsUnbindAPIRequest.go
- TaobaoOpentradeToolsItemsUnbindAPIResponse.go
- doc.go