charity

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package charity 包含公益三小时公共相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountCheckQuery added in v1.2.5

type AccountCheckQuery struct {
	// 账单列表
	BillList []BillDto `json:"bill_list,omitempty" xml:"bill_list>bill_dto,omitempty"`
	// 公益组织id
	InvoiceOrgId string `json:"invoice_org_id,omitempty" xml:"invoice_org_id,omitempty"`
	// 开票申请id
	InvoiceId string `json:"invoice_id,omitempty" xml:"invoice_id,omitempty"`
	// 商家id
	MerchantId int64 `json:"merchant_id,omitempty" xml:"merchant_id,omitempty"`
}

AccountCheckQuery 结构体

type ActivityDto added in v1.2.5

type ActivityDto struct {
	// 活动标题
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 活动摘要
	Summary string `json:"summary,omitempty" xml:"summary,omitempty"`
	// 活动内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
}

ActivityDto 结构体

type AlibabaCharityBindCancelAPIRequest added in v1.2.5

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

AlibabaCharityBindCancelAPIRequest 取消用户绑定 API请求 alibaba.charity.bind.cancel

取消用户绑定

func NewAlibabaCharityBindCancelRequest added in v1.2.5

func NewAlibabaCharityBindCancelRequest() *AlibabaCharityBindCancelAPIRequest

NewAlibabaCharityBindCancelRequest 初始化AlibabaCharityBindCancelAPIRequest对象

func (AlibabaCharityBindCancelAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaCharityBindCancelAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCharityBindCancelAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCharityBindCancelAPIRequest) GetUserKey added in v1.2.5

GetUserKey UserKey Getter

func (*AlibabaCharityBindCancelAPIRequest) SetUserKey added in v1.2.5

func (r *AlibabaCharityBindCancelAPIRequest) SetUserKey(_userKey string) error

SetUserKey is UserKey Setter 解绑用户ID

type AlibabaCharityBindCancelAPIResponse added in v1.2.5

type AlibabaCharityBindCancelAPIResponse struct {
	model.CommonResponse
	AlibabaCharityBindCancelAPIResponseModel
}

AlibabaCharityBindCancelAPIResponse 取消用户绑定 API返回值 alibaba.charity.bind.cancel

取消用户绑定

type AlibabaCharityBindCancelAPIResponseModel added in v1.2.5

type AlibabaCharityBindCancelAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_charity_bind_cancel_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *ThreehoursResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaCharityBindCancelAPIResponseModel is 取消用户绑定 成功返回结果

type AlibabaCharityCharitytimeListAPIRequest added in v1.2.5

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

AlibabaCharityCharitytimeListAPIRequest 授权用户的公益时记录查询 API请求 alibaba.charity.charitytime.list

查询授权用户的公益时记录

func NewAlibabaCharityCharitytimeListRequest added in v1.2.5

func NewAlibabaCharityCharitytimeListRequest() *AlibabaCharityCharitytimeListAPIRequest

NewAlibabaCharityCharitytimeListRequest 初始化AlibabaCharityCharitytimeListAPIRequest对象

func (AlibabaCharityCharitytimeListAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaCharityCharitytimeListAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCharityCharitytimeListAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCharityCharitytimeListAPIRequest) GetAuthCode added in v1.2.5

GetAuthCode AuthCode Getter

func (AlibabaCharityCharitytimeListAPIRequest) GetCreateEndTime added in v1.2.5

func (r AlibabaCharityCharitytimeListAPIRequest) GetCreateEndTime() string

GetCreateEndTime CreateEndTime Getter

func (AlibabaCharityCharitytimeListAPIRequest) GetCreateStartTime added in v1.2.5

func (r AlibabaCharityCharitytimeListAPIRequest) GetCreateStartTime() string

GetCreateStartTime CreateStartTime Getter

func (AlibabaCharityCharitytimeListAPIRequest) GetEndTime added in v1.2.5

GetEndTime EndTime Getter

func (AlibabaCharityCharitytimeListAPIRequest) GetFetches added in v1.2.5

GetFetches Fetches Getter

