v20180321

package
v3.0.128+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2018-03-21"

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentAuditedClient

type AgentAuditedClient struct {

	// 代理商账号ID
	Uin *string `json:"Uin,omitempty" name:"Uin"`

	// 代客账号ID
	ClientUin *string `json:"ClientUin,omitempty" name:"ClientUin"`

	// 代客审核通过时间戳
	AgentTime *string `json:"AgentTime,omitempty" name:"AgentTime"`

	// 代客类型,可能值为a/b/c
	ClientFlag *string `json:"ClientFlag,omitempty" name:"ClientFlag"`

	// 代客备注
	ClientRemark *string `json:"ClientRemark,omitempty" name:"ClientRemark"`

	// 代客名称(首选实名认证名称)
	ClientName *string `json:"ClientName,omitempty" name:"ClientName"`

	// 认证类型, 0:个人,1:企业;其他:未认证
	AuthType *string `json:"AuthType,omitempty" name:"AuthType"`

	// 代客APPID
	AppId *string `json:"AppId,omitempty" name:"AppId"`

	// 上月消费金额
	LastMonthAmt *int64 `json:"LastMonthAmt,omitempty" name:"LastMonthAmt"`

	// 本月消费金额
	ThisMonthAmt *int64 `json:"ThisMonthAmt,omitempty" name:"ThisMonthAmt"`

	// 是否欠费,0:不欠费;1:欠费
	HasOverdueBill *uint64 `json:"HasOverdueBill,omitempty" name:"HasOverdueBill"`

	// 客户类型:可以为new(新拓)/assign(指定)/old(存量)/空
	ClientType *string `json:"ClientType,omitempty" name:"ClientType"`

	// 项目类型:可以为self(自拓项目)/platform(合作项目)/repeat(复算项目  )/空
	ProjectType *string `json:"ProjectType,omitempty" name:"ProjectType"`

	// 业务员ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	SalesUin *string `json:"SalesUin,omitempty" name:"SalesUin"`

	// 业务员姓名
	// 注意:此字段可能返回 null,表示取不到有效值。
	SalesName *string `json:"SalesName,omitempty" name:"SalesName"`

	// 代客邮箱
	// 注意:此字段可能返回 null,表示取不到有效值。
	Mail *string `json:"Mail,omitempty" name:"Mail"`
}

type AgentBillElem

type AgentBillElem struct {

	// 代理商账号ID
	Uin *string `json:"Uin,omitempty" name:"Uin"`

	// 订单号,仅对预付费账单有意义
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// 代客账号ID
	ClientUin *string `json:"ClientUin,omitempty" name:"ClientUin"`

	// 代客备注名称
	ClientRemark *string `json:"ClientRemark,omitempty" name:"ClientRemark"`

	// 支付时间
	PayTime *string `json:"PayTime,omitempty" name:"PayTime"`

	// 云产品名称
	GoodsType *string `json:"GoodsType,omitempty" name:"GoodsType"`

	// 预付费/后付费
	PayMode *string `json:"PayMode,omitempty" name:"PayMode"`

	// 支付月份
	SettleMonth *string `json:"SettleMonth,omitempty" name:"SettleMonth"`

	// 支付金额,单位分
	Amt *int64 `json:"Amt,omitempty" name:"Amt"`

	// agentpay:代付;selfpay:自付
	PayerMode *string `json:"PayerMode,omitempty" name:"PayerMode"`

	// 客户类型:可以为new(新拓)/assign(指定)/old(存量)/空
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClientType *string `json:"ClientType,omitempty" name:"ClientType"`

	// 项目类型:可以为self(自拓项目)/platform(合作项目)/repeat(复算项目  )/空
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProjectType *string `json:"ProjectType,omitempty" name:"ProjectType"`

	// 活动ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ActivityId *string `json:"ActivityId,omitempty" name:"ActivityId"`
}

type AgentClientElem

