alimember

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package alimember 包含全域会员通相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaMemberCheckmerchantAPIRequest added in v1.2.0

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

AlibabaMemberCheckmerchantAPIRequest 校验商家身份 API请求 alibaba.member.checkmerchant

校验商家身份

func NewAlibabaMemberCheckmerchantRequest

func NewAlibabaMemberCheckmerchantRequest() *AlibabaMemberCheckmerchantAPIRequest

NewAlibabaMemberCheckmerchantRequest 初始化AlibabaMemberCheckmerchantAPIRequest对象

func (AlibabaMemberCheckmerchantAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMemberCheckmerchantAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMemberCheckmerchantAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMemberCheckmerchantAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMemberCheckmerchantAPIRequest) GetOpenMerchantId added in v1.2.0

func (r AlibabaMemberCheckmerchantAPIRequest) GetOpenMerchantId() string

GetOpenMerchantId OpenMerchantId Getter

func (AlibabaMemberCheckmerchantAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMemberCheckmerchantAPIRequest) SetOpenMerchantId added in v1.2.0

func (r *AlibabaMemberCheckmerchantAPIRequest) SetOpenMerchantId(_openMerchantId string) error

SetOpenMerchantId is OpenMerchantId Setter 混淆后的商家id

type AlibabaMemberCheckmerchantAPIResponse

type AlibabaMemberCheckmerchantAPIResponse struct {
	model.CommonResponse
	AlibabaMemberCheckmerchantAPIResponseModel
}

AlibabaMemberCheckmerchantAPIResponse 校验商家身份 API返回值 alibaba.member.checkmerchant

校验商家身份

type AlibabaMemberCheckmerchantAPIResponseModel added in v1.2.0

type AlibabaMemberCheckmerchantAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_member_checkmerchant_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// message
	ReturnMessage string `json:"return_message,omitempty" xml:"return_message,omitempty"`
	// code
	ReturnCode string `json:"return_code,omitempty" xml:"return_code,omitempty"`
}

AlibabaMemberCheckmerchantAPIResponseModel is 校验商家身份 成功返回结果

type AlibabaMemberExitAPIRequest added in v1.2.5

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

AlibabaMemberExitAPIRequest 退会 API请求 alibaba.member.exit

商家会员解绑

func NewAlibabaMemberExitRequest added in v1.2.5

func NewAlibabaMemberExitRequest() *AlibabaMemberExitAPIRequest

NewAlibabaMemberExitRequest 初始化AlibabaMemberExitAPIRequest对象

func (AlibabaMemberExitAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaMemberExitAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMemberExitAPIRequest) GetApiParams added in v1.2.5

func (r AlibabaMemberExitAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMemberExitAPIRequest) GetExitMember added in v1.2.5

func (r AlibabaMemberExitAPIRequest) GetExitMember() *ExitMemberDto

GetExitMember ExitMember Getter

func (AlibabaMemberExitAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaMemberExitAPIRequest) GetRawParams() model.Params

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

func (*AlibabaMemberExitAPIRequest) SetExitMember added in v1.2.5

func (r *AlibabaMemberExitAPIRequest) SetExitMember(_exitMember *ExitMemberDto) error

SetExitMember is ExitMember Setter 退会对象

type AlibabaMemberExitAPIResponse added in v1.2.5

type AlibabaMemberExitAPIResponse struct {
	model.CommonResponse
	AlibabaMemberExitAPIResponseModel
}

AlibabaMemberExitAPIResponse 退会 API返回值 alibaba.member.exit

商家会员解绑

type AlibabaMemberExitAPIResponseModel added in v1.2.5

type AlibabaMemberExitAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_member_exit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaMemberExitResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaMemberExitAPIResponseModel is 退会 成功返回结果

type AlibabaMemberExitResult added in v1.2.5