func (AlibabaCharityCharitytimeListAPIRequest) GetLimit added in v1.2.5

GetLimit Limit Getter

func (AlibabaCharityCharitytimeListAPIRequest) GetStartTime added in v1.2.5

GetStartTime StartTime Getter

func (AlibabaCharityCharitytimeListAPIRequest) GetUserKey added in v1.2.5

GetUserKey UserKey Getter

func (AlibabaCharityCharitytimeListAPIRequest) GetUserType added in v1.2.5

GetUserType UserType Getter

func (*AlibabaCharityCharitytimeListAPIRequest) SetAuthCode added in v1.2.5

func (r *AlibabaCharityCharitytimeListAPIRequest) SetAuthCode(_authCode string) error

SetAuthCode is AuthCode Setter 授权码

func (*AlibabaCharityCharitytimeListAPIRequest) SetCreateEndTime added in v1.2.5

func (r *AlibabaCharityCharitytimeListAPIRequest) SetCreateEndTime(_createEndTime string) error

SetCreateEndTime is CreateEndTime Setter 产生公益时查询截止时间,不包含

func (*AlibabaCharityCharitytimeListAPIRequest) SetCreateStartTime added in v1.2.5

func (r *AlibabaCharityCharitytimeListAPIRequest) SetCreateStartTime(_createStartTime string) error

SetCreateStartTime is CreateStartTime Setter 产生公益时查询开始时间,包含

func (*AlibabaCharityCharitytimeListAPIRequest) SetEndTime added in v1.2.5

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

SetEndTime is EndTime Setter 发放公益时查询截止时间,不包含

func (*AlibabaCharityCharitytimeListAPIRequest) SetFetches added in v1.2.5

func (r *AlibabaCharityCharitytimeListAPIRequest) SetFetches(_fetches string) error

SetFetches is Fetches Setter 额外取的数据域,ACTIVITY_BASE:活动信息

func (*AlibabaCharityCharitytimeListAPIRequest) SetLimit added in v1.2.5

SetLimit is Limit Setter 最大条数,大于2000取2000

func (*AlibabaCharityCharitytimeListAPIRequest) SetStartTime added in v1.2.5

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

SetStartTime is StartTime Setter 发放公益时查询开始时间,包含

func (*AlibabaCharityCharitytimeListAPIRequest) SetUserKey added in v1.2.5

func (r *AlibabaCharityCharitytimeListAPIRequest) SetUserKey(_userKey string) error

SetUserKey is UserKey Setter 用户ID

func (*AlibabaCharityCharitytimeListAPIRequest) SetUserType added in v1.2.5

func (r *AlibabaCharityCharitytimeListAPIRequest) SetUserType(_userType string) error

SetUserType is UserType Setter 用户类型

type AlibabaCharityCharitytimeListAPIResponse added in v1.2.5

type AlibabaCharityCharitytimeListAPIResponse struct {
	model.CommonResponse
	AlibabaCharityCharitytimeListAPIResponseModel
}

AlibabaCharityCharitytimeListAPIResponse 授权用户的公益时记录查询 API返回值 alibaba.charity.charitytime.list

查询授权用户的公益时记录

type AlibabaCharityCharitytimeListAPIResponseModel added in v1.2.5

type AlibabaCharityCharitytimeListAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_charity_charitytime_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 公益时记录列表
	Data []CharityTimeDto `json:"data,omitempty" xml:"data>charity_time_dto,omitempty"`
	// 错误内容
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 返回码 200成功 403无权限
	ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlibabaCharityCharitytimeListAPIResponseModel is 授权用户的公益时记录查询 成功返回结果

type AlibabaCharityCharitytimeQueryAPIRequest added in v1.2.0

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

AlibabaCharityCharitytimeQueryAPIRequest 查询公益3小时公益时汇总 API请求 alibaba.charity.charitytime.query

查询公益3小时公益时汇总

func NewAlibabaCharityCharitytimeQueryRequest

func NewAlibabaCharityCharitytimeQueryRequest() *AlibabaCharityCharitytimeQueryAPIRequest

NewAlibabaCharityCharitytimeQueryRequest 初始化AlibabaCharityCharitytimeQueryAPIRequest对象

