alicom

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

阿里通信API model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityGiftInfoDTOs

type ActivityGiftInfoDTOs struct {
	// 礼包ID
	GiftId string `json:"gift_id,omitempty" xml:"gift_id,omitempty"`
	// 礼包名称
	GiftName string `json:"gift_name,omitempty" xml:"gift_name,omitempty"`
}

ActivityGiftInfoDTOs

type ActivityGiftInfos

type ActivityGiftInfos struct {
	// giftId
	GiftId string `json:"gift_id,omitempty" xml:"gift_id,omitempty"`
	// giftName
	GiftName string `json:"gift_name,omitempty" xml:"gift_name,omitempty"`
}

ActivityGiftInfos

type ActivityInfoResponseDto

type ActivityInfoResponseDto struct {
	// 活动ID
	ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 活动名称
	ActivityName string `json:"activity_name,omitempty" xml:"activity_name,omitempty"`
	// 礼包数据集
	ActivityGiftInfos *ActivityGiftInfoDTOs `json:"activity_gift_infos,omitempty" xml:"activity_gift_infos,omitempty"`
}

ActivityInfoResponseDto

type AgentResultView

type AgentResultView struct {
	// 网点id
	AgentId string `json:"agent_id,omitempty" xml:"agent_id,omitempty"`
	// 客户经理id
	CustomerId string `json:"customer_id,omitempty" xml:"customer_id,omitempty"`
	// url
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// pid
	Pid string `json:"pid,omitempty" xml:"pid,omitempty"`
}

AgentResultView

type AlibabaAlicomExchangeCreatebymixnickAPIRequest added in v1.2.0

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

代理商积分兑换接口tae API请求 alibaba.alicom.exchange.createbymixnick

代理商调用该接口来进行积分兑换,tae

func NewAlibabaAlicomExchangeCreatebymixnickRequest

func NewAlibabaAlicomExchangeCreatebymixnickRequest() *AlibabaAlicomExchangeCreatebymixnickAPIRequest

初始化AlibabaAlicomExchangeCreatebymixnickAPIRequest对象

func (AlibabaAlicomExchangeCreatebymixnickAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlicomExchangeCreatebymixnickAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAlicomExchangeCreatebymixnickAPIRequest) GetExchangeModel added in v1.2.0

ExchangeModel Getter

func (*AlibabaAlicomExchangeCreatebymixnickAPIRequest) SetExchangeModel added in v1.2.0

func (r *AlibabaAlicomExchangeCreatebymixnickAPIRequest) SetExchangeModel(_exchangeModel *ExchangeModel) error

ExchangeModel Setter 入参

type AlibabaAlicomExchangeCreatebymixnickAPIResponse

type AlibabaAlicomExchangeCreatebymixnickAPIResponse struct {
	model.CommonResponse
	AlibabaAlicomExchangeCreatebymixnickAPIResponseModel
}

代理商积分兑换接口tae API返回值 alibaba.alicom.exchange.createbymixnick

代理商调用该接口来进行积分兑换,tae

type AlibabaAlicomExchangeCreatebymixnickAPIResponseModel added in v1.2.0

type AlibabaAlicomExchangeCreatebymixnickAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alicom_exchange_createbymixnick_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *CommonResult `json:"result,omitempty" xml:"result,omitempty"`
}

代理商积分兑换接口tae 成功返回结果

type AlibabaAlicomOrderExchangeCreateAPIRequest added in v1.2.0

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

代理商积分兑换接口 API请求 alibaba.alicom.order.exchange.create

代理商调用该接口来进行积分兑换

func NewAlibabaAlicomOrderExchangeCreateRequest

func NewAlibabaAlicomOrderExchangeCreateRequest() *AlibabaAlicomOrderExchangeCreateAPIRequest

初始化AlibabaAlicomOrderExchangeCreateAPIRequest对象

func (AlibabaAlicomOrderExchangeCreateAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlicomOrderExchangeCreateAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAlicomOrderExchangeCreateAPIRequest) GetExchangeModel added in v1.2.0

ExchangeModel Getter

func (*AlibabaAlicomOrderExchangeCreateAPIRequest) SetExchangeModel added in v1.2.0

func (r *AlibabaAlicomOrderExchangeCreateAPIRequest) SetExchangeModel(_exchangeModel *ExchangeModel) error

ExchangeModel Setter 入参

type AlibabaAlicomOrderExchangeCreateAPIResponse

type AlibabaAlicomOrderExchangeCreateAPIResponse struct {
	model.CommonResponse
	AlibabaAlicomOrderExchangeCreateAPIResponseModel
}

代理商积分兑换接口 API返回值 alibaba.alicom.order.exchange.create

代理商调用该接口来进行积分兑换

type AlibabaAlicomOrderExchangeCreateAPIResponseModel added in v1.2.0

type AlibabaAlicomOrderExchangeCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alicom_order_exchange_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *CommonResult `json:"result,omitempty" xml:"result,omitempty"`
}

代理商积分兑换接口 成功返回结果

type AlibabaAlicomOrderPreauthorizeCreateAPIRequest added in v1.2.0

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

业务办理结果 API请求 alibaba.alicom.order.preauthorize.create

授授权:签约结果通知

func NewAlibabaAlicomOrderPreauthorizeCreateRequest

func NewAlibabaAlicomOrderPreauthorizeCreateRequest() *AlibabaAlicomOrderPreauthorizeCreateAPIRequest

初始化AlibabaAlicomOrderPreauthorizeCreateAPIRequest对象

func (AlibabaAlicomOrderPreauthorizeCreateAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlicomOrderPreauthorizeCreateAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAlicomOrderPreauthorizeCreateAPIRequest) GetPreAuthorizeModel added in v1.2.0

PreAuthorizeModel Getter

func (*AlibabaAlicomOrderPreauthorizeCreateAPIRequest) SetPreAuthorizeModel added in v1.2.0

func (r *AlibabaAlicomOrderPreauthorizeCreateAPIRequest) SetPreAuthorizeModel(_preAuthorizeModel *PreAuthorizeModel) error

PreAuthorizeModel Setter 入参

type AlibabaAlicomOrderPreauthorizeCreateAPIResponse

type AlibabaAlicomOrderPreauthorizeCreateAPIResponse struct {
	model.CommonResponse
	AlibabaAlicomOrderPreauthorizeCreateAPIResponseModel
}

业务办理结果 API返回值 alibaba.alicom.order.preauthorize.create

授授权:签约结果通知

type AlibabaAlicomOrderPreauthorizeCreateAPIResponseModel added in v1.2.0

type AlibabaAlicomOrderPreauthorizeCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alicom_order_preauthorize_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口结果
	Result *CommonResult `json:"result,omitempty" xml:"result,omitempty"`
}

业务办理结果 成功返回结果

type AlibabaAlicomOrderPreauthorizeFulfillmentAPIRequest added in v1.2.0

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

履约结果 API请求 alibaba.alicom.order.preauthorize.fulfillment

预授权-履约结果

func NewAlibabaAlicomOrderPreauthorizeFulfillmentRequest

func NewAlibabaAlicomOrderPreauthorizeFulfillmentRequest() *AlibabaAlicomOrderPreauthorizeFulfillmentAPIRequest

初始化AlibabaAlicomOrderPreauthorizeFulfillmentAPIRequest对象

func (AlibabaAlicomOrderPreauthorizeFulfillmentAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlicomOrderPreauthorizeFulfillmentAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAlicomOrderPreauthorizeFulfillmentAPIRequest) GetPreAuthorizeModel added in v1.2.0

PreAuthorizeModel Getter

func (*AlibabaAlicomOrderPreauthorizeFulfillmentAPIRequest) SetPreAuthorizeModel added in v1.2.0

func (r *AlibabaAlicomOrderPreauthorizeFulfillmentAPIRequest) SetPreAuthorizeModel(_preAuthorizeModel *PreAuthorizeModel) error

PreAuthorizeModel Setter 入参

type AlibabaAlicomOrderPreauthorizeFulfillmentAPIResponse

type AlibabaAlicomOrderPreauthorizeFulfillmentAPIResponse struct {
	model.CommonResponse
	AlibabaAlicomOrderPreauthorizeFulfillmentAPIResponseModel
}

履约结果 API返回值 alibaba.alicom.order.preauthorize.fulfillment

预授权-履约结果

type AlibabaAlicomOrderPreauthorizeFulfillmentAPIResponseModel added in v1.2.0

type AlibabaAlicomOrderPreauthorizeFulfillmentAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alicom_order_preauthorize_fulfillment_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口结果
	Result *CommonResult `json:"result,omitempty" xml:"result,omitempty"`
}

履约结果 成功返回结果

type AlibabaAlicomOrderPreauthorizeQueryFulfillmentAPIRequest added in v1.2.0

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

履约结果查询 API请求 alibaba.alicom.order.preauthorize.query.fulfillment

预授权-履约结果查询

func NewAlibabaAlicomOrderPreauthorizeQueryFulfillmentRequest

func NewAlibabaAlicomOrderPreauthorizeQueryFulfillmentRequest() *AlibabaAlicomOrderPreauthorizeQueryFulfillmentAPIRequest

初始化AlibabaAlicomOrderPreauthorizeQueryFulfillmentAPIRequest对象

func (AlibabaAlicomOrderPreauthorizeQueryFulfillmentAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlicomOrderPreauthorizeQueryFulfillmentAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAlicomOrderPreauthorizeQueryFulfillmentAPIRequest) GetPreAuthorizeModel added in v1.2.0

PreAuthorizeModel Getter

func (*AlibabaAlicomOrderPreauthorizeQueryFulfillmentAPIRequest) SetPreAuthorizeModel added in v1.2.0

func (r *AlibabaAlicomOrderPreauthorizeQueryFulfillmentAPIRequest) SetPreAuthorizeModel(_preAuthorizeModel *PreAuthorizeModel) error

PreAuthorizeModel Setter 入参

type AlibabaAlicomOrderPreauthorizeQueryFulfillmentAPIResponse

type AlibabaAlicomOrderPreauthorizeQueryFulfillmentAPIResponse struct {
	model.CommonResponse
	AlibabaAlicomOrderPreauthorizeQueryFulfillmentAPIResponseModel
}

履约结果查询 API返回值 alibaba.alicom.order.preauthorize.query.fulfillment

预授权-履约结果查询

type AlibabaAlicomOrderPreauthorizeQueryFulfillmentAPIResponseModel added in v1.2.0

type AlibabaAlicomOrderPreauthorizeQueryFulfillmentAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alicom_order_preauthorize_query_fulfillment_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口结果
	Result *CommonResult `json:"result,omitempty" xml:"result,omitempty"`
}

履约结果查询 成功返回结果

type AlibabaAlicomOrderPreauthorizeQueryFundAPIRequest added in v1.2.0

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

资金流水查询 API请求 alibaba.alicom.order.preauthorize.query.fund

预授权-资金流水查询

func NewAlibabaAlicomOrderPreauthorizeQueryFundRequest

func NewAlibabaAlicomOrderPreauthorizeQueryFundRequest() *AlibabaAlicomOrderPreauthorizeQueryFundAPIRequest

初始化AlibabaAlicomOrderPreauthorizeQueryFundAPIRequest对象

func (AlibabaAlicomOrderPreauthorizeQueryFundAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlicomOrderPreauthorizeQueryFundAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAlicomOrderPreauthorizeQueryFundAPIRequest) GetPreAuthorizeModel added in v1.2.0

PreAuthorizeModel Getter

func (*AlibabaAlicomOrderPreauthorizeQueryFundAPIRequest) SetPreAuthorizeModel added in v1.2.0

func (r *AlibabaAlicomOrderPreauthorizeQueryFundAPIRequest) SetPreAuthorizeModel(_preAuthorizeModel *PreAuthorizeModel) error

PreAuthorizeModel Setter 入参

type AlibabaAlicomOrderPreauthorizeQueryFundAPIResponse

type AlibabaAlicomOrderPreauthorizeQueryFundAPIResponse struct {
	model.CommonResponse
	AlibabaAlicomOrderPreauthorizeQueryFundAPIResponseModel
}

资金流水查询 API返回值 alibaba.alicom.order.preauthorize.query.fund

预授权-资金流水查询

type AlibabaAlicomOrderPreauthorizeQueryFundAPIResponseModel added in v1.2.0

type AlibabaAlicomOrderPreauthorizeQueryFundAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alicom_order_preauthorize_query_fund_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口结果
	Result *CommonResult `json:"result,omitempty" xml:"result,omitempty"`
}

资金流水查询 成功返回结果

type AlibabaAlicomVtOpentradeGetproductinfoAPIRequest added in v1.2.0

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

查询新虚拟产品配置信息 API请求 alibaba.alicom.vt.opentrade.getproductinfo

话费宝查询产品信息相关配置

func NewAlibabaAlicomVtOpentradeGetproductinfoRequest

func NewAlibabaAlicomVtOpentradeGetproductinfoRequest() *AlibabaAlicomVtOpentradeGetproductinfoAPIRequest

初始化AlibabaAlicomVtOpentradeGetproductinfoAPIRequest对象

func (AlibabaAlicomVtOpentradeGetproductinfoAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlicomVtOpentradeGetproductinfoAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAlicomVtOpentradeGetproductinfoAPIRequest) GetBizType added in v1.2.0

BizType Getter

func (AlibabaAlicomVtOpentradeGetproductinfoAPIRequest) GetProductId added in v1.2.0

ProductId Getter

func (*AlibabaAlicomVtOpentradeGetproductinfoAPIRequest) SetBizType added in v1.2.0

BizType Setter 类型

func (*AlibabaAlicomVtOpentradeGetproductinfoAPIRequest) SetProductId added in v1.2.0

ProductId Setter 阿里通信产品ID

type AlibabaAlicomVtOpentradeGetproductinfoAPIResponse

type AlibabaAlicomVtOpentradeGetproductinfoAPIResponse struct {
	model.CommonResponse
	AlibabaAlicomVtOpentradeGetproductinfoAPIResponseModel
}

查询新虚拟产品配置信息 API返回值 alibaba.alicom.vt.opentrade.getproductinfo

话费宝查询产品信息相关配置

type AlibabaAlicomVtOpentradeGetproductinfoAPIResponseModel added in v1.2.0

type AlibabaAlicomVtOpentradeGetproductinfoAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alicom_vt_opentrade_getproductinfo_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TopResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

查询新虚拟产品配置信息 成功返回结果

type AlibabaAlicomWttOpentradeCreateorderAPIRequest added in v1.2.0

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

充值送活动下单接口 API请求 alibaba.alicom.wtt.opentrade.createorder

提供给话费宝创建淘宝订单

func NewAlibabaAlicomWttOpentradeCreateorderRequest

func NewAlibabaAlicomWttOpentradeCreateorderRequest() *AlibabaAlicomWttOpentradeCreateorderAPIRequest

初始化AlibabaAlicomWttOpentradeCreateorderAPIRequest对象

func (AlibabaAlicomWttOpentradeCreateorderAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlicomWttOpentradeCreateorderAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAlicomWttOpentradeCreateorderAPIRequest) GetParam0 added in v1.2.0

Param0 Getter

func (*AlibabaAlicomWttOpentradeCreateorderAPIRequest) SetParam0 added in v1.2.0

Param0 Setter 入参请求说明

type AlibabaAlicomWttOpentradeCreateorderAPIResponse

type AlibabaAlicomWttOpentradeCreateorderAPIResponse struct {
	model.CommonResponse
	AlibabaAlicomWttOpentradeCreateorderAPIResponseModel
}

充值送活动下单接口 API返回值 alibaba.alicom.wtt.opentrade.createorder

提供给话费宝创建淘宝订单

type AlibabaAlicomWttOpentradeCreateorderAPIResponseModel added in v1.2.0

type AlibabaAlicomWttOpentradeCreateorderAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alicom_wtt_opentrade_createorder_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TopResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

充值送活动下单接口 成功返回结果

type AlibabaAlicomWttOpentradeGetgiftdetailsAPIRequest added in v1.2.0

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

存送业务查询奖品信息 API请求 alibaba.alicom.wtt.opentrade.getgiftdetails

话费宝充值送查询奖品信息

func NewAlibabaAlicomWttOpentradeGetgiftdetailsRequest

func NewAlibabaAlicomWttOpentradeGetgiftdetailsRequest() *AlibabaAlicomWttOpentradeGetgiftdetailsAPIRequest

初始化AlibabaAlicomWttOpentradeGetgiftdetailsAPIRequest对象

func (AlibabaAlicomWttOpentradeGetgiftdetailsAPIRequest) GetActivityId added in v1.2.0

ActivityId Getter

func (AlibabaAlicomWttOpentradeGetgiftdetailsAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlicomWttOpentradeGetgiftdetailsAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (*AlibabaAlicomWttOpentradeGetgiftdetailsAPIRequest) SetActivityId added in v1.2.0

func (r *AlibabaAlicomWttOpentradeGetgiftdetailsAPIRequest) SetActivityId(_activityId string) error

ActivityId Setter 活动ID

type AlibabaAlicomWttOpentradeGetgiftdetailsAPIResponse

type AlibabaAlicomWttOpentradeGetgiftdetailsAPIResponse struct {
	model.CommonResponse
	AlibabaAlicomWttOpentradeGetgiftdetailsAPIResponseModel
}

存送业务查询奖品信息 API返回值 alibaba.alicom.wtt.opentrade.getgiftdetails

话费宝充值送查询奖品信息

type AlibabaAlicomWttOpentradeGetgiftdetailsAPIResponseModel added in v1.2.0

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

存送业务查询奖品信息 成功返回结果

type AlibabaAlicomWttOpentradeGetproductinfoAPIRequest added in v1.2.0

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

查询存送产品信息 API请求 alibaba.alicom.wtt.opentrade.getproductinfo

话费宝查询产品信息相关配置

func NewAlibabaAlicomWttOpentradeGetproductinfoRequest

func NewAlibabaAlicomWttOpentradeGetproductinfoRequest() *AlibabaAlicomWttOpentradeGetproductinfoAPIRequest

初始化AlibabaAlicomWttOpentradeGetproductinfoAPIRequest对象

func (AlibabaAlicomWttOpentradeGetproductinfoAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlicomWttOpentradeGetproductinfoAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAlicomWttOpentradeGetproductinfoAPIRequest) GetBizType added in v1.2.0

BizType Getter

func (AlibabaAlicomWttOpentradeGetproductinfoAPIRequest) GetProductId added in v1.2.0

ProductId Getter

func (*AlibabaAlicomWttOpentradeGetproductinfoAPIRequest) SetBizType added in v1.2.0

BizType Setter 类型

func (*AlibabaAlicomWttOpentradeGetproductinfoAPIRequest) SetProductId added in v1.2.0

ProductId Setter 阿里通信产品ID

type AlibabaAlicomWttOpentradeGetproductinfoAPIResponse

type AlibabaAlicomWttOpentradeGetproductinfoAPIResponse struct {
	model.CommonResponse
	AlibabaAlicomWttOpentradeGetproductinfoAPIResponseModel
}

查询存送产品信息 API返回值 alibaba.alicom.wtt.opentrade.getproductinfo

话费宝查询产品信息相关配置

type AlibabaAlicomWttOpentradeGetproductinfoAPIResponseModel added in v1.2.0

type AlibabaAlicomWttOpentradeGetproductinfoAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alicom_wtt_opentrade_getproductinfo_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TopResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

查询存送产品信息 成功返回结果

type AlibabaAliqinAxbVendorCallControlAPIRequest added in v1.2.0

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

转呼控制接口 API请求 alibaba.aliqin.axb.vendor.call.control

转呼控制接口,用于查询小号绑定关系,控制呼叫转接目标

func NewAlibabaAliqinAxbVendorCallControlRequest

func NewAlibabaAliqinAxbVendorCallControlRequest() *AlibabaAliqinAxbVendorCallControlAPIRequest

初始化AlibabaAliqinAxbVendorCallControlAPIRequest对象

func (AlibabaAliqinAxbVendorCallControlAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinAxbVendorCallControlAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinAxbVendorCallControlAPIRequest) GetStartCallRequest added in v1.2.0

StartCallRequest Getter

func (*AlibabaAliqinAxbVendorCallControlAPIRequest) SetStartCallRequest added in v1.2.0

func (r *AlibabaAliqinAxbVendorCallControlAPIRequest) SetStartCallRequest(_startCallRequest *StartCallRequest) error

StartCallRequest Setter 转接控制接口request对象

type AlibabaAliqinAxbVendorCallControlAPIResponse

type AlibabaAliqinAxbVendorCallControlAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinAxbVendorCallControlAPIResponseModel
}

