mc

package
v1.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliyunUnimktTaskChargeLaunchAPIResponse

type AliyunUnimktTaskChargeLaunchAPIResponse struct {
	model.CommonResponse
	AliyunUnimktTaskChargeLaunchResponse
}

云码权益查询 API返回值 aliyun.unimkt.task.charge.launch

云码线上流量投放链路,用于判断用户是否有匹配的投放计划

type AliyunUnimktTaskChargeLaunchRequest

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

云码权益查询 API请求 aliyun.unimkt.task.charge.launch

云码线上流量投放链路,用于判断用户是否有匹配的投放计划

func NewAliyunUnimktTaskChargeLaunchRequest

func NewAliyunUnimktTaskChargeLaunchRequest() *AliyunUnimktTaskChargeLaunchRequest

初始化AliyunUnimktTaskChargeLaunchRequest对象

func (AliyunUnimktTaskChargeLaunchRequest) GetAlipayOpenId

func (r AliyunUnimktTaskChargeLaunchRequest) GetAlipayOpenId() string

AlipayOpenId Getter

func (AliyunUnimktTaskChargeLaunchRequest) GetApiMethodName

func (r AliyunUnimktTaskChargeLaunchRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AliyunUnimktTaskChargeLaunchRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AliyunUnimktTaskChargeLaunchRequest) GetChannelId

ChannelId Getter

func (AliyunUnimktTaskChargeLaunchRequest) GetExtra

Extra Getter

func (AliyunUnimktTaskChargeLaunchRequest) GetUrlId

UrlId Getter

func (AliyunUnimktTaskChargeLaunchRequest) GetUserId

UserId Getter

func (*AliyunUnimktTaskChargeLaunchRequest) SetAlipayOpenId

func (r *AliyunUnimktTaskChargeLaunchRequest) SetAlipayOpenId(alipayOpenId string) error

AlipayOpenId Setter 支付宝openID

func (*AliyunUnimktTaskChargeLaunchRequest) SetChannelId

func (r *AliyunUnimktTaskChargeLaunchRequest) SetChannelId(channelId string) error

ChannelId Setter 渠道ID

func (*AliyunUnimktTaskChargeLaunchRequest) SetExtra

Extra Setter 服务商附加url参数

func (*AliyunUnimktTaskChargeLaunchRequest) SetUrlId

UrlId Setter urlID

func (*AliyunUnimktTaskChargeLaunchRequest) SetUserId

func (r *AliyunUnimktTaskChargeLaunchRequest) SetUserId(userId string) error

UserId Setter 淘宝ID

type AliyunUnimktTaskChargeLaunchResponse

type AliyunUnimktTaskChargeLaunchResponse struct {
	XMLName xml.Name `xml:"aliyun_unimkt_task_charge_launch_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 执行结果
	TaskSuccess bool `json:"task_success,omitempty" xml:"task_success,omitempty"`
	// 错误消息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	TaskErrorCode int64 `json:"task_error_code,omitempty" xml:"task_error_code,omitempty"`
	// 任务结果
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

云码权益查询 成功返回结果

type TaskDto

type TaskDto struct {
	// 投放计划id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 投放计划名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
}

TaskDto

type TmallMcDeviceCircleCheckAPIResponse

type TmallMcDeviceCircleCheckAPIResponse struct {
	model.CommonResponse
	TmallMcDeviceCircleCheckResponse
}

云码设备圈选情况查询 API返回值 tmall.mc.device.circle.check

云码设备圈选情况查询

type TmallMcDeviceCircleCheckRequest

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

云码设备圈选情况查询 API请求 tmall.mc.device.circle.check

云码设备圈选情况查询

func NewTmallMcDeviceCircleCheckRequest

func NewTmallMcDeviceCircleCheckRequest() *TmallMcDeviceCircleCheckRequest

初始化TmallMcDeviceCircleCheckRequest对象

func (TmallMcDeviceCircleCheckRequest) GetApiMethodName

func (r TmallMcDeviceCircleCheckRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallMcDeviceCircleCheckRequest) GetApiParams

func (r TmallMcDeviceCircleCheckRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TmallMcDeviceCircleCheckRequest) GetChannelId

func (r TmallMcDeviceCircleCheckRequest) GetChannelId() string

ChannelId Getter

func (TmallMcDeviceCircleCheckRequest) GetOuterCode

func (r TmallMcDeviceCircleCheckRequest) GetOuterCode() string

OuterCode Getter

func (*TmallMcDeviceCircleCheckRequest) SetChannelId

func (r *TmallMcDeviceCircleCheckRequest) SetChannelId(channelId string) error

ChannelId Setter 渠道编码

func (*TmallMcDeviceCircleCheckRequest) SetOuterCode

func (r *TmallMcDeviceCircleCheckRequest) SetOuterCode(outerCode string) error

OuterCode Setter 外部设备编码

type TmallMcDeviceCircleCheckResponse

type TmallMcDeviceCircleCheckResponse struct {
	XMLName xml.Name `xml:"tmall_mc_device_circle_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 设备相关投放计划
	Results []TaskDto `json:"results,omitempty" xml:"results>task_dto,omitempty"`
}

云码设备圈选情况查询 成功返回结果

type TmallMcRecordOrderSyncAPIResponse

type TmallMcRecordOrderSyncAPIResponse struct {
	model.CommonResponse
	TmallMcRecordOrderSyncResponse
}

订单信息同步 API返回值 tmall.mc.record.order.sync

订单信息同步(零售云接口)

type TmallMcRecordOrderSyncRequest

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

订单信息同步 API请求 tmall.mc.record.order.sync

订单信息同步(零售云接口)

func NewTmallMcRecordOrderSyncRequest

func NewTmallMcRecordOrderSyncRequest() *TmallMcRecordOrderSyncRequest