func (AlibabaCharityCharitytimeQueryAPIRequest) GetActivityId added in v1.2.0

GetActivityId ActivityId Getter

func (AlibabaCharityCharitytimeQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaCharityCharitytimeQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCharityCharitytimeQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCharityCharitytimeQueryAPIRequest) GetCharityTypeList added in v1.2.0

func (r AlibabaCharityCharitytimeQueryAPIRequest) GetCharityTypeList() []string

GetCharityTypeList CharityTypeList Getter

func (AlibabaCharityCharitytimeQueryAPIRequest) GetEndDate added in v1.2.0

GetEndDate EndDate Getter

func (AlibabaCharityCharitytimeQueryAPIRequest) GetExtParam added in v1.2.0

GetExtParam ExtParam Getter

func (AlibabaCharityCharitytimeQueryAPIRequest) GetStartDate added in v1.2.0

GetStartDate StartDate Getter

func (AlibabaCharityCharitytimeQueryAPIRequest) GetTbUid added in v1.2.0

GetTbUid TbUid Getter

func (*AlibabaCharityCharitytimeQueryAPIRequest) SetActivityId added in v1.2.0

func (r *AlibabaCharityCharitytimeQueryAPIRequest) SetActivityId(_activityId int64) error

SetActivityId is ActivityId Setter 活动ID

func (*AlibabaCharityCharitytimeQueryAPIRequest) SetCharityTypeList added in v1.2.0

func (r *AlibabaCharityCharitytimeQueryAPIRequest) SetCharityTypeList(_charityTypeList []string) error

SetCharityTypeList is CharityTypeList Setter 公益类型

func (*AlibabaCharityCharitytimeQueryAPIRequest) SetEndDate added in v1.2.0

func (r *AlibabaCharityCharitytimeQueryAPIRequest) SetEndDate(_endDate int64) error

SetEndDate is EndDate Setter 结束时间戳-毫秒时间

func (*AlibabaCharityCharitytimeQueryAPIRequest) SetExtParam added in v1.2.0

func (r *AlibabaCharityCharitytimeQueryAPIRequest) SetExtParam(_extParam string) error

SetExtParam is ExtParam Setter 扩展参数

func (*AlibabaCharityCharitytimeQueryAPIRequest) SetStartDate added in v1.2.0

func (r *AlibabaCharityCharitytimeQueryAPIRequest) SetStartDate(_startDate int64) error

SetStartDate is StartDate Setter 开始时间戳-毫秒时间

func (*AlibabaCharityCharitytimeQueryAPIRequest) SetTbUid added in v1.2.0

SetTbUid is TbUid Setter 淘宝Uid

type AlibabaCharityCharitytimeQueryAPIResponse

type AlibabaCharityCharitytimeQueryAPIResponse struct {
	model.CommonResponse
	AlibabaCharityCharitytimeQueryAPIResponseModel
}

AlibabaCharityCharitytimeQueryAPIResponse 查询公益3小时公益时汇总 API返回值 alibaba.charity.charitytime.query

查询公益3小时公益时汇总

type AlibabaCharityCharitytimeQueryAPIResponseModel added in v1.2.0

type AlibabaCharityCharitytimeQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_charity_charitytime_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 消息
	Apimsg string `json:"apimsg,omitempty" xml:"apimsg,omitempty"`
	// 错误码
	Apicode int64 `json:"apicode,omitempty" xml:"apicode,omitempty"`
	// 数据
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 失败
	Fail bool `json:"fail,omitempty" xml:"fail,omitempty"`
	// 成功
	Apisuccess bool `json:"apisuccess,omitempty" xml:"apisuccess,omitempty"`
}

AlibabaCharityCharitytimeQueryAPIResponseModel is 查询公益3小时公益时汇总 成功返回结果

type AlibabaCharityCharitytimeQuerytimeAPIRequest added in v1.2.5

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

AlibabaCharityCharitytimeQuerytimeAPIRequest 外部查询公益时 API请求 alibaba.charity.charitytime.querytime

外部查询公益时