转呼控制接口 API返回值 alibaba.aliqin.axb.vendor.call.control

转呼控制接口,用于查询小号绑定关系,控制呼叫转接目标

type AlibabaAliqinAxbVendorCallControlAPIResponseModel added in v1.2.0

type AlibabaAliqinAxbVendorCallControlAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_axb_vendor_call_control_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 转呼控制接口响应
	Result *AlibabaAliqinAxbVendorCallControlResponse `json:"result,omitempty" xml:"result,omitempty"`
}

转呼控制接口 成功返回结果

type AlibabaAliqinAxbVendorCallControlResponse

type AlibabaAliqinAxbVendorCallControlResponse struct {
	// 转呼控制msg
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// module
	ControlRespDto *ControlRespDto `json:"control_resp_dto,omitempty" xml:"control_resp_dto,omitempty"`
}

AlibabaAliqinAxbVendorCallControlResponse

type AlibabaAliqinAxbVendorExceptionNoSyncAPIRequest added in v1.2.0

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

中心化供应商异常号码状态同步接口 API请求 alibaba.aliqin.axb.vendor.exception.no.sync

用于中心化供应商同步异常号码

func NewAlibabaAliqinAxbVendorExceptionNoSyncRequest

func NewAlibabaAliqinAxbVendorExceptionNoSyncRequest() *AlibabaAliqinAxbVendorExceptionNoSyncAPIRequest

初始化AlibabaAliqinAxbVendorExceptionNoSyncAPIRequest对象

func (AlibabaAliqinAxbVendorExceptionNoSyncAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinAxbVendorExceptionNoSyncAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinAxbVendorExceptionNoSyncAPIRequest) GetExceptionMsg added in v1.2.0

ExceptionMsg Getter

func (AlibabaAliqinAxbVendorExceptionNoSyncAPIRequest) GetSecretNo added in v1.2.0

SecretNo Getter

func (AlibabaAliqinAxbVendorExceptionNoSyncAPIRequest) GetStatus added in v1.2.0

Status Getter

func (AlibabaAliqinAxbVendorExceptionNoSyncAPIRequest) GetVendorKey added in v1.2.0

VendorKey Getter

func (*AlibabaAliqinAxbVendorExceptionNoSyncAPIRequest) SetExceptionMsg added in v1.2.0

func (r *AlibabaAliqinAxbVendorExceptionNoSyncAPIRequest) SetExceptionMsg(_exceptionMsg string) error

ExceptionMsg Setter 异常的原因

func (*AlibabaAliqinAxbVendorExceptionNoSyncAPIRequest) SetSecretNo added in v1.2.0

SecretNo Setter 异常的中间号码

func (*AlibabaAliqinAxbVendorExceptionNoSyncAPIRequest) SetStatus added in v1.2.0

Status Setter 0-异常状态 1-可恢复正常使用

func (*AlibabaAliqinAxbVendorExceptionNoSyncAPIRequest) SetVendorKey added in v1.2.0

func (r *AlibabaAliqinAxbVendorExceptionNoSyncAPIRequest) SetVendorKey(_vendorKey string) error

VendorKey Setter 供应商KEY

type AlibabaAliqinAxbVendorExceptionNoSyncAPIResponse

type AlibabaAliqinAxbVendorExceptionNoSyncAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinAxbVendorExceptionNoSyncAPIResponseModel
}

中心化供应商异常号码状态同步接口 API返回值 alibaba.aliqin.axb.vendor.exception.no.sync

用于中心化供应商同步异常号码

type AlibabaAliqinAxbVendorExceptionNoSyncAPIResponseModel added in v1.2.0

type AlibabaAliqinAxbVendorExceptionNoSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_axb_vendor_exception_no_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AlibabaAliqinAxbVendorExceptionNoSyncResponse `json:"result,omitempty" xml:"result,omitempty"`
}

中心化供应商异常号码状态同步接口 成功返回结果

type AlibabaAliqinAxbVendorExceptionNoSyncResponse

type AlibabaAliqinAxbVendorExceptionNoSyncResponse struct {
	// 错误信息,OK代表受理成功
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// module
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
	// 错误码,OK代表受理成功
	Code string `json:"code,omitempty" xml:"code,omitempty"`
}

AlibabaAliqinAxbVendorExceptionNoSyncResponse

type AlibabaAliqinAxbVendorHeartBeatAPIRequest added in v1.2.0

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

供应商心跳上报接口 API请求 alibaba.aliqin.axb.vendor.heart.beat

供应商上报自己的心跳信息

func NewAlibabaAliqinAxbVendorHeartBeatRequest

func NewAlibabaAliqinAxbVendorHeartBeatRequest() *AlibabaAliqinAxbVendorHeartBeatAPIRequest

初始化AlibabaAliqinAxbVendorHeartBeatAPIRequest对象

func (AlibabaAliqinAxbVendorHeartBeatAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinAxbVendorHeartBeatAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinAxbVendorHeartBeatAPIRequest) GetStatus added in v1.2.0

Status Getter

func (AlibabaAliqinAxbVendorHeartBeatAPIRequest) GetVendorKey added in v1.2.0

VendorKey Getter

func (*AlibabaAliqinAxbVendorHeartBeatAPIRequest) SetStatus added in v1.2.0

Status Setter 可选的预留字段

func (*AlibabaAliqinAxbVendorHeartBeatAPIRequest) SetVendorKey added in v1.2.0

func (r *AlibabaAliqinAxbVendorHeartBeatAPIRequest) SetVendorKey(_vendorKey string) error

VendorKey Setter 供应商合作KEY

type AlibabaAliqinAxbVendorHeartBeatAPIResponse

type AlibabaAliqinAxbVendorHeartBeatAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinAxbVendorHeartBeatAPIResponseModel
}

供应商心跳上报接口 API返回值 alibaba.aliqin.axb.vendor.heart.beat

供应商上报自己的心跳信息

type AlibabaAliqinAxbVendorHeartBeatAPIResponseModel added in v1.2.0

type AlibabaAliqinAxbVendorHeartBeatAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_axb_vendor_heart_beat_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AlibabaAliqinAxbVendorHeartBeatResponse `json:"result,omitempty" xml:"result,omitempty"`
}

供应商心跳上报接口 成功返回结果

type AlibabaAliqinAxbVendorHeartBeatResponse

type AlibabaAliqinAxbVendorHeartBeatResponse struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// module
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
}

AlibabaAliqinAxbVendorHeartBeatResponse

type AlibabaAliqinAxbVendorPushCallReleaseAPIRequest added in v1.2.0

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

供应商推送通话结束事件 API请求 alibaba.aliqin.axb.vendor.push.call.release

通话结束挂断的时候,供应商推送通话结束事件给阿里侧

func NewAlibabaAliqinAxbVendorPushCallReleaseRequest

func NewAlibabaAliqinAxbVendorPushCallReleaseRequest() *AlibabaAliqinAxbVendorPushCallReleaseAPIRequest

初始化AlibabaAliqinAxbVendorPushCallReleaseAPIRequest对象

func (AlibabaAliqinAxbVendorPushCallReleaseAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinAxbVendorPushCallReleaseAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinAxbVendorPushCallReleaseAPIRequest) GetEndCallRequest added in v1.2.0

EndCallRequest Getter

func (*AlibabaAliqinAxbVendorPushCallReleaseAPIRequest) SetEndCallRequest added in v1.2.0

func (r *AlibabaAliqinAxbVendorPushCallReleaseAPIRequest) SetEndCallRequest(_endCallRequest *EndCallRequest) error

EndCallRequest Setter end_call_request

type AlibabaAliqinAxbVendorPushCallReleaseAPIResponse

type AlibabaAliqinAxbVendorPushCallReleaseAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinAxbVendorPushCallReleaseAPIResponseModel
}

供应商推送通话结束事件 API返回值 alibaba.aliqin.axb.vendor.push.call.release

通话结束挂断的时候,供应商推送通话结束事件给阿里侧

type AlibabaAliqinAxbVendorPushCallReleaseAPIResponseModel added in v1.2.0

type AlibabaAliqinAxbVendorPushCallReleaseAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_axb_vendor_push_call_release_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AlibabaAliqinAxbVendorPushCallReleaseResponse `json:"result,omitempty" xml:"result,omitempty"`
}

供应商推送通话结束事件 成功返回结果

type AlibabaAliqinAxbVendorPushCallReleaseResponse

type AlibabaAliqinAxbVendorPushCallReleaseResponse struct {
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// module,此接口此字段可以不用判断,以外层CODE是否为OK来判断是否调用成
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
	// 业务响应码code为OK时代表请求成功,其他CODE建议做重试机制
	Code string `json:"code,omitempty" xml:"code,omitempty"`
}

AlibabaAliqinAxbVendorPushCallReleaseResponse

type AlibabaAliqinAxbVendorSmsInterceptAPIRequest added in v1.2.0

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

AXB短信托收推送接口 API请求 alibaba.aliqin.axb.vendor.sms.intercept

用于给供应商推送需要托收的短信

func NewAlibabaAliqinAxbVendorSmsInterceptRequest

func NewAlibabaAliqinAxbVendorSmsInterceptRequest() *AlibabaAliqinAxbVendorSmsInterceptAPIRequest

初始化AlibabaAliqinAxbVendorSmsInterceptAPIRequest对象

func (AlibabaAliqinAxbVendorSmsInterceptAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinAxbVendorSmsInterceptAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinAxbVendorSmsInterceptAPIRequest) GetSmsInterceptRequest added in v1.2.0

SmsInterceptRequest Getter

func (*AlibabaAliqinAxbVendorSmsInterceptAPIRequest) SetSmsInterceptRequest added in v1.2.0

func (r *AlibabaAliqinAxbVendorSmsInterceptAPIRequest) SetSmsInterceptRequest(_smsInterceptRequest *SmsInterceptRequest) error

SmsInterceptRequest Setter 短信托收结构体

type AlibabaAliqinAxbVendorSmsInterceptAPIResponse

type AlibabaAliqinAxbVendorSmsInterceptAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinAxbVendorSmsInterceptAPIResponseModel
}

AXB短信托收推送接口 API返回值 alibaba.aliqin.axb.vendor.sms.intercept

用于给供应商推送需要托收的短信

type AlibabaAliqinAxbVendorSmsInterceptAPIResponseModel added in v1.2.0

type AlibabaAliqinAxbVendorSmsInterceptAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_axb_vendor_sms_intercept_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应结构体
	Result *AlibabaAliqinAxbVendorSmsInterceptResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AXB短信托收推送接口 成功返回结果

type AlibabaAliqinAxbVendorSmsInterceptResponse

type AlibabaAliqinAxbVendorSmsInterceptResponse struct {
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 此字段忽略,只用判断code是否为OK
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
	// 响应的业务CODE:OK代表请求成功,非OK的错误码建议进行重试
	Code string `json:"code,omitempty" xml:"code,omitempty"`
}

AlibabaAliqinAxbVendorSmsInterceptResponse

type AlibabaAliqinFcVoiceGetdetailAPIRequest added in v1.2.0

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

获取呼叫详情 API请求 alibaba.aliqin.fc.voice.getdetail

通过呼叫id获取呼叫相关的数据

func NewAlibabaAliqinFcVoiceGetdetailRequest

func NewAlibabaAliqinFcVoiceGetdetailRequest() *AlibabaAliqinFcVoiceGetdetailAPIRequest

初始化AlibabaAliqinFcVoiceGetdetailAPIRequest对象

func (AlibabaAliqinFcVoiceGetdetailAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAliqinFcVoiceGetdetailAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAliqinFcVoiceGetdetailAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinFcVoiceGetdetailAPIRequest) GetCallId added in v1.2.0

CallId Getter

func (AlibabaAliqinFcVoiceGetdetailAPIRequest) GetProdId added in v1.2.0

ProdId Getter

func (AlibabaAliqinFcVoiceGetdetailAPIRequest) GetQueryDate added in v1.2.0

QueryDate Getter

func (*AlibabaAliqinFcVoiceGetdetailAPIRequest) SetCallId added in v1.2.0

CallId Setter 呼叫唯一ID

func (*AlibabaAliqinFcVoiceGetdetailAPIRequest) SetProdId added in v1.2.0

func (r *AlibabaAliqinFcVoiceGetdetailAPIRequest) SetProdId(_prodId int64) error

ProdId Setter 语音通知为:11000000300006, 语音验证码为:11010000138001, IVR为:11000000300005, 点击拨号为:11000000300004, SIP为:11000000300009

func (*AlibabaAliqinFcVoiceGetdetailAPIRequest) SetQueryDate added in v1.2.0

func (r *AlibabaAliqinFcVoiceGetdetailAPIRequest) SetQueryDate(_queryDate int64) error

QueryDate Setter Unix时间戳,会查询这个时间点对应那一天的记录(单位毫秒)

type AlibabaAliqinFcVoiceGetdetailAPIResponse

type AlibabaAliqinFcVoiceGetdetailAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFcVoiceGetdetailAPIResponseModel
}

获取呼叫详情 API返回值 alibaba.aliqin.fc.voice.getdetail

通过呼叫id获取呼叫相关的数据

type AlibabaAliqinFcVoiceGetdetailAPIResponseModel added in v1.2.0

type AlibabaAliqinFcVoiceGetdetailAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_fc_voice_getdetail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	AlicomCode string `json:"alicom_code,omitempty" xml:"alicom_code,omitempty"`
	// 错误信息
	AlicomMsg string `json:"alicom_msg,omitempty" xml:"alicom_msg,omitempty"`
	// 请求是否成功
	AlicomSuccess bool `json:"alicom_success,omitempty" xml:"alicom_success,omitempty"`
	// 返回值,在没有结果时为空。recordFile表示的是录音文件地址
	Model string `json:"model,omitempty" xml:"model,omitempty"`
}

获取呼叫详情 成功返回结果

type AlibabaAliqinFcVoiceNumCancelcallAPIRequest added in v1.2.0

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

取消呼叫 API请求 alibaba.aliqin.fc.voice.num.cancelcall

当通话通过阿里大于呼出后可以通过调用这个接口取消本次通话

func NewAlibabaAliqinFcVoiceNumCancelcallRequest

func NewAlibabaAliqinFcVoiceNumCancelcallRequest() *AlibabaAliqinFcVoiceNumCancelcallAPIRequest

初始化AlibabaAliqinFcVoiceNumCancelcallAPIRequest对象

func (AlibabaAliqinFcVoiceNumCancelcallAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinFcVoiceNumCancelcallAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinFcVoiceNumCancelcallAPIRequest) GetCallId added in v1.2.0

CallId Getter

func (*AlibabaAliqinFcVoiceNumCancelcallAPIRequest) SetCallId added in v1.2.0

CallId Setter 呼叫唯一id

type AlibabaAliqinFcVoiceNumCancelcallAPIResponse

type AlibabaAliqinFcVoiceNumCancelcallAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFcVoiceNumCancelcallAPIResponseModel
}

取消呼叫 API返回值 alibaba.aliqin.fc.voice.num.cancelcall

当通话通过阿里大于呼出后可以通过调用这个接口取消本次通话

type AlibabaAliqinFcVoiceNumCancelcallAPIResponseModel added in v1.2.0

type AlibabaAliqinFcVoiceNumCancelcallAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_fc_voice_num_cancelcall_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AlibabaAliqinFcVoiceNumCancelcallBizResult `json:"result,omitempty" xml:"result,omitempty"`
}

取消呼叫 成功返回结果

type AlibabaAliqinFcVoiceNumCancelcallBizResult

type AlibabaAliqinFcVoiceNumCancelcallBizResult struct {
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// model
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// msg
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// code
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
}

AlibabaAliqinFcVoiceNumCancelcallBizResult

type AlibabaAliqinFcVoiceRecordGeturlAPIRequest added in v1.2.0

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

录音文件下载 API请求 alibaba.aliqin.fc.voice.record.geturl

完成录音文件的下载地址获取操作

func NewAlibabaAliqinFcVoiceRecordGeturlRequest

func NewAlibabaAliqinFcVoiceRecordGeturlRequest() *AlibabaAliqinFcVoiceRecordGeturlAPIRequest

初始化AlibabaAliqinFcVoiceRecordGeturlAPIRequest对象

func (AlibabaAliqinFcVoiceRecordGeturlAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinFcVoiceRecordGeturlAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinFcVoiceRecordGeturlAPIRequest) GetCallId added in v1.2.0

CallId Getter

func (*AlibabaAliqinFcVoiceRecordGeturlAPIRequest) SetCallId added in v1.2.0

CallId Setter 一次通话的唯一标识id

type AlibabaAliqinFcVoiceRecordGeturlAPIResponse

type AlibabaAliqinFcVoiceRecordGeturlAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFcVoiceRecordGeturlAPIResponseModel
}

录音文件下载 API返回值 alibaba.aliqin.fc.voice.record.geturl

完成录音文件的下载地址获取操作

type AlibabaAliqinFcVoiceRecordGeturlAPIResponseModel added in v1.2.0

type AlibabaAliqinFcVoiceRecordGeturlAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_fc_voice_record_geturl_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AlibabaAliqinFcVoiceRecordGeturlResult `json:"result,omitempty" xml:"result,omitempty"`
}

录音文件下载 成功返回结果

type AlibabaAliqinFcVoiceRecordGeturlResult

type AlibabaAliqinFcVoiceRecordGeturlResult struct {
	// model
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// msg
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
}

AlibabaAliqinFcVoiceRecordGeturlResult

type AlibabaAliqinFlowAlipayIsbindingtbaccountAPIRequest added in v1.2.0

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

判断支付宝用户是否绑定淘宝账号 API请求 alibaba.aliqin.flow.alipay.isbindingtbaccount

判断支付宝用户是否绑定淘宝账号

func NewAlibabaAliqinFlowAlipayIsbindingtbaccountRequest

func NewAlibabaAliqinFlowAlipayIsbindingtbaccountRequest() *AlibabaAliqinFlowAlipayIsbindingtbaccountAPIRequest

初始化AlibabaAliqinFlowAlipayIsbindingtbaccountAPIRequest对象

func (AlibabaAliqinFlowAlipayIsbindingtbaccountAPIRequest) GetAlipayId added in v1.2.0

AlipayId Getter

func (AlibabaAliqinFlowAlipayIsbindingtbaccountAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinFlowAlipayIsbindingtbaccountAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (*AlibabaAliqinFlowAlipayIsbindingtbaccountAPIRequest) SetAlipayId added in v1.2.0

AlipayId Setter 支付宝ID

type AlibabaAliqinFlowAlipayIsbindingtbaccountAPIResponse

type AlibabaAliqinFlowAlipayIsbindingtbaccountAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFlowAlipayIsbindingtbaccountAPIResponseModel
}