type AgentClientElem struct {

	// 代理商账号ID
	Uin *string `json:"Uin,omitempty" name:"Uin"`

	// 代客账号ID
	ClientUin *string `json:"ClientUin,omitempty" name:"ClientUin"`

	// 代客申请时间戳
	ApplyTime *uint64 `json:"ApplyTime,omitempty" name:"ApplyTime"`

	// 代客类型,可能值为a/b/c
	ClientFlag *string `json:"ClientFlag,omitempty" name:"ClientFlag"`

	// 代客邮箱,打码显示
	Mail *string `json:"Mail,omitempty" name:"Mail"`

	// 代客手机,打码显示
	Phone *string `json:"Phone,omitempty" name:"Phone"`

	// 0表示不欠费,1表示欠费
	HasOverdueBill *uint64 `json:"HasOverdueBill,omitempty" name:"HasOverdueBill"`

	// 1:待代理商审核;2:待腾讯云审核
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// 业务员ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	SalesUin *string `json:"SalesUin,omitempty" name:"SalesUin"`

	// 业务员姓名
	// 注意:此字段可能返回 null,表示取不到有效值。
	SalesName *string `json:"SalesName,omitempty" name:"SalesName"`
}

type AgentDealElem

type AgentDealElem struct {

	// 订单自增 ID
	DealId *string `json:"DealId,omitempty" name:"DealId"`

	// 订单号
	DealName *string `json:"DealName,omitempty" name:"DealName"`

	// 商品类型 ID
	GoodsCategoryId *string `json:"GoodsCategoryId,omitempty" name:"GoodsCategoryId"`

	// 订单所有者
	OwnerUin *string `json:"OwnerUin,omitempty" name:"OwnerUin"`

	// 订单所有者对应 appId
	// 注意:此字段可能返回 null,表示取不到有效值。
	AppId *string `json:"AppId,omitempty" name:"AppId"`

	// 商品数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	GoodsNum *string `json:"GoodsNum,omitempty" name:"GoodsNum"`

	// 价格详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	GoodsPrice *DealGoodsPriceElem `json:"GoodsPrice,omitempty" name:"GoodsPrice"`

	// 下单人
	// 注意:此字段可能返回 null,表示取不到有效值。
	Creater *string `json:"Creater,omitempty" name:"Creater"`

	// 下单时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatTime *string `json:"CreatTime,omitempty" name:"CreatTime"`

	// 支付结束时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	PayEndTime *string `json:"PayEndTime,omitempty" name:"PayEndTime"`

	// 扣费流水号
	// 注意:此字段可能返回 null,表示取不到有效值。
	BillId *string `json:"BillId,omitempty" name:"BillId"`

	// 支付人
	// 注意:此字段可能返回 null,表示取不到有效值。
	Payer *string `json:"Payer,omitempty" name:"Payer"`

	// 订单状态,中文描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	DealStatus *string `json:"DealStatus,omitempty" name:"DealStatus"`

	// 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中)
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 产品名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	GoodsName *string `json:"GoodsName,omitempty" name:"GoodsName"`

	// 客户备注
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClientRemark *string `json:"ClientRemark,omitempty" name:"ClientRemark"`

	// 订单操作类型,purchase(新购),renew(续费),modify(配置变更)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ActionType *string `json:"ActionType,omitempty" name:"ActionType"`

	// 代金券抵扣金额,单位分
	// 注意:此字段可能返回 null,表示取不到有效值。
	VoucherDecline *string `json:"VoucherDecline,omitempty" name:"VoucherDecline"`

	// 大订单号
	// 注意:此字段可能返回 null,表示取不到有效值。
	BigDealId *string `json:"BigDealId,omitempty" name:"BigDealId"`

	// 客户类型(new:新拓;old:存量;assign:指派)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClientType *string `json:"ClientType,omitempty" name:"ClientType"`

	// 项目类型(self:自拓;repeat:直销;platform:官网合作)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProjectType *string `json:"ProjectType,omitempty" name:"ProjectType"`

	// 业务员账号ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	SalesUin *string `json:"SalesUin,omitempty" name:"SalesUin"`

	// 支付方式,0:自付;1:代付
	// 注意:此字段可能返回 null,表示取不到有效值。
	PayerMode *string `json:"PayerMode,omitempty" name:"PayerMode"`

	// 活动ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ActivityId *string `json:"ActivityId,omitempty" name:"ActivityId"`
}

type AgentPayDealsRequest

type AgentPayDealsRequest struct {
	*tchttp.BaseRequest

	// 订单所有者uin
	OwnerUin *string `json:"OwnerUin,omitempty" name:"OwnerUin"`

	// 代付标志,1:代付;0:自付
	AgentPay *uint64 `json:"AgentPay,omitempty" name:"AgentPay"`

	// 订单号数组
	DealNames []*string `json:"DealNames,omitempty" name:"DealNames" list`
}

func NewAgentPayDealsRequest

func NewAgentPayDealsRequest() (request *AgentPayDealsRequest)