初始化TmallMcRecordOrderSyncRequest对象

func (TmallMcRecordOrderSyncRequest) GetApiMethodName

func (r TmallMcRecordOrderSyncRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallMcRecordOrderSyncRequest) GetApiParams

func (r TmallMcRecordOrderSyncRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TmallMcRecordOrderSyncRequest) GetDeviceCode

func (r TmallMcRecordOrderSyncRequest) GetDeviceCode() string

DeviceCode Getter

func (TmallMcRecordOrderSyncRequest) GetOpenId

func (r TmallMcRecordOrderSyncRequest) GetOpenId() string

OpenId Getter

func (TmallMcRecordOrderSyncRequest) GetOriginPrice

func (r TmallMcRecordOrderSyncRequest) GetOriginPrice() int64

OriginPrice Getter

func (TmallMcRecordOrderSyncRequest) GetPayPrice

func (r TmallMcRecordOrderSyncRequest) GetPayPrice() int64

PayPrice Getter

func (TmallMcRecordOrderSyncRequest) GetResult

func (r TmallMcRecordOrderSyncRequest) GetResult() string

Result Getter

func (TmallMcRecordOrderSyncRequest) GetVersion

func (r TmallMcRecordOrderSyncRequest) GetVersion() string

Version Getter

func (*TmallMcRecordOrderSyncRequest) SetDeviceCode

func (r *TmallMcRecordOrderSyncRequest) SetDeviceCode(deviceCode string) error

DeviceCode Setter 设备编码

func (*TmallMcRecordOrderSyncRequest) SetOpenId

func (r *TmallMcRecordOrderSyncRequest) SetOpenId(openId string) error

OpenId Setter 用户openId

func (*TmallMcRecordOrderSyncRequest) SetOriginPrice

func (r *TmallMcRecordOrderSyncRequest) SetOriginPrice(originPrice int64) error

OriginPrice Setter 原价

func (*TmallMcRecordOrderSyncRequest) SetPayPrice

func (r *TmallMcRecordOrderSyncRequest) SetPayPrice(payPrice int64) error

PayPrice Setter 实付价

func (*TmallMcRecordOrderSyncRequest) SetResult

func (r *TmallMcRecordOrderSyncRequest) SetResult(result string) error

Result Setter 核销结果

func (*TmallMcRecordOrderSyncRequest) SetVersion

func (r *TmallMcRecordOrderSyncRequest) SetVersion(version string) error

Version Setter 云码版本号

type TmallMcRecordOrderSyncResponse

type TmallMcRecordOrderSyncResponse struct {
	XMLName xml.Name `xml:"tmall_mc_record_order_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 同步成功
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

订单信息同步 成功返回结果

type TmallMcTaskChargeLaunchAPIResponse

type TmallMcTaskChargeLaunchAPIResponse struct {
	model.CommonResponse
	TmallMcTaskChargeLaunchResponse
}

云码充电宝投放链路 API返回值 tmall.mc.task.charge.launch

云码充电宝投放链路,用于判断用户是否有匹配的投放计划

type TmallMcTaskChargeLaunchRequest

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

云码充电宝投放链路 API请求 tmall.mc.task.charge.launch

云码充电宝投放链路,用于判断用户是否有匹配的投放计划

func NewTmallMcTaskChargeLaunchRequest

func NewTmallMcTaskChargeLaunchRequest() *TmallMcTaskChargeLaunchRequest

初始化TmallMcTaskChargeLaunchRequest对象

func (TmallMcTaskChargeLaunchRequest) GetAlipayOpenId

func (r TmallMcTaskChargeLaunchRequest) GetAlipayOpenId() string

AlipayOpenId Getter

func (TmallMcTaskChargeLaunchRequest) GetApiMethodName

func (r TmallMcTaskChargeLaunchRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallMcTaskChargeLaunchRequest) GetApiParams

func (r TmallMcTaskChargeLaunchRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TmallMcTaskChargeLaunchRequest) GetChannelId

func (r TmallMcTaskChargeLaunchRequest) GetChannelId() string

ChannelId Getter

func (TmallMcTaskChargeLaunchRequest) GetExtra

Extra Getter

func (TmallMcTaskChargeLaunchRequest) GetOuterCode

func (r TmallMcTaskChargeLaunchRequest) GetOuterCode() string

OuterCode Getter

func (TmallMcTaskChargeLaunchRequest) GetUrlId

UrlId Getter

func (*TmallMcTaskChargeLaunchRequest) SetAlipayOpenId

func (r *TmallMcTaskChargeLaunchRequest) SetAlipayOpenId(alipayOpenId string) error

AlipayOpenId Setter 支付宝openID

func (*TmallMcTaskChargeLaunchRequest) SetChannelId

func (r *TmallMcTaskChargeLaunchRequest) SetChannelId(channelId string) error

ChannelId Setter 渠道ID

func (*TmallMcTaskChargeLaunchRequest) SetExtra

func (r *TmallMcTaskChargeLaunchRequest) SetExtra(extra string) error

Extra Setter 服务商附加url参数

func (*TmallMcTaskChargeLaunchRequest) SetOuterCode

func (r *TmallMcTaskChargeLaunchRequest) SetOuterCode(outerCode string) error

OuterCode Setter 外部设备编码

func (*TmallMcTaskChargeLaunchRequest) SetUrlId

func (r *TmallMcTaskChargeLaunchRequest) SetUrlId(urlId string) error

UrlId Setter urlID

type TmallMcTaskChargeLaunchResponse

type TmallMcTaskChargeLaunchResponse struct {
	XMLName xml.Name `xml:"tmall_mc_task_charge_launch_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 入会页url
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

云码充电宝投放链路 成功返回结果

Jump to

Keyboard shortcuts

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