判断支付宝用户是否绑定淘宝账号 API返回值 alibaba.aliqin.flow.alipay.isbindingtbaccount

判断支付宝用户是否绑定淘宝账号

type AlibabaAliqinFlowAlipayIsbindingtbaccountAPIResponseModel added in v1.2.0

type AlibabaAliqinFlowAlipayIsbindingtbaccountAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_flow_alipay_isbindingtbaccount_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// error
	Error bool `json:"error,omitempty" xml:"error,omitempty"`
	// TRUE代表绑定,FALSE代表未绑定
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// errorCode
	AlicomFlowErrorCode string `json:"alicom_flow_error_code,omitempty" xml:"alicom_flow_error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

判断支付宝用户是否绑定淘宝账号 成功返回结果

type AlibabaAliqinFlowAlipayPublishAPIRequest added in v1.2.0

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

流量钱包流量发放-面向支付宝用户 API请求 alibaba.aliqin.flow.alipay.publish

用户淘宝流量钱包商家给支付宝用户发放流量

func NewAlibabaAliqinFlowAlipayPublishRequest

func NewAlibabaAliqinFlowAlipayPublishRequest() *AlibabaAliqinFlowAlipayPublishAPIRequest

初始化AlibabaAliqinFlowAlipayPublishAPIRequest对象

func (AlibabaAliqinFlowAlipayPublishAPIRequest) GetAlipayId added in v1.2.0

AlipayId Getter

func (AlibabaAliqinFlowAlipayPublishAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAliqinFlowAlipayPublishAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAliqinFlowAlipayPublishAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinFlowAlipayPublishAPIRequest) GetFlow added in v1.2.0

Flow Getter

func (AlibabaAliqinFlowAlipayPublishAPIRequest) GetReason added in v1.2.0

Reason Getter

func (AlibabaAliqinFlowAlipayPublishAPIRequest) GetSerial added in v1.2.0

Serial Getter

func (*AlibabaAliqinFlowAlipayPublishAPIRequest) SetAlipayId added in v1.2.0

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

AlipayId Setter 用户的支付宝ID

func (*AlibabaAliqinFlowAlipayPublishAPIRequest) SetFlow added in v1.2.0

Flow Setter 发放的流量数,单位MB

func (*AlibabaAliqinFlowAlipayPublishAPIRequest) SetReason added in v1.2.0

Reason Setter 发放原因

func (*AlibabaAliqinFlowAlipayPublishAPIRequest) SetSerial added in v1.2.0

Serial Setter 外部流水号,用来做幂等校验

type AlibabaAliqinFlowAlipayPublishAPIResponse

type AlibabaAliqinFlowAlipayPublishAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFlowAlipayPublishAPIResponseModel
}

流量钱包流量发放-面向支付宝用户 API返回值 alibaba.aliqin.flow.alipay.publish

用户淘宝流量钱包商家给支付宝用户发放流量

type AlibabaAliqinFlowAlipayPublishAPIResponseModel added in v1.2.0

type AlibabaAliqinFlowAlipayPublishAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_flow_alipay_publish_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// error
	Error bool `json:"error,omitempty" xml:"error,omitempty"`
	// value
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// errorCode
	AlicomErrorCode string `json:"alicom_error_code,omitempty" xml:"alicom_error_code,omitempty"`
	// errorMsg
	AlicomErrorMsg string `json:"alicom_error_msg,omitempty" xml:"alicom_error_msg,omitempty"`
}

流量钱包流量发放-面向支付宝用户 成功返回结果

type AlibabaAliqinFlowCobrandcardSysnAPIRequest added in v1.2.0

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

联名卡信息同步 API请求 alibaba.aliqin.flow.cobrandcard.sysn

提供给浙江移动同步联名卡信息接口。

func NewAlibabaAliqinFlowCobrandcardSysnRequest

func NewAlibabaAliqinFlowCobrandcardSysnRequest() *AlibabaAliqinFlowCobrandcardSysnAPIRequest

初始化AlibabaAliqinFlowCobrandcardSysnAPIRequest对象

func (AlibabaAliqinFlowCobrandcardSysnAPIRequest) GetAction added in v1.2.0

Action Getter

func (AlibabaAliqinFlowCobrandcardSysnAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinFlowCobrandcardSysnAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinFlowCobrandcardSysnAPIRequest) GetCardType added in v1.2.0

CardType Getter

func (AlibabaAliqinFlowCobrandcardSysnAPIRequest) GetPhone added in v1.2.0

Phone Getter

func (AlibabaAliqinFlowCobrandcardSysnAPIRequest) GetTbUserNick added in v1.2.0

TbUserNick Getter

func (*AlibabaAliqinFlowCobrandcardSysnAPIRequest) SetAction added in v1.2.0

Action Setter 1-激活,0-失效

func (*AlibabaAliqinFlowCobrandcardSysnAPIRequest) SetCardType added in v1.2.0

func (r *AlibabaAliqinFlowCobrandcardSysnAPIRequest) SetCardType(_cardType string) error

CardType Setter 联名卡类型cardType:1-大喵卡,2-小喵卡

func (*AlibabaAliqinFlowCobrandcardSysnAPIRequest) SetPhone added in v1.2.0

Phone Setter 手机号码

func (*AlibabaAliqinFlowCobrandcardSysnAPIRequest) SetTbUserNick added in v1.2.0

func (r *AlibabaAliqinFlowCobrandcardSysnAPIRequest) SetTbUserNick(_tbUserNick string) error

TbUserNick Setter 淘宝nick

type AlibabaAliqinFlowCobrandcardSysnAPIResponse

type AlibabaAliqinFlowCobrandcardSysnAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFlowCobrandcardSysnAPIResponseModel
}

联名卡信息同步 API返回值 alibaba.aliqin.flow.cobrandcard.sysn

提供给浙江移动同步联名卡信息接口。

type AlibabaAliqinFlowCobrandcardSysnAPIResponseModel added in v1.2.0

type AlibabaAliqinFlowCobrandcardSysnAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_flow_cobrandcard_sysn_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// errorCode,错误码
	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// errorMsg,错误描述
	BizErrorMsg string `json:"biz_error_msg,omitempty" xml:"biz_error_msg,omitempty"`
	// 是否请求成功true 或者false
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// error,如果有错,这个为true
	Error bool `json:"error,omitempty" xml:"error,omitempty"`
}

联名卡信息同步 成功返回结果

type AlibabaAliqinFlowPublishAPIRequest added in v1.2.0

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

流量发放(用户id) API请求 alibaba.aliqin.flow.publish

阿里通信流量下发功能,允许用户补发

func NewAlibabaAliqinFlowPublishRequest

func NewAlibabaAliqinFlowPublishRequest() *AlibabaAliqinFlowPublishAPIRequest

初始化AlibabaAliqinFlowPublishAPIRequest对象

func (AlibabaAliqinFlowPublishAPIRequest) GetAlways added in v1.2.0

Always Getter

func (AlibabaAliqinFlowPublishAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAliqinFlowPublishAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAliqinFlowPublishAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinFlowPublishAPIRequest) GetFlow added in v1.2.0

Flow Getter

func (AlibabaAliqinFlowPublishAPIRequest) GetReason added in v1.2.0

Reason Getter

func (AlibabaAliqinFlowPublishAPIRequest) GetSerial added in v1.2.0

Serial Getter

func (AlibabaAliqinFlowPublishAPIRequest) GetUserId added in v1.2.0

UserId Getter

func (*AlibabaAliqinFlowPublishAPIRequest) SetAlways added in v1.2.0

func (r *AlibabaAliqinFlowPublishAPIRequest) SetAlways(_always string) error

Always Setter 设置true为始终发送成功

func (*AlibabaAliqinFlowPublishAPIRequest) SetFlow added in v1.2.0

Flow Setter 流量

func (*AlibabaAliqinFlowPublishAPIRequest) SetReason added in v1.2.0

func (r *AlibabaAliqinFlowPublishAPIRequest) SetReason(_reason string) error

Reason Setter 原因

func (*AlibabaAliqinFlowPublishAPIRequest) SetSerial added in v1.2.0

func (r *AlibabaAliqinFlowPublishAPIRequest) SetSerial(_serial string) error

Serial Setter 唯一流水号(字母+数字)

func (*AlibabaAliqinFlowPublishAPIRequest) SetUserId added in v1.2.0

func (r *AlibabaAliqinFlowPublishAPIRequest) SetUserId(_userId string) error

UserId Setter 用户id

type AlibabaAliqinFlowPublishAPIResponse

type AlibabaAliqinFlowPublishAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFlowPublishAPIResponseModel
}

流量发放(用户id) API返回值 alibaba.aliqin.flow.publish

阿里通信流量下发功能,允许用户补发

type AlibabaAliqinFlowPublishAPIResponseModel added in v1.2.0

type AlibabaAliqinFlowPublishAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_flow_publish_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// true为成功,其他为失败
	Value string `json:"value,omitempty" xml:"value,omitempty"`
}

流量发放(用户id) 成功返回结果

type AlibabaAliqinFlowWalletChargeAPIRequest added in v1.2.0

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

流量直充 API请求 alibaba.aliqin.flow.wallet.charge

流量直充

func NewAlibabaAliqinFlowWalletChargeRequest

func NewAlibabaAliqinFlowWalletChargeRequest() *AlibabaAliqinFlowWalletChargeAPIRequest

初始化AlibabaAliqinFlowWalletChargeAPIRequest对象

func (AlibabaAliqinFlowWalletChargeAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAliqinFlowWalletChargeAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAliqinFlowWalletChargeAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinFlowWalletChargeAPIRequest) GetChannelId added in v1.2.0

ChannelId Getter

func (AlibabaAliqinFlowWalletChargeAPIRequest) GetGradeId added in v1.2.0

GradeId Getter

func (AlibabaAliqinFlowWalletChargeAPIRequest) GetOutRechargeId added in v1.2.0

func (r AlibabaAliqinFlowWalletChargeAPIRequest) GetOutRechargeId() string

OutRechargeId Getter

func (AlibabaAliqinFlowWalletChargeAPIRequest) GetPhoneNum added in v1.2.0

PhoneNum Getter

func (AlibabaAliqinFlowWalletChargeAPIRequest) GetReason added in v1.2.0

Reason Getter

func (*AlibabaAliqinFlowWalletChargeAPIRequest) SetChannelId added in v1.2.0

func (r *AlibabaAliqinFlowWalletChargeAPIRequest) SetChannelId(_channelId string) error

ChannelId Setter 渠道id

func (*AlibabaAliqinFlowWalletChargeAPIRequest) SetGradeId added in v1.2.0

func (r *AlibabaAliqinFlowWalletChargeAPIRequest) SetGradeId(_gradeId string) error

GradeId Setter 档位id

func (*AlibabaAliqinFlowWalletChargeAPIRequest) SetOutRechargeId added in v1.2.0

func (r *AlibabaAliqinFlowWalletChargeAPIRequest) SetOutRechargeId(_outRechargeId string) error

OutRechargeId Setter 唯一流水号

func (*AlibabaAliqinFlowWalletChargeAPIRequest) SetPhoneNum added in v1.2.0

func (r *AlibabaAliqinFlowWalletChargeAPIRequest) SetPhoneNum(_phoneNum string) error

PhoneNum Setter 充值号码

func (*AlibabaAliqinFlowWalletChargeAPIRequest) SetReason added in v1.2.0

Reason Setter 原因

type AlibabaAliqinFlowWalletChargeAPIResponse

type AlibabaAliqinFlowWalletChargeAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFlowWalletChargeAPIResponseModel
}

流量直充 API返回值 alibaba.aliqin.flow.wallet.charge

流量直充

type AlibabaAliqinFlowWalletChargeAPIResponseModel added in v1.2.0

type AlibabaAliqinFlowWalletChargeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_flow_wallet_charge_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 充值请求
	Charge string `json:"charge,omitempty" xml:"charge,omitempty"`
}

流量直充 成功返回结果

type AlibabaAliqinFlowWalletChargeRuleAPIRequest added in v1.2.0

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

流量钱包直充(根据号码归属地省份路由) API请求 alibaba.aliqin.flow.wallet.charge.rule

流量钱包直充(根据号码归属地省份路由)

func NewAlibabaAliqinFlowWalletChargeRuleRequest

func NewAlibabaAliqinFlowWalletChargeRuleRequest() *AlibabaAliqinFlowWalletChargeRuleAPIRequest

初始化AlibabaAliqinFlowWalletChargeRuleAPIRequest对象

func (AlibabaAliqinFlowWalletChargeRuleAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinFlowWalletChargeRuleAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinFlowWalletChargeRuleAPIRequest) GetChannelId added in v1.2.0

ChannelId Getter

func (AlibabaAliqinFlowWalletChargeRuleAPIRequest) GetGradeId added in v1.2.0

GradeId Getter

func (AlibabaAliqinFlowWalletChargeRuleAPIRequest) GetOutRechargeId added in v1.2.0

OutRechargeId Getter

func (AlibabaAliqinFlowWalletChargeRuleAPIRequest) GetPhoneNum added in v1.2.0

PhoneNum Getter

func (AlibabaAliqinFlowWalletChargeRuleAPIRequest) GetReason added in v1.2.0

Reason Getter

func (*AlibabaAliqinFlowWalletChargeRuleAPIRequest) SetChannelId added in v1.2.0

func (r *AlibabaAliqinFlowWalletChargeRuleAPIRequest) SetChannelId(_channelId string) error

ChannelId Setter 渠道id(运营分配)

func (*AlibabaAliqinFlowWalletChargeRuleAPIRequest) SetGradeId added in v1.2.0

GradeId Setter 档位id

func (*AlibabaAliqinFlowWalletChargeRuleAPIRequest) SetOutRechargeId added in v1.2.0

func (r *AlibabaAliqinFlowWalletChargeRuleAPIRequest) SetOutRechargeId(_outRechargeId string) error

OutRechargeId Setter 唯一流水号

func (*AlibabaAliqinFlowWalletChargeRuleAPIRequest) SetPhoneNum added in v1.2.0

func (r *AlibabaAliqinFlowWalletChargeRuleAPIRequest) SetPhoneNum(_phoneNum string) error

PhoneNum Setter 号码

func (*AlibabaAliqinFlowWalletChargeRuleAPIRequest) SetReason added in v1.2.0

Reason Setter 原因

type AlibabaAliqinFlowWalletChargeRuleAPIResponse

type AlibabaAliqinFlowWalletChargeRuleAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFlowWalletChargeRuleAPIResponseModel
}

流量钱包直充(根据号码归属地省份路由) API返回值 alibaba.aliqin.flow.wallet.charge.rule

流量钱包直充(根据号码归属地省份路由)

type AlibabaAliqinFlowWalletChargeRuleAPIResponseModel added in v1.2.0

type AlibabaAliqinFlowWalletChargeRuleAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_flow_wallet_charge_rule_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// {"error":"true","msg":"返回信息"}
	Charge string `json:"charge,omitempty" xml:"charge,omitempty"`
}

流量钱包直充(根据号码归属地省份路由) 成功返回结果

type AlibabaAliqinFlowWalletConsumeAPIRequest added in v1.2.0

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

流量扣减 API请求 alibaba.aliqin.flow.wallet.consume

流量钱包流量扣减接口

func NewAlibabaAliqinFlowWalletConsumeRequest

func NewAlibabaAliqinFlowWalletConsumeRequest() *AlibabaAliqinFlowWalletConsumeAPIRequest

初始化AlibabaAliqinFlowWalletConsumeAPIRequest对象

func (AlibabaAliqinFlowWalletConsumeAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAliqinFlowWalletConsumeAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAliqinFlowWalletConsumeAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinFlowWalletConsumeAPIRequest) GetFlow added in v1.2.0

Flow Getter

func (AlibabaAliqinFlowWalletConsumeAPIRequest) GetReason added in v1.2.0

Reason Getter

func (AlibabaAliqinFlowWalletConsumeAPIRequest) GetRemark added in v1.2.0

Remark Getter

func (AlibabaAliqinFlowWalletConsumeAPIRequest) GetSerialNo added in v1.2.0

SerialNo Getter

func (*AlibabaAliqinFlowWalletConsumeAPIRequest) SetFlow added in v1.2.0

Flow Setter 扣减流量值

func (*AlibabaAliqinFlowWalletConsumeAPIRequest) SetReason added in v1.2.0

Reason Setter 扣减原因

func (*AlibabaAliqinFlowWalletConsumeAPIRequest) SetRemark added in v1.2.0

Remark Setter 备注

func (*AlibabaAliqinFlowWalletConsumeAPIRequest) SetSerialNo added in v1.2.0

func (r *AlibabaAliqinFlowWalletConsumeAPIRequest) SetSerialNo(_serialNo string) error

SerialNo Setter 扣减流水号

type AlibabaAliqinFlowWalletConsumeAPIResponse

type AlibabaAliqinFlowWalletConsumeAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFlowWalletConsumeAPIResponseModel
}

流量扣减 API返回值 alibaba.aliqin.flow.wallet.consume

流量钱包流量扣减接口

type AlibabaAliqinFlowWalletConsumeAPIResponseModel added in v1.2.0

type AlibabaAliqinFlowWalletConsumeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_flow_wallet_consume_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// true为成功
	Value string `json:"value,omitempty" xml:"value,omitempty"`
}

流量扣减 成功返回结果

type AlibabaAliqinFlowWalletGradeAPIRequest added in v1.2.0

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

获取流量档位 API请求 alibaba.aliqin.flow.wallet.grade

获取直充流量档位

func NewAlibabaAliqinFlowWalletGradeRequest

func NewAlibabaAliqinFlowWalletGradeRequest() *AlibabaAliqinFlowWalletGradeAPIRequest

初始化AlibabaAliqinFlowWalletGradeAPIRequest对象

func (AlibabaAliqinFlowWalletGradeAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAliqinFlowWalletGradeAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAliqinFlowWalletGradeAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinFlowWalletGradeAPIRequest) GetPhoneNum added in v1.2.0

PhoneNum Getter

func (*AlibabaAliqinFlowWalletGradeAPIRequest) SetPhoneNum added in v1.2.0

func (r *AlibabaAliqinFlowWalletGradeAPIRequest) SetPhoneNum(_phoneNum string) error

PhoneNum Setter 手机号码

type AlibabaAliqinFlowWalletGradeAPIResponse

type AlibabaAliqinFlowWalletGradeAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFlowWalletGradeAPIResponseModel
}

获取流量档位 API返回值 alibaba.aliqin.flow.wallet.grade

获取直充流量档位

type AlibabaAliqinFlowWalletGradeAPIResponseModel added in v1.2.0

type AlibabaAliqinFlowWalletGradeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_flow_wallet_grade_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 档位
	Grade string `json:"grade,omitempty" xml:"grade,omitempty"`
}

获取流量档位 成功返回结果

type AlibabaAliqinFlowWalletQueryChargeAPIRequest added in v1.2.0

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

查询流量充值状态 API请求 alibaba.aliqin.flow.wallet.query.charge

查询流量充值状态

func NewAlibabaAliqinFlowWalletQueryChargeRequest

func NewAlibabaAliqinFlowWalletQueryChargeRequest() *AlibabaAliqinFlowWalletQueryChargeAPIRequest

初始化AlibabaAliqinFlowWalletQueryChargeAPIRequest对象

func (AlibabaAliqinFlowWalletQueryChargeAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinFlowWalletQueryChargeAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinFlowWalletQueryChargeAPIRequest) GetChannelId added in v1.2.0

ChannelId Getter

func (AlibabaAliqinFlowWalletQueryChargeAPIRequest) GetOutRechargeId added in v1.2.0

OutRechargeId Getter

func (*AlibabaAliqinFlowWalletQueryChargeAPIRequest) SetChannelId added in v1.2.0

func (r *AlibabaAliqinFlowWalletQueryChargeAPIRequest) SetChannelId(_channelId string) error

ChannelId Setter 渠道id

func (*AlibabaAliqinFlowWalletQueryChargeAPIRequest) SetOutRechargeId added in v1.2.0

func (r *AlibabaAliqinFlowWalletQueryChargeAPIRequest) SetOutRechargeId(_outRechargeId string) error

OutRechargeId Setter 唯一流水号

type AlibabaAliqinFlowWalletQueryChargeAPIResponse

type AlibabaAliqinFlowWalletQueryChargeAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFlowWalletQueryChargeAPIResponseModel
}

查询流量充值状态 API返回值 alibaba.aliqin.flow.wallet.query.charge

查询流量充值状态

type AlibabaAliqinFlowWalletQueryChargeAPIResponseModel added in v1.2.0

type AlibabaAliqinFlowWalletQueryChargeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_flow_wallet_query_charge_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 充值状态
	Charge string `json:"charge,omitempty" xml:"charge,omitempty"`
}

查询流量充值状态 成功返回结果

type AlibabaAliqinFlowWalletSendFlowAPIRequest added in v1.2.0

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

流量发放 API请求 alibaba.aliqin.flow.wallet.send.flow

阿里通信流量下发功能,允许用户补发

func NewAlibabaAliqinFlowWalletSendFlowRequest

func NewAlibabaAliqinFlowWalletSendFlowRequest() *AlibabaAliqinFlowWalletSendFlowAPIRequest

初始化AlibabaAliqinFlowWalletSendFlowAPIRequest对象

func (AlibabaAliqinFlowWalletSendFlowAPIRequest) GetAlways added in v1.2.0

Always Getter

func (AlibabaAliqinFlowWalletSendFlowAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinFlowWalletSendFlowAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinFlowWalletSendFlowAPIRequest) GetBuyerNick added in v1.2.0

BuyerNick Getter

func (AlibabaAliqinFlowWalletSendFlowAPIRequest) GetFlow added in v1.2.0

Flow Getter

func (AlibabaAliqinFlowWalletSendFlowAPIRequest) GetRealNick added in v1.2.0

RealNick Getter

func (AlibabaAliqinFlowWalletSendFlowAPIRequest) GetReason added in v1.2.0

Reason Getter

func (AlibabaAliqinFlowWalletSendFlowAPIRequest) GetSerial added in v1.2.0

Serial Getter

func (*AlibabaAliqinFlowWalletSendFlowAPIRequest) SetAlways added in v1.2.0

Always Setter 设置true为始终发送成功

func (*AlibabaAliqinFlowWalletSendFlowAPIRequest) SetBuyerNick added in v1.2.0

func (r *AlibabaAliqinFlowWalletSendFlowAPIRequest) SetBuyerNick(_buyerNick string) error

BuyerNick Setter 混淆用户名

func (*AlibabaAliqinFlowWalletSendFlowAPIRequest) SetFlow added in v1.2.0

Flow Setter 流量

func (*AlibabaAliqinFlowWalletSendFlowAPIRequest) SetRealNick added in v1.2.0

func (r *AlibabaAliqinFlowWalletSendFlowAPIRequest) SetRealNick(_realNick string) error

RealNick Setter 真实用户名称,如果填写这个字段,buyer_nick失效

func (*AlibabaAliqinFlowWalletSendFlowAPIRequest) SetReason added in v1.2.0

Reason Setter 购物送

func (*AlibabaAliqinFlowWalletSendFlowAPIRequest) SetSerial added in v1.2.0

Serial Setter 唯一流水号,字母+数字组合

type AlibabaAliqinFlowWalletSendFlowAPIResponse

type AlibabaAliqinFlowWalletSendFlowAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFlowWalletSendFlowAPIResponseModel
}

流量发放 API返回值 alibaba.aliqin.flow.wallet.send.flow

阿里通信流量下发功能,允许用户补发

type AlibabaAliqinFlowWalletSendFlowAPIResponseModel added in v1.2.0

type AlibabaAliqinFlowWalletSendFlowAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_flow_wallet_send_flow_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// true为成功
	Value string `json:"value,omitempty" xml:"value,omitempty"`
}

流量发放 成功返回结果

type AlibabaAliqinFlowWalletSignAPIRequest added in v1.2.0

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

流量平台用户签约情况查询 API请求 alibaba.aliqin.flow.wallet.sign

流量平台用户签约情况查询

func NewAlibabaAliqinFlowWalletSignRequest

func NewAlibabaAliqinFlowWalletSignRequest() *AlibabaAliqinFlowWalletSignAPIRequest

初始化AlibabaAliqinFlowWalletSignAPIRequest对象

func (AlibabaAliqinFlowWalletSignAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAliqinFlowWalletSignAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAliqinFlowWalletSignAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinFlowWalletSignAPIRequest) GetUserNick added in v1.2.0

UserNick Getter

func (*AlibabaAliqinFlowWalletSignAPIRequest) SetUserNick added in v1.2.0

func (r *AlibabaAliqinFlowWalletSignAPIRequest) SetUserNick(_userNick string) error

UserNick Setter 用户昵称

type AlibabaAliqinFlowWalletSignAPIResponse

type AlibabaAliqinFlowWalletSignAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFlowWalletSignAPIResponseModel
}

流量平台用户签约情况查询 API返回值 alibaba.aliqin.flow.wallet.sign

流量平台用户签约情况查询

type AlibabaAliqinFlowWalletSignAPIResponseModel added in v1.2.0

type AlibabaAliqinFlowWalletSignAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_flow_wallet_sign_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	Value string `json:"value,omitempty" xml:"value,omitempty"`
}

流量平台用户签约情况查询 成功返回结果

type AlibabaAliqinOfflineCustomerAddAPIRequest added in v1.2.0

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

系外拉新代理商增加客户经理接口 API请求 alibaba.aliqin.offline.customer.add

阿里通信这边维护了代理商和其对应的客户经理的关系,用于业务处理,开放该接口用于代理商将他们系统下的客户经理信息同步给我们

func NewAlibabaAliqinOfflineCustomerAddRequest

func NewAlibabaAliqinOfflineCustomerAddRequest() *AlibabaAliqinOfflineCustomerAddAPIRequest

初始化AlibabaAliqinOfflineCustomerAddAPIRequest对象

func (AlibabaAliqinOfflineCustomerAddAPIRequest) GetActivityCode added in v1.2.0

ActivityCode Getter

func (AlibabaAliqinOfflineCustomerAddAPIRequest) GetAgentId added in v1.2.0

AgentId Getter

func (AlibabaAliqinOfflineCustomerAddAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinOfflineCustomerAddAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinOfflineCustomerAddAPIRequest) GetCity added in v1.2.0

City Getter

func (AlibabaAliqinOfflineCustomerAddAPIRequest) GetCustomerName added in v1.2.0

CustomerName Getter

func (AlibabaAliqinOfflineCustomerAddAPIRequest) GetDistributeId added in v1.2.0

DistributeId Getter

func (AlibabaAliqinOfflineCustomerAddAPIRequest) GetExt added in v1.2.0

Ext Getter

func (AlibabaAliqinOfflineCustomerAddAPIRequest) GetOtherKey added in v1.2.0

OtherKey Getter

func (AlibabaAliqinOfflineCustomerAddAPIRequest) GetPhone added in v1.2.0

Phone Getter

func (AlibabaAliqinOfflineCustomerAddAPIRequest) GetPobName added in v1.2.0

PobName Getter

func (AlibabaAliqinOfflineCustomerAddAPIRequest) GetProvince added in v1.2.0

Province Getter

func (AlibabaAliqinOfflineCustomerAddAPIRequest) GetToken added in v1.2.0

Token Getter

func (*AlibabaAliqinOfflineCustomerAddAPIRequest) SetActivityCode added in v1.2.0

func (r *AlibabaAliqinOfflineCustomerAddAPIRequest) SetActivityCode(_activityCode string) error

ActivityCode Setter 活动编码

func (*AlibabaAliqinOfflineCustomerAddAPIRequest) SetAgentId added in v1.2.0

func (r *AlibabaAliqinOfflineCustomerAddAPIRequest) SetAgentId(_agentId string) error

AgentId Setter 网点id,如果存在填写,不存在的话,填0即可;注意:如果填写了这个字段,后面的pob_name等会失效;如果为0,下面的网点名称、省份、城市必填

func (*AlibabaAliqinOfflineCustomerAddAPIRequest) SetCity added in v1.2.0

City Setter 网点所在城市

func (*AlibabaAliqinOfflineCustomerAddAPIRequest) SetCustomerName added in v1.2.0

func (r *AlibabaAliqinOfflineCustomerAddAPIRequest) SetCustomerName(_customerName string) error

CustomerName Setter 客户经理名称

func (*AlibabaAliqinOfflineCustomerAddAPIRequest) SetDistributeId added in v1.2.0

func (r *AlibabaAliqinOfflineCustomerAddAPIRequest) SetDistributeId(_distributeId string) error

DistributeId Setter 代理商id

func (*AlibabaAliqinOfflineCustomerAddAPIRequest) SetExt added in v1.2.0

Ext Setter json类型,Map<String,String>

func (*AlibabaAliqinOfflineCustomerAddAPIRequest) SetOtherKey added in v1.2.0

func (r *AlibabaAliqinOfflineCustomerAddAPIRequest) SetOtherKey(_otherKey string) error

OtherKey Setter 客户经理编码,如果没有可以不填

func (*AlibabaAliqinOfflineCustomerAddAPIRequest) SetPhone added in v1.2.0

Phone Setter 手机号码

func (*AlibabaAliqinOfflineCustomerAddAPIRequest) SetPobName added in v1.2.0

func (r *AlibabaAliqinOfflineCustomerAddAPIRequest) SetPobName(_pobName string) error

PobName Setter 网点名称

func (*AlibabaAliqinOfflineCustomerAddAPIRequest) SetProvince added in v1.2.0

func (r *AlibabaAliqinOfflineCustomerAddAPIRequest) SetProvince(_province string) error

Province Setter 网点所在省份

func (*AlibabaAliqinOfflineCustomerAddAPIRequest) SetToken added in v1.2.0

Token Setter token,页面获取到的参数

type AlibabaAliqinOfflineCustomerAddAPIResponse

type AlibabaAliqinOfflineCustomerAddAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinOfflineCustomerAddAPIResponseModel
}

系外拉新代理商增加客户经理接口 API返回值 alibaba.aliqin.offline.customer.add

阿里通信这边维护了代理商和其对应的客户经理的关系,用于业务处理,开放该接口用于代理商将他们系统下的客户经理信息同步给我们

type AlibabaAliqinOfflineCustomerAddAPIResponseModel added in v1.2.0

type AlibabaAliqinOfflineCustomerAddAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_offline_customer_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *CommonResult `json:"result,omitempty" xml:"result,omitempty"`
}

系外拉新代理商增加客户经理接口 成功返回结果

type AlibabaAliqinTaNumberSinglecallbyttsAPIRequest added in v1.2.0

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

根据号码tts单呼 API请求 alibaba.aliqin.ta.number.singlecallbytts

将语音验证码和语音通知发布至聚石塔渠道

func NewAlibabaAliqinTaNumberSinglecallbyttsRequest

func NewAlibabaAliqinTaNumberSinglecallbyttsRequest() *AlibabaAliqinTaNumberSinglecallbyttsAPIRequest

初始化AlibabaAliqinTaNumberSinglecallbyttsAPIRequest对象

func (AlibabaAliqinTaNumberSinglecallbyttsAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinTaNumberSinglecallbyttsAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinTaNumberSinglecallbyttsAPIRequest) GetCalledNum added in v1.2.0

CalledNum Getter

func (AlibabaAliqinTaNumberSinglecallbyttsAPIRequest) GetCalledShowNum added in v1.2.0

CalledShowNum Getter

func (AlibabaAliqinTaNumberSinglecallbyttsAPIRequest) GetParams added in v1.2.0

Params Getter

func (AlibabaAliqinTaNumberSinglecallbyttsAPIRequest) GetTtsCode added in v1.2.0

TtsCode Getter

func (*AlibabaAliqinTaNumberSinglecallbyttsAPIRequest) SetCalledNum added in v1.2.0

func (r *AlibabaAliqinTaNumberSinglecallbyttsAPIRequest) SetCalledNum(_calledNum string) error

CalledNum Setter 被叫号码

func (*AlibabaAliqinTaNumberSinglecallbyttsAPIRequest) SetCalledShowNum added in v1.2.0

func (r *AlibabaAliqinTaNumberSinglecallbyttsAPIRequest) SetCalledShowNum(_calledShowNum string) error

CalledShowNum Setter 显示号码

func (*AlibabaAliqinTaNumberSinglecallbyttsAPIRequest) SetParams added in v1.2.0

Params Setter 上下文参数,tts模板含有变量的, 此参数需填写。示例:{"date":"2015年 " ,"name":"测试","extend":"回传参数"} date、name 为模板里的变量名作为key,extend为扩展信息作为回传参数的key

func (*AlibabaAliqinTaNumberSinglecallbyttsAPIRequest) SetTtsCode added in v1.2.0

TtsCode Setter tts文本模板code

type AlibabaAliqinTaNumberSinglecallbyttsAPIResponse

type AlibabaAliqinTaNumberSinglecallbyttsAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinTaNumberSinglecallbyttsAPIResponseModel
}

根据号码tts单呼 API返回值 alibaba.aliqin.ta.number.singlecallbytts

将语音验证码和语音通知发布至聚石塔渠道

type AlibabaAliqinTaNumberSinglecallbyttsAPIResponseModel added in v1.2.0

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

根据号码tts单呼 成功返回结果

type AlibabaAliqinTaNumberSinglecallbyttsResult

type AlibabaAliqinTaNumberSinglecallbyttsResult struct {
	// 返回值
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// 信息
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 成功,失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaAliqinTaNumberSinglecallbyttsResult

type AlibabaAliqinTaNumberSinglecallbyvoiceAPIRequest added in v1.2.0

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

根据号码tts单呼 API请求 alibaba.aliqin.ta.number.singlecallbyvoice

根据号码语音单呼

func NewAlibabaAliqinTaNumberSinglecallbyvoiceRequest

func NewAlibabaAliqinTaNumberSinglecallbyvoiceRequest() *AlibabaAliqinTaNumberSinglecallbyvoiceAPIRequest

初始化AlibabaAliqinTaNumberSinglecallbyvoiceAPIRequest对象

func (AlibabaAliqinTaNumberSinglecallbyvoiceAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinTaNumberSinglecallbyvoiceAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinTaNumberSinglecallbyvoiceAPIRequest) GetCalledNum added in v1.2.0

CalledNum Getter

func (AlibabaAliqinTaNumberSinglecallbyvoiceAPIRequest) GetCalledShowNum added in v1.2.0

CalledShowNum Getter

func (AlibabaAliqinTaNumberSinglecallbyvoiceAPIRequest) GetParams added in v1.2.0

Params Getter

func (AlibabaAliqinTaNumberSinglecallbyvoiceAPIRequest) GetVoiceCode added in v1.2.0

VoiceCode Getter

func (*AlibabaAliqinTaNumberSinglecallbyvoiceAPIRequest) SetCalledNum added in v1.2.0

CalledNum Setter 单呼号码

func (*AlibabaAliqinTaNumberSinglecallbyvoiceAPIRequest) SetCalledShowNum added in v1.2.0

func (r *AlibabaAliqinTaNumberSinglecallbyvoiceAPIRequest) SetCalledShowNum(_calledShowNum string) error

CalledShowNum Setter 显示号码

func (*AlibabaAliqinTaNumberSinglecallbyvoiceAPIRequest) SetParams added in v1.2.0

Params Setter 上下文参数 示例:{"extend":"回传参数"} extend为扩展信息作为回传参数的key

func (*AlibabaAliqinTaNumberSinglecallbyvoiceAPIRequest) SetVoiceCode added in v1.2.0

VoiceCode Setter 语音文件code

type AlibabaAliqinTaNumberSinglecallbyvoiceAPIResponse

type AlibabaAliqinTaNumberSinglecallbyvoiceAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinTaNumberSinglecallbyvoiceAPIResponseModel
}

根据号码tts单呼 API返回值 alibaba.aliqin.ta.number.singlecallbyvoice

根据号码语音单呼

type AlibabaAliqinTaNumberSinglecallbyvoiceAPIResponseModel added in v1.2.0

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

根据号码tts单呼 成功返回结果

type AlibabaAliqinTaNumberSinglecallbyvoiceResult

type AlibabaAliqinTaNumberSinglecallbyvoiceResult struct {
	// 结果
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// 系统自动生成
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 成功,失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 系统自动生成
	Code string `json:"code,omitempty" xml:"code,omitempty"`
}

AlibabaAliqinTaNumberSinglecallbyvoiceResult

type AlibabaAliqinTaSmsNumQueryAPIRequest added in v1.2.0

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

短信查询 API请求 alibaba.aliqin.ta.sms.num.query

查询短信发送揭露

func NewAlibabaAliqinTaSmsNumQueryRequest

func NewAlibabaAliqinTaSmsNumQueryRequest() *AlibabaAliqinTaSmsNumQueryAPIRequest

初始化AlibabaAliqinTaSmsNumQueryAPIRequest对象

func (AlibabaAliqinTaSmsNumQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAliqinTaSmsNumQueryAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAliqinTaSmsNumQueryAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinTaSmsNumQueryAPIRequest) GetBizId added in v1.2.0

BizId Getter

func (AlibabaAliqinTaSmsNumQueryAPIRequest) GetCurrentPage added in v1.2.0

func (r AlibabaAliqinTaSmsNumQueryAPIRequest) GetCurrentPage() int64

CurrentPage Getter

func (AlibabaAliqinTaSmsNumQueryAPIRequest) GetPageSize added in v1.2.0

PageSize Getter

func (AlibabaAliqinTaSmsNumQueryAPIRequest) GetQueryDate added in v1.2.0

QueryDate Getter

func (AlibabaAliqinTaSmsNumQueryAPIRequest) GetRecNum added in v1.2.0

RecNum Getter

func (*AlibabaAliqinTaSmsNumQueryAPIRequest) SetBizId added in v1.2.0

BizId Setter 短信发送流水

func (*AlibabaAliqinTaSmsNumQueryAPIRequest) SetCurrentPage added in v1.2.0

func (r *AlibabaAliqinTaSmsNumQueryAPIRequest) SetCurrentPage(_currentPage int64) error

CurrentPage Setter 分页参数,页码

func (*AlibabaAliqinTaSmsNumQueryAPIRequest) SetPageSize added in v1.2.0

func (r *AlibabaAliqinTaSmsNumQueryAPIRequest) SetPageSize(_pageSize int64) error

PageSize Setter 分页参数,每页数量。最大值50

func (*AlibabaAliqinTaSmsNumQueryAPIRequest) SetQueryDate added in v1.2.0

func (r *AlibabaAliqinTaSmsNumQueryAPIRequest) SetQueryDate(_queryDate string) error

QueryDate Setter 短信发送日期,支持近30天记录查询,格式yyyyMMdd

func (*AlibabaAliqinTaSmsNumQueryAPIRequest) SetRecNum added in v1.2.0

func (r *AlibabaAliqinTaSmsNumQueryAPIRequest) SetRecNum(_recNum string) error

RecNum Setter 短信接收号码

type AlibabaAliqinTaSmsNumQueryAPIResponse

type AlibabaAliqinTaSmsNumQueryAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinTaSmsNumQueryAPIResponseModel
}

短信查询 API返回值 alibaba.aliqin.ta.sms.num.query

查询短信发送揭露

type AlibabaAliqinTaSmsNumQueryAPIResponseModel added in v1.2.0

type AlibabaAliqinTaSmsNumQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_ta_sms_num_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 当前页码
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 每页数量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 总量
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 总页数
	TotalPage int64 `json:"total_page,omitempty" xml:"total_page,omitempty"`
	// 1
	Values []FcPartnerSmsDetailDto `json:"values,omitempty" xml:"values>fc_partner_sms_detail_dto,omitempty"`
}

短信查询 成功返回结果

type AlibabaAliqinTaSmsNumSendAPIRequest added in v1.2.0

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

短信发送 API请求 alibaba.aliqin.ta.sms.num.send

短信发送

func NewAlibabaAliqinTaSmsNumSendRequest

func NewAlibabaAliqinTaSmsNumSendRequest() *AlibabaAliqinTaSmsNumSendAPIRequest

初始化AlibabaAliqinTaSmsNumSendAPIRequest对象

func (AlibabaAliqinTaSmsNumSendAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAliqinTaSmsNumSendAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAliqinTaSmsNumSendAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinTaSmsNumSendAPIRequest) GetExtend added in v1.2.0

Extend Getter

func (AlibabaAliqinTaSmsNumSendAPIRequest) GetExtendCode added in v1.2.0

func (r AlibabaAliqinTaSmsNumSendAPIRequest) GetExtendCode() string

ExtendCode Getter

func (AlibabaAliqinTaSmsNumSendAPIRequest) GetExtendName added in v1.2.0

func (r AlibabaAliqinTaSmsNumSendAPIRequest) GetExtendName() string

ExtendName Getter

func (AlibabaAliqinTaSmsNumSendAPIRequest) GetRecNum added in v1.2.0

RecNum Getter

func (AlibabaAliqinTaSmsNumSendAPIRequest) GetSmsFreeSignName added in v1.2.0

func (r AlibabaAliqinTaSmsNumSendAPIRequest) GetSmsFreeSignName() string

SmsFreeSignName Getter

func (AlibabaAliqinTaSmsNumSendAPIRequest) GetSmsParam added in v1.2.0

SmsParam Getter

func (AlibabaAliqinTaSmsNumSendAPIRequest) GetSmsTemplateCode added in v1.2.0

func (r AlibabaAliqinTaSmsNumSendAPIRequest) GetSmsTemplateCode() string

SmsTemplateCode Getter

func (AlibabaAliqinTaSmsNumSendAPIRequest) GetSmsType added in v1.2.0

SmsType Getter

func (*AlibabaAliqinTaSmsNumSendAPIRequest) SetExtend added in v1.2.0

func (r *AlibabaAliqinTaSmsNumSendAPIRequest) SetExtend(_extend string) error

Extend Setter 公共回传参数

func (*AlibabaAliqinTaSmsNumSendAPIRequest) SetExtendCode added in v1.2.0

func (r *AlibabaAliqinTaSmsNumSendAPIRequest) SetExtendCode(_extendCode string) error

ExtendCode Setter 商家自定义扩展码

func (*AlibabaAliqinTaSmsNumSendAPIRequest) SetExtendName added in v1.2.0

func (r *AlibabaAliqinTaSmsNumSendAPIRequest) SetExtendName(_extendName string) error

ExtendName Setter 商家自定义扩展名,例如店铺nick

func (*AlibabaAliqinTaSmsNumSendAPIRequest) SetRecNum added in v1.2.0

func (r *AlibabaAliqinTaSmsNumSendAPIRequest) SetRecNum(_recNum string) error

RecNum Setter 接收号码

func (*AlibabaAliqinTaSmsNumSendAPIRequest) SetSmsFreeSignName added in v1.2.0

func (r *AlibabaAliqinTaSmsNumSendAPIRequest) SetSmsFreeSignName(_smsFreeSignName string) error

SmsFreeSignName Setter 短信签名

func (*AlibabaAliqinTaSmsNumSendAPIRequest) SetSmsParam added in v1.2.0

func (r *AlibabaAliqinTaSmsNumSendAPIRequest) SetSmsParam(_smsParam string) error

SmsParam Setter 短信模板变量,AckNum是变量参数

func (*AlibabaAliqinTaSmsNumSendAPIRequest) SetSmsTemplateCode added in v1.2.0

func (r *AlibabaAliqinTaSmsNumSendAPIRequest) SetSmsTemplateCode(_smsTemplateCode string) error

SmsTemplateCode Setter 短信模板CODE

func (*AlibabaAliqinTaSmsNumSendAPIRequest) SetSmsType added in v1.2.0

func (r *AlibabaAliqinTaSmsNumSendAPIRequest) SetSmsType(_smsType string) error

SmsType Setter 类型,normal:短信

type AlibabaAliqinTaSmsNumSendAPIResponse

type AlibabaAliqinTaSmsNumSendAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinTaSmsNumSendAPIResponseModel
}

短信发送 API返回值 alibaba.aliqin.ta.sms.num.send

短信发送

type AlibabaAliqinTaSmsNumSendAPIResponseModel added in v1.2.0

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

短信发送 成功返回结果

type AlibabaAliqinTaSmsNumSendBizResult

type AlibabaAliqinTaSmsNumSendBizResult struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 返回结果
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// true表示成功,false表示失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 返回信息描述
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
}

AlibabaAliqinTaSmsNumSendBizResult

type AlibabaAliqinTaVoiceNumDoublecallAPIRequest added in v1.2.0

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

聚石塔语音双呼接口 API请求 alibaba.aliqin.ta.voice.num.doublecall

根据传入的主叫号码与被叫号码,由系统依次向主叫号码与被叫号码发起呼叫,双方都应答后,开始一对一通话并开始计费。使用前需要在阿里大于管理中心添加呼叫双方的显示号码。

func NewAlibabaAliqinTaVoiceNumDoublecallRequest

func NewAlibabaAliqinTaVoiceNumDoublecallRequest() *AlibabaAliqinTaVoiceNumDoublecallAPIRequest

初始化AlibabaAliqinTaVoiceNumDoublecallAPIRequest对象

func (AlibabaAliqinTaVoiceNumDoublecallAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinTaVoiceNumDoublecallAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinTaVoiceNumDoublecallAPIRequest) GetCalledNum added in v1.2.0

CalledNum Getter

func (AlibabaAliqinTaVoiceNumDoublecallAPIRequest) GetCalledShowNum added in v1.2.0

CalledShowNum Getter

func (AlibabaAliqinTaVoiceNumDoublecallAPIRequest) GetCallerNum added in v1.2.0

CallerNum Getter

func (AlibabaAliqinTaVoiceNumDoublecallAPIRequest) GetCallerShowNum added in v1.2.0

CallerShowNum Getter

func (AlibabaAliqinTaVoiceNumDoublecallAPIRequest) GetExtend added in v1.2.0

Extend Getter

func (AlibabaAliqinTaVoiceNumDoublecallAPIRequest) GetSessionTimeOut added in v1.2.0

SessionTimeOut Getter

func (*AlibabaAliqinTaVoiceNumDoublecallAPIRequest) SetCalledNum added in v1.2.0

func (r *AlibabaAliqinTaVoiceNumDoublecallAPIRequest) SetCalledNum(_calledNum string) error

CalledNum Setter 被叫号码,支持国内手机号与固话号码,格式如下057188773344,13911112222,4001112222,95500

func (*AlibabaAliqinTaVoiceNumDoublecallAPIRequest) SetCalledShowNum added in v1.2.0

func (r *AlibabaAliqinTaVoiceNumDoublecallAPIRequest) SetCalledShowNum(_calledShowNum string) error

CalledShowNum Setter 被叫号码侧的号码显示,传入的显示号码可以是阿里大于“管理中心-号码管理”中申请通过的号码。显示号码格式如下057188773344,4001112222,95500。显示号码也可以为主叫号码。

func (*AlibabaAliqinTaVoiceNumDoublecallAPIRequest) SetCallerNum added in v1.2.0

func (r *AlibabaAliqinTaVoiceNumDoublecallAPIRequest) SetCallerNum(_callerNum string) error

CallerNum Setter 主叫号码,支持国内手机号与固话号码,格式如下057188773344,13911112222,4001112222,95500

func (*AlibabaAliqinTaVoiceNumDoublecallAPIRequest) SetCallerShowNum added in v1.2.0

func (r *AlibabaAliqinTaVoiceNumDoublecallAPIRequest) SetCallerShowNum(_callerShowNum string) error

CallerShowNum Setter 主叫号码侧的号码显示,传入的显示号码必须是阿里大于“管理中心-号码管理”中申请通过的号码。显示号码格式如下057188773344,4001112222,95500

func (*AlibabaAliqinTaVoiceNumDoublecallAPIRequest) SetExtend added in v1.2.0

Extend Setter 公共回传参数,在“消息返回”中会透传回该参数;举例:用户可以传入自己下级的会员ID,在消息返回时,该会员ID会包含在内,用户可以根据该会员ID识别是哪位会员使用了你的应用

func (*AlibabaAliqinTaVoiceNumDoublecallAPIRequest) SetSessionTimeOut added in v1.2.0

func (r *AlibabaAliqinTaVoiceNumDoublecallAPIRequest) SetSessionTimeOut(_sessionTimeOut string) error

SessionTimeOut Setter 通话超时时长,如接通后到达120秒时,通话会因为超时自动挂断。若无需设置超时时长,可不传。

type AlibabaAliqinTaVoiceNumDoublecallAPIResponse

type AlibabaAliqinTaVoiceNumDoublecallAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinTaVoiceNumDoublecallAPIResponseModel
}

聚石塔语音双呼接口 API返回值 alibaba.aliqin.ta.voice.num.doublecall

根据传入的主叫号码与被叫号码,由系统依次向主叫号码与被叫号码发起呼叫,双方都应答后,开始一对一通话并开始计费。使用前需要在阿里大于管理中心添加呼叫双方的显示号码。

type AlibabaAliqinTaVoiceNumDoublecallAPIResponseModel added in v1.2.0

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

聚石塔语音双呼接口 成功返回结果

type AlibabaAliqinTaVoiceNumDoublecallBizResult

type AlibabaAliqinTaVoiceNumDoublecallBizResult struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 返回结果
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// true表示成功,false表示失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 返回信息描述
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
}

AlibabaAliqinTaVoiceNumDoublecallBizResult

type AlibabaAliqinTccTradeIdentityGetAPIRequest added in v1.2.0

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

运营商获得用户身份信息 API请求 alibaba.aliqin.tcc.trade.identity.get

天猫网厅运营商官方旗舰店获取用户身份信息

func NewAlibabaAliqinTccTradeIdentityGetRequest

func NewAlibabaAliqinTccTradeIdentityGetRequest() *AlibabaAliqinTccTradeIdentityGetAPIRequest

初始化AlibabaAliqinTccTradeIdentityGetAPIRequest对象

func (AlibabaAliqinTccTradeIdentityGetAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAliqinTccTradeIdentityGetAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAliqinTccTradeIdentityGetAPIRequest) GetBizOrderId added in v1.2.0

BizOrderId Getter

func (AlibabaAliqinTccTradeIdentityGetAPIRequest) GetSellerNick added in v1.2.0

SellerNick Getter

func (*AlibabaAliqinTccTradeIdentityGetAPIRequest) SetBizOrderId added in v1.2.0

func (r *AlibabaAliqinTccTradeIdentityGetAPIRequest) SetBizOrderId(_bizOrderId int64) error

BizOrderId Setter 订单编号

func (*AlibabaAliqinTccTradeIdentityGetAPIRequest) SetSellerNick added in v1.2.0

func (r *AlibabaAliqinTccTradeIdentityGetAPIRequest) SetSellerNick(_sellerNick string) error

SellerNick Setter 店铺名称

type AlibabaAliqinTccTradeIdentityGetAPIResponse

type AlibabaAliqinTccTradeIdentityGetAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinTccTradeIdentityGetAPIResponseModel
}

运营商获得用户身份信息 API返回值 alibaba.aliqin.tcc.trade.identity.get

天猫网厅运营商官方旗舰店获取用户身份信息

type AlibabaAliqinTccTradeIdentityGetAPIResponseModel added in v1.2.0

type AlibabaAliqinTccTradeIdentityGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_tcc_trade_identity_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回身份信息
	Result *IdentityInfo `json:"result,omitempty" xml:"result,omitempty"`
}

运营商获得用户身份信息 成功返回结果

type AlibabaAlitjOrderRealnamecardInfoSubmitAPIRequest added in v1.2.0

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

阿里实人认证卡片信息回传 API请求 alibaba.alitj.order.realnamecard.info.submit

阿里实人认证卡片信息回传。ISP相关商家在线对接阿里通信的实人认证功能,在线提交订单对应运营商的合约订购相关信息,以便完成在线使用实人认证功能。

func NewAlibabaAlitjOrderRealnamecardInfoSubmitRequest

func NewAlibabaAlitjOrderRealnamecardInfoSubmitRequest() *AlibabaAlitjOrderRealnamecardInfoSubmitAPIRequest

初始化AlibabaAlitjOrderRealnamecardInfoSubmitAPIRequest对象

func (AlibabaAlitjOrderRealnamecardInfoSubmitAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaAlitjOrderRealnamecardInfoSubmitAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaAlitjOrderRealnamecardInfoSubmitAPIRequest) GetIccid added in v1.2.0

Iccid Getter

func (AlibabaAlitjOrderRealnamecardInfoSubmitAPIRequest) GetOrderNo added in v1.2.0

OrderNo Getter

func (*AlibabaAlitjOrderRealnamecardInfoSubmitAPIRequest) SetIccid added in v1.2.0

Iccid Setter sim卡iccid(一般为18位到20位)

func (*AlibabaAlitjOrderRealnamecardInfoSubmitAPIRequest) SetOrderNo added in v1.2.0

OrderNo Setter 淘宝订单号

type AlibabaAlitjOrderRealnamecardInfoSubmitAPIResponse

type AlibabaAlitjOrderRealnamecardInfoSubmitAPIResponse struct {
	model.CommonResponse
	AlibabaAlitjOrderRealnamecardInfoSubmitAPIResponseModel
}

阿里实人认证卡片信息回传 API返回值 alibaba.alitj.order.realnamecard.info.submit

阿里实人认证卡片信息回传。ISP相关商家在线对接阿里通信的实人认证功能,在线提交订单对应运营商的合约订购相关信息,以便完成在线使用实人认证功能。

type AlibabaAlitjOrderRealnamecardInfoSubmitAPIResponseModel added in v1.2.0

type AlibabaAlitjOrderRealnamecardInfoSubmitAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alitj_order_realnamecard_info_submit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *CommonResult `json:"result,omitempty" xml:"result,omitempty"`
}

阿里实人认证卡片信息回传 成功返回结果

type AlibabaBaseOrderSupplierNotifyAPIRequest added in v1.2.0

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

阿里通信运营商信息回传 API请求 alibaba.base.order.supplier.notify

接收阿里通信流量运营商信息回传

func NewAlibabaBaseOrderSupplierNotifyRequest

func NewAlibabaBaseOrderSupplierNotifyRequest() *AlibabaBaseOrderSupplierNotifyAPIRequest

初始化AlibabaBaseOrderSupplierNotifyAPIRequest对象

func (AlibabaBaseOrderSupplierNotifyAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaBaseOrderSupplierNotifyAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaBaseOrderSupplierNotifyAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaBaseOrderSupplierNotifyAPIRequest) GetParamFlowSuppllierNotifyModel added in v1.2.0

func (r AlibabaBaseOrderSupplierNotifyAPIRequest) GetParamFlowSuppllierNotifyModel() *FlowSuppllierNotifyModel

ParamFlowSuppllierNotifyModel Getter

func (*AlibabaBaseOrderSupplierNotifyAPIRequest) SetParamFlowSuppllierNotifyModel added in v1.2.0

func (r *AlibabaBaseOrderSupplierNotifyAPIRequest) SetParamFlowSuppllierNotifyModel(_paramFlowSuppllierNotifyModel *FlowSuppllierNotifyModel) error

ParamFlowSuppllierNotifyModel Setter 入参对象

type AlibabaBaseOrderSupplierNotifyAPIResponse

type AlibabaBaseOrderSupplierNotifyAPIResponse struct {
	model.CommonResponse
	AlibabaBaseOrderSupplierNotifyAPIResponseModel
}

阿里通信运营商信息回传 API返回值 alibaba.base.order.supplier.notify

接收阿里通信流量运营商信息回传

type AlibabaBaseOrderSupplierNotifyAPIResponseModel added in v1.2.0

type AlibabaBaseOrderSupplierNotifyAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_base_order_supplier_notify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *CommonResult `json:"result,omitempty" xml:"result,omitempty"`
}

阿里通信运营商信息回传 成功返回结果

type AlibabaChongzhiQueryecardsAPIRequest added in v1.2.0

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

查询指定商家的可用的话费宝贝接口 API请求 alibaba.chongzhi.queryecards

查询指定商家的可用的话费宝贝

func NewAlibabaChongzhiQueryecardsRequest

func NewAlibabaChongzhiQueryecardsRequest() *AlibabaChongzhiQueryecardsAPIRequest

初始化AlibabaChongzhiQueryecardsAPIRequest对象

func (AlibabaChongzhiQueryecardsAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaChongzhiQueryecardsAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaChongzhiQueryecardsAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaChongzhiQueryecardsAPIRequest) GetClientSource added in v1.2.0

func (r AlibabaChongzhiQueryecardsAPIRequest) GetClientSource() string

ClientSource Getter

func (AlibabaChongzhiQueryecardsAPIRequest) GetMobile added in v1.2.0

Mobile Getter

func (*AlibabaChongzhiQueryecardsAPIRequest) SetClientSource added in v1.2.0

func (r *AlibabaChongzhiQueryecardsAPIRequest) SetClientSource(_clientSource string) error

ClientSource Setter 来源

func (*AlibabaChongzhiQueryecardsAPIRequest) SetMobile added in v1.2.0

func (r *AlibabaChongzhiQueryecardsAPIRequest) SetMobile(_mobile int64) error

Mobile Setter 号码

type AlibabaChongzhiQueryecardsAPIResponse

type AlibabaChongzhiQueryecardsAPIResponse struct {
	model.CommonResponse
	AlibabaChongzhiQueryecardsAPIResponseModel
}

查询指定商家的可用的话费宝贝接口 API返回值 alibaba.chongzhi.queryecards

查询指定商家的可用的话费宝贝

type AlibabaChongzhiQueryecardsAPIResponseModel added in v1.2.0

type AlibabaChongzhiQueryecardsAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_chongzhi_queryecards_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result int64 `json:"result,omitempty" xml:"result,omitempty"`
	// desc
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 订单列表
	EcardList []EcardItemDo `json:"ecard_list,omitempty" xml:"ecard_list>ecard_item_do,omitempty"`
	// MtsInfoDo
	CatInfo *MtsInfoDo `json:"cat_info,omitempty" xml:"cat_info,omitempty"`
}

查询指定商家的可用的话费宝贝接口 成功返回结果

type AlibabaChongzhiQueryflowAPIRequest added in v1.2.0

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

查询指定商家的可用的流量宝贝接口 API请求 alibaba.chongzhi.queryflow

查询指定商家的可用的流量宝贝

func NewAlibabaChongzhiQueryflowRequest

func NewAlibabaChongzhiQueryflowRequest() *AlibabaChongzhiQueryflowAPIRequest

初始化AlibabaChongzhiQueryflowAPIRequest对象

func (AlibabaChongzhiQueryflowAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaChongzhiQueryflowAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaChongzhiQueryflowAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaChongzhiQueryflowAPIRequest) GetClientSource added in v1.2.0

func (r AlibabaChongzhiQueryflowAPIRequest) GetClientSource() string

ClientSource Getter

func (AlibabaChongzhiQueryflowAPIRequest) GetMobile added in v1.2.0

Mobile Getter

func (*AlibabaChongzhiQueryflowAPIRequest) SetClientSource added in v1.2.0

func (r *AlibabaChongzhiQueryflowAPIRequest) SetClientSource(_clientSource string) error

ClientSource Setter 来源

func (*AlibabaChongzhiQueryflowAPIRequest) SetMobile added in v1.2.0

func (r *AlibabaChongzhiQueryflowAPIRequest) SetMobile(_mobile int64) error

Mobile Setter 号码

type AlibabaChongzhiQueryflowAPIResponse

type AlibabaChongzhiQueryflowAPIResponse struct {
	model.CommonResponse
	AlibabaChongzhiQueryflowAPIResponseModel
}

查询指定商家的可用的流量宝贝接口 API返回值 alibaba.chongzhi.queryflow

查询指定商家的可用的流量宝贝

type AlibabaChongzhiQueryflowAPIResponseModel added in v1.2.0

type AlibabaChongzhiQueryflowAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_chongzhi_queryflow_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result int64 `json:"result,omitempty" xml:"result,omitempty"`
	// desc
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// MtsInfoDo
	CatInfo *MtsInfoDo `json:"cat_info,omitempty" xml:"cat_info,omitempty"`
	// flow_card_list
	FlowCardList []Flowcardlist `json:"flow_card_list,omitempty" xml:"flow_card_list>flowcardlist,omitempty"`
	// cn_desc
	CnDesc string `json:"cn_desc,omitempty" xml:"cn_desc,omitempty"`
}

查询指定商家的可用的流量宝贝接口 成功返回结果

type AlibabaTelecomZhimaOrdernotifyCallbackAPIRequest added in v1.2.0

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

阿里通信芝麻订单通知 API请求 alibaba.telecom.zhima.ordernotify.callback

商家通知阿里通信,芝麻订单状态,阿里通信侧进行代扣支付、发货并确认收货

func NewAlibabaTelecomZhimaOrdernotifyCallbackRequest

func NewAlibabaTelecomZhimaOrdernotifyCallbackRequest() *AlibabaTelecomZhimaOrdernotifyCallbackAPIRequest

初始化AlibabaTelecomZhimaOrdernotifyCallbackAPIRequest对象

func (AlibabaTelecomZhimaOrdernotifyCallbackAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaTelecomZhimaOrdernotifyCallbackAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaTelecomZhimaOrdernotifyCallbackAPIRequest) GetParam0 added in v1.2.0

Param0 Getter

func (*AlibabaTelecomZhimaOrdernotifyCallbackAPIRequest) SetParam0 added in v1.2.0

Param0 Setter 入参对象

type AlibabaTelecomZhimaOrdernotifyCallbackAPIResponse

type AlibabaTelecomZhimaOrdernotifyCallbackAPIResponse struct {
	model.CommonResponse
	AlibabaTelecomZhimaOrdernotifyCallbackAPIResponseModel
}

阿里通信芝麻订单通知 API返回值 alibaba.telecom.zhima.ordernotify.callback

商家通知阿里通信,芝麻订单状态,阿里通信侧进行代扣支付、发货并确认收货

type AlibabaTelecomZhimaOrdernotifyCallbackAPIResponseModel added in v1.2.0

type AlibabaTelecomZhimaOrdernotifyCallbackAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_telecom_zhima_ordernotify_callback_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参对象
	Result *CommonResult `json:"result,omitempty" xml:"result,omitempty"`
}

阿里通信芝麻订单通知 成功返回结果

type AlibabaTianjiDistributorOrderSubmitAPIRequest added in v1.2.0

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

分销商提交受理订单 API请求 alibaba.tianji.distributor.order.submit

分销商提交受理订单,如合约订购、充值受理等

func NewAlibabaTianjiDistributorOrderSubmitRequest

func NewAlibabaTianjiDistributorOrderSubmitRequest() *AlibabaTianjiDistributorOrderSubmitAPIRequest

初始化AlibabaTianjiDistributorOrderSubmitAPIRequest对象

func (AlibabaTianjiDistributorOrderSubmitAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaTianjiDistributorOrderSubmitAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaTianjiDistributorOrderSubmitAPIRequest) GetItemSerialNo added in v1.2.0

ItemSerialNo Getter

func (AlibabaTianjiDistributorOrderSubmitAPIRequest) GetOrderNo added in v1.2.0

OrderNo Getter

func (AlibabaTianjiDistributorOrderSubmitAPIRequest) GetProductSerialNo added in v1.2.0

ProductSerialNo Getter

func (*AlibabaTianjiDistributorOrderSubmitAPIRequest) SetItemSerialNo added in v1.2.0

func (r *AlibabaTianjiDistributorOrderSubmitAPIRequest) SetItemSerialNo(_itemSerialNo string) error

ItemSerialNo Setter 商品编码,如手机串号

func (*AlibabaTianjiDistributorOrderSubmitAPIRequest) SetOrderNo added in v1.2.0

OrderNo Setter 淘宝交易订单号

func (*AlibabaTianjiDistributorOrderSubmitAPIRequest) SetProductSerialNo added in v1.2.0

func (r *AlibabaTianjiDistributorOrderSubmitAPIRequest) SetProductSerialNo(_productSerialNo string) error

ProductSerialNo Setter 供应商产品编码,如SIM卡号

type AlibabaTianjiDistributorOrderSubmitAPIResponse

type AlibabaTianjiDistributorOrderSubmitAPIResponse struct {
	model.CommonResponse
	AlibabaTianjiDistributorOrderSubmitAPIResponseModel
}

分销商提交受理订单 API返回值 alibaba.tianji.distributor.order.submit

分销商提交受理订单,如合约订购、充值受理等

type AlibabaTianjiDistributorOrderSubmitAPIResponseModel added in v1.2.0

type AlibabaTianjiDistributorOrderSubmitAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_tianji_distributor_order_submit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口结果
	Result *CommonResult `json:"result,omitempty" xml:"result,omitempty"`
}

分销商提交受理订单 成功返回结果

type AlibabaTianjiSupplierOrderDeliveryAPIRequest added in v1.2.0

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

天机供应商发货 API请求 alibaba.tianji.supplier.order.delivery

天机供应商发货

func NewAlibabaTianjiSupplierOrderDeliveryRequest

func NewAlibabaTianjiSupplierOrderDeliveryRequest() *AlibabaTianjiSupplierOrderDeliveryAPIRequest

初始化AlibabaTianjiSupplierOrderDeliveryAPIRequest对象

func (AlibabaTianjiSupplierOrderDeliveryAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaTianjiSupplierOrderDeliveryAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaTianjiSupplierOrderDeliveryAPIRequest) GetParamDistributionOrderLogisticsModel added in v1.2.0

func (r AlibabaTianjiSupplierOrderDeliveryAPIRequest) GetParamDistributionOrderLogisticsModel() *DistributionOrderLogisticsModel

ParamDistributionOrderLogisticsModel Getter

func (*AlibabaTianjiSupplierOrderDeliveryAPIRequest) SetParamDistributionOrderLogisticsModel added in v1.2.0

func (r *AlibabaTianjiSupplierOrderDeliveryAPIRequest) SetParamDistributionOrderLogisticsModel(_paramDistributionOrderLogisticsModel *DistributionOrderLogisticsModel) error

ParamDistributionOrderLogisticsModel Setter 物流信息

type AlibabaTianjiSupplierOrderDeliveryAPIResponse

type AlibabaTianjiSupplierOrderDeliveryAPIResponse struct {
	model.CommonResponse
	AlibabaTianjiSupplierOrderDeliveryAPIResponseModel
}

天机供应商发货 API返回值 alibaba.tianji.supplier.order.delivery

天机供应商发货

type AlibabaTianjiSupplierOrderDeliveryAPIResponseModel added in v1.2.0

type AlibabaTianjiSupplierOrderDeliveryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_tianji_supplier_order_delivery_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 发货是否成功
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
}

天机供应商发货 成功返回结果

type AlibabaTianjiSupplierOrderQueryAPIRequest added in v1.2.0

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

查询供应商订单 API请求 alibaba.tianji.supplier.order.query

查询供应商订单

func NewAlibabaTianjiSupplierOrderQueryRequest

func NewAlibabaTianjiSupplierOrderQueryRequest() *AlibabaTianjiSupplierOrderQueryAPIRequest

初始化AlibabaTianjiSupplierOrderQueryAPIRequest对象

func (AlibabaTianjiSupplierOrderQueryAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaTianjiSupplierOrderQueryAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaTianjiSupplierOrderQueryAPIRequest) GetParamSupplierTopQueryModel added in v1.2.0

func (r AlibabaTianjiSupplierOrderQueryAPIRequest) GetParamSupplierTopQueryModel() *SupplierTopQueryModel

ParamSupplierTopQueryModel Getter

func (*AlibabaTianjiSupplierOrderQueryAPIRequest) SetParamSupplierTopQueryModel added in v1.2.0

func (r *AlibabaTianjiSupplierOrderQueryAPIRequest) SetParamSupplierTopQueryModel(_paramSupplierTopQueryModel *SupplierTopQueryModel) error

ParamSupplierTopQueryModel Setter 订单查询入参

type AlibabaTianjiSupplierOrderQueryAPIResponse

type AlibabaTianjiSupplierOrderQueryAPIResponse struct {
	model.CommonResponse
	AlibabaTianjiSupplierOrderQueryAPIResponseModel
}

查询供应商订单 API返回值 alibaba.tianji.supplier.order.query

查询供应商订单

type AlibabaTianjiSupplierOrderQueryAPIResponseModel added in v1.2.0

type AlibabaTianjiSupplierOrderQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_tianji_supplier_order_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 分销订单信息
	ModelList []DistributionOrderInfo `json:"model_list,omitempty" xml:"model_list>distribution_order_info,omitempty"`
	// 查询总数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

查询供应商订单 成功返回结果

type AlibabaTianjiSupplierOrderResultAPIRequest added in v1.2.0

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

供应商处理订单接口(订购成功/失败、发货) API请求 alibaba.tianji.supplier.order.result

供应商处理订单接口(订购成功/失败、发货)

func NewAlibabaTianjiSupplierOrderResultRequest

func NewAlibabaTianjiSupplierOrderResultRequest() *AlibabaTianjiSupplierOrderResultAPIRequest

初始化AlibabaTianjiSupplierOrderResultAPIRequest对象

func (AlibabaTianjiSupplierOrderResultAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaTianjiSupplierOrderResultAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaTianjiSupplierOrderResultAPIRequest) GetSupplierOrderResultModel added in v1.2.0

SupplierOrderResultModel Getter

func (*AlibabaTianjiSupplierOrderResultAPIRequest) SetSupplierOrderResultModel added in v1.2.0

func (r *AlibabaTianjiSupplierOrderResultAPIRequest) SetSupplierOrderResultModel(_supplierOrderResultModel *SupplierOrderResultModel) error

SupplierOrderResultModel Setter 供应商处理订单结果反馈参数

type AlibabaTianjiSupplierOrderResultAPIResponse

type AlibabaTianjiSupplierOrderResultAPIResponse struct {
	model.CommonResponse
	AlibabaTianjiSupplierOrderResultAPIResponseModel
}

供应商处理订单接口(订购成功/失败、发货) API返回值 alibaba.tianji.supplier.order.result

供应商处理订单接口(订购成功/失败、发货)

type AlibabaTianjiSupplierOrderResultAPIResponseModel added in v1.2.0

type AlibabaTianjiSupplierOrderResultAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_tianji_supplier_order_result_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
}

供应商处理订单接口(订购成功/失败、发货) 成功返回结果

type AlibabaWtCifCoopOsstokenGetAPIRequest added in v1.2.0

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

获取oss签名接口 API请求 alibaba.wt.cif.coop.osstoken.get

商家合作上传oss图片获取token接口

func NewAlibabaWtCifCoopOsstokenGetRequest

func NewAlibabaWtCifCoopOsstokenGetRequest() *AlibabaWtCifCoopOsstokenGetAPIRequest

初始化AlibabaWtCifCoopOsstokenGetAPIRequest对象

func (AlibabaWtCifCoopOsstokenGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaWtCifCoopOsstokenGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaWtCifCoopOsstokenGetAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaWtCifCoopOsstokenGetAPIRequest) GetAppName added in v1.2.0

AppName Getter

func (AlibabaWtCifCoopOsstokenGetAPIRequest) GetBiz added in v1.2.0

Biz Getter

func (AlibabaWtCifCoopOsstokenGetAPIRequest) GetSource added in v1.2.0

Source Getter

func (*AlibabaWtCifCoopOsstokenGetAPIRequest) SetAppName added in v1.2.0

func (r *AlibabaWtCifCoopOsstokenGetAPIRequest) SetAppName(_appName string) error

AppName Setter 调用方的应用名

func (*AlibabaWtCifCoopOsstokenGetAPIRequest) SetBiz added in v1.2.0

Biz Setter 系统分配的biz

func (*AlibabaWtCifCoopOsstokenGetAPIRequest) SetSource added in v1.2.0

func (r *AlibabaWtCifCoopOsstokenGetAPIRequest) SetSource(_source string) error

Source Setter 系统分配的source

type AlibabaWtCifCoopOsstokenGetAPIResponse

type AlibabaWtCifCoopOsstokenGetAPIResponse struct {
	model.CommonResponse
	AlibabaWtCifCoopOsstokenGetAPIResponseModel
}

获取oss签名接口 API返回值 alibaba.wt.cif.coop.osstoken.get

商家合作上传oss图片获取token接口

type AlibabaWtCifCoopOsstokenGetAPIResponseModel added in v1.2.0

type AlibabaWtCifCoopOsstokenGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_wt_cif_coop_osstoken_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *CommonResult `json:"result,omitempty" xml:"result,omitempty"`
}

获取oss签名接口 成功返回结果

type AlibabaWtOrderExchangePartnerChecktbuserAPIRequest added in v1.2.0

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

积分兑换校验淘宝账号是否存在 API请求 alibaba.wt.order.exchange.partner.checktbuser

积分兑换之前校验淘宝账号是否存在

func NewAlibabaWtOrderExchangePartnerChecktbuserRequest

func NewAlibabaWtOrderExchangePartnerChecktbuserRequest() *AlibabaWtOrderExchangePartnerChecktbuserAPIRequest

初始化AlibabaWtOrderExchangePartnerChecktbuserAPIRequest对象

func (AlibabaWtOrderExchangePartnerChecktbuserAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaWtOrderExchangePartnerChecktbuserAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaWtOrderExchangePartnerChecktbuserAPIRequest) GetOutExchangeModel added in v1.2.0

OutExchangeModel Getter

func (*AlibabaWtOrderExchangePartnerChecktbuserAPIRequest) SetOutExchangeModel added in v1.2.0

func (r *AlibabaWtOrderExchangePartnerChecktbuserAPIRequest) SetOutExchangeModel(_outExchangeModel *OutExchangeModel) error

OutExchangeModel Setter model入参

type AlibabaWtOrderExchangePartnerChecktbuserAPIResponse

type AlibabaWtOrderExchangePartnerChecktbuserAPIResponse struct {
	model.CommonResponse
	AlibabaWtOrderExchangePartnerChecktbuserAPIResponseModel
}

积分兑换校验淘宝账号是否存在 API返回值 alibaba.wt.order.exchange.partner.checktbuser

积分兑换之前校验淘宝账号是否存在

type AlibabaWtOrderExchangePartnerChecktbuserAPIResponseModel added in v1.2.0

type AlibabaWtOrderExchangePartnerChecktbuserAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_wt_order_exchange_partner_checktbuser_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值,通过model的值true或者false来判断
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
	// 成功
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 成功
	ReturnCode string `json:"return_code,omitempty" xml:"return_code,omitempty"`
	// 接口调用返回成功,真正是否存在号码通过model的返回值来判断
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

积分兑换校验淘宝账号是否存在 成功返回结果

type AlibabaWttOfflineRecordQueryagentinfoAPIRequest added in v1.2.0

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

线下推广充送等业务订单来源 API请求 alibaba.wtt.offline.record.queryagentinfo

线下推广充送等业务订单来源的查询接口

func NewAlibabaWttOfflineRecordQueryagentinfoRequest

func NewAlibabaWttOfflineRecordQueryagentinfoRequest() *AlibabaWttOfflineRecordQueryagentinfoAPIRequest

初始化AlibabaWttOfflineRecordQueryagentinfoAPIRequest对象

func (AlibabaWttOfflineRecordQueryagentinfoAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaWttOfflineRecordQueryagentinfoAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaWttOfflineRecordQueryagentinfoAPIRequest) GetOrderId added in v1.2.0

OrderId Getter

func (AlibabaWttOfflineRecordQueryagentinfoAPIRequest) GetPhone added in v1.2.0

Phone Getter

func (*AlibabaWttOfflineRecordQueryagentinfoAPIRequest) SetOrderId added in v1.2.0

OrderId Setter 淘宝订单号

func (*AlibabaWttOfflineRecordQueryagentinfoAPIRequest) SetPhone added in v1.2.0

Phone Setter 业务号码

type AlibabaWttOfflineRecordQueryagentinfoAPIResponse

type AlibabaWttOfflineRecordQueryagentinfoAPIResponse struct {
	model.CommonResponse
	AlibabaWttOfflineRecordQueryagentinfoAPIResponseModel
}

线下推广充送等业务订单来源 API返回值 alibaba.wtt.offline.record.queryagentinfo

线下推广充送等业务订单来源的查询接口

type AlibabaWttOfflineRecordQueryagentinfoAPIResponseModel added in v1.2.0

type AlibabaWttOfflineRecordQueryagentinfoAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_wtt_offline_record_queryagentinfo_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口结果
	Result *CommonResult `json:"result,omitempty" xml:"result,omitempty"`
}

线下推广充送等业务订单来源 成功返回结果

type AlibabaWttOrderContractSubscribeAPIRequest added in v1.2.0

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

分销商合约生产 API请求 alibaba.wtt.order.contract.subscribe

分销商合约生产

func NewAlibabaWttOrderContractSubscribeRequest

func NewAlibabaWttOrderContractSubscribeRequest() *AlibabaWttOrderContractSubscribeAPIRequest

初始化AlibabaWttOrderContractSubscribeAPIRequest对象

func (AlibabaWttOrderContractSubscribeAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaWttOrderContractSubscribeAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaWttOrderContractSubscribeAPIRequest) GetDistributionOrderModel added in v1.2.0

DistributionOrderModel Getter

func (*AlibabaWttOrderContractSubscribeAPIRequest) SetDistributionOrderModel added in v1.2.0

func (r *AlibabaWttOrderContractSubscribeAPIRequest) SetDistributionOrderModel(_distributionOrderModel *DistributionOrderModel) error

DistributionOrderModel Setter 分销商合约生产

type AlibabaWttOrderContractSubscribeAPIResponse

type AlibabaWttOrderContractSubscribeAPIResponse struct {
	model.CommonResponse
	AlibabaWttOrderContractSubscribeAPIResponseModel
}

分销商合约生产 API返回值 alibaba.wtt.order.contract.subscribe

分销商合约生产

type AlibabaWttOrderContractSubscribeAPIResponseModel added in v1.2.0

type AlibabaWttOrderContractSubscribeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_wtt_order_contract_subscribe_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 合约产生陈宫
	Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"`
}

