westcrm

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 westcrm 包含亲橙里westcrmAPI相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaWestcrmCustomerInfoGetAPIRequest added in v1.2.0

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

AlibabaWestcrmCustomerInfoGetAPIRequest 会员信息查询接口 API请求 alibaba.westcrm.customer.info.get

会员信息查询接口

func NewAlibabaWestcrmCustomerInfoGetRequest

func NewAlibabaWestcrmCustomerInfoGetRequest() *AlibabaWestcrmCustomerInfoGetAPIRequest

NewAlibabaWestcrmCustomerInfoGetRequest 初始化AlibabaWestcrmCustomerInfoGetAPIRequest对象

func (AlibabaWestcrmCustomerInfoGetAPIRequest) GetAlipayId added in v1.2.0

GetAlipayId AlipayId Getter

func (AlibabaWestcrmCustomerInfoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaWestcrmCustomerInfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWestcrmCustomerInfoGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWestcrmCustomerInfoGetAPIRequest) GetCampusId added in v1.2.0

GetCampusId CampusId Getter

func (AlibabaWestcrmCustomerInfoGetAPIRequest) GetIbUserId added in v1.2.0

GetIbUserId IbUserId Getter

func (AlibabaWestcrmCustomerInfoGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaWestcrmCustomerInfoGetAPIRequest) SetAlipayId added in v1.2.0

func (r *AlibabaWestcrmCustomerInfoGetAPIRequest) SetAlipayId(_alipayId string) error

SetAlipayId is AlipayId Setter 支付宝id

func (*AlibabaWestcrmCustomerInfoGetAPIRequest) SetCampusId added in v1.2.0

func (r *AlibabaWestcrmCustomerInfoGetAPIRequest) SetCampusId(_campusId int64) error

SetCampusId is CampusId Setter 园区id

func (*AlibabaWestcrmCustomerInfoGetAPIRequest) SetIbUserId added in v1.2.0

func (r *AlibabaWestcrmCustomerInfoGetAPIRequest) SetIbUserId(_ibUserId int64) error

SetIbUserId is IbUserId Setter 会员id

type AlibabaWestcrmCustomerInfoGetAPIResponse

type AlibabaWestcrmCustomerInfoGetAPIResponse struct {
	model.CommonResponse
	AlibabaWestcrmCustomerInfoGetAPIResponseModel
}

AlibabaWestcrmCustomerInfoGetAPIResponse 会员信息查询接口 API返回值 alibaba.westcrm.customer.info.get

会员信息查询接口

type AlibabaWestcrmCustomerInfoGetAPIResponseModel added in v1.2.0

type AlibabaWestcrmCustomerInfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_westcrm_customer_info_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象封装
	Result *DataResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaWestcrmCustomerInfoGetAPIResponseModel is 会员信息查询接口 成功返回结果

type AlibabaWestcrmGradeGetAPIRequest added in v1.2.0

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

AlibabaWestcrmGradeGetAPIRequest 获取等级列表 API请求 alibaba.westcrm.grade.get

获取会员卡等级列表

func NewAlibabaWestcrmGradeGetRequest

func NewAlibabaWestcrmGradeGetRequest() *AlibabaWestcrmGradeGetAPIRequest

NewAlibabaWestcrmGradeGetRequest 初始化AlibabaWestcrmGradeGetAPIRequest对象

func (AlibabaWestcrmGradeGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaWestcrmGradeGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWestcrmGradeGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWestcrmGradeGetAPIRequest) GetCampusId added in v1.2.0

func (r AlibabaWestcrmGradeGetAPIRequest) GetCampusId() int64

GetCampusId CampusId Getter

func (AlibabaWestcrmGradeGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaWestcrmGradeGetAPIRequest) SetCampusId added in v1.2.0

func (r *AlibabaWestcrmGradeGetAPIRequest) SetCampusId(_campusId int64) error

SetCampusId is CampusId Setter 园区id

type AlibabaWestcrmGradeGetAPIResponse

type AlibabaWestcrmGradeGetAPIResponse struct {
	model.CommonResponse
	AlibabaWestcrmGradeGetAPIResponseModel
}

AlibabaWestcrmGradeGetAPIResponse 获取等级列表 API返回值 alibaba.westcrm.grade.get

获取会员卡等级列表

type AlibabaWestcrmGradeGetAPIResponseModel added in v1.2.0

type AlibabaWestcrmGradeGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_westcrm_grade_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象封装
	Result *DataResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaWestcrmGradeGetAPIResponseModel is 获取等级列表 成功返回结果

type AlibabaWestcrmGradeGetData

type AlibabaWestcrmGradeGetData struct {
	// 等级名称
	GradeName string `json:"grade_name,omitempty" xml:"grade_name,omitempty"`
	// 等级列表
	GradeNum int64 `json:"grade_num,omitempty" xml:"grade_num,omitempty"`
	// 等级id
	GradeId int64 `json:"grade_id,omitempty" xml:"grade_id,omitempty"`
}

AlibabaWestcrmGradeGetData 结构体

type AlibabaWestcrmUserConsumerGetAPIRequest added in v1.2.0

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

