Documentation ¶
Overview ¶
Package mc 包含云码API相关结构体
Index ¶
- type AliyununimkttaskchargelaunchAPIRequest
- func (r AliyununimkttaskchargelaunchAPIRequest) GetAlipayOpenId() string
- func (r AliyununimkttaskchargelaunchAPIRequest) GetApiMethodName() string
- func (r AliyununimkttaskchargelaunchAPIRequest) GetApiParams(params url.Values)
- func (r AliyununimkttaskchargelaunchAPIRequest) GetChannelId() string
- func (r AliyununimkttaskchargelaunchAPIRequest) GetExtra() string
- func (r AliyununimkttaskchargelaunchAPIRequest) GetRawParams() model.Params
- func (r AliyununimkttaskchargelaunchAPIRequest) GetUrlId() string
- func (r AliyununimkttaskchargelaunchAPIRequest) GetUserId() string
- func (r *AliyununimkttaskchargelaunchAPIRequest) SetAlipayOpenId(_alipayOpenId string) error
- func (r *AliyununimkttaskchargelaunchAPIRequest) SetChannelId(_channelId string) error
- func (r *AliyununimkttaskchargelaunchAPIRequest) SetExtra(_extra string) error
- func (r *AliyununimkttaskchargelaunchAPIRequest) SetUrlId(_urlId string) error
- func (r *AliyununimkttaskchargelaunchAPIRequest) SetUserId(_userId string) error
- type AliyununimkttaskchargelaunchAPIResponse
- type AliyununimkttaskchargelaunchAPIResponseModel
- type TaskDto
- type TmallmcdevicecirclecheckAPIRequest
- func (r TmallmcdevicecirclecheckAPIRequest) GetApiMethodName() string
- func (r TmallmcdevicecirclecheckAPIRequest) GetApiParams(params url.Values)
- func (r TmallmcdevicecirclecheckAPIRequest) GetChannelId() string
- func (r TmallmcdevicecirclecheckAPIRequest) GetOuterCode() string
- func (r TmallmcdevicecirclecheckAPIRequest) GetRawParams() model.Params
- func (r *TmallmcdevicecirclecheckAPIRequest) SetChannelId(_channelId string) error
- func (r *TmallmcdevicecirclecheckAPIRequest) SetOuterCode(_outerCode string) error
- type TmallmcdevicecirclecheckAPIResponse
- type TmallmcdevicecirclecheckAPIResponseModel
- type TmallmcrecordordersyncAPIRequest
- func (r TmallmcrecordordersyncAPIRequest) GetApiMethodName() string
- func (r TmallmcrecordordersyncAPIRequest) GetApiParams(params url.Values)
- func (r TmallmcrecordordersyncAPIRequest) GetDeviceCode() string
- func (r TmallmcrecordordersyncAPIRequest) GetOpenId() string
- func (r TmallmcrecordordersyncAPIRequest) GetOriginPrice() int64
- func (r TmallmcrecordordersyncAPIRequest) GetPayPrice() int64
- func (r TmallmcrecordordersyncAPIRequest) GetRawParams() model.Params
- func (r TmallmcrecordordersyncAPIRequest) GetResult() string
- func (r TmallmcrecordordersyncAPIRequest) GetVersion() string
- func (r *TmallmcrecordordersyncAPIRequest) SetDeviceCode(_deviceCode string) error
- func (r *TmallmcrecordordersyncAPIRequest) SetOpenId(_openId string) error
- func (r *TmallmcrecordordersyncAPIRequest) SetOriginPrice(_originPrice int64) error
- func (r *TmallmcrecordordersyncAPIRequest) SetPayPrice(_payPrice int64) error
- func (r *TmallmcrecordordersyncAPIRequest) SetResult(_result string) error
- func (r *TmallmcrecordordersyncAPIRequest) SetVersion(_version string) error
- type TmallmcrecordordersyncAPIResponse
- type TmallmcrecordordersyncAPIResponseModel
- type TmallmctaskchargelaunchAPIRequest
- func (r TmallmctaskchargelaunchAPIRequest) GetAlipayOpenId() string
- func (r TmallmctaskchargelaunchAPIRequest) GetApiMethodName() string
- func (r TmallmctaskchargelaunchAPIRequest) GetApiParams(params url.Values)
- func (r TmallmctaskchargelaunchAPIRequest) GetChannelId() string
- func (r TmallmctaskchargelaunchAPIRequest) GetExtra() string
- func (r TmallmctaskchargelaunchAPIRequest) GetOuterCode() string
- func (r TmallmctaskchargelaunchAPIRequest) GetRawParams() model.Params
- func (r TmallmctaskchargelaunchAPIRequest) GetUrlId() string
- func (r *TmallmctaskchargelaunchAPIRequest) SetAlipayOpenId(_alipayOpenId string) error
- func (r *TmallmctaskchargelaunchAPIRequest) SetChannelId(_channelId string) error
- func (r *TmallmctaskchargelaunchAPIRequest) SetExtra(_extra string) error
- func (r *TmallmctaskchargelaunchAPIRequest) SetOuterCode(_outerCode string) error
- func (r *TmallmctaskchargelaunchAPIRequest) SetUrlId(_urlId string) error
- type TmallmctaskchargelaunchAPIResponse
- type TmallmctaskchargelaunchAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliyununimkttaskchargelaunchAPIRequest ¶ added in v1.3.1
type AliyununimkttaskchargelaunchAPIRequest struct { model.Params // contains filtered or unexported fields }
AliyununimkttaskchargelaunchAPIRequest 云码权益查询 API请求 aliyun.unimkt.task.charge.launch
云码线上流量投放链路,用于判断用户是否有匹配的投放计划
func NewAliyununimkttaskchargelaunchRequest ¶ added in v1.3.1
func NewAliyununimkttaskchargelaunchRequest() *AliyununimkttaskchargelaunchAPIRequest
NewAliyununimkttaskchargelaunchRequest 初始化AliyununimkttaskchargelaunchAPIRequest对象
func (AliyununimkttaskchargelaunchAPIRequest) GetAlipayOpenId ¶ added in v1.3.1
func (r AliyununimkttaskchargelaunchAPIRequest) GetAlipayOpenId() string
GetAlipayOpenId AlipayOpenId Getter
func (AliyununimkttaskchargelaunchAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AliyununimkttaskchargelaunchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliyununimkttaskchargelaunchAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AliyununimkttaskchargelaunchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliyununimkttaskchargelaunchAPIRequest) GetChannelId ¶ added in v1.3.1
func (r AliyununimkttaskchargelaunchAPIRequest) GetChannelId() string
GetChannelId ChannelId Getter
func (AliyununimkttaskchargelaunchAPIRequest) GetExtra ¶ added in v1.3.1
func (r AliyununimkttaskchargelaunchAPIRequest) GetExtra() string
GetExtra Extra Getter
func (AliyununimkttaskchargelaunchAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AliyununimkttaskchargelaunchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AliyununimkttaskchargelaunchAPIRequest) GetUrlId ¶ added in v1.3.1
func (r AliyununimkttaskchargelaunchAPIRequest) GetUrlId() string
GetUrlId UrlId Getter
func (AliyununimkttaskchargelaunchAPIRequest) GetUserId ¶ added in v1.3.1
func (r AliyununimkttaskchargelaunchAPIRequest) GetUserId() string
GetUserId UserId Getter
func (*AliyununimkttaskchargelaunchAPIRequest) SetAlipayOpenId ¶ added in v1.3.1
func (r *AliyununimkttaskchargelaunchAPIRequest) SetAlipayOpenId(_alipayOpenId string) error
SetAlipayOpenId is AlipayOpenId Setter 支付宝openID
func (*AliyununimkttaskchargelaunchAPIRequest) SetChannelId ¶ added in v1.3.1
func (r *AliyununimkttaskchargelaunchAPIRequest) SetChannelId(_channelId string) error
SetChannelId is ChannelId Setter 渠道ID
func (*AliyununimkttaskchargelaunchAPIRequest) SetExtra ¶ added in v1.3.1
func (r *AliyununimkttaskchargelaunchAPIRequest) SetExtra(_extra string) error
SetExtra is Extra Setter 服务商附加url参数
func (*AliyununimkttaskchargelaunchAPIRequest) SetUrlId ¶ added in v1.3.1
func (r *AliyununimkttaskchargelaunchAPIRequest) SetUrlId(_urlId string) error
SetUrlId is UrlId Setter urlID
func (*AliyununimkttaskchargelaunchAPIRequest) SetUserId ¶ added in v1.3.1
func (r *AliyununimkttaskchargelaunchAPIRequest) SetUserId(_userId string) error
SetUserId is UserId Setter 淘宝ID
type AliyununimkttaskchargelaunchAPIResponse ¶ added in v1.3.1
type AliyununimkttaskchargelaunchAPIResponse struct { model.CommonResponse AliyununimkttaskchargelaunchAPIResponseModel }
AliyununimkttaskchargelaunchAPIResponse 云码权益查询 API返回值 aliyun.unimkt.task.charge.launch
云码线上流量投放链路,用于判断用户是否有匹配的投放计划
type AliyununimkttaskchargelaunchAPIResponseModel ¶ added in v1.3.1
type AliyununimkttaskchargelaunchAPIResponseModel struct { XMLName xml.Name `xml:"aliyun_unimkt_task_charge_launch_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误消息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 任务结果 Result string `json:"result,omitempty" xml:"result,omitempty"` // 错误码 TaskErrorCode int64 `json:"task_error_code,omitempty" xml:"task_error_code,omitempty"` // 执行结果 TaskSuccess bool `json:"task_success,omitempty" xml:"task_success,omitempty"` }
AliyununimkttaskchargelaunchAPIResponseModel is 云码权益查询 成功返回结果
type TaskDto ¶
type TaskDto struct { // 投放计划名称 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"` // 投放计划id Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
TaskDto 结构体
type TmallmcdevicecirclecheckAPIRequest ¶ added in v1.3.1
type TmallmcdevicecirclecheckAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallmcdevicecirclecheckAPIRequest 云码设备圈选情况查询 API请求 tmall.mc.device.circle.check
云码设备圈选情况查询
func NewTmallmcdevicecirclecheckRequest ¶ added in v1.3.1
func NewTmallmcdevicecirclecheckRequest() *TmallmcdevicecirclecheckAPIRequest
NewTmallmcdevicecirclecheckRequest 初始化TmallmcdevicecirclecheckAPIRequest对象
func (TmallmcdevicecirclecheckAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmallmcdevicecirclecheckAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallmcdevicecirclecheckAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmallmcdevicecirclecheckAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallmcdevicecirclecheckAPIRequest) GetChannelId ¶ added in v1.3.1
func (r TmallmcdevicecirclecheckAPIRequest) GetChannelId() string
GetChannelId ChannelId Getter
func (TmallmcdevicecirclecheckAPIRequest) GetOuterCode ¶ added in v1.3.1
func (r TmallmcdevicecirclecheckAPIRequest) GetOuterCode() string
GetOuterCode OuterCode Getter
func (TmallmcdevicecirclecheckAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmallmcdevicecirclecheckAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TmallmcdevicecirclecheckAPIRequest) SetChannelId ¶ added in v1.3.1
func (r *TmallmcdevicecirclecheckAPIRequest) SetChannelId(_channelId string) error
SetChannelId is ChannelId Setter 渠道编码
func (*TmallmcdevicecirclecheckAPIRequest) SetOuterCode ¶ added in v1.3.1
func (r *TmallmcdevicecirclecheckAPIRequest) SetOuterCode(_outerCode string) error
SetOuterCode is OuterCode Setter 外部设备编码
type TmallmcdevicecirclecheckAPIResponse ¶ added in v1.3.1
type TmallmcdevicecirclecheckAPIResponse struct { model.CommonResponse TmallmcdevicecirclecheckAPIResponseModel }
TmallmcdevicecirclecheckAPIResponse 云码设备圈选情况查询 API返回值 tmall.mc.device.circle.check
云码设备圈选情况查询
type TmallmcdevicecirclecheckAPIResponseModel ¶ added in v1.3.1
type TmallmcdevicecirclecheckAPIResponseModel 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"` }
TmallmcdevicecirclecheckAPIResponseModel is 云码设备圈选情况查询 成功返回结果
type TmallmcrecordordersyncAPIRequest ¶ added in v1.3.1
type TmallmcrecordordersyncAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallmcrecordordersyncAPIRequest 订单信息同步 API请求 tmall.mc.record.order.sync
订单信息同步(零售云接口)
func NewTmallmcrecordordersyncRequest ¶ added in v1.3.1
func NewTmallmcrecordordersyncRequest() *TmallmcrecordordersyncAPIRequest
NewTmallmcrecordordersyncRequest 初始化TmallmcrecordordersyncAPIRequest对象
func (TmallmcrecordordersyncAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmallmcrecordordersyncAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallmcrecordordersyncAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmallmcrecordordersyncAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallmcrecordordersyncAPIRequest) GetDeviceCode ¶ added in v1.3.1
func (r TmallmcrecordordersyncAPIRequest) GetDeviceCode() string
GetDeviceCode DeviceCode Getter
func (TmallmcrecordordersyncAPIRequest) GetOpenId ¶ added in v1.3.1
func (r TmallmcrecordordersyncAPIRequest) GetOpenId() string
GetOpenId OpenId Getter
func (TmallmcrecordordersyncAPIRequest) GetOriginPrice ¶ added in v1.3.1
func (r TmallmcrecordordersyncAPIRequest) GetOriginPrice() int64
GetOriginPrice OriginPrice Getter
func (TmallmcrecordordersyncAPIRequest) GetPayPrice ¶ added in v1.3.1
func (r TmallmcrecordordersyncAPIRequest) GetPayPrice() int64
GetPayPrice PayPrice Getter
func (TmallmcrecordordersyncAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmallmcrecordordersyncAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TmallmcrecordordersyncAPIRequest) GetResult ¶ added in v1.3.1
func (r TmallmcrecordordersyncAPIRequest) GetResult() string
GetResult Result Getter
func (TmallmcrecordordersyncAPIRequest) GetVersion ¶ added in v1.3.1
func (r TmallmcrecordordersyncAPIRequest) GetVersion() string
GetVersion Version Getter
func (*TmallmcrecordordersyncAPIRequest) SetDeviceCode ¶ added in v1.3.1
func (r *TmallmcrecordordersyncAPIRequest) SetDeviceCode(_deviceCode string) error
SetDeviceCode is DeviceCode Setter 设备编码
func (*TmallmcrecordordersyncAPIRequest) SetOpenId ¶ added in v1.3.1
func (r *TmallmcrecordordersyncAPIRequest) SetOpenId(_openId string) error
SetOpenId is OpenId Setter 用户openId
func (*TmallmcrecordordersyncAPIRequest) SetOriginPrice ¶ added in v1.3.1
func (r *TmallmcrecordordersyncAPIRequest) SetOriginPrice(_originPrice int64) error
SetOriginPrice is OriginPrice Setter 原价
func (*TmallmcrecordordersyncAPIRequest) SetPayPrice ¶ added in v1.3.1
func (r *TmallmcrecordordersyncAPIRequest) SetPayPrice(_payPrice int64) error
SetPayPrice is PayPrice Setter 实付价
func (*TmallmcrecordordersyncAPIRequest) SetResult ¶ added in v1.3.1
func (r *TmallmcrecordordersyncAPIRequest) SetResult(_result string) error
SetResult is Result Setter 核销结果
func (*TmallmcrecordordersyncAPIRequest) SetVersion ¶ added in v1.3.1
func (r *TmallmcrecordordersyncAPIRequest) SetVersion(_version string) error
SetVersion is Version Setter 云码版本号
type TmallmcrecordordersyncAPIResponse ¶ added in v1.3.1
type TmallmcrecordordersyncAPIResponse struct { model.CommonResponse TmallmcrecordordersyncAPIResponseModel }
TmallmcrecordordersyncAPIResponse 订单信息同步 API返回值 tmall.mc.record.order.sync
订单信息同步(零售云接口)
type TmallmcrecordordersyncAPIResponseModel ¶ added in v1.3.1
type TmallmcrecordordersyncAPIResponseModel 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"` }
TmallmcrecordordersyncAPIResponseModel is 订单信息同步 成功返回结果
type TmallmctaskchargelaunchAPIRequest ¶ added in v1.3.1
type TmallmctaskchargelaunchAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallmctaskchargelaunchAPIRequest 云码充电宝投放链路 API请求 tmall.mc.task.charge.launch
云码充电宝投放链路,用于判断用户是否有匹配的投放计划
func NewTmallmctaskchargelaunchRequest ¶ added in v1.3.1
func NewTmallmctaskchargelaunchRequest() *TmallmctaskchargelaunchAPIRequest
NewTmallmctaskchargelaunchRequest 初始化TmallmctaskchargelaunchAPIRequest对象
func (TmallmctaskchargelaunchAPIRequest) GetAlipayOpenId ¶ added in v1.3.1
func (r TmallmctaskchargelaunchAPIRequest) GetAlipayOpenId() string
GetAlipayOpenId AlipayOpenId Getter
func (TmallmctaskchargelaunchAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmallmctaskchargelaunchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallmctaskchargelaunchAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmallmctaskchargelaunchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallmctaskchargelaunchAPIRequest) GetChannelId ¶ added in v1.3.1
func (r TmallmctaskchargelaunchAPIRequest) GetChannelId() string
GetChannelId ChannelId Getter
func (TmallmctaskchargelaunchAPIRequest) GetExtra ¶ added in v1.3.1
func (r TmallmctaskchargelaunchAPIRequest) GetExtra() string
GetExtra Extra Getter
func (TmallmctaskchargelaunchAPIRequest) GetOuterCode ¶ added in v1.3.1
func (r TmallmctaskchargelaunchAPIRequest) GetOuterCode() string
GetOuterCode OuterCode Getter
func (TmallmctaskchargelaunchAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmallmctaskchargelaunchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TmallmctaskchargelaunchAPIRequest) GetUrlId ¶ added in v1.3.1
func (r TmallmctaskchargelaunchAPIRequest) GetUrlId() string
GetUrlId UrlId Getter
func (*TmallmctaskchargelaunchAPIRequest) SetAlipayOpenId ¶ added in v1.3.1
func (r *TmallmctaskchargelaunchAPIRequest) SetAlipayOpenId(_alipayOpenId string) error
SetAlipayOpenId is AlipayOpenId Setter 支付宝openID
func (*TmallmctaskchargelaunchAPIRequest) SetChannelId ¶ added in v1.3.1
func (r *TmallmctaskchargelaunchAPIRequest) SetChannelId(_channelId string) error
SetChannelId is ChannelId Setter 渠道ID
func (*TmallmctaskchargelaunchAPIRequest) SetExtra ¶ added in v1.3.1
func (r *TmallmctaskchargelaunchAPIRequest) SetExtra(_extra string) error
SetExtra is Extra Setter 服务商附加url参数
func (*TmallmctaskchargelaunchAPIRequest) SetOuterCode ¶ added in v1.3.1
func (r *TmallmctaskchargelaunchAPIRequest) SetOuterCode(_outerCode string) error
SetOuterCode is OuterCode Setter 外部设备编码
func (*TmallmctaskchargelaunchAPIRequest) SetUrlId ¶ added in v1.3.1
func (r *TmallmctaskchargelaunchAPIRequest) SetUrlId(_urlId string) error
SetUrlId is UrlId Setter urlID
type TmallmctaskchargelaunchAPIResponse ¶ added in v1.3.1
type TmallmctaskchargelaunchAPIResponse struct { model.CommonResponse TmallmctaskchargelaunchAPIResponseModel }
TmallmctaskchargelaunchAPIResponse 云码充电宝投放链路 API返回值 tmall.mc.task.charge.launch
云码充电宝投放链路,用于判断用户是否有匹配的投放计划
type TmallmctaskchargelaunchAPIResponseModel ¶ added in v1.3.1
type TmallmctaskchargelaunchAPIResponseModel 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"` }
TmallmctaskchargelaunchAPIResponseModel is 云码充电宝投放链路 成功返回结果
Source Files ¶
- AliyunUnimktTaskChargeLaunchAPIRequest.go
- AliyunUnimktTaskChargeLaunchAPIResponse.go
- TaskDto.go
- TmallMcDeviceCircleCheckAPIRequest.go
- TmallMcDeviceCircleCheckAPIResponse.go
- TmallMcRecordOrderSyncAPIRequest.go
- TmallMcRecordOrderSyncAPIResponse.go
- TmallMcTaskChargeLaunchAPIRequest.go
- TmallMcTaskChargeLaunchAPIResponse.go
- doc.go