分销商合约生产 成功返回结果

type AlibabaWttUserRegioninfoByipGetAPIRequest added in v1.2.0

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

根据ip获取省市信息 API请求 alibaba.wtt.user.regioninfo.byip.get

通过ip获取省市信息

func NewAlibabaWttUserRegioninfoByipGetRequest

func NewAlibabaWttUserRegioninfoByipGetRequest() *AlibabaWttUserRegioninfoByipGetAPIRequest

初始化AlibabaWttUserRegioninfoByipGetAPIRequest对象

func (AlibabaWttUserRegioninfoByipGetAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaWttUserRegioninfoByipGetAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaWttUserRegioninfoByipGetAPIRequest) GetIp added in v1.2.0

Ip Getter

func (*AlibabaWttUserRegioninfoByipGetAPIRequest) SetIp added in v1.2.0

Ip Setter ip地址

type AlibabaWttUserRegioninfoByipGetAPIResponse

type AlibabaWttUserRegioninfoByipGetAPIResponse struct {
	model.CommonResponse
	AlibabaWttUserRegioninfoByipGetAPIResponseModel
}

根据ip获取省市信息 API返回值 alibaba.wtt.user.regioninfo.byip.get

通过ip获取省市信息

type AlibabaWttUserRegioninfoByipGetAPIResponseModel added in v1.2.0

type AlibabaWttUserRegioninfoByipGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_wtt_user_regioninfo_byip_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 地址信息
	Model *RegionInfo `json:"model,omitempty" xml:"model,omitempty"`
}

根据ip获取省市信息 成功返回结果

type CommonResult

type CommonResult struct {
	// 接口返回成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// desc
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 阿里订单号
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
}

CommonResult

type CommonRtnDo

type CommonRtnDo struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// data
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
}

CommonRtnDo

type ControlRespDto

type ControlRespDto struct {
	// 接续控制信息:CONTINUE(接续),REJECT(拦截),IVR(收取用户键盘输入内容)
	ControlOperate string `json:"control_operate,omitempty" xml:"control_operate,omitempty"`
	// controlMsg
	ControlMsg string `json:"control_msg,omitempty" xml:"control_msg,omitempty"`
	// 对应到小号平台的能力类型:AXB、AXN、AXN_EXTENSION_REUSE(AXN分机复用)
	ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"`
	// 主叫放音编码
	CallNoPlayCode string `json:"call_no_play_code,omitempty" xml:"call_no_play_code,omitempty"`
	// 被叫放音编码
	CalledNoPlayCode string `json:"called_no_play_code,omitempty" xml:"called_no_play_code,omitempty"`
	// 对应到阿里侧的绑定信息
	Subs *Subs `json:"subs,omitempty" xml:"subs,omitempty"`
	// 是否媒体资源降级,放弃录音放音功能;接入方无此相关功能,可忽略
	MediaDegrade bool `json:"media_degrade,omitempty" xml:"media_degrade,omitempty"`
}