func NewAlibabaCharityCharitytimeQuerytimeRequest added in v1.2.5

func NewAlibabaCharityCharitytimeQuerytimeRequest() *AlibabaCharityCharitytimeQuerytimeAPIRequest

NewAlibabaCharityCharitytimeQuerytimeRequest 初始化AlibabaCharityCharitytimeQuerytimeAPIRequest对象

func (AlibabaCharityCharitytimeQuerytimeAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCharityCharitytimeQuerytimeAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCharityCharitytimeQuerytimeAPIRequest) GetEndTime added in v1.2.5

GetEndTime EndTime Getter

func (AlibabaCharityCharitytimeQuerytimeAPIRequest) GetStartTime added in v1.2.5

GetStartTime StartTime Getter

func (AlibabaCharityCharitytimeQuerytimeAPIRequest) GetUserKey added in v1.2.5

GetUserKey UserKey Getter

func (AlibabaCharityCharitytimeQuerytimeAPIRequest) GetUserType added in v1.2.5

GetUserType UserType Getter

func (*AlibabaCharityCharitytimeQuerytimeAPIRequest) SetEndTime added in v1.2.5

SetEndTime is EndTime Setter 结束时间,不包含

func (*AlibabaCharityCharitytimeQuerytimeAPIRequest) SetStartTime added in v1.2.5

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

SetStartTime is StartTime Setter 开始时间,包含

func (*AlibabaCharityCharitytimeQuerytimeAPIRequest) SetUserKey added in v1.2.5

SetUserKey is UserKey Setter 用户ID

func (*AlibabaCharityCharitytimeQuerytimeAPIRequest) SetUserType added in v1.2.5

func (r *AlibabaCharityCharitytimeQuerytimeAPIRequest) SetUserType(_userType string) error

SetUserType is UserType Setter 用户类型

type AlibabaCharityCharitytimeQuerytimeAPIResponse added in v1.2.5

type AlibabaCharityCharitytimeQuerytimeAPIResponse struct {
	model.CommonResponse
	AlibabaCharityCharitytimeQuerytimeAPIResponseModel
}

AlibabaCharityCharitytimeQuerytimeAPIResponse 外部查询公益时 API返回值 alibaba.charity.charitytime.querytime

外部查询公益时

type AlibabaCharityCharitytimeQuerytimeAPIResponseModel added in v1.2.5

type AlibabaCharityCharitytimeQuerytimeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_charity_charitytime_querytime_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *ThreehoursResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaCharityCharitytimeQuerytimeAPIResponseModel is 外部查询公益时 成功返回结果

type AlibabaCharityUserBindGeturiAPIRequest added in v1.2.5

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

AlibabaCharityUserBindGeturiAPIRequest 获取用户绑定uri API请求 alibaba.charity.user.bind.geturi

获取用户绑定uri

func NewAlibabaCharityUserBindGeturiRequest added in v1.2.5

func NewAlibabaCharityUserBindGeturiRequest() *AlibabaCharityUserBindGeturiAPIRequest

NewAlibabaCharityUserBindGeturiRequest 初始化AlibabaCharityUserBindGeturiAPIRequest对象

func (AlibabaCharityUserBindGeturiAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaCharityUserBindGeturiAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCharityUserBindGeturiAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCharityUserBindGeturiAPIRequest) GetFeatures added in v1.2.5

GetFeatures Features Getter

func (AlibabaCharityUserBindGeturiAPIRequest) GetPlatform added in v1.2.5

GetPlatform Platform Getter

func (AlibabaCharityUserBindGeturiAPIRequest) GetTimeout added in v1.2.5

GetTimeout Timeout Getter

func (AlibabaCharityUserBindGeturiAPIRequest) GetUserKey added in v1.2.5

GetUserKey UserKey Getter

func (AlibabaCharityUserBindGeturiAPIRequest) GetUserNick added in v1.2.5

GetUserNick UserNick Getter

func (*AlibabaCharityUserBindGeturiAPIRequest) SetFeatures added in v1.2.5

func (r *AlibabaCharityUserBindGeturiAPIRequest) SetFeatures(_features string) error