func (*AgentPayDealsRequest) FromJsonString

func (r *AgentPayDealsRequest) FromJsonString(s string) error

func (*AgentPayDealsRequest) ToJsonString

func (r *AgentPayDealsRequest) ToJsonString() string

type AgentPayDealsResponse

type AgentPayDealsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAgentPayDealsResponse

func NewAgentPayDealsResponse() (response *AgentPayDealsResponse)

func (*AgentPayDealsResponse) FromJsonString

func (r *AgentPayDealsResponse) FromJsonString(s string) error

func (*AgentPayDealsResponse) ToJsonString

func (r *AgentPayDealsResponse) ToJsonString() string

type AgentSalesmanElem

type AgentSalesmanElem struct {

	// 代理商账号ID
	Uin *string `json:"Uin,omitempty" name:"Uin"`

	// 业务员ID
	SalesUin *string `json:"SalesUin,omitempty" name:"SalesUin"`

	// 业务员姓名
	SalesName *string `json:"SalesName,omitempty" name:"SalesName"`

	// 业务员创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type AgentTransferMoneyRequest

type AgentTransferMoneyRequest struct {
	*tchttp.BaseRequest

	// 客户账号ID
	ClientUin *string `json:"ClientUin,omitempty" name:"ClientUin"`

	// 转账金额,单位分
	Amount *uint64 `json:"Amount,omitempty" name:"Amount"`
}

func NewAgentTransferMoneyRequest

func NewAgentTransferMoneyRequest() (request *AgentTransferMoneyRequest)

func (*AgentTransferMoneyRequest) FromJsonString

func (r *AgentTransferMoneyRequest) FromJsonString(s string) error

func (*AgentTransferMoneyRequest) ToJsonString

func (r *AgentTransferMoneyRequest) ToJsonString() string

type AgentTransferMoneyResponse

type AgentTransferMoneyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAgentTransferMoneyResponse

func NewAgentTransferMoneyResponse() (response *AgentTransferMoneyResponse)

func (*AgentTransferMoneyResponse) FromJsonString

func (r *AgentTransferMoneyResponse) FromJsonString(s string) error

func (*AgentTransferMoneyResponse) ToJsonString

func (r *AgentTransferMoneyResponse) ToJsonString() string

type AuditApplyClientRequest

type AuditApplyClientRequest struct {
	*tchttp.BaseRequest

	// 待审核客户账号ID
	ClientUin *string `json:"ClientUin,omitempty" name:"ClientUin"`

	// 审核结果,可能的取值:accept/reject
	AuditResult *string `json:"AuditResult,omitempty" name:"AuditResult"`

	// 申请理由,B类客户审核通过时必须填写申请理由
	Note *string `json:"Note,omitempty" name:"Note"`
}

func NewAuditApplyClientRequest

func NewAuditApplyClientRequest() (request *AuditApplyClientRequest)

func (*AuditApplyClientRequest) FromJsonString

func (r *AuditApplyClientRequest) FromJsonString(s string) error

func (*AuditApplyClientRequest) ToJsonString

func (r *AuditApplyClientRequest) ToJsonString() string

type AuditApplyClientResponse

type AuditApplyClientResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 代理商账号ID
		Uin *string `json:"Uin,omitempty" name:"Uin"`

		// 客户账号ID
		ClientUin *string `json:"ClientUin,omitempty" name:"ClientUin"`

		// 审核结果,包括accept/reject/qcloudaudit(腾讯云审核)
		AuditResult *string `json:"AuditResult,omitempty" name:"AuditResult"`

		// 关联时间对应的时间戳
		AgentTime *uint64 `json:"AgentTime,omitempty" name:"AgentTime"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAuditApplyClientResponse

func NewAuditApplyClientResponse() (response *AuditApplyClientResponse)

func (*AuditApplyClientResponse) FromJsonString

func (r *AuditApplyClientResponse) FromJsonString(s string) error

func (*AuditApplyClientResponse) ToJsonString

func (r *AuditApplyClientResponse) ToJsonString() string

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AgentPayDeals

func (c *Client) AgentPayDeals(request *AgentPayDealsRequest) (response *AgentPayDealsResponse, err error)

代理商支付订单接口,支持自付/代付

func (*Client) AgentTransferMoney

func (c *Client) AgentTransferMoney(request *AgentTransferMoneyRequest) (response *AgentTransferMoneyResponse, err error)

为合作伙伴提供转账给客户能力。仅支持合作伙伴为自己名下客户转账。

func (*Client) AuditApplyClient

func (c *Client) AuditApplyClient(request *AuditApplyClientRequest) (response *AuditApplyClientResponse, err error)

代理商可以审核其名下申请中代客

func (*Client) CreatePayRelationForClient

func (c *Client) CreatePayRelationForClient(request *CreatePayRelationForClientRequest) (response *CreatePayRelationForClientResponse, err error)

合作伙伴为客户创建强代付关系

func (*Client) DescribeAgentAuditedClients

func (c *Client) DescribeAgentAuditedClients(request *DescribeAgentAuditedClientsRequest) (response *DescribeAgentAuditedClientsResponse, err error)

查询已审核客户列表

func (*Client) DescribeAgentBills

func (c *Client) DescribeAgentBills(request *DescribeAgentBillsRequest) (response *DescribeAgentBillsResponse, err error)

代理商可查询自己及名下代客所有业务明细

func (*Client) DescribeAgentClients

func (c *Client) DescribeAgentClients(request *DescribeAgentClientsRequest) (response *DescribeAgentClientsResponse, err error)

代理商可查询自己名下待审核客户列表

func (*Client) DescribeAgentDealsCache

func (c *Client) DescribeAgentDealsCache(request *DescribeAgentDealsCacheRequest) (response *DescribeAgentDealsCacheResponse, err error)

供超大型代理商(代客数量>=3000 )拉取缓存的全量客户订单。

func (*Client) DescribeAgentPayDeals

func (c *Client) DescribeAgentPayDeals(request *DescribeAgentPayDealsRequest) (response *DescribeAgentPayDealsResponse, err error)

可以查询代理商代付的所有订单

func (*Client) DescribeClientBalance

func (c *Client) DescribeClientBalance(request *DescribeClientBalanceRequest) (response *DescribeClientBalanceResponse, err error)

为合作伙伴提供查询客户余额能力。调用者必须是合作伙伴,只能查询自己名下客户余额

func (*Client) DescribeRebateInfos

func (c *Client) DescribeRebateInfos(request *DescribeRebateInfosRequest) (response *DescribeRebateInfosResponse, err error)

代理商可查询自己名下全部返佣信息

func (*Client) DescribeSalesmans

func (c *Client) DescribeSalesmans(request *DescribeSalesmansRequest) (response *DescribeSalesmansResponse, err error)

代理商查询名下业务员列表信息

func (*Client) ModifyClientRemark

func (c *Client) ModifyClientRemark(request *ModifyClientRemarkRequest) (response *ModifyClientRemarkResponse, err error)

代理商可以对名下客户添加备注、修改备注

func (*Client) RemovePayRelationForClient

func (c *Client) RemovePayRelationForClient(request *RemovePayRelationForClientRequest) (response *RemovePayRelationForClientResponse, err error)

合作伙伴为客户消除强代付关系

type CreatePayRelationForClientRequest

type CreatePayRelationForClientRequest struct {
	*tchttp.BaseRequest

	// 客户账号ID
	ClientUin *string `json:"ClientUin,omitempty" name:"ClientUin"`
}

func NewCreatePayRelationForClientRequest

func NewCreatePayRelationForClientRequest() (request *CreatePayRelationForClientRequest)

func (*CreatePayRelationForClientRequest) FromJsonString

func (r *CreatePayRelationForClientRequest) FromJsonString(s string) error

func (*CreatePayRelationForClientRequest) ToJsonString

func (r *CreatePayRelationForClientRequest) ToJsonString() string

type CreatePayRelationForClientResponse

type CreatePayRelationForClientResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreatePayRelationForClientResponse

func NewCreatePayRelationForClientResponse() (response *CreatePayRelationForClientResponse)

func (*CreatePayRelationForClientResponse) FromJsonString

func (r *CreatePayRelationForClientResponse) FromJsonString(s string) error

func (*CreatePayRelationForClientResponse) ToJsonString

func (r *CreatePayRelationForClientResponse) ToJsonString() string

type DealGoodsPriceElem

type DealGoodsPriceElem struct {

	// 实付金额
	RealTotalCost *uint64 `json:"RealTotalCost,omitempty" name:"RealTotalCost"`
}

type DescribeAgentAuditedClientsRequest

type DescribeAgentAuditedClientsRequest struct {
	*tchttp.BaseRequest

	// 客户账号ID
	ClientUin *string `json:"ClientUin,omitempty" name:"ClientUin"`

	// 客户名称。由于涉及隐私,名称打码显示,故名称仅支持打码后的模糊搜索
	ClientName *string `json:"ClientName,omitempty" name:"ClientName"`

	// 客户类型,a/b,类型定义参考代理商相关政策文档
	ClientFlag *string `json:"ClientFlag,omitempty" name:"ClientFlag"`

	// ASC/DESC, 不区分大小写,按审核通过时间排序
	OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"`

	// 客户账号ID列表
	ClientUins []*string `json:"ClientUins,omitempty" name:"ClientUins" list`

	// 是否欠费。0:不欠费;1:欠费
	HasOverdueBill *uint64 `json:"HasOverdueBill,omitempty" name:"HasOverdueBill"`

	// 客户备注
	ClientRemark *string `json:"ClientRemark,omitempty" name:"ClientRemark"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 限制数目
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 客户类型:可以为new(新拓)/assign(指定)/old(存量)/空
	ClientType *string `json:"ClientType,omitempty" name:"ClientType"`

	// 项目类型:可以为self(自拓项目)/platform(合作项目)/repeat(复算项目  )/空
	ProjectType *string `json:"ProjectType,omitempty" name:"ProjectType"`

	// 业务员ID
	SalesUin *string `json:"SalesUin,omitempty" name:"SalesUin"`

	// 业务员姓名(模糊查询)
	SalesName *string `json:"SalesName,omitempty" name:"SalesName"`
}

func NewDescribeAgentAuditedClientsRequest

func NewDescribeAgentAuditedClientsRequest() (request *DescribeAgentAuditedClientsRequest)

func (*DescribeAgentAuditedClientsRequest) FromJsonString

func (r *DescribeAgentAuditedClientsRequest) FromJsonString(s string) error

func (*DescribeAgentAuditedClientsRequest) ToJsonString

func (r *DescribeAgentAuditedClientsRequest) ToJsonString() string

type DescribeAgentAuditedClientsResponse

type DescribeAgentAuditedClientsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 已审核代客列表
		AgentClientSet []*AgentAuditedClient `json:"AgentClientSet,omitempty" name:"AgentClientSet" list`

		// 符合条件的代客总数
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAgentAuditedClientsResponse

func NewDescribeAgentAuditedClientsResponse() (response *DescribeAgentAuditedClientsResponse)

func (*DescribeAgentAuditedClientsResponse) FromJsonString

func (r *DescribeAgentAuditedClientsResponse) FromJsonString(s string) error

func (*DescribeAgentAuditedClientsResponse) ToJsonString

func (r *DescribeAgentAuditedClientsResponse) ToJsonString() string

type DescribeAgentBillsRequest

type DescribeAgentBillsRequest struct {
	*tchttp.BaseRequest

	// 支付月份,如2018-02
	SettleMonth *string `json:"SettleMonth,omitempty" name:"SettleMonth"`

	// 客户账号ID
	ClientUin *string `json:"ClientUin,omitempty" name:"ClientUin"`

	// 支付方式,prepay/postpay
	PayMode *string `json:"PayMode,omitempty" name:"PayMode"`

	// 预付费订单号
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// 客户备注名称
	ClientRemark *string `json:"ClientRemark,omitempty" name:"ClientRemark"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 限制数目
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeAgentBillsRequest

func NewDescribeAgentBillsRequest() (request *DescribeAgentBillsRequest)

func (*DescribeAgentBillsRequest) FromJsonString

func (r *DescribeAgentBillsRequest) FromJsonString(s string) error

func (*DescribeAgentBillsRequest) ToJsonString

func (r *DescribeAgentBillsRequest) ToJsonString() string

type DescribeAgentBillsResponse

type DescribeAgentBillsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合查询条件列表总数量
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 业务明细列表
		AgentBillSet []*AgentBillElem `json:"AgentBillSet,omitempty" name:"AgentBillSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAgentBillsResponse

func NewDescribeAgentBillsResponse() (response *DescribeAgentBillsResponse)

func (*DescribeAgentBillsResponse) FromJsonString

func (r *DescribeAgentBillsResponse) FromJsonString(s string) error

func (*DescribeAgentBillsResponse) ToJsonString

func (r *DescribeAgentBillsResponse) ToJsonString() string

type DescribeAgentClientsRequest

type DescribeAgentClientsRequest struct {
	*tchttp.BaseRequest

	// 客户账号ID
	ClientUin *string `json:"ClientUin,omitempty" name:"ClientUin"`

	// 客户名称。由于涉及隐私,名称打码显示,故名称仅支持打码后的模糊搜索
	ClientName *string `json:"ClientName,omitempty" name:"ClientName"`

	// 客户类型,a/b,类型定义参考代理商相关政策文档
	ClientFlag *string `json:"ClientFlag,omitempty" name:"ClientFlag"`

	// ASC/DESC, 不区分大小写,按申请时间排序
	OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 限制数目
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 业务员ID
	SalesUin *string `json:"SalesUin,omitempty" name:"SalesUin"`

	// 业务员姓名(模糊查询)
	SalesName *string `json:"SalesName,omitempty" name:"SalesName"`
}

func NewDescribeAgentClientsRequest

func NewDescribeAgentClientsRequest() (request *DescribeAgentClientsRequest)

func (*DescribeAgentClientsRequest) FromJsonString

func (r *DescribeAgentClientsRequest) FromJsonString(s string) error

func (*DescribeAgentClientsRequest) ToJsonString

func (r *DescribeAgentClientsRequest) ToJsonString() string

type DescribeAgentClientsResponse

type DescribeAgentClientsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 待审核代客列表
		AgentClientSet []*AgentClientElem `json:"AgentClientSet,omitempty" name:"AgentClientSet" list`

		// 符合条件的代客总数
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAgentClientsResponse

func NewDescribeAgentClientsResponse() (response *DescribeAgentClientsResponse)

func (*DescribeAgentClientsResponse) FromJsonString

func (r *DescribeAgentClientsResponse) FromJsonString(s string) error

func (*DescribeAgentClientsResponse) ToJsonString

func (r *DescribeAgentClientsResponse) ToJsonString() string

type DescribeAgentDealsCacheRequest

type DescribeAgentDealsCacheRequest struct {
	*tchttp.BaseRequest

	// 偏移量
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 限制数目
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 下单时间范围起始点
	CreatTimeRangeStart *string `json:"CreatTimeRangeStart,omitempty" name:"CreatTimeRangeStart"`

	// 下单时间范围终止点
	CreatTimeRangeEnd *string `json:"CreatTimeRangeEnd,omitempty" name:"CreatTimeRangeEnd"`

	// 0:下单时间降序;其他:下单时间升序
	Order *uint64 `json:"Order,omitempty" name:"Order"`

	// 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中)
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// 下单人账号ID列表
	OwnerUins []*string `json:"OwnerUins,omitempty" name:"OwnerUins" list`

	// 订单号列表
	DealNames []*string `json:"DealNames,omitempty" name:"DealNames" list`

	// 支付方式,0:自付;1:代付
	PayerMode *uint64 `json:"PayerMode,omitempty" name:"PayerMode"`
}

func NewDescribeAgentDealsCacheRequest

func NewDescribeAgentDealsCacheRequest() (request *DescribeAgentDealsCacheRequest)

func (*DescribeAgentDealsCacheRequest) FromJsonString

func (r *DescribeAgentDealsCacheRequest) FromJsonString(s string) error

func (*DescribeAgentDealsCacheRequest) ToJsonString

func (r *DescribeAgentDealsCacheRequest) ToJsonString() string

type DescribeAgentDealsCacheResponse

type DescribeAgentDealsCacheResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 订单数组
		AgentDealSet []*AgentDealElem `json:"AgentDealSet,omitempty" name:"AgentDealSet" list`

		// 符合条件的订单总数量
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAgentDealsCacheResponse

func NewDescribeAgentDealsCacheResponse() (response *DescribeAgentDealsCacheResponse)

func (*DescribeAgentDealsCacheResponse) FromJsonString

func (r *DescribeAgentDealsCacheResponse) FromJsonString(s string) error

func (*DescribeAgentDealsCacheResponse) ToJsonString

func (r *DescribeAgentDealsCacheResponse) ToJsonString() string

type DescribeAgentPayDealsRequest

type DescribeAgentPayDealsRequest struct {
	*tchttp.BaseRequest

	// 偏移量
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 限制数目
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 下单时间范围起始点(不传时会默认查15天内订单,传值时需要传15天内的起始时间)
	CreatTimeRangeStart *string `json:"CreatTimeRangeStart,omitempty" name:"CreatTimeRangeStart"`

	// 下单时间范围终止点
	CreatTimeRangeEnd *string `json:"CreatTimeRangeEnd,omitempty" name:"CreatTimeRangeEnd"`

	// 0:下单时间降序;其他:下单时间升序
	Order *uint64 `json:"Order,omitempty" name:"Order"`

	// 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中)
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// 下单人账号ID列表
	OwnerUins []*string `json:"OwnerUins,omitempty" name:"OwnerUins" list`

	// 订单号列表
	DealNames []*string `json:"DealNames,omitempty" name:"DealNames" list`
}

func NewDescribeAgentPayDealsRequest

func NewDescribeAgentPayDealsRequest() (request *DescribeAgentPayDealsRequest)

func (*DescribeAgentPayDealsRequest) FromJsonString

func (r *DescribeAgentPayDealsRequest) FromJsonString(s string) error

func (*DescribeAgentPayDealsRequest) ToJsonString

func (r *DescribeAgentPayDealsRequest) ToJsonString() string

type DescribeAgentPayDealsResponse

type DescribeAgentPayDealsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 订单数组
		AgentPayDealSet []*AgentDealElem `json:"AgentPayDealSet,omitempty" name:"AgentPayDealSet" list`

		// 符合条件的订单总数量
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAgentPayDealsResponse

func NewDescribeAgentPayDealsResponse() (response *DescribeAgentPayDealsResponse)

func (*DescribeAgentPayDealsResponse) FromJsonString

func (r *DescribeAgentPayDealsResponse) FromJsonString(s string) error

func (*DescribeAgentPayDealsResponse) ToJsonString

func (r *DescribeAgentPayDealsResponse) ToJsonString() string

type DescribeClientBalanceRequest

type DescribeClientBalanceRequest struct {
	*tchttp.BaseRequest

	// 客户(代客)账号ID
	ClientUin *string `json:"ClientUin,omitempty" name:"ClientUin"`
}

func NewDescribeClientBalanceRequest

func NewDescribeClientBalanceRequest() (request *DescribeClientBalanceRequest)

func (*DescribeClientBalanceRequest) FromJsonString

func (r *DescribeClientBalanceRequest) FromJsonString(s string) error

func (*DescribeClientBalanceRequest) ToJsonString

func (r *DescribeClientBalanceRequest) ToJsonString() string

type DescribeClientBalanceResponse

type DescribeClientBalanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 账户余额,单位分
		Balance *uint64 `json:"Balance,omitempty" name:"Balance"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeClientBalanceResponse

func NewDescribeClientBalanceResponse() (response *DescribeClientBalanceResponse)

func (*DescribeClientBalanceResponse) FromJsonString

func (r *DescribeClientBalanceResponse) FromJsonString(s string) error

func (*DescribeClientBalanceResponse) ToJsonString

func (r *DescribeClientBalanceResponse) ToJsonString() string

type DescribeRebateInfosRequest

type DescribeRebateInfosRequest struct {
	*tchttp.BaseRequest

	// 返佣月份,如2018-02
	RebateMonth *string `json:"RebateMonth,omitempty" name:"RebateMonth"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 限制数目
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeRebateInfosRequest

func NewDescribeRebateInfosRequest() (request *DescribeRebateInfosRequest)

func (*DescribeRebateInfosRequest) FromJsonString

func (r *DescribeRebateInfosRequest) FromJsonString(s string) error

func (*DescribeRebateInfosRequest) ToJsonString

func (r *DescribeRebateInfosRequest) ToJsonString() string

type DescribeRebateInfosResponse

type DescribeRebateInfosResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 返佣信息列表
		RebateInfoSet []*RebateInfoElem `json:"RebateInfoSet,omitempty" name:"RebateInfoSet" list`

		// 符合查询条件返佣信息数目
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRebateInfosResponse

func NewDescribeRebateInfosResponse() (response *DescribeRebateInfosResponse)

func (*DescribeRebateInfosResponse) FromJsonString

func (r *DescribeRebateInfosResponse) FromJsonString(s string) error

func (*DescribeRebateInfosResponse) ToJsonString

func (r *DescribeRebateInfosResponse) ToJsonString() string

type DescribeSalesmansRequest

type DescribeSalesmansRequest struct {
	*tchttp.BaseRequest

	// 偏移量
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 限制数目
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 业务员姓名(模糊查询)
	SalesName *string `json:"SalesName,omitempty" name:"SalesName"`

	// 业务员ID
	SalesUin *string `json:"SalesUin,omitempty" name:"SalesUin"`

	// ASC/DESC, 不区分大小写,按创建通过时间排序
	OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"`
}

func NewDescribeSalesmansRequest

func NewDescribeSalesmansRequest() (request *DescribeSalesmansRequest)

func (*DescribeSalesmansRequest) FromJsonString

func (r *DescribeSalesmansRequest) FromJsonString(s string) error

func (*DescribeSalesmansRequest) ToJsonString

func (r *DescribeSalesmansRequest) ToJsonString() string

type DescribeSalesmansResponse

type DescribeSalesmansResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 业务员列表
		AgentSalesmanSet []*AgentSalesmanElem `json:"AgentSalesmanSet,omitempty" name:"AgentSalesmanSet" list`

		// 符合条件的代客总数
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSalesmansResponse

func NewDescribeSalesmansResponse() (response *DescribeSalesmansResponse)

func (*DescribeSalesmansResponse) FromJsonString

func (r *DescribeSalesmansResponse) FromJsonString(s string) error

func (*DescribeSalesmansResponse) ToJsonString

func (r *DescribeSalesmansResponse) ToJsonString() string

type ModifyClientRemarkRequest

type ModifyClientRemarkRequest struct {
	*tchttp.BaseRequest

	// 客户备注名称
	ClientRemark *string `json:"ClientRemark,omitempty" name:"ClientRemark"`

	// 客户账号ID
	ClientUin *string `json:"ClientUin,omitempty" name:"ClientUin"`
}

func NewModifyClientRemarkRequest

func NewModifyClientRemarkRequest() (request *ModifyClientRemarkRequest)

func (*ModifyClientRemarkRequest) FromJsonString

func (r *ModifyClientRemarkRequest) FromJsonString(s string) error

func (*ModifyClientRemarkRequest) ToJsonString

func (r *ModifyClientRemarkRequest) ToJsonString() string

type ModifyClientRemarkResponse

type ModifyClientRemarkResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyClientRemarkResponse

func NewModifyClientRemarkResponse() (response *ModifyClientRemarkResponse)

func (*ModifyClientRemarkResponse) FromJsonString

func (r *ModifyClientRemarkResponse) FromJsonString(s string) error

func (*ModifyClientRemarkResponse) ToJsonString

func (r *ModifyClientRemarkResponse) ToJsonString() string

type RebateInfoElem

type RebateInfoElem struct {

	// 代理商账号ID
	Uin *string `json:"Uin,omitempty" name:"Uin"`

	// 返佣月份,如2018-02
	RebateMonth *string `json:"RebateMonth,omitempty" name:"RebateMonth"`

	// 返佣金额,单位分
	Amt *uint64 `json:"Amt,omitempty" name:"Amt"`

	// 月度业绩,单位分
	MonthSales *uint64 `json:"MonthSales,omitempty" name:"MonthSales"`

	// 季度业绩,单位分
	QuarterSales *uint64 `json:"QuarterSales,omitempty" name:"QuarterSales"`

	// NORMAL(正常)/HAS_OVERDUE_BILL(欠费)/NO_CONTRACT(缺合同)
	ExceptionFlag *string `json:"ExceptionFlag,omitempty" name:"ExceptionFlag"`
}

type RemovePayRelationForClientRequest

type RemovePayRelationForClientRequest struct {
	*tchttp.BaseRequest

	// 客户账号ID
	ClientUin *string `json:"ClientUin,omitempty" name:"ClientUin"`
}

func NewRemovePayRelationForClientRequest

func NewRemovePayRelationForClientRequest() (request *RemovePayRelationForClientRequest)

func (*RemovePayRelationForClientRequest) FromJsonString

func (r *RemovePayRelationForClientRequest) FromJsonString(s string) error

func (*RemovePayRelationForClientRequest) ToJsonString

func (r *RemovePayRelationForClientRequest) ToJsonString() string

type RemovePayRelationForClientResponse

type RemovePayRelationForClientResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRemovePayRelationForClientResponse

func NewRemovePayRelationForClientResponse() (response *RemovePayRelationForClientResponse)

func (*RemovePayRelationForClientResponse) FromJsonString

func (r *RemovePayRelationForClientResponse) FromJsonString(s string) error

func (*RemovePayRelationForClientResponse) ToJsonString

func (r *RemovePayRelationForClientResponse) ToJsonString() string

Jump to

Keyboard shortcuts

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