ControlRespDto

type CreateOrderResponseDto

type CreateOrderResponseDto struct {
	// 天猫订单号
	TmallOrderId string `json:"tmall_order_id,omitempty" xml:"tmall_order_id,omitempty"`
	// 交易请求流水号
	TransferId string `json:"transfer_id,omitempty" xml:"transfer_id,omitempty"`
	// 金额(单位:分)
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 支付跳转地址
	PayUrl string `json:"pay_url,omitempty" xml:"pay_url,omitempty"`
	// 加密串
	SignStr string `json:"sign_str,omitempty" xml:"sign_str,omitempty"`
	// 支付宝支付订单号
	AlipayTradeId string `json:"alipay_trade_id,omitempty" xml:"alipay_trade_id,omitempty"`
}

CreateOrderResponseDto

type DistributionOrderInfo

type DistributionOrderInfo struct {
	// 业务类型
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 买家留言
	BuyerMessage string `json:"buyer_message,omitempty" xml:"buyer_message,omitempty"`
	// 买家名称
	BuyerName string `json:"buyer_name,omitempty" xml:"buyer_name,omitempty"`
	// 城市
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 分销商用户昵称
	DistributorNick string `json:"distributor_nick,omitempty" xml:"distributor_nick,omitempty"`
	// 快递公司编码
	ExpressCode string `json:"express_code,omitempty" xml:"express_code,omitempty"`
	// 快递公司名称
	ExpressName string `json:"express_name,omitempty" xml:"express_name,omitempty"`
	// 快递单号
	ExpressNumber string `json:"express_number,omitempty" xml:"express_number,omitempty"`
	// 身份证件信息
	IdCardInfo *IdCardInfo `json:"id_card_info,omitempty" xml:"id_card_info,omitempty"`
	// 运营商名称
	IspName string `json:"isp_name,omitempty" xml:"isp_name,omitempty"`
	// 商品编号
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品序列号
	ItemSerialNo string `json:"item_serial_no,omitempty" xml:"item_serial_no,omitempty"`
	// 商品标题
	ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"`
	// 1-无需物流,2-供应商发货,3-分销商发货
	LogisticsFlag int64 `json:"logistics_flag,omitempty" xml:"logistics_flag,omitempty"`
	// 物流信息,收货人信息,姓名,电话,地址
	LogisticsInfo *DistributionOrderLogisticsInfo `json:"logistics_info,omitempty" xml:"logistics_info,omitempty"`
	// 1-未发货,2-已发货
	LogisticsStatus int64 `json:"logistics_status,omitempty" xml:"logistics_status,omitempty"`
	// 订购状态:NOT_ORDER-未订购,ORDER_AUDIT-订购中(无订购接口,提交给供应商,线下受理中),ON_ORDER-订购中(有订购接口,线上受理中),SUCCESS-订购成功,FAILURE-订购失败,CANCEL-订购取消
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 运营商合约编号
	OutPackageId string `json:"out_package_id,omitempty" xml:"out_package_id,omitempty"`
	// 手机号码
	PhoneNo string `json:"phone_no,omitempty" xml:"phone_no,omitempty"`
	// 合约编号
	PlanGroupId int64 `json:"plan_group_id,omitempty" xml:"plan_group_id,omitempty"`
	// 合约名称
	PlanGroupName string `json:"plan_group_name,omitempty" xml:"plan_group_name,omitempty"`
	// 套餐编号
	PlanId int64 `json:"plan_id,omitempty" xml:"plan_id,omitempty"`
	// 套餐信息
	PlanInfo string `json:"plan_info,omitempty" xml:"plan_info,omitempty"`
	// 发货的商品编号,如ICCID等
	ProductSerialNo string `json:"product_serial_no,omitempty" xml:"product_serial_no,omitempty"`
	// 省份
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 订购失败原因
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// 备注
	Remarks string `json:"remarks,omitempty" xml:"remarks,omitempty"`
	// 订单状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 供应商用户昵称
	SupplierName string `json:"supplier_name,omitempty" xml:"supplier_name,omitempty"`
	// 淘宝交易订单创建时间
	TbOrderCreateTime string `json:"tb_order_create_time,omitempty" xml:"tb_order_create_time,omitempty"`
	// 淘宝交易订单号
	TbOrderNo string `json:"tb_order_no,omitempty" xml:"tb_order_no,omitempty"`
	// 淘宝交易订单创建时间
	TbOrderPayTime string `json:"tb_order_pay_time,omitempty" xml:"tb_order_pay_time,omitempty"`
	// 订单价格
	TbOrderPrice int64 `json:"tb_order_price,omitempty" xml:"tb_order_price,omitempty"`
	// 外部订单号
	OutOrderNo string `json:"out_order_no,omitempty" xml:"out_order_no,omitempty"`
	// 支付宝交易流水号
	PayOrderNo string `json:"pay_order_no,omitempty" xml:"pay_order_no,omitempty"`
	// 购买数量
	BuyQuantity int64 `json:"buy_quantity,omitempty" xml:"buy_quantity,omitempty"`
	// 套餐名称
	PlanName string `json:"plan_name,omitempty" xml:"plan_name,omitempty"`
	// 号码最低消费
	PhoneNoMinConsume int64 `json:"phone_no_min_consume,omitempty" xml:"phone_no_min_consume,omitempty"`
	// ledgerAmount
	LedgerAmount int64 `json:"ledger_amount,omitempty" xml:"ledger_amount,omitempty"`
	// 商品属性
	ItemProps string `json:"item_props,omitempty" xml:"item_props,omitempty"`
	// 认证的活体ID序列
	BiometricSeq string `json:"biometric_seq,omitempty" xml:"biometric_seq,omitempty"`
}