SetFeatures is Features Setter 扩展字段

func (*AlibabaCharityUserBindGeturiAPIRequest) SetPlatform added in v1.2.5

func (r *AlibabaCharityUserBindGeturiAPIRequest) SetPlatform(_platform string) error

SetPlatform is Platform Setter 跳转平台的类型

func (*AlibabaCharityUserBindGeturiAPIRequest) SetTimeout added in v1.2.5

func (r *AlibabaCharityUserBindGeturiAPIRequest) SetTimeout(_timeout int64) error

SetTimeout is Timeout Setter 链接超时时间

func (*AlibabaCharityUserBindGeturiAPIRequest) SetUserKey added in v1.2.5

func (r *AlibabaCharityUserBindGeturiAPIRequest) SetUserKey(_userKey string) error

SetUserKey is UserKey Setter 三方用户id

func (*AlibabaCharityUserBindGeturiAPIRequest) SetUserNick added in v1.2.5

func (r *AlibabaCharityUserBindGeturiAPIRequest) SetUserNick(_userNick string) error

SetUserNick is UserNick Setter 三方用户昵称

type AlibabaCharityUserBindGeturiAPIResponse added in v1.2.5

type AlibabaCharityUserBindGeturiAPIResponse struct {
	model.CommonResponse
	AlibabaCharityUserBindGeturiAPIResponseModel
}

AlibabaCharityUserBindGeturiAPIResponse 获取用户绑定uri API返回值 alibaba.charity.user.bind.geturi

获取用户绑定uri

type AlibabaCharityUserBindGeturiAPIResponseModel added in v1.2.5

type AlibabaCharityUserBindGeturiAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_charity_user_bind_geturi_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *ThreehoursResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaCharityUserBindGeturiAPIResponseModel is 获取用户绑定uri 成功返回结果

type AlibabaCharityUserExternalAuthAPIRequest added in v1.2.5

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

AlibabaCharityUserExternalAuthAPIRequest 外部用户授权 API请求 alibaba.charity.user.external.auth

外部用户授权

func NewAlibabaCharityUserExternalAuthRequest added in v1.2.5

func NewAlibabaCharityUserExternalAuthRequest() *AlibabaCharityUserExternalAuthAPIRequest

NewAlibabaCharityUserExternalAuthRequest 初始化AlibabaCharityUserExternalAuthAPIRequest对象

func (AlibabaCharityUserExternalAuthAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaCharityUserExternalAuthAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCharityUserExternalAuthAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCharityUserExternalAuthAPIRequest) GetAvatar added in v1.2.5

GetAvatar Avatar Getter

func (AlibabaCharityUserExternalAuthAPIRequest) GetNick added in v1.2.5

GetNick Nick Getter

func (AlibabaCharityUserExternalAuthAPIRequest) GetScopeId added in v1.2.5

GetScopeId ScopeId Getter

func (AlibabaCharityUserExternalAuthAPIRequest) GetUserKey added in v1.2.5

GetUserKey UserKey Getter

func (AlibabaCharityUserExternalAuthAPIRequest) GetUserType added in v1.2.5

GetUserType UserType Getter

func (*AlibabaCharityUserExternalAuthAPIRequest) SetAvatar added in v1.2.5

SetAvatar is Avatar Setter 头像

func (*AlibabaCharityUserExternalAuthAPIRequest) SetNick added in v1.2.5

SetNick is Nick Setter 昵称

func (*AlibabaCharityUserExternalAuthAPIRequest) SetScopeId added in v1.2.5

func (r *AlibabaCharityUserExternalAuthAPIRequest) SetScopeId(_scopeId int64) error

SetScopeId is ScopeId Setter 授权范围

func (*AlibabaCharityUserExternalAuthAPIRequest) SetUserKey added in v1.2.5

func (r *AlibabaCharityUserExternalAuthAPIRequest) SetUserKey(_userKey string) error

SetUserKey is UserKey Setter 用户ID

func (*AlibabaCharityUserExternalAuthAPIRequest) SetUserType added in v1.2.5