type AlibabaMemberExitResult struct {
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

AlibabaMemberExitResult 结构体

type AlibabaMemberIdentityRescindfinishAPIRequest added in v1.2.0

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

AlibabaMemberIdentityRescindfinishAPIRequest 取消确认 API请求 alibaba.member.identity.rescindfinish

取消确认

func NewAlibabaMemberIdentityRescindfinishRequest

func NewAlibabaMemberIdentityRescindfinishRequest() *AlibabaMemberIdentityRescindfinishAPIRequest

NewAlibabaMemberIdentityRescindfinishRequest 初始化AlibabaMemberIdentityRescindfinishAPIRequest对象

func (AlibabaMemberIdentityRescindfinishAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMemberIdentityRescindfinishAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMemberIdentityRescindfinishAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMemberIdentityRescindfinishAPIRequest) GetRescindFinish added in v1.2.0

GetRescindFinish RescindFinish Getter

func (*AlibabaMemberIdentityRescindfinishAPIRequest) SetRescindFinish added in v1.2.0

SetRescindFinish is RescindFinish Setter 取消确认信息

type AlibabaMemberIdentityRescindfinishAPIResponse

type AlibabaMemberIdentityRescindfinishAPIResponse struct {
	model.CommonResponse
	AlibabaMemberIdentityRescindfinishAPIResponseModel
}

AlibabaMemberIdentityRescindfinishAPIResponse 取消确认 API返回值 alibaba.member.identity.rescindfinish

取消确认

type AlibabaMemberIdentityRescindfinishAPIResponseModel added in v1.2.0

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

AlibabaMemberIdentityRescindfinishAPIResponseModel is 取消确认 成功返回结果

type AlibabaMemberIdentityRescindfinishTopResult added in v1.2.1

type AlibabaMemberIdentityRescindfinishTopResult struct {
	// code,返回码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// message,返回信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

AlibabaMemberIdentityRescindfinishTopResult 结构体

type AlibabaMemberIdentitySignfinishAPIRequest added in v1.2.0

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

AlibabaMemberIdentitySignfinishAPIRequest 签约确认 API请求 alibaba.member.identity.signfinish

签约确认

func NewAlibabaMemberIdentitySignfinishRequest

func NewAlibabaMemberIdentitySignfinishRequest() *AlibabaMemberIdentitySignfinishAPIRequest

NewAlibabaMemberIdentitySignfinishRequest 初始化AlibabaMemberIdentitySignfinishAPIRequest对象

func (AlibabaMemberIdentitySignfinishAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMemberIdentitySignfinishAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMemberIdentitySignfinishAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMemberIdentitySignfinishAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMemberIdentitySignfinishAPIRequest) GetSignFinish added in v1.2.0

GetSignFinish SignFinish Getter

func (*AlibabaMemberIdentitySignfinishAPIRequest) SetSignFinish added in v1.2.0

SetSignFinish is SignFinish Setter 签约确认信息

type AlibabaMemberIdentitySignfinishAPIResponse

type AlibabaMemberIdentitySignfinishAPIResponse struct {
	model.CommonResponse
	AlibabaMemberIdentitySignfinishAPIResponseModel
}

AlibabaMemberIdentitySignfinishAPIResponse 签约确认 API返回值 alibaba.member.identity.signfinish

签约确认

type AlibabaMemberIdentitySignfinishAPIResponseModel added in v1.2.0

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

AlibabaMemberIdentitySignfinishAPIResponseModel is 签约确认 成功返回结果

type AlibabaMemberIdentitySignfinishTopResult added in v1.2.1

type AlibabaMemberIdentitySignfinishTopResult struct {
	// code,返回码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// message,返回信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

AlibabaMemberIdentitySignfinishTopResult 结构体

type AlibabaMemberIdentitySyncAPIRequest added in v1.2.0

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

AlibabaMemberIdentitySyncAPIRequest 会员身份信息同步 API请求 alibaba.member.identity.sync

会员身份信息同步

func NewAlibabaMemberIdentitySyncRequest

func NewAlibabaMemberIdentitySyncRequest() *AlibabaMemberIdentitySyncAPIRequest

NewAlibabaMemberIdentitySyncRequest 初始化AlibabaMemberIdentitySyncAPIRequest对象

func (AlibabaMemberIdentitySyncAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMemberIdentitySyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMemberIdentitySyncAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMemberIdentitySyncAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMemberIdentitySyncAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMemberIdentitySyncAPIRequest) GetSyncDto added in v1.2.0

GetSyncDto SyncDto Getter

func (*AlibabaMemberIdentitySyncAPIRequest) SetSyncDto added in v1.2.0

SetSyncDto is SyncDto Setter 会员身份同步信息

type AlibabaMemberIdentitySyncAPIResponse

type AlibabaMemberIdentitySyncAPIResponse struct {
	model.CommonResponse
	AlibabaMemberIdentitySyncAPIResponseModel
}

AlibabaMemberIdentitySyncAPIResponse 会员身份信息同步 API返回值 alibaba.member.identity.sync

会员身份信息同步

type AlibabaMemberIdentitySyncAPIResponseModel added in v1.2.0

type AlibabaMemberIdentitySyncAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_member_identity_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *AlibabaMemberIdentitySyncTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaMemberIdentitySyncAPIResponseModel is 会员身份信息同步 成功返回结果

type AlibabaMemberIdentitySyncTopResult added in v1.2.1

type AlibabaMemberIdentitySyncTopResult struct {
	// code,返回码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// message,返回信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

AlibabaMemberIdentitySyncTopResult 结构体

type AlibabaMemberIsvPageQueryAPIRequest added in v1.2.9

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

AlibabaMemberIsvPageQueryAPIRequest isv离线会员数据分页查询 API请求 alibaba.member.isv.page.query

isv离线会员数据分页查询

func NewAlibabaMemberIsvPageQueryRequest added in v1.2.9

func NewAlibabaMemberIsvPageQueryRequest() *AlibabaMemberIsvPageQueryAPIRequest

NewAlibabaMemberIsvPageQueryRequest 初始化AlibabaMemberIsvPageQueryAPIRequest对象

func (AlibabaMemberIsvPageQueryAPIRequest) GetApiMethodName added in v1.2.9

func (r AlibabaMemberIsvPageQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMemberIsvPageQueryAPIRequest) GetApiParams added in v1.2.9

func (r AlibabaMemberIsvPageQueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMemberIsvPageQueryAPIRequest) GetPageQueryIsvCustomerRequest added in v1.2.9

func (r AlibabaMemberIsvPageQueryAPIRequest) GetPageQueryIsvCustomerRequest() *PageQueryIsvCustomerRequest

GetPageQueryIsvCustomerRequest PageQueryIsvCustomerRequest Getter

func (AlibabaMemberIsvPageQueryAPIRequest) GetRawParams added in v1.2.9

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

func (*AlibabaMemberIsvPageQueryAPIRequest) SetPageQueryIsvCustomerRequest added in v1.2.9

func (r *AlibabaMemberIsvPageQueryAPIRequest) SetPageQueryIsvCustomerRequest(_pageQueryIsvCustomerRequest *PageQueryIsvCustomerRequest) error

SetPageQueryIsvCustomerRequest is PageQueryIsvCustomerRequest Setter 请求

type AlibabaMemberIsvPageQueryAPIResponse added in v1.2.9

type AlibabaMemberIsvPageQueryAPIResponse struct {
	model.CommonResponse
	AlibabaMemberIsvPageQueryAPIResponseModel
}

AlibabaMemberIsvPageQueryAPIResponse isv离线会员数据分页查询 API返回值 alibaba.member.isv.page.query

isv离线会员数据分页查询

type AlibabaMemberIsvPageQueryAPIResponseModel added in v1.2.9

type AlibabaMemberIsvPageQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_member_isv_page_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误E1002
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 错误明细
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 返回的分页结果
	Result *PageQueryIsvCustomerRes `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaMemberIsvPageQueryAPIResponseModel is isv离线会员数据分页查询 成功返回结果

type AlibabaMemberMerchantLevelSettingSyncAPIRequest added in v1.2.5

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

AlibabaMemberMerchantLevelSettingSyncAPIRequest 商家等级列表同步配置 API请求 alibaba.member.merchant.level.setting.sync

商家等级列表同步配置

func NewAlibabaMemberMerchantLevelSettingSyncRequest added in v1.2.5

func NewAlibabaMemberMerchantLevelSettingSyncRequest() *AlibabaMemberMerchantLevelSettingSyncAPIRequest

NewAlibabaMemberMerchantLevelSettingSyncRequest 初始化AlibabaMemberMerchantLevelSettingSyncAPIRequest对象

func (AlibabaMemberMerchantLevelSettingSyncAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMemberMerchantLevelSettingSyncAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMemberMerchantLevelSettingSyncAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMemberMerchantLevelSettingSyncAPIRequest) GetSyncLevelSettingDto added in v1.2.5

GetSyncLevelSettingDto SyncLevelSettingDto Getter

func (*AlibabaMemberMerchantLevelSettingSyncAPIRequest) SetSyncLevelSettingDto added in v1.2.5

func (r *AlibabaMemberMerchantLevelSettingSyncAPIRequest) SetSyncLevelSettingDto(_syncLevelSettingDto *SyncLevelSettingDto) error

SetSyncLevelSettingDto is SyncLevelSettingDto Setter 商家等级信息

type AlibabaMemberMerchantLevelSettingSyncAPIResponse added in v1.2.5

type AlibabaMemberMerchantLevelSettingSyncAPIResponse struct {
	model.CommonResponse
	AlibabaMemberMerchantLevelSettingSyncAPIResponseModel
}

AlibabaMemberMerchantLevelSettingSyncAPIResponse 商家等级列表同步配置 API返回值 alibaba.member.merchant.level.setting.sync

商家等级列表同步配置

type AlibabaMemberMerchantLevelSettingSyncAPIResponseModel added in v1.2.5

type AlibabaMemberMerchantLevelSettingSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_member_merchant_level_setting_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 务端系统异错误码
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 错误描述
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

AlibabaMemberMerchantLevelSettingSyncAPIResponseModel is 商家等级列表同步配置 成功返回结果

type AlibabaMemberPointChangeSyncAPIRequest added in v1.2.5

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

AlibabaMemberPointChangeSyncAPIRequest 成长值/积分变更记录同步 API请求 alibaba.member.point.change.sync

成长值/积分变更记录同步

func NewAlibabaMemberPointChangeSyncRequest added in v1.2.5

func NewAlibabaMemberPointChangeSyncRequest() *AlibabaMemberPointChangeSyncAPIRequest

NewAlibabaMemberPointChangeSyncRequest 初始化AlibabaMemberPointChangeSyncAPIRequest对象

func (AlibabaMemberPointChangeSyncAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaMemberPointChangeSyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMemberPointChangeSyncAPIRequest) GetApiParams added in v1.2.5

func (r AlibabaMemberPointChangeSyncAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMemberPointChangeSyncAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMemberPointChangeSyncAPIRequest) GetSyncMemberPointChangeDto added in v1.2.5

func (r AlibabaMemberPointChangeSyncAPIRequest) GetSyncMemberPointChangeDto() *SyncMemberPointChangeDto

GetSyncMemberPointChangeDto SyncMemberPointChangeDto Getter

func (*AlibabaMemberPointChangeSyncAPIRequest) SetSyncMemberPointChangeDto added in v1.2.5

func (r *AlibabaMemberPointChangeSyncAPIRequest) SetSyncMemberPointChangeDto(_syncMemberPointChangeDto *SyncMemberPointChangeDto) error

SetSyncMemberPointChangeDto is SyncMemberPointChangeDto Setter 变更对象

type AlibabaMemberPointChangeSyncAPIResponse added in v1.2.5

type AlibabaMemberPointChangeSyncAPIResponse struct {
	model.CommonResponse
	AlibabaMemberPointChangeSyncAPIResponseModel
}

AlibabaMemberPointChangeSyncAPIResponse 成长值/积分变更记录同步 API返回值 alibaba.member.point.change.sync

成长值/积分变更记录同步

type AlibabaMemberPointChangeSyncAPIResponseModel added in v1.2.5

type AlibabaMemberPointChangeSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_member_point_change_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码 ,比如 E1003 用户不是会员
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

AlibabaMemberPointChangeSyncAPIResponseModel is 成长值/积分变更记录同步 成功返回结果

type AlibabaMemberPointOperateAPIRequest added in v1.2.5

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

AlibabaMemberPointOperateAPIRequest 积分操作 API请求 alibaba.member.point.operate

消费会员积分

func NewAlibabaMemberPointOperateRequest added in v1.2.5

func NewAlibabaMemberPointOperateRequest() *AlibabaMemberPointOperateAPIRequest

NewAlibabaMemberPointOperateRequest 初始化AlibabaMemberPointOperateAPIRequest对象

func (AlibabaMemberPointOperateAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaMemberPointOperateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMemberPointOperateAPIRequest) GetApiParams added in v1.2.5

func (r AlibabaMemberPointOperateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMemberPointOperateAPIRequest) GetPointOperateRequest added in v1.2.5

func (r AlibabaMemberPointOperateAPIRequest) GetPointOperateRequest() *PointOperateDto

GetPointOperateRequest PointOperateRequest Getter

func (AlibabaMemberPointOperateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaMemberPointOperateAPIRequest) SetPointOperateRequest added in v1.2.5

func (r *AlibabaMemberPointOperateAPIRequest) SetPointOperateRequest(_pointOperateRequest *PointOperateDto) error

SetPointOperateRequest is PointOperateRequest Setter 请求参数

type AlibabaMemberPointOperateAPIResponse added in v1.2.5

type AlibabaMemberPointOperateAPIResponse struct {
	model.CommonResponse
	AlibabaMemberPointOperateAPIResponseModel
}

AlibabaMemberPointOperateAPIResponse 积分操作 API返回值 alibaba.member.point.operate

消费会员积分

type AlibabaMemberPointOperateAPIResponseModel added in v1.2.5

type AlibabaMemberPointOperateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_member_point_operate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *AlibabaMemberPointOperateTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaMemberPointOperateAPIResponseModel is 积分操作 成功返回结果

type AlibabaMemberPointOperateTopResult added in v1.2.5

type AlibabaMemberPointOperateTopResult struct {
	// 返回码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 返回信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// json格式
	Data *PointOperateResponseDto `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaMemberPointOperateTopResult 结构体

type AlibabaMemberSyncAPIRequest added in v1.2.0

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

AlibabaMemberSyncAPIRequest 会员信息同步 API请求 alibaba.member.sync

会员信息同步

func NewAlibabaMemberSyncRequest

func NewAlibabaMemberSyncRequest() *AlibabaMemberSyncAPIRequest

NewAlibabaMemberSyncRequest 初始化AlibabaMemberSyncAPIRequest对象

func (AlibabaMemberSyncAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaMemberSyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMemberSyncAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaMemberSyncAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMemberSyncAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaMemberSyncAPIRequest) GetRawParams() model.Params

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

func (AlibabaMemberSyncAPIRequest) GetSyncMember added in v1.2.0

func (r AlibabaMemberSyncAPIRequest) GetSyncMember() *SyncMemberDto

GetSyncMember SyncMember Getter

func (*AlibabaMemberSyncAPIRequest) SetSyncMember added in v1.2.0

func (r *AlibabaMemberSyncAPIRequest) SetSyncMember(_syncMember *SyncMemberDto) error

SetSyncMember is SyncMember Setter 会员同步信息

type AlibabaMemberSyncAPIResponse

type AlibabaMemberSyncAPIResponse struct {
	model.CommonResponse
	AlibabaMemberSyncAPIResponseModel
}

AlibabaMemberSyncAPIResponse 会员信息同步 API返回值 alibaba.member.sync

会员信息同步

type AlibabaMemberSyncAPIResponseModel added in v1.2.0

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

AlibabaMemberSyncAPIResponseModel is 会员信息同步 成功返回结果

type AlibabaMemberSyncResult

type AlibabaMemberSyncResult struct {
	// code,返回码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// message,返回信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

AlibabaMemberSyncResult 结构体

type ExitMemberDto added in v1.2.5

type ExitMemberDto struct {
	// 要退会的商家
	OpenMerchantId string `json:"open_merchant_id,omitempty" xml:"open_merchant_id,omitempty"`
	// 商家账号类型
	UidType string `json:"uid_type,omitempty" xml:"uid_type,omitempty"`
	// isv会员id
	IsvMemberId string `json:"isv_member_id,omitempty" xml:"isv_member_id,omitempty"`
}

ExitMemberDto 结构体

type IdentityModel

type IdentityModel struct {
	// 开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
}

IdentityModel 结构体

type OrderModel

type OrderModel struct {
	// 单据类型
	OrderType string `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 单据号
	OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"`
	// 该单据对应付费会员开始时间
	OrderIdentityEndTime string `json:"order_identity_end_time,omitempty" xml:"order_identity_end_time,omitempty"`
	// 该单据对应付费会员结束时间
	OrderIdentityStartTime string `json:"order_identity_start_time,omitempty" xml:"order_identity_start_time,omitempty"`
}

OrderModel 结构体

type PageQueryIsvCustomerRequest added in v1.2.9

type PageQueryIsvCustomerRequest struct {
	// 商户id
	OpenMerchantId string `json:"open_merchant_id,omitempty" xml:"open_merchant_id,omitempty"`
	// 第几页
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 每页大小,最大不超过1000
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

PageQueryIsvCustomerRequest 结构体

type PageQueryIsvCustomerRes added in v1.2.9

type PageQueryIsvCustomerRes struct {
	// 会员数据
	Data []SaasCustomerInfo `json:"data,omitempty" xml:"data>saas_customer_info,omitempty"`
	// 总大小
	TotalSize int64 `json:"total_size,omitempty" xml:"total_size,omitempty"`
	// 当前第几页
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 每页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 是否还有下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
}

PageQueryIsvCustomerRes 结构体

type PointOperateDto added in v1.2.5

type PointOperateDto struct {
	// 消费积分
	TotalPoint string `json:"total_point,omitempty" xml:"total_point,omitempty"`
	// 场景码,对接时业务分配
	SceneCode string `json:"scene_code,omitempty" xml:"scene_code,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 等级积分
	LevelPoint string `json:"level_point,omitempty" xml:"level_point,omitempty"`
	// 操作序列号,需要唯一
	SerialNo string `json:"serial_no,omitempty" xml:"serial_no,omitempty"`
	// 扩展字段
	ExtraInfo string `json:"extra_info,omitempty" xml:"extra_info,omitempty"`
	// 用户站点
	UserSite string `json:"user_site,omitempty" xml:"user_site,omitempty"`
	// 开放用户id
	OpenUserId string `json:"open_user_id,omitempty" xml:"open_user_id,omitempty"`
	// 过期时间,单位毫秒
	ExpireTime int64 `json:"expire_time,omitempty" xml:"expire_time,omitempty"`
	// 操作类型 添加:1 消费:2 回滚:3
	OperateType int64 `json:"operate_type,omitempty" xml:"operate_type,omitempty"`
}

PointOperateDto 结构体

type PointOperateResponseDto added in v1.2.5

type PointOperateResponseDto struct {
	// token
	Token string `json:"token,omitempty" xml:"token,omitempty"`
}

PointOperateResponseDto 结构体

type RescindIdentityFinishRequest

type RescindIdentityFinishRequest struct {
	// 付费会员模板id
	IdentityTemplateId string `json:"identity_template_id,omitempty" xml:"identity_template_id,omitempty"`
	// 外部会员ID,识别商家会员的唯一身份标识
	OuterMemberId string `json:"outer_member_id,omitempty" xml:"outer_member_id,omitempty"`
	// 对外开放的merchantId
	OpenMerchantId string `json:"open_merchant_id,omitempty" xml:"open_merchant_id,omitempty"`
	// 时间戳
	TimeStamp int64 `json:"time_stamp,omitempty" xml:"time_stamp,omitempty"`
	// 付费会员时间信息
	IdentityModel *IdentityModel `json:"identity_model,omitempty" xml:"identity_model,omitempty"`
	// 签约单据信息
	OrderModel *OrderModel `json:"order_model,omitempty" xml:"order_model,omitempty"`
	// 处理结果,成功还是失败
	SendSuc bool `json:"send_suc,omitempty" xml:"send_suc,omitempty"`
}

RescindIdentityFinishRequest 结构体

type SaasCustomerInfo added in v1.2.9

type SaasCustomerInfo struct {
	// 本地生活会员id
	CustomerId string `json:"customer_id,omitempty" xml:"customer_id,omitempty"`
	// yyyy-MM-dd HH:mm:ss 生日
	Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"`
	// 手机号
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// MALE-男 FEMALE-女
	Sex string `json:"sex,omitempty" xml:"sex,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 积分
	Point string `json:"point,omitempty" xml:"point,omitempty"`
	// 入会门店
	MemberShopId string `json:"member_shop_id,omitempty" xml:"member_shop_id,omitempty"`
	// yyyy-MM-dd HH:mm:ss 入会时间
	MemberTime string `json:"member_time,omitempty" xml:"member_time,omitempty"`
	// isv会员id
	IsvMemberId string `json:"isv_member_id,omitempty" xml:"isv_member_id,omitempty"`
}

SaasCustomerInfo 结构体

type SignIdentityFinishRequest

type SignIdentityFinishRequest struct {
	// 付费会员模板id
	IdentityTemplateId string `json:"identity_template_id,omitempty" xml:"identity_template_id,omitempty"`
	// 外部会员ID,识别商家会员的唯一身份标识
	OuterMemberId string `json:"outer_member_id,omitempty" xml:"outer_member_id,omitempty"`
	// 对外开放的merchantId
	OpenMerchantId string `json:"open_merchant_id,omitempty" xml:"open_merchant_id,omitempty"`
	// 时间戳
	TimeStamp int64 `json:"time_stamp,omitempty" xml:"time_stamp,omitempty"`
	// 付费会员时间信息
	IdentityModel *IdentityModel `json:"identity_model,omitempty" xml:"identity_model,omitempty"`
	// 签约单据信息
	OrderModel *OrderModel `json:"order_model,omitempty" xml:"order_model,omitempty"`
	// 处理结果,成功还是失败
	SendSuc bool `json:"send_suc,omitempty" xml:"send_suc,omitempty"`
}

SignIdentityFinishRequest 结构体

type SyncLevelSettingDto added in v1.2.5

type SyncLevelSettingDto struct {
	// main主账号 sub子账号
	UidType string `json:"uid_type,omitempty" xml:"uid_type,omitempty"`
	// level_type=2时,必须传递;
	LevelToGrowth string `json:"level_to_growth,omitempty" xml:"level_to_growth,omitempty"`
	// 1行为等级 2成长值等级
	LevelType int64 `json:"level_type,omitempty" xml:"level_type,omitempty"`
}

SyncLevelSettingDto 结构体

type SyncMemberDto

type SyncMemberDto struct {
	// 生日,格式yyyy-mm-dd
	Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"`
	// 城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 性别,F 女,M 男
	Sex string `json:"sex,omitempty" xml:"sex,omitempty"`
	// 手机号,海外手机格式 1-993333
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 外部会员ID,识别商家会员的唯一身份标识
	OuterMemberId string `json:"outer_member_id,omitempty" xml:"outer_member_id,omitempty"`
	// 用户ID
	UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 对外开放的merchantId
	OpenMerchantId string `json:"open_merchant_id,omitempty" xml:"open_merchant_id,omitempty"`
	// 用户站点,淘宝 taobao,饿了么 eleme,支付宝 alipay
	UserSite string `json:"user_site,omitempty" xml:"user_site,omitempty"`
	// 省份
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 外部会员卡号
	OuterCardNo string `json:"outer_card_no,omitempty" xml:"outer_card_no,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 邮箱
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// 授权账号类型,主账号/子账号
	UidType string `json:"uid_type,omitempty" xml:"uid_type,omitempty"`
	// 版本号
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
	// 等级积分
	LevelPoint int64 `json:"level_point,omitempty" xml:"level_point,omitempty"`
	// 等级
	LevelNum int64 `json:"level_num,omitempty" xml:"level_num,omitempty"`
	// 消费积分
	ConsumePoint int64 `json:"consume_point,omitempty" xml:"consume_point,omitempty"`
}

SyncMemberDto 结构体

type SyncMemberIdentityDto

type SyncMemberIdentityDto struct {
	// 外部会员ID,识别商家会员的唯一身份标识
	OuterMemberId string `json:"outer_member_id,omitempty" xml:"outer_member_id,omitempty"`
	// 身份模板id
	IdentityTemplateId string `json:"identity_template_id,omitempty" xml:"identity_template_id,omitempty"`
	// 对外开放的merchantId
	OpenMerchantId string `json:"open_merchant_id,omitempty" xml:"open_merchant_id,omitempty"`
	// 同步操作类型
	IsvSyncOperateType string `json:"isv_sync_operate_type,omitempty" xml:"isv_sync_operate_type,omitempty"`
	// 同步类型
	SyncType string `json:"sync_type,omitempty" xml:"sync_type,omitempty"`
	// 手机号
	UserMobile string `json:"user_mobile,omitempty" xml:"user_mobile,omitempty"`
	// 时间戳
	TimeStamp int64 `json:"time_stamp,omitempty" xml:"time_stamp,omitempty"`
	// 付费会员时间信息
	IdentityModel *IdentityModel `json:"identity_model,omitempty" xml:"identity_model,omitempty"`
	// 签约单据信息
	OrderModel *OrderModel `json:"order_model,omitempty" xml:"order_model,omitempty"`
}

SyncMemberIdentityDto 结构体

type SyncMemberPointChangeDto added in v1.2.5

type SyncMemberPointChangeDto struct {
	// 主账号使用main,子账号使用sub
	UidType string `json:"uid_type,omitempty" xml:"uid_type,omitempty"`
	// 淘系交易的订单号
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// isv存储的会员id,唯一标识一个会员
	OuterMemberId string `json:"outer_member_id,omitempty" xml:"outer_member_id,omitempty"`
	// 成长值变化量
	RawQuantity string `json:"raw_quantity,omitempty" xml:"raw_quantity,omitempty"`
	// 变更同步的序列号,幂等使用
	SerialNo string `json:"serial_no,omitempty" xml:"serial_no,omitempty"`
	// 用户的ouid
	Ouid string `json:"ouid,omitempty" xml:"ouid,omitempty"`
	// 变更前的成长值
	OldTotalPoint string `json:"old_total_point,omitempty" xml:"old_total_point,omitempty"`
	// 变更后的成长值
	TotalPoint string `json:"total_point,omitempty" xml:"total_point,omitempty"`
	// 变更类型 1增加 2减少
	OperateType int64 `json:"operate_type,omitempty" xml:"operate_type,omitempty"`
	// 变更渠道 1淘宝 100其他
	Channel int64 `json:"channel,omitempty" xml:"channel,omitempty"`
	// 变更场景 0交易 1互动活动 100其他
	BizScene int64 `json:"biz_scene,omitempty" xml:"biz_scene,omitempty"`
	// 积分类型 1消费积分 2成长值(等级积分)
	PointType int64 `json:"point_type,omitempty" xml:"point_type,omitempty"`
	// 成长值变更发生时间,毫秒级时间戳,一般早于同步时间
	ChangeTime int64 `json:"change_time,omitempty" xml:"change_time,omitempty"`
}

SyncMemberPointChangeDto 结构体

Jump to

Keyboard shortcuts

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