DistributionOrderInfo

type DistributionOrderLogisticsInfo

type DistributionOrderLogisticsInfo struct {
	// 区
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 国家
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 省
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 详细地址
	RawAddress string `json:"raw_address,omitempty" xml:"raw_address,omitempty"`
	// 乡/镇/街道
	Town string `json:"town,omitempty" xml:"town,omitempty"`
	// 收货人名称
	ConsigneeName string `json:"consignee_name,omitempty" xml:"consignee_name,omitempty"`
	// 收货人联系电话
	ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"`
	// 收货人地址
	DeliveryAddress string `json:"delivery_address,omitempty" xml:"delivery_address,omitempty"`
}

DistributionOrderLogisticsInfo

type DistributionOrderLogisticsModel

type DistributionOrderLogisticsModel struct {
	// 快递公司编码
	ExpressCode string `json:"express_code,omitempty" xml:"express_code,omitempty"`
	// 快递名称
	ExpressName string `json:"express_name,omitempty" xml:"express_name,omitempty"`
	// 快递单号
	ExpressNumber string `json:"express_number,omitempty" xml:"express_number,omitempty"`
	// 产品编码,如ICCID
	ProductSerialNo string `json:"product_serial_no,omitempty" xml:"product_serial_no,omitempty"`
	// 淘宝交易订单号
	OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"`
	// 需要变更的订购状态, NOT_ORDER(1, "未订购"), 未订购; ORDER_AUDIT(2, "订购中"), 无订购接口,提交给供应商,线下受理中; ON_ORDER(3, "订购中"), 有订购接口,线上受理中; FAILURE(4, "订购失败"),订购失败; SUCCESS(5, "订购成功"),订购成功; CANCEL(6, "订购取消"),订购取消
	ContractOrderStatus string `json:"contract_order_status,omitempty" xml:"contract_order_status,omitempty"`
	// 分销商编号
	DistributorId int64 `json:"distributor_id,omitempty" xml:"distributor_id,omitempty"`
	// iccid
	Iccid string `json:"iccid,omitempty" xml:"iccid,omitempty"`
	// 身份证相关信息
	IdCardModel *IdCardModel `json:"id_card_model,omitempty" xml:"id_card_model,omitempty"`
	// 商品编码
	ItemSerialNo string `json:"item_serial_no,omitempty" xml:"item_serial_no,omitempty"`
	// 操作时间
	OperateTime string `json:"operate_time,omitempty" xml:"operate_time,omitempty"`
	// 失败原因
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
}

DistributionOrderLogisticsModel

type DistributionOrderModel

type DistributionOrderModel struct {
	// 订单号码
	OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"`
	// 手机串码
	ItemSerialNo string `json:"item_serial_no,omitempty" xml:"item_serial_no,omitempty"`
}

DistributionOrderModel

type EcardItemDo

type EcardItemDo struct {
	// begin_of_validity
	BeginOfValidity string `json:"begin_of_validity,omitempty" xml:"begin_of_validity,omitempty"`
	// cz_activity_desc
	CzActivityDesc string `json:"cz_activity_desc,omitempty" xml:"cz_activity_desc,omitempty"`
	// err_msg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// face_price
	FacePrice string `json:"face_price,omitempty" xml:"face_price,omitempty"`
	// flow_type
	FlowType string `json:"flow_type,omitempty" xml:"flow_type,omitempty"`
	// is_activity
	IsActivity bool `json:"is_activity,omitempty" xml:"is_activity,omitempty"`
	// is_guan_f_seller
	IsGuanFSeller bool `json:"is_guan_f_seller,omitempty" xml:"is_guan_f_seller,omitempty"`
	// is_hui_item
	IsHuiItem bool `json:"is_hui_item,omitempty" xml:"is_hui_item,omitempty"`
	// is_invalid_monthly
	IsInvalidMonthly string `json:"is_invalid_monthly,omitempty" xml:"is_invalid_monthly,omitempty"`
	// is_white
	IsWhite bool `json:"is_white,omitempty" xml:"is_white,omitempty"`
	// item_id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// item_name
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// mobile
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// price_ext_content
	PriceExtContent string `json:"price_ext_content,omitempty" xml:"price_ext_content,omitempty"`
	// promotion_price
	PromotionPrice string `json:"promotion_price,omitempty" xml:"promotion_price,omitempty"`
	// result
	Result int64 `json:"result,omitempty" xml:"result,omitempty"`
	// seller
	Seller string `json:"seller,omitempty" xml:"seller,omitempty"`
	// send_desc
	SendDesc string `json:"send_desc,omitempty" xml:"send_desc,omitempty"`
	// simple_desc
	SimpleDesc string `json:"simple_desc,omitempty" xml:"simple_desc,omitempty"`
	// std_price
	StdPrice string `json:"std_price,omitempty" xml:"std_price,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// term_of_validity
	TermOfValidity string `json:"term_of_validity,omitempty" xml:"term_of_validity,omitempty"`
	// time_limit
	TimeLimit string `json:"time_limit,omitempty" xml:"time_limit,omitempty"`
	// title
	Title string `json:"title,omitempty" xml:"title,omitempty"`
}

EcardItemDo

type EndCallRequest

type EndCallRequest struct {
	// 呼叫释放原因,1,未分配的号码(空号) 3,无至目的地的路由 4,停机 6,不可接受的信道 16,正常清除 17,用户忙 18,无用户响应 19,已有用户提醒,但无应答 21,呼叫拒绝 22,号码改变 26,清除未选择的用户 27,终点故障 28,无效号码格式(不完全的号码) 29,设施被拒绝 30,对状态询问的响应 31,正常--未规定 34,无电路/信道可用 38,网络故障 41,临时故障 42,交换设备拥塞 43,接入信息被丢弃 44,请求的电路/信道不可用 47,资源不可用--未规定 49,服务质量不可用 50,未预订所请求的设施 55,IncomingcallsbarredwithintheCUG 57,承载能力未认可(未开通通话功能) 58,承载能力目前不可用 63,无适用的业务或任选项目-未规定 65,承载业务不能实现 68,ACMequaltoorgreaterthanACMmax 69,所请求的设施不能实现 70,仅能获得受限数字信息承载能力 79,业务不能实现-未规定) 81,无效处理识别码 87UsernotmemberofCUG 88,非兼容目的地址 91,无效过渡网选择 95,无效消息-未规定 96,必选消息单元差错 97,消息类型不存在或不能实现 98,消息与控制状态不兼容-消息类型不存在或不能实现 99,信息单元不存在或不能实现 100,无效信息单元内容 101,消息与呼叫状态不兼容 102,定时器超时恢复 111,协议差错-未规定 127,互通-未规定 9999(短信话单时,传此值)
	ReleaseCause int64 `json:"release_cause,omitempty" xml:"release_cause,omitempty"`
	// 唯一呼叫ID,需要和转呼控制接口的call_id对应起来;最大可支持字符串长度256
	CallId string `json:"call_id,omitempty" xml:"call_id,omitempty"`
	// 被叫响铃时间,如果没有响铃时间,ring_time填写call_out_time的时间;短信话单时,此值传短信接收时间
	RingTime string `json:"ring_time,omitempty" xml:"ring_time,omitempty"`
	// 被叫接听时间;短信话单时,此值传短信接收时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 中间号
	SecretNo string `json:"secret_no,omitempty" xml:"secret_no,omitempty"`
	// 呼叫被叫侧发起的时间;短信话单时,此值传短信接收时间
	CallOutTime string `json:"call_out_time,omitempty" xml:"call_out_time,omitempty"`
	// 0-平台释放 1-主叫释放 2-被叫释放;短信话单时,传0
	ReleaseDir int64 `json:"release_dir,omitempty" xml:"release_dir,omitempty"`
	// 通话释放时间,如果未接通start_time应该等于release_time;短信话单时,此值传短信接收时间
	ReleaseTime string `json:"release_time,omitempty" xml:"release_time,omitempty"`
	// 阿里侧对应的绑定关系ID,可不传
	SubsId string `json:"subs_id,omitempty" xml:"subs_id,omitempty"`
	// 分配给供应商Key
	VendorKey string `json:"vendor_key,omitempty" xml:"vendor_key,omitempty"`
	// 被叫空闲振铃时间;可选参数,无此相关功能,可不传
	FreeRingTime string `json:"free_ring_time,omitempty" xml:"free_ring_time,omitempty"`
	// 短信条数
	SmsNumber int64 `json:"sms_number,omitempty" xml:"sms_number,omitempty"`
	// 录音下载URL,公网可以访问
	RecordUrl string `json:"record_url,omitempty" xml:"record_url,omitempty"`
	// 呼叫结果
	CallResult string `json:"call_result,omitempty" xml:"call_result,omitempty"`
	// 放音录音下载URL,公网可以访问
	RingingRecordUrl string `json:"ringing_record_url,omitempty" xml:"ringing_record_url,omitempty"`
	// 话单类型 0-通话 1-短信
	CallType string `json:"call_type,omitempty" xml:"call_type,omitempty"`
	// 主叫号码
	CallNo string `json:"call_no,omitempty" xml:"call_no,omitempty"`
	// 被叫号码
	CalledNo string `json:"called_no,omitempty" xml:"called_no,omitempty"`
	// 分机号
	ExtensionNo string `json:"extension_no,omitempty" xml:"extension_no,omitempty"`
}

EndCallRequest

type ExchangeModel

type ExchangeModel struct {
	// 从tae获取的混淆nick
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
	// 商家订单编号
	OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"`
	// 兑换优惠券的金额,单位:分
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 扩展信息
	Ext *Ext `json:"ext,omitempty" xml:"ext,omitempty"`
}

ExchangeModel

type Ext

type Ext struct {
	// 奖品ID,传入即按指定ID兑换对应的权益
	AwardId string `json:"award_id,omitempty" xml:"award_id,omitempty"`
}

Ext

type FcPartnerSmsDetailDto

type FcPartnerSmsDetailDto struct {
	// 公共回传参数
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 短信接收号码
	RecNum string `json:"rec_num,omitempty" xml:"rec_num,omitempty"`
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 模板编码
	SmsCode string `json:"sms_code,omitempty" xml:"sms_code,omitempty"`
	// 短信内容
	SmsContent string `json:"sms_content,omitempty" xml:"sms_content,omitempty"`
	// 短信接收时间
	SmsReceiverTime string `json:"sms_receiver_time,omitempty" xml:"sms_receiver_time,omitempty"`
	// 短信发送时间
	SmsSendTime string `json:"sms_send_time,omitempty" xml:"sms_send_time,omitempty"`
	// 发送状态 1:等待回执,2:发送失败,3:发送成功
	SmsStatus int64 `json:"sms_status,omitempty" xml:"sms_status,omitempty"`
}