func (r *AlibabaCharityUserExternalAuthAPIRequest) SetUserType(_userType string) error

SetUserType is UserType Setter 用户类型

type AlibabaCharityUserExternalAuthAPIResponse added in v1.2.5

type AlibabaCharityUserExternalAuthAPIResponse struct {
	model.CommonResponse
	AlibabaCharityUserExternalAuthAPIResponseModel
}

AlibabaCharityUserExternalAuthAPIResponse 外部用户授权 API返回值 alibaba.charity.user.external.auth

外部用户授权

type AlibabaCharityUserExternalAuthAPIResponseModel added in v1.2.5

type AlibabaCharityUserExternalAuthAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_charity_user_external_auth_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *ThreehoursResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaCharityUserExternalAuthAPIResponseModel is 外部用户授权 成功返回结果

type AlibabaCharityUserExternalAuthCancelAPIRequest added in v1.2.5

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

AlibabaCharityUserExternalAuthCancelAPIRequest 取消外部授权 API请求 alibaba.charity.user.external.auth.cancel

取消外部授权

func NewAlibabaCharityUserExternalAuthCancelRequest added in v1.2.5

func NewAlibabaCharityUserExternalAuthCancelRequest() *AlibabaCharityUserExternalAuthCancelAPIRequest

NewAlibabaCharityUserExternalAuthCancelRequest 初始化AlibabaCharityUserExternalAuthCancelAPIRequest对象

func (AlibabaCharityUserExternalAuthCancelAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCharityUserExternalAuthCancelAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCharityUserExternalAuthCancelAPIRequest) GetScopeId added in v1.2.5

GetScopeId ScopeId Getter

func (AlibabaCharityUserExternalAuthCancelAPIRequest) GetUserKey added in v1.2.5

GetUserKey UserKey Getter

func (AlibabaCharityUserExternalAuthCancelAPIRequest) GetUserType added in v1.2.5

GetUserType UserType Getter

func (*AlibabaCharityUserExternalAuthCancelAPIRequest) SetScopeId added in v1.2.5

SetScopeId is ScopeId Setter 授权范围

func (*AlibabaCharityUserExternalAuthCancelAPIRequest) SetUserKey added in v1.2.5

SetUserKey is UserKey Setter 用户ID

func (*AlibabaCharityUserExternalAuthCancelAPIRequest) SetUserType added in v1.2.5

SetUserType is UserType Setter 用户类型

type AlibabaCharityUserExternalAuthCancelAPIResponse added in v1.2.5

type AlibabaCharityUserExternalAuthCancelAPIResponse struct {
	model.CommonResponse
	AlibabaCharityUserExternalAuthCancelAPIResponseModel
}

AlibabaCharityUserExternalAuthCancelAPIResponse 取消外部授权 API返回值 alibaba.charity.user.external.auth.cancel

取消外部授权

type AlibabaCharityUserExternalAuthCancelAPIResponseModel added in v1.2.5

type AlibabaCharityUserExternalAuthCancelAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_charity_user_external_auth_cancel_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *ThreehoursResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaCharityUserExternalAuthCancelAPIResponseModel is 取消外部授权 成功返回结果

type AlibabaCharityUseractionSyncAPIRequest added in v1.2.0

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

AlibabaCharityUseractionSyncAPIRequest 用户公益行为同步 API请求 alibaba.charity.useraction.sync

外部公益活动,用户公益行为同步

func NewAlibabaCharityUseractionSyncRequest

func NewAlibabaCharityUseractionSyncRequest() *AlibabaCharityUseractionSyncAPIRequest

NewAlibabaCharityUseractionSyncRequest 初始化AlibabaCharityUseractionSyncAPIRequest对象

func (AlibabaCharityUseractionSyncAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaCharityUseractionSyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCharityUseractionSyncAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCharityUseractionSyncAPIRequest) GetChannelUserActionDto added in v1.2.0

func (r AlibabaCharityUseractionSyncAPIRequest) GetChannelUserActionDto() *ChannelUserActionDto

GetChannelUserActionDto ChannelUserActionDto Getter

func (*AlibabaCharityUseractionSyncAPIRequest) SetChannelUserActionDto added in v1.2.0

