westcrm

package
v1.3.1 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.3.1

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

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

会员信息查询接口

func NewAlibabawestcrmcustomerinfogetRequest added in v1.3.1

func NewAlibabawestcrmcustomerinfogetRequest() *AlibabawestcrmcustomerinfogetAPIRequest

NewAlibabawestcrmcustomerinfogetRequest 初始化AlibabawestcrmcustomerinfogetAPIRequest对象

func (AlibabawestcrmcustomerinfogetAPIRequest) GetAlipayId added in v1.3.1

GetAlipayId AlipayId Getter

func (AlibabawestcrmcustomerinfogetAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabawestcrmcustomerinfogetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabawestcrmcustomerinfogetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabawestcrmcustomerinfogetAPIRequest) GetCampusId added in v1.3.1

GetCampusId CampusId Getter

func (AlibabawestcrmcustomerinfogetAPIRequest) GetIbUserId added in v1.3.1

GetIbUserId IbUserId Getter

func (AlibabawestcrmcustomerinfogetAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabawestcrmcustomerinfogetAPIRequest) SetAlipayId added in v1.3.1

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

SetAlipayId is AlipayId Setter 支付宝id

func (*AlibabawestcrmcustomerinfogetAPIRequest) SetCampusId added in v1.3.1

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

SetCampusId is CampusId Setter 园区id

func (*AlibabawestcrmcustomerinfogetAPIRequest) SetIbUserId added in v1.3.1

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

SetIbUserId is IbUserId Setter 会员id

type AlibabawestcrmcustomerinfogetAPIResponse added in v1.3.1

type AlibabawestcrmcustomerinfogetAPIResponse struct {
	model.CommonResponse
	AlibabawestcrmcustomerinfogetAPIResponseModel
}

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

会员信息查询接口

type AlibabawestcrmcustomerinfogetAPIResponseModel added in v1.3.1

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.3.1

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

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

获取会员卡等级列表

func NewAlibabawestcrmgradegetRequest added in v1.3.1

func NewAlibabawestcrmgradegetRequest() *AlibabawestcrmgradegetAPIRequest

NewAlibabawestcrmgradegetRequest 初始化AlibabawestcrmgradegetAPIRequest对象

func (AlibabawestcrmgradegetAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabawestcrmgradegetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabawestcrmgradegetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabawestcrmgradegetAPIRequest) GetCampusId added in v1.3.1

func (r AlibabawestcrmgradegetAPIRequest) GetCampusId() int64

GetCampusId CampusId Getter

func (AlibabawestcrmgradegetAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabawestcrmgradegetAPIRequest) SetCampusId added in v1.3.1

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

SetCampusId is CampusId Setter 园区id

type AlibabawestcrmgradegetAPIResponse added in v1.3.1

type AlibabawestcrmgradegetAPIResponse struct {
	model.CommonResponse
	AlibabawestcrmgradegetAPIResponseModel
}

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

获取会员卡等级列表

type AlibabawestcrmgradegetAPIResponseModel added in v1.3.1

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 added in v1.3.1

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.3.1

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

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

获取指定用户的消费总额

func NewAlibabawestcrmuserconsumergetRequest added in v1.3.1

func NewAlibabawestcrmuserconsumergetRequest() *AlibabawestcrmuserconsumergetAPIRequest

NewAlibabawestcrmuserconsumergetRequest 初始化AlibabawestcrmuserconsumergetAPIRequest对象

func (AlibabawestcrmuserconsumergetAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabawestcrmuserconsumergetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabawestcrmuserconsumergetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabawestcrmuserconsumergetAPIRequest) GetCampusId added in v1.3.1

GetCampusId CampusId Getter

func (AlibabawestcrmuserconsumergetAPIRequest) GetIbUserId added in v1.3.1

GetIbUserId IbUserId Getter

func (AlibabawestcrmuserconsumergetAPIRequest) GetRawParams added in v1.3.1

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

func (AlibabawestcrmuserconsumergetAPIRequest) GetTimeBegin added in v1.3.1

GetTimeBegin TimeBegin Getter

func (AlibabawestcrmuserconsumergetAPIRequest) GetTimeEnd added in v1.3.1

GetTimeEnd TimeEnd Getter

func (*AlibabawestcrmuserconsumergetAPIRequest) SetCampusId added in v1.3.1

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

SetCampusId is CampusId Setter 园区id

func (*AlibabawestcrmuserconsumergetAPIRequest) SetIbUserId added in v1.3.1

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

SetIbUserId is IbUserId Setter 用户id

func (*AlibabawestcrmuserconsumergetAPIRequest) SetTimeBegin added in v1.3.1

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

SetTimeBegin is TimeBegin Setter 开始时间

func (*AlibabawestcrmuserconsumergetAPIRequest) SetTimeEnd added in v1.3.1

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

SetTimeEnd is TimeEnd Setter 结束时间

type AlibabawestcrmuserconsumergetAPIResponse added in v1.3.1

type AlibabawestcrmuserconsumergetAPIResponse struct {
	model.CommonResponse
	AlibabawestcrmuserconsumergetAPIResponseModel
}

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

获取指定用户的消费总额

type AlibabawestcrmuserconsumergetAPIResponseModel added in v1.3.1

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