FcPartnerSmsDetailDto

type FlowSuppllierNotifyModel

type FlowSuppllierNotifyModel struct {
	// 阿里通信业务id,具体询问技术接口人
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 扩展信息
	ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"`
	// 用于区分商家通知的内容类型,例如:“0”为套餐激活通知
	NotifyType string `json:"notify_type,omitempty" xml:"notify_type,omitempty"`
	// 套餐生效时间
	OfferInvalidDate string `json:"offer_invalid_date,omitempty" xml:"offer_invalid_date,omitempty"`
	// 套餐失效时间
	OfferValidDate string `json:"offer_valid_date,omitempty" xml:"offer_valid_date,omitempty"`
	// 淘宝内部订单号
	OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"`
	// 运营商外部订单号
	OutOrderNo string `json:"out_order_no,omitempty" xml:"out_order_no,omitempty"`
	// 运营商的收货状态,false:未收到
	ReceiveStatus bool `json:"receive_status,omitempty" xml:"receive_status,omitempty"`
	// iccid和卡的过期时间
	SendGoodParam string `json:"send_good_param,omitempty" xml:"send_good_param,omitempty"`
	// iccid
	Iccid string `json:"iccid,omitempty" xml:"iccid,omitempty"`
	// 买家ID,用户id
	UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

FlowSuppllierNotifyModel

type Flowcardlist

type Flowcardlist struct {
	// begin_of_validity
	BeginOfValidity string `json:"begin_of_validity,omitempty" xml:"begin_of_validity,omitempty"`
	// face_price
	FacePrice string `json:"face_price,omitempty" xml:"face_price,omitempty"`
	// flow_type
	FlowType string `json:"flow_type,omitempty" xml:"flow_type,omitempty"`
	// is_invalid_monthly
	IsInvalidMonthly string `json:"is_invalid_monthly,omitempty" xml:"is_invalid_monthly,omitempty"`
	// item_id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// item_name
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// mobile
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// promotion_price
	PromotionPrice string `json:"promotion_price,omitempty" xml:"promotion_price,omitempty"`
	// result
	Result int64 `json:"result,omitempty" xml:"result,omitempty"`
	// seller
	Seller string `json:"seller,omitempty" xml:"seller,omitempty"`
	// simple_desc
	SimpleDesc string `json:"simple_desc,omitempty" xml:"simple_desc,omitempty"`
	// std_price
	StdPrice string `json:"std_price,omitempty" xml:"std_price,omitempty"`
	// term_of_validity
	TermOfValidity string `json:"term_of_validity,omitempty" xml:"term_of_validity,omitempty"`
	// time_limit
	TimeLimit string `json:"time_limit,omitempty" xml:"time_limit,omitempty"`
	// title
	Title string `json:"title,omitempty" xml:"title,omitempty"`
}

Flowcardlist

type IdCardInfo

type IdCardInfo struct {
	// 证件号码
	CardNumber string `json:"card_number,omitempty" xml:"card_number,omitempty"`
	// 证件类型
	CardType string `json:"card_type,omitempty" xml:"card_type,omitempty"`
	// 证件名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 身份证反面照
	BackCertPic string `json:"back_cert_pic,omitempty" xml:"back_cert_pic,omitempty"`
	// 身份证正面照
	FaceCertPic string `json:"face_cert_pic,omitempty" xml:"face_cert_pic,omitempty"`
	// 手持证件照
	HoldCertPic string `json:"hold_cert_pic,omitempty" xml:"hold_cert_pic,omitempty"`
}

IdCardInfo

type IdCardModel

type IdCardModel struct {
	// 身份证反面照
	BackCertPic string `json:"back_cert_pic,omitempty" xml:"back_cert_pic,omitempty"`
	// 证件失效时间
	CardExpireDate string `json:"card_expire_date,omitempty" xml:"card_expire_date,omitempty"`
	// 证件号码
	CardNumber string `json:"card_number,omitempty" xml:"card_number,omitempty"`
	// 证件类型
	CardType string `json:"card_type,omitempty" xml:"card_type,omitempty"`
	// 身份证正面照
	FaceCertPic string `json:"face_cert_pic,omitempty" xml:"face_cert_pic,omitempty"`
	// 手持身份证照
	HoldCertPic string `json:"hold_cert_pic,omitempty" xml:"hold_cert_pic,omitempty"`
	// 证件名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

IdCardModel

type IdentityInfo

type IdentityInfo struct {
	// 身份证背面图片
	BackImageUrl string `json:"back_image_url,omitempty" xml:"back_image_url,omitempty"`
	// 订单id
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 身份证号码
	CardNum string `json:"card_num,omitempty" xml:"card_num,omitempty"`
	// 身份证正面图片
	FrontImageUrl string `json:"front_image_url,omitempty" xml:"front_image_url,omitempty"`
	// 手持照
	HoldImageUrl string `json:"hold_image_url,omitempty" xml:"hold_image_url,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 是否长期有效
	LongTerm bool `json:"long_term,omitempty" xml:"long_term,omitempty"`
	// 卡类型
	CardType string `json:"card_type,omitempty" xml:"card_type,omitempty"`
	// 失效时间
	CardExpireDate string `json:"card_expire_date,omitempty" xml:"card_expire_date,omitempty"`
	// 身份证生效时间
	StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"`
	// 身份证失效时间
	EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"`
	// biometricSeq
	BiometricSeq string `json:"biometric_seq,omitempty" xml:"biometric_seq,omitempty"`
}

IdentityInfo

type MtsInfoDo

type MtsInfoDo struct {
	// area_name
	AreaName string `json:"area_name,omitempty" xml:"area_name,omitempty"`
	// cat_id
	CatId int64 `json:"cat_id,omitempty" xml:"cat_id,omitempty"`
	// cat_name
	CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"`
	// city
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// err_msg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// location_sensitive
	LocationSensitive bool `json:"location_sensitive,omitempty" xml:"location_sensitive,omitempty"`
	// mobile
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// result
	Result int64 `json:"result,omitempty" xml:"result,omitempty"`
	// show_cat_name
	ShowCatName string `json:"show_cat_name,omitempty" xml:"show_cat_name,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

MtsInfoDo

type OfflineOrderRecordExtInfo

type OfflineOrderRecordExtInfo struct {
	// 网点地址
	AgentInfoAdress string `json:"agent_info_adress,omitempty" xml:"agent_info_adress,omitempty"`
	// 网点名称
	AgentInfoName string `json:"agent_info_name,omitempty" xml:"agent_info_name,omitempty"`
	// 网点id
	AgentInfoId int64 `json:"agent_info_id,omitempty" xml:"agent_info_id,omitempty"`
	// 客户经理联系电话
	PhoneNo string `json:"phone_no,omitempty" xml:"phone_no,omitempty"`
	// 客户经理姓名
	AgentName string `json:"agent_name,omitempty" xml:"agent_name,omitempty"`
	// 客户经理id
	AgentId int64 `json:"agent_id,omitempty" xml:"agent_id,omitempty"`
	// 省份
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 地市
	City string `json:"city,omitempty" xml:"city,omitempty"`
}

OfflineOrderRecordExtInfo

type OpentradCreateOrderRequestDto added in v1.2.0

type OpentradCreateOrderRequestDto struct {
	// 活动ID
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 交易请求流水号
	TransferId string `json:"transfer_id,omitempty" xml:"transfer_id,omitempty"`
	// 手机号
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 价格(分)
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 来源
	Source string `json:"source,omitempty" xml:"source,omitempty"`
	// 卖家Nick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 支付宝Id
	AlipayId int64 `json:"alipay_id,omitempty" xml:"alipay_id,omitempty"`
	// 淘宝Nick
	TaobaoNick string `json:"taobao_nick,omitempty" xml:"taobao_nick,omitempty"`
	// 淘宝Token
	TaobaoToken string `json:"taobao_token,omitempty" xml:"taobao_token,omitempty"`
	// 礼包ID
	GiftId int64 `json:"gift_id,omitempty" xml:"gift_id,omitempty"`
	// 产品名称
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// 扩展属性
	Ext string `json:"ext,omitempty" xml:"ext,omitempty"`
	// 产品ID
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
}

OpentradCreateOrderRequestDto

type OrderResultDto

type OrderResultDto struct {
	// 结果描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 天猫交易订单号
	OrderNo int64 `json:"order_no,omitempty" xml:"order_no,omitempty"`
	// 结果码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 商家处理结果是否成功标志
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

OrderResultDto

type OrderStatusNotifyRequest

type OrderStatusNotifyRequest struct {
	// 订单状态
	Orderstatus bool `json:"orderstatus,omitempty" xml:"orderstatus,omitempty"`
	// 错误描述
	ErrDesc string `json:"err_desc,omitempty" xml:"err_desc,omitempty"`
	// 卖家id
	SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 业务类型
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 天猫订单号
	BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 外部流水号
	OutSerialNumber string `json:"out_serial_number,omitempty" xml:"out_serial_number,omitempty"`
}

OrderStatusNotifyRequest

type OssTokenResponse

type OssTokenResponse struct {
	// 失效时间
	Expiration string `json:"expiration,omitempty" xml:"expiration,omitempty"`
	// token
	SecurityToken string `json:"security_token,omitempty" xml:"security_token,omitempty"`
	// accessKeySecret
	AccessKeySecret string `json:"access_key_secret,omitempty" xml:"access_key_secret,omitempty"`
	// accessKeyId
	AccessKeyId string `json:"access_key_id,omitempty" xml:"access_key_id,omitempty"`
	// status
	Status string `json:"status,omitempty" xml:"status,omitempty"`
}

OssTokenResponse

type OutExchangeModel

type OutExchangeModel struct {
	// 单位为分
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 淘宝nick
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
	// 外部单号
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 单位为分
	Account string `json:"account,omitempty" xml:"account,omitempty"`
	// 固定值填15
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 商户合作id
	Partner string `json:"partner,omitempty" xml:"partner,omitempty"`
	// 来源
	From string `json:"from,omitempty" xml:"from,omitempty"`
	// 兑换的购物券面额(单位分)
	CouponFace string `json:"coupon_face,omitempty" xml:"coupon_face,omitempty"`
	// 扩展属性
	Ext string `json:"ext,omitempty" xml:"ext,omitempty"`
}

OutExchangeModel

type PreAuthorizeModel

type PreAuthorizeModel struct {
	// 扩展字段(json)
	Ext string `json:"ext,omitempty" xml:"ext,omitempty"`
	// 0:业务办理成功,2:业务办理失败,全额解冻
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 淘宝订单号
	TbOrderNo string `json:"tb_order_no,omitempty" xml:"tb_order_no,omitempty"`
	// 外部流水号
	OutBizOrderNo string `json:"out_biz_order_no,omitempty" xml:"out_biz_order_no,omitempty"`
	// 授权水号
	FundAuthNo string `json:"fund_auth_no,omitempty" xml:"fund_auth_no,omitempty"`
	// 描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 履约日期(yyyy-MM-dd)
	FulfillmentDate string `json:"fulfillment_date,omitempty" xml:"fulfillment_date,omitempty"`
	// 0:解冻,1:违约 2:罚没
	OperationType string `json:"operation_type,omitempty" xml:"operation_type,omitempty"`
	// 淘宝昵称
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
	// 金额(单位:分)
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 淘宝订单号
	Tid string `json:"tid,omitempty" xml:"tid,omitempty"`
}

PreAuthorizeModel

type ProductActivityInfoResponseDto

type ProductActivityInfoResponseDto struct {
	// 产品ID
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 产品名称
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// 卖家名称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 金额
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 活动ID
	ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 活动名称
	ActivityName string `json:"activity_name,omitempty" xml:"activity_name,omitempty"`
	// activityGiftInfos
	ActivityGiftInfos *ActivityGiftInfos `json:"activity_gift_infos,omitempty" xml:"activity_gift_infos,omitempty"`
}

ProductActivityInfoResponseDto

type RegionInfo

type RegionInfo struct {
	// 城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 城市id
	CityId string `json:"city_id,omitempty" xml:"city_id,omitempty"`
	// 省份id
	ProvId string `json:"prov_id,omitempty" xml:"prov_id,omitempty"`
	// 省份
	Province string `json:"province,omitempty" xml:"province,omitempty"`
}

RegionInfo

type SequenceCalls

type SequenceCalls struct {
	// 主叫放音
	CallNoPlayCode string `json:"call_no_play_code,omitempty" xml:"call_no_play_code,omitempty"`
	// 被叫号码
	CalledNo string `json:"called_no,omitempty" xml:"called_no,omitempty"`
	// 被叫号显
	CalledDisplayNo string `json:"called_display_no,omitempty" xml:"called_display_no,omitempty"`
	// 被叫放音
	CalledNoPlayCode string `json:"called_no_play_code,omitempty" xml:"called_no_play_code,omitempty"`
}

SequenceCalls

type SmsInterceptRequest

type SmsInterceptRequest struct {
	// 中间号
	SecretNo string `json:"secret_no,omitempty" xml:"secret_no,omitempty"`
	// 短信发送主叫号码
	CallNo string `json:"call_no,omitempty" xml:"call_no,omitempty"`
	// 短信内容,请使用UCS2进行编码
	SmsContent string `json:"sms_content,omitempty" xml:"sms_content,omitempty"`
	// 短信时间撮
	MtTime string `json:"mt_time,omitempty" xml:"mt_time,omitempty"`
	// 每次呼叫行为和短信行为的唯一ID
	CallId string `json:"call_id,omitempty" xml:"call_id,omitempty"`
	// 对应阿里侧的绑定关系ID
	SubsId string `json:"subs_id,omitempty" xml:"subs_id,omitempty"`
	// 分配给供应商的KEY
	VendorKey string `json:"vendor_key,omitempty" xml:"vendor_key,omitempty"`
}

SmsInterceptRequest

type StartCallRequest

type StartCallRequest struct {
	// AXN分机号产品中通过IVR放音收取上来的用户输入的分机字符
	Extension string `json:"extension,omitempty" xml:"extension,omitempty"`
	// 中间号码
	SecretNo string `json:"secret_no,omitempty" xml:"secret_no,omitempty"`
	// 主叫号码
	CallNo string `json:"call_no,omitempty" xml:"call_no,omitempty"`
	// 呼叫开始时间
	CallTime string `json:"call_time,omitempty" xml:"call_time,omitempty"`
	// 唯一的呼叫ID,最大可支持字符串长度256
	CallId string `json:"call_id,omitempty" xml:"call_id,omitempty"`
	// 行为类型,CALL:呼叫行为,SMS:短信行为
	RecordType string `json:"record_type,omitempty" xml:"record_type,omitempty"`
	// 供应商KEY
	VendorKey string `json:"vendor_key,omitempty" xml:"vendor_key,omitempty"`
}

StartCallRequest

type Subs

type Subs struct {
	// 被叫显号
	CalledDisplayNo string `json:"called_display_no,omitempty" xml:"called_display_no,omitempty"`
	// 被叫号码
	CalledNo string `json:"called_no,omitempty" xml:"called_no,omitempty"`
	// 订购关系ID;目前字符串长度为16位,建议预留32位
	SubsId string `json:"subs_id,omitempty" xml:"subs_id,omitempty"`
	// 呼叫类型MASTER(A->X->B), CALLED(B->X->A), SMS_SENDER, SMS_RECEIVER
	CallType string `json:"call_type,omitempty" xml:"call_type,omitempty"`
	// 是否需要录音
	NeedRecord bool `json:"need_record,omitempty" xml:"need_record,omitempty"`
	// 短信通道方式SMS_INTERCEPT(拦截推送阿里),SMS_NORMAL_SEND(正常现网下发),SMS_DROP(拦截丢弃)
	SmsChannel string `json:"sms_channel,omitempty" xml:"sms_channel,omitempty"`
	// 顺振参数
	SequenceCalls []SequenceCalls `json:"sequence_calls,omitempty" xml:"sequence_calls>sequence_calls,omitempty"`
	// 录音类型,mp3/wav
	RecType string `json:"rec_type,omitempty" xml:"rec_type,omitempty"`
	// 顺振超时时间
	SequenceTimeout int64 `json:"sequence_timeout,omitempty" xml:"sequence_timeout,omitempty"`
	// 录音模式,1:仅录制通话录音、2:放音录音+通话录音
	RecordMode string `json:"record_mode,omitempty" xml:"record_mode,omitempty"`
	// 是否需要优先下载录音,0:否、1:是
	FastRecord string `json:"fast_record,omitempty" xml:"fast_record,omitempty"`
	// 是否开启铃音检测 0:不开启 1:开启
	RrdsControl int64 `json:"rrds_control,omitempty" xml:"rrds_control,omitempty"`
}

Subs

type SupplierOrderResultModel

type SupplierOrderResultModel struct {
	// 业务类型:7-合约机分销、
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 结果码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 结果描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 交易订单号
	OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"`
	// 供应商外部订单号
	OutOrderNo string `json:"out_order_no,omitempty" xml:"out_order_no,omitempty"`
	// 订购结果状态
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

SupplierOrderResultModel

type SupplierTopQueryModel

type SupplierTopQueryModel struct {
	// 业务类型:7-合约及号卡分销
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 分销商名称
	DistributorName string `json:"distributor_name,omitempty" xml:"distributor_name,omitempty"`
	// 订单结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 淘宝交易订单号
	OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"`
	// 订单状态列表:1-未订购,2-订购中,3-订购中,4-订购失败,5-订购成功,6-订购取消
	OrderStatusList []int64 `json:"order_status_list,omitempty" xml:"order_status_list>int64,omitempty"`
	// 当前页
	PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"`
	// 分页数量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 用户账号
	PhoneNo string `json:"phone_no,omitempty" xml:"phone_no,omitempty"`
	// 订单开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
}

SupplierTopQueryModel

type TaobaoWtTradeOrderResultcallbackAPIRequest added in v1.2.0

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

商家回调接口 API请求 taobao.wt.trade.order.resultcallback

阿里通信定制服务,商家发货后进行调用该接口,用于自动发货并确认收货

func NewTaobaoWtTradeOrderResultcallbackRequest

func NewTaobaoWtTradeOrderResultcallbackRequest() *TaobaoWtTradeOrderResultcallbackAPIRequest

初始化TaobaoWtTradeOrderResultcallbackAPIRequest对象

func (TaobaoWtTradeOrderResultcallbackAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (TaobaoWtTradeOrderResultcallbackAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoWtTradeOrderResultcallbackAPIRequest) GetParam0 added in v1.2.0

Param0 Getter

func (*TaobaoWtTradeOrderResultcallbackAPIRequest) SetParam0 added in v1.2.0

Param0 Setter 系统自动生成

type TaobaoWtTradeOrderResultcallbackAPIResponse

type TaobaoWtTradeOrderResultcallbackAPIResponse struct {
	model.CommonResponse
	TaobaoWtTradeOrderResultcallbackAPIResponseModel
}

商家回调接口 API返回值 taobao.wt.trade.order.resultcallback

阿里通信定制服务,商家发货后进行调用该接口,用于自动发货并确认收货

type TaobaoWtTradeOrderResultcallbackAPIResponseModel added in v1.2.0

type TaobaoWtTradeOrderResultcallbackAPIResponseModel struct {
	XMLName xml.Name `xml:"wt_trade_order_resultcallback_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *CommonRtnDo `json:"result,omitempty" xml:"result,omitempty"`
}

商家回调接口 成功返回结果

type TopResultDto

type TopResultDto struct {
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// data
	Data *ProductActivityInfoResponseDto `json:"data,omitempty" xml:"data,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TopResultDto

Source Files

Jump to

Keyboard shortcuts

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