func (r *AlibabaCharityUseractionSyncAPIRequest) SetChannelUserActionDto(_channelUserActionDto *ChannelUserActionDto) error

SetChannelUserActionDto is ChannelUserActionDto Setter 用户公益行为

type AlibabaCharityUseractionSyncAPIResponse

type AlibabaCharityUseractionSyncAPIResponse struct {
	model.CommonResponse
	AlibabaCharityUseractionSyncAPIResponseModel
}

AlibabaCharityUseractionSyncAPIResponse 用户公益行为同步 API返回值 alibaba.charity.useraction.sync

外部公益活动,用户公益行为同步

type AlibabaCharityUseractionSyncAPIResponseModel added in v1.2.0

type AlibabaCharityUseractionSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_charity_useraction_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *ThreehoursResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaCharityUseractionSyncAPIResponseModel is 用户公益行为同步 成功返回结果

type AlibabaCsrDonateInvoiceQuerytoblockchainossAPIRequest added in v1.2.5

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

AlibabaCsrDonateInvoiceQuerytoblockchainossAPIRequest 触发odps任务离线查询公益宝贝开票对账明细 API请求 alibaba.csr.donate.invoice.querytoblockchainoss

提供给蚂蚁链上公益团队,用于触发odps任务离线查询公益宝贝开票对账明细

func NewAlibabaCsrDonateInvoiceQuerytoblockchainossRequest added in v1.2.5

func NewAlibabaCsrDonateInvoiceQuerytoblockchainossRequest() *AlibabaCsrDonateInvoiceQuerytoblockchainossAPIRequest

NewAlibabaCsrDonateInvoiceQuerytoblockchainossRequest 初始化AlibabaCsrDonateInvoiceQuerytoblockchainossAPIRequest对象

func (AlibabaCsrDonateInvoiceQuerytoblockchainossAPIRequest) GetAccountCheckQuery added in v1.2.5

GetAccountCheckQuery AccountCheckQuery Getter

func (AlibabaCsrDonateInvoiceQuerytoblockchainossAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCsrDonateInvoiceQuerytoblockchainossAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (*AlibabaCsrDonateInvoiceQuerytoblockchainossAPIRequest) SetAccountCheckQuery added in v1.2.5

func (r *AlibabaCsrDonateInvoiceQuerytoblockchainossAPIRequest) SetAccountCheckQuery(_accountCheckQuery *AccountCheckQuery) error

SetAccountCheckQuery is AccountCheckQuery Setter 公益宝贝开票对账信息查询入参

type AlibabaCsrDonateInvoiceQuerytoblockchainossAPIResponse added in v1.2.5

type AlibabaCsrDonateInvoiceQuerytoblockchainossAPIResponse struct {
	model.CommonResponse
	AlibabaCsrDonateInvoiceQuerytoblockchainossAPIResponseModel
}

AlibabaCsrDonateInvoiceQuerytoblockchainossAPIResponse 触发odps任务离线查询公益宝贝开票对账明细 API返回值 alibaba.csr.donate.invoice.querytoblockchainoss

提供给蚂蚁链上公益团队,用于触发odps任务离线查询公益宝贝开票对账明细

type AlibabaCsrDonateInvoiceQuerytoblockchainossAPIResponseModel added in v1.2.5

type AlibabaCsrDonateInvoiceQuerytoblockchainossAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_csr_donate_invoice_querytoblockchainoss_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	FailMsg string `json:"fail_msg,omitempty" xml:"fail_msg,omitempty"`
	// 错误码
	FailCode int64 `json:"fail_code,omitempty" xml:"fail_code,omitempty"`
	// 是否成功
	HasSuccess bool `json:"has_success,omitempty" xml:"has_success,omitempty"`
}

AlibabaCsrDonateInvoiceQuerytoblockchainossAPIResponseModel is 触发odps任务离线查询公益宝贝开票对账明细 成功返回结果

type BillDto added in v1.2.5