AlibabaWestcrmUserConsumerGetAPIRequest 获取指定用户的消费总额 API请求 alibaba.westcrm.user.consumer.get

获取指定用户的消费总额

func NewAlibabaWestcrmUserConsumerGetRequest

func NewAlibabaWestcrmUserConsumerGetRequest() *AlibabaWestcrmUserConsumerGetAPIRequest

NewAlibabaWestcrmUserConsumerGetRequest 初始化AlibabaWestcrmUserConsumerGetAPIRequest对象

func (AlibabaWestcrmUserConsumerGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaWestcrmUserConsumerGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWestcrmUserConsumerGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWestcrmUserConsumerGetAPIRequest) GetCampusId added in v1.2.0

GetCampusId CampusId Getter

func (AlibabaWestcrmUserConsumerGetAPIRequest) GetIbUserId added in v1.2.0

GetIbUserId IbUserId Getter

func (AlibabaWestcrmUserConsumerGetAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaWestcrmUserConsumerGetAPIRequest) GetTimeBegin added in v1.2.0

GetTimeBegin TimeBegin Getter

func (AlibabaWestcrmUserConsumerGetAPIRequest) GetTimeEnd added in v1.2.0

GetTimeEnd TimeEnd Getter

func (*AlibabaWestcrmUserConsumerGetAPIRequest) SetCampusId added in v1.2.0

func (r *AlibabaWestcrmUserConsumerGetAPIRequest) SetCampusId(_campusId int64) error

SetCampusId is CampusId Setter 园区id

func (*AlibabaWestcrmUserConsumerGetAPIRequest) SetIbUserId added in v1.2.0

func (r *AlibabaWestcrmUserConsumerGetAPIRequest) SetIbUserId(_ibUserId int64) error

SetIbUserId is IbUserId Setter 用户id

func (*AlibabaWestcrmUserConsumerGetAPIRequest) SetTimeBegin added in v1.2.0

func (r *AlibabaWestcrmUserConsumerGetAPIRequest) SetTimeBegin(_timeBegin string) error

SetTimeBegin is TimeBegin Setter 开始时间

func (*AlibabaWestcrmUserConsumerGetAPIRequest) SetTimeEnd added in v1.2.0

func (r *AlibabaWestcrmUserConsumerGetAPIRequest) SetTimeEnd(_timeEnd string) error

SetTimeEnd is TimeEnd Setter 结束时间

type AlibabaWestcrmUserConsumerGetAPIResponse

type AlibabaWestcrmUserConsumerGetAPIResponse struct {
	model.CommonResponse
	AlibabaWestcrmUserConsumerGetAPIResponseModel
}

AlibabaWestcrmUserConsumerGetAPIResponse 获取指定用户的消费总额 API返回值 alibaba.westcrm.user.consumer.get

获取指定用户的消费总额

type AlibabaWestcrmUserConsumerGetAPIResponseModel added in v1.2.0

type AlibabaWestcrmUserConsumerGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_westcrm_user_consumer_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象封装
	Result *DataResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaWestcrmUserConsumerGetAPIResponseModel is 获取指定用户的消费总额 成功返回结果

type CustomerBaseInfoVo

type CustomerBaseInfoVo struct {
	// 头像
	Avatar string `json:"avatar,omitempty" xml:"avatar,omitempty"`
	// 电话
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 等级名称
	GradeName string `json:"grade_name,omitempty" xml:"grade_name,omitempty"`
	// 积分
	Point int64 `json:"point,omitempty" xml:"point,omitempty"`
	// 等级序号
	GradeNum int64 `json:"grade_num,omitempty" xml:"grade_num,omitempty"`
	// 园区id
	CampusId int64 `json:"campus_id,omitempty" xml:"campus_id,omitempty"`
	// 性别
	Gender int64 `json:"gender,omitempty" xml:"gender,omitempty"`
	// 等级id
	GradeId int64 `json:"grade_id,omitempty" xml:"grade_id,omitempty"`
	// 用户id
	IbUserId int64 `json:"ib_user_id,omitempty" xml:"ib_user_id,omitempty"`
}

CustomerBaseInfoVo 结构体

type DataResult

type DataResult struct {
	// 返回信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// data
	DataList *CustomerBaseInfoVo `json:"data_list,omitempty" xml:"data_list,omitempty"`
	// 参数code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// data
	Data *UserConsumerVo `json:"data,omitempty" xml:"data,omitempty"`
}

DataResult 结构体

type OrderVo

type OrderVo struct {
	// 账单金额
	OrderPay string `json:"order_pay,omitempty" xml:"order_pay,omitempty"`
	// 账单id
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 消费时间
	OrderTime string `json:"order_time,omitempty" xml:"order_time,omitempty"`
}

OrderVo 结构体

type UserConsumerVo

type UserConsumerVo struct {
	// 订单
	Orders []OrderVo `json:"orders,omitempty" xml:"orders>order_vo,omitempty"`
	// 消费总额
	TotalPay string `json:"total_pay,omitempty" xml:"total_pay,omitempty"`
	// 用户id
	IbUserId int64 `json:"ib_user_id,omitempty" xml:"ib_user_id,omitempty"`
}

UserConsumerVo 结构体

Jump to

Keyboard shortcuts

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