crm

package
v0.0.0-...-112a489 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CRMDefaultEndpoint is the default API endpoint of CRM services
	CRMDefaultEndpoint = "https://crm-cn-hangzhou.aliyuncs.com"
	CRMAPIVersion      = "2015-04-08"
)
View Source
const (
	FINANCE_SERIES = "aliyun.act_game"
	FINANCE_LABEL  = "act_finance_author" //金融云用户
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(accessKeyId, accessKeySecret string) *Client

NewClient creates a new instance of CRM client

func (*Client) IsFinanceUser

func (client *Client) IsFinanceUser() bool

func (*Client) QueryCustomerLabel

func (client *Client) QueryCustomerLabel(labelSeries string) (*CustomerLabel, error)

type CustomerLabel

type CustomerLabel struct {
	CustomerLabel []LabelSeries
}

type LabelSeries

type LabelSeries struct {
	Label       string
	LabelSeries string
}

type LabelSeriesArgs

type LabelSeriesArgs struct {
	LabelSeries string
}

type LabelSeriesResponse

type LabelSeriesResponse struct {
	common.Response

	Data CustomerLabel
}

Jump to

Keyboard shortcuts

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