type BillDto struct {
	// 账单编号
	BillId string `json:"bill_id,omitempty" xml:"bill_id,omitempty"`
	// 账期
	BillTime int64 `json:"bill_time,omitempty" xml:"bill_time,omitempty"`
}

BillDto 结构体

type ChannelUserActionDto

type ChannelUserActionDto struct {
	// 唯一的动作ID,渠道范围内唯一,幂等控制
	EventId string `json:"event_id,omitempty" xml:"event_id,omitempty"`
	// 公益类型子代码
	CharityTypeSubCode string `json:"charity_type_sub_code,omitempty" xml:"charity_type_sub_code,omitempty"`
	// 扩展属性
	FeaturesMap string `json:"features_map,omitempty" xml:"features_map,omitempty"`
	// 公益感言
	Feeling string `json:"feeling,omitempty" xml:"feeling,omitempty"`
	// 做公益当时的时间
	CharityTimestamp string `json:"charity_timestamp,omitempty" xml:"charity_timestamp,omitempty"`
	// 原生公益行为内容,JSON
	OriContent string `json:"ori_content,omitempty" xml:"ori_content,omitempty"`
	// 三方用户标识
	ThirdUserKey string `json:"third_user_key,omitempty" xml:"third_user_key,omitempty"`
	// 版本
	Version string `json:"version,omitempty" xml:"version,omitempty"`
	// 活动ID
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 淘宝ID
	TbUserId int64 `json:"tb_user_id,omitempty" xml:"tb_user_id,omitempty"`
	// 做公益当时的时间戳
	TimestampLong int64 `json:"timestamp_long,omitempty" xml:"timestamp_long,omitempty"`
	// 是否强制报名活动,默认false
	ForeRegActivity bool `json:"fore_reg_activity,omitempty" xml:"fore_reg_activity,omitempty"`
}

ChannelUserActionDto 结构体

type CharityTimeDto added in v1.2.5

type CharityTimeDto struct {
	// SPREAD_PUBLIC_WELFARE:公益传播,OFFLINE_PUBLIC_WELFARE:线下公益,PAN_PUBLIC_WELFARE:互联网公益,PUBLIC_DONATION::公益捐赠,WALK_DONATION:益起来,ENVIRONMENTAL_PROTECTION:ENVIRONMENTAL_PROTECTION
	CharityType string `json:"charity_type,omitempty" xml:"charity_type,omitempty"`
	// 公益类型名
	CharityTypeName string `json:"charity_type_name,omitempty" xml:"charity_type_name,omitempty"`
	// 获得公益时的时间
	ApproveDate string `json:"approve_date,omitempty" xml:"approve_date,omitempty"`
	// 标题
	MainTitle string `json:"main_title,omitempty" xml:"main_title,omitempty"`
	// 副标题
	SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"`
	// 公益时产生时间
	GmtCreateTime string `json:"gmt_create_time,omitempty" xml:"gmt_create_time,omitempty"`
	// 记录id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 公益时,单位 分钟,6就是0.1公益时,60是1公益时
	CharityTime int64 `json:"charity_time,omitempty" xml:"charity_time,omitempty"`
	// 活动
	Activity *ActivityDto `json:"activity,omitempty" xml:"activity,omitempty"`
}

CharityTimeDto 结构体

type JumpAddressDto added in v1.2.5

type JumpAddressDto struct {
	// 跳转uri
	Uri string `json:"uri,omitempty" xml:"uri,omitempty"`
}

JumpAddressDto 结构体

type ThreehoursResult

type ThreehoursResult struct {
	// 结果码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 是否失败
	Fail string `json:"fail,omitempty" xml:"fail,omitempty"`
	// 信息
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 是否成功
	Success string `json:"success,omitempty" xml:"success,omitempty"`
	// 结果
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

ThreehoursResult 结构体

type UserActionSyncResult

type UserActionSyncResult struct {
	// 唯一的事件ID
	EventId string `json:"event_id,omitempty" xml:"event_id,omitempty"`
	// 本次同步获得的公益时
	CharityHours string `json:"charity_hours,omitempty" xml:"charity_hours,omitempty"`
}

UserActionSyncResult 结构体

Jump to

Keyboard shortcuts

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