jst

package
v1.2.1 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=55254&docType=2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaModifyaddressIsvBindsellerCheckAPIRequest

type AlibabaModifyaddressIsvBindsellerCheckAPIRequest struct {
	model.Params
}
AlibabaModifyaddressIsvBindsellerCheckAPIRequest

查询服务商下的商家是否开通了改地址 API请求 alibaba.modifyaddress.isv.bindseller.check

鉴权服务商和商家的绑定关系,看商家是否开通了改地址 1. 没有授权 2. 已与当前appkey签约 3. 没有签约 4. 与其他服务商软件签约,如果是同一个isv name,返回appkey,否则不返回。

func NewAlibabaModifyaddressIsvBindsellerCheckRequest

func NewAlibabaModifyaddressIsvBindsellerCheckRequest() *AlibabaModifyaddressIsvBindsellerCheckAPIRequest

NewAlibabaModifyaddressIsvBindsellerCheckRequest 初始化AlibabaModifyaddressIsvBindsellerCheckAPIRequest对象

func (AlibabaModifyaddressIsvBindsellerCheckAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaModifyaddressIsvBindsellerCheckAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

type AlibabaModifyaddressIsvBindsellerCheckAPIResponse

type AlibabaModifyaddressIsvBindsellerCheckAPIResponse struct {
	model.CommonResponse
	AlibabaModifyaddressIsvBindsellerCheckAPIResponseModel
}
AlibabaModifyaddressIsvBindsellerCheckAPIResponse

查询服务商下的商家是否开通了改地址 API返回值 alibaba.modifyaddress.isv.bindseller.check

鉴权服务商和商家的绑定关系,看商家是否开通了改地址 1. 没有授权 2. 已与当前appkey签约 3. 没有签约 4. 与其他服务商软件签约,如果是同一个isv name,返回appkey,否则不返回。

type AlibabaModifyaddressIsvBindsellerCheckAPIResponseModel

type AlibabaModifyaddressIsvBindsellerCheckAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_modifyaddress_isv_bindseller_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// model
	Model *CheckSellerChooseErpResponse `json:"model,omitempty" xml:"model,omitempty"`
}

AlibabaModifyaddressIsvBindsellerCheckAPIResponseModel is 查询服务商下的商家是否开通了改地址 成功返回结果

type CancelOrderRequest

type CancelOrderRequest struct {
	// 规格,目前只有一个规格“HOV”,表示覆盖华为/OPPO/vivo
	Spec string `json:"spec,omitempty" xml:"spec,omitempty"`
}

CancelOrderRequest 结构体

type CheckSellerChooseErpResponse

type CheckSellerChooseErpResponse struct {
	// 状态结果</br> 您无权查询此商家信息<br> 已与当前服务商签约改地址服务</br>  当前商家改地址服务未签约服务商</br> 已与其他服务商签约改地址服务</br>
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 商家绑定的appkey
	Appkey string `json:"appkey,omitempty" xml:"appkey,omitempty"`
	// app名称
	AppTitle string `json:"app_title,omitempty" xml:"app_title,omitempty"`
}

CheckSellerChooseErpResponse 结构体

type ChildOcOrder

type ChildOcOrder struct {
	// 分帐金额
	AllocatePaymentAmount int64 `json:"allocate_payment_amount,omitempty" xml:"allocate_payment_amount,omitempty"`
	// 订单编号
	SourceTradeNo string `json:"source_trade_no,omitempty" xml:"source_trade_no,omitempty"`
	// 主扣款账号
	MainAllocationPaymentAcount int64 `json:"main_allocation_payment_acount,omitempty" xml:"main_allocation_payment_acount,omitempty"`
	// 订单来源渠道TB,或者TMALL
	SourceTradeChannel string `json:"source_trade_channel,omitempty" xml:"source_trade_channel,omitempty"`
	// 分账ruleId,调用创建规则获取
	AllocatePaymentRuleId int64 `json:"allocate_payment_rule_id,omitempty" xml:"allocate_payment_rule_id,omitempty"`
	// 分账参与方
	AllocatePaymentParticipants string `json:"allocate_payment_participants,omitempty" xml:"allocate_payment_participants,omitempty"`
	// 子订单id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 父订单id
	ParentId int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"`
}

ChildOcOrder 结构体

type CreateSmsTaskRequest

type CreateSmsTaskRequest struct {
	// 任务Code,系统分配的,创建任务不需要传,更新任务需要传对应的Code(只能更新短信文案、短信签名、短信模板)
	TaskCode string `json:"task_code,omitempty" xml:"task_code,omitempty"`
	// 任务对应的短信类型 :1--数字短信  2--权益短信  3--公众号短信
	SmsType int64 `json:"sms_type,omitempty" xml:"sms_type,omitempty"`
	// 权益短信必须是两个文案,其他类型短信为一个文案,文案中必须带${url}占位符,普通短信文案在第一个,权益短信文案在第二个,请严格按照顺序提交
	Contents []string `json:"contents,omitempty" xml:"contents>string,omitempty"`
	// 数字短信必须是两个模板,其他类型短信为一个模板,普通短信模板在第一个,数字短信的模板在第二个,请严格按照顺序提交
	TemplateCodes []string `json:"template_codes,omitempty" xml:"template_codes>string,omitempty"`
	// 商品详情页或店铺页H5长链地址,不能是短链
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 公众号短信必须是两个签名,其他类型短信为一个签名,普通短信的签名在第一个,公众号短信的签名在第二个,请严格按照顺序提交
	SignNames []string `json:"sign_names,omitempty" xml:"sign_names>string,omitempty"`
}

CreateSmsTaskRequest 结构体

type ExtendCodeQueryRequest

type ExtendCodeQueryRequest struct {
	// 要查询的签名
	SignName string `json:"sign_name,omitempty" xml:"sign_name,omitempty"`
}

ExtendCodeQueryRequest 结构体

type HistoryTradeRelationDo

type HistoryTradeRelationDo struct {
	// 订单标签记录id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 记录的最新修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 标签类型       1:官方标签      2:自定义标签
	TagType int64 `json:"tag_type,omitempty" xml:"tag_type,omitempty"`
	// 记录的创建时间
	GmtCreated string `json:"gmt_created,omitempty" xml:"gmt_created,omitempty"`
	// 该标签在消费者端是否显示,0:不显示,1:显示
	Visible int64 `json:"visible,omitempty" xml:"visible,omitempty"`
	// 订单id
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 标签名称
	TagName string `json:"tag_name,omitempty" xml:"tag_name,omitempty"`
	// 标签值,json格式
	TagValue string `json:"tag_value,omitempty" xml:"tag_value,omitempty"`
}

HistoryTradeRelationDo 结构体

type HlUserDo

type HlUserDo struct {
	// 如果为空,则默认是X_TO_SYSTEM,X_WAIT_ALLOCATION,X_OUT_WAREHOUSE
	OpenNodes string `json:"open_nodes,omitempty" xml:"open_nodes,omitempty"`
	// 回流信息是否开通买家端展示
	OpenForBuyer string `json:"open_for_buyer,omitempty" xml:"open_for_buyer,omitempty"`
}

HlUserDo 结构体

type JdpUser

type JdpUser struct {
	// 用户昵称
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
	// rds数据库的实例名
	RdsName string `json:"rds_name,omitempty" xml:"rds_name,omitempty"`
	// 0:暂停1:正常2:sessoin失效,停止3:已删除
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

JdpUser 结构体

type JstBaseRequest

type JstBaseRequest struct {
}

JstBaseRequest 结构体

type MenuInfoReportRequest struct {
	// 中间菜单的URL
	MidMenuUrl string `json:"mid_menu_url,omitempty" xml:"mid_menu_url,omitempty"`
	// 右菜单按钮文案 会员中心、入会有礼、新品推荐、最新活动、店铺微淘
	RightMenuTopic string `json:"right_menu_topic,omitempty" xml:"right_menu_topic,omitempty"`
	// 左菜单按钮的URL,菜单url限制域名为taobao.com、tmall.com,tb.cn, 且只有180天内有效、用长链。聚石塔侧直接传tbopen链接
	LeftMenuUrl string `json:"left_menu_url,omitempty" xml:"left_menu_url,omitempty"`
	// 右菜单的URL
	RightMenuUrl string `json:"right_menu_url,omitempty" xml:"right_menu_url,omitempty"`
	// 中间菜单按钮文案 热销商品、精选商品
	MidMenuTopic string `json:"mid_menu_topic,omitempty" xml:"mid_menu_topic,omitempty"`
	// ADD:新增,MODIFY:修改
	Operation string `json:"operation,omitempty" xml:"operation,omitempty"`
	// 左菜单按钮文案 店铺首页
	LeftMenuTopic string `json:"left_menu_topic,omitempty" xml:"left_menu_topic,omitempty"`
}

MenuInfoReportRequest 结构体

type O2oAppointInfoDto

type O2oAppointInfoDto struct {
	// 预约信息唯一编码,如果使用此参数,customer_nick和mall_code参数不会使用
	AppointCode int64 `json:"appoint_code,omitempty" xml:"appoint_code,omitempty"`
	// 预约属性信息列表
	AppointInfoParams []O2oAppointInfoParam `json:"appoint_info_params,omitempty" xml:"appoint_info_params>o2o_appoint_info_param,omitempty"`
}

O2oAppointInfoDto 结构体

type O2oAppointInfoParam

type O2oAppointInfoParam struct {
	// 预约属性名信息
	ParamName string `json:"param_name,omitempty" xml:"param_name,omitempty"`
	// 预约属性值信息
	ParamValue string `json:"param_value,omitempty" xml:"param_value,omitempty"`
}

O2oAppointInfoParam 结构体

type OcOrder

type OcOrder struct {
	// 分账总金额
	AllocatePaymentAmount int64 `json:"allocate_payment_amount,omitempty" xml:"allocate_payment_amount,omitempty"`
	// 源订单号
	SourceTradeNo string `json:"source_trade_no,omitempty" xml:"source_trade_no,omitempty"`
	// 淘宝账户id
	MainAllocationPaymentAcount int64 `json:"main_allocation_payment_acount,omitempty" xml:"main_allocation_payment_acount,omitempty"`
	// 子订单集合
	OrderLines []ChildOcOrder `json:"order_lines,omitempty" xml:"order_lines>child_oc_order,omitempty"`
	// 来源渠道
	SourceTradeChannel string `json:"source_trade_channel,omitempty" xml:"source_trade_channel,omitempty"`
	// 分账规则id
	AllocatePaymentRuleId int64 `json:"allocate_payment_rule_id,omitempty" xml:"allocate_payment_rule_id,omitempty"`
	// 表示分账参与方
	AllocatePaymentParticipants string `json:"allocate_payment_participants,omitempty" xml:"allocate_payment_participants,omitempty"`
	// OC订单号
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

OcOrder 结构体

type OfficialAccountInfoReportRequest

type OfficialAccountInfoReportRequest struct {
	// ISV给商家分配的通道号码后缀,可传多个,逗号分隔
	Suffixes string `json:"suffixes,omitempty" xml:"suffixes,omitempty"`
	ShopLogo string `json:"shop_logo,omitempty" xml:"shop_logo,omitempty"`
	// 店铺名
	ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"`
	// ADD:新增,MODIFY:修改
	Operation string `json:"operation,omitempty" xml:"operation,omitempty"`
	// 短信签名
	SmsSign string `json:"sms_sign,omitempty" xml:"sms_sign,omitempty"`
}

OfficialAccountInfoReportRequest 结构体

type OrderOfficialAccountRequest

type OrderOfficialAccountRequest struct {
	// 规格,目前只有一个规格“HOV”,表示覆盖 华为/OPPO/vivo
	Spec string `json:"spec,omitempty" xml:"spec,omitempty"`
}

OrderOfficialAccountRequest 结构体

type RdsDbInfo

type RdsDbInfo struct {
	// 最大帐号数,1个数据库最多可以创建的账户数目
	MaxAccount string `json:"max_account,omitempty" xml:"max_account,omitempty"`
	// 数据库登录密码
	Password string `json:"password,omitempty" xml:"password,omitempty"`
	// 数据库状态 0:创建中 ;1:激活;3:正在删除
	DbStatus string `json:"db_status,omitempty" xml:"db_status,omitempty"`
	// 数据库编码
	Charset string `json:"charset,omitempty" xml:"charset,omitempty"`
	// rds实例id
	InstanceId string `json:"instance_id,omitempty" xml:"instance_id,omitempty"`
	// 登录数据库的帐号
	UserName string `json:"user_name,omitempty" xml:"user_name,omitempty"`
	// 数据库名称
	DbName string `json:"db_name,omitempty" xml:"db_name,omitempty"`
	// 用户id
	Uid string `json:"uid,omitempty" xml:"uid,omitempty"`
	// rds实例名
	InstanceName string `json:"instance_name,omitempty" xml:"instance_name,omitempty"`
	// rds实例类型,s:共享型,x:专享型
	InstanceType string `json:"instance_type,omitempty" xml:"instance_type,omitempty"`
	// 数据库类型,mysql或者mssql
	DbType string `json:"db_type,omitempty" xml:"db_type,omitempty"`
	// 备注
	Comment string `json:"comment,omitempty" xml:"comment,omitempty"`
}

RdsDbInfo 结构体

type RefundTrace

type RefundTrace struct {
	// 交易tid
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 回流的订单状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 动作发生的时间
	ActionTime string `json:"action_time,omitempty" xml:"action_time,omitempty"`
	// 备注字段
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 应用标题
	AppTitle string `json:"app_title,omitempty" xml:"app_title,omitempty"`
	// 退款编号
	RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
}

RefundTrace 结构体

type RequestDbAccountModel

type RequestDbAccountModel struct {
	// 账户描述
	AccountDesc string `json:"account_desc,omitempty" xml:"account_desc,omitempty"`
	// 账户名称
	AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"`
	// 新建db名称
	DbName string `json:"db_name,omitempty" xml:"db_name,omitempty"`
	// rds实例名称
	InstanceName string `json:"instance_name,omitempty" xml:"instance_name,omitempty"`
	// 账户密码
	Password string `json:"password,omitempty" xml:"password,omitempty"`
}

RequestDbAccountModel 结构体

type SendMessageRequest

type SendMessageRequest struct {
	// 拓展Name
	ExtendName string `json:"extend_name,omitempty" xml:"extend_name,omitempty"`
	// 拓展Code
	ExtendCode string `json:"extend_code,omitempty" xml:"extend_code,omitempty"`
	// 短信签名
	SmsFreeSignName string `json:"sms_free_sign_name,omitempty" xml:"sms_free_sign_name,omitempty"`
	// 渠道类型
	ChannelType string `json:"channel_type,omitempty" xml:"channel_type,omitempty"`
	// 短信模版Code
	TemplateCode string `json:"template_code,omitempty" xml:"template_code,omitempty"`
	// 短信内容参数, ${url}会被入参url的值替换掉
	Params string `json:"params,omitempty" xml:"params,omitempty"`
	// 商品H5详情页,如果不传则没有短信效果数据
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 拓展信息
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 手机号码
	PhoneNumber string `json:"phone_number,omitempty" xml:"phone_number,omitempty"`
	// 短信人群tag
	Tag string `json:"tag,omitempty" xml:"tag,omitempty"`
	// 短信批次号
	BatchNumber string `json:"batch_number,omitempty" xml:"batch_number,omitempty"`
	// 短信类型
	SmsType string `json:"sms_type,omitempty" xml:"sms_type,omitempty"`
	// 标记字段
	ToolFlag string `json:"tool_flag,omitempty" xml:"tool_flag,omitempty"`
}

SendMessageRequest 结构体

type SimpleAbnormalOrderDetail

type SimpleAbnormalOrderDetail struct {
	// 订单ID
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
}

SimpleAbnormalOrderDetail 结构体

type SmsResponse

type SmsResponse struct {
	// 系统异常
	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`
	// 成功
	ResponseSuccess bool `json:"response_success,omitempty" xml:"response_success,omitempty"`
	// 请求id
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值
	Module *SmsStateModel `json:"module,omitempty" xml:"module,omitempty"`
	// 成功
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 请求成功
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 请求成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

SmsResponse 结构体

type SmsStateModel

type SmsStateModel struct {
	// 品牌
	Manufacturer string `json:"manufacturer,omitempty" xml:"manufacturer,omitempty"`
	// 1 审核中;2 审核不通过;3 待上线;4 已上线;5 已下线
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// success fail
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// CHANNEL(通道)、PUB(LOGO和名称)
	Type string `json:"type,omitempty" xml:"type,omitempty"`
}

SmsStateModel 结构体

type SmsTaskModel

type SmsTaskModel struct {
	// appkey
	AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"`
	// 短信文案
	Contents []string `json:"contents,omitempty" xml:"contents>string,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// isv淘宝nick
	IsvNick string `json:"isv_nick,omitempty" xml:"isv_nick,omitempty"`
	// 商家淘宝nick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 短信签名
	SignNames []string `json:"sign_names,omitempty" xml:"sign_names>string,omitempty"`
	// 任务对应的短信类型 :1--数字短信  2--权益短信  3--公众号短信
	SmsType string `json:"sms_type,omitempty" xml:"sms_type,omitempty"`
	// 系统分配的任务code
	TaskCode string `json:"task_code,omitempty" xml:"task_code,omitempty"`
	// 短信模板code
	TemplateCodes []string `json:"template_codes,omitempty" xml:"template_codes>string,omitempty"`
	// 商品或店铺详情页H5长链地址
	Url string `json:"url,omitempty" xml:"url,omitempty"`
}

SmsTaskModel 结构体

type TaobaoJdsHluserGetAPIRequest

type TaobaoJdsHluserGetAPIRequest struct {
	model.Params
}
TaobaoJdsHluserGetAPIRequest

订单全链路用户信息获取 API请求 taobao.jds.hluser.get

订单全链路用户信息获取

func NewTaobaoJdsHluserGetRequest

func NewTaobaoJdsHluserGetRequest() *TaobaoJdsHluserGetAPIRequest

NewTaobaoJdsHluserGetRequest 初始化TaobaoJdsHluserGetAPIRequest对象

func (TaobaoJdsHluserGetAPIRequest) GetApiMethodName

func (r TaobaoJdsHluserGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJdsHluserGetAPIRequest) GetApiParams

func (r TaobaoJdsHluserGetAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

type TaobaoJdsHluserGetAPIResponse

type TaobaoJdsHluserGetAPIResponse struct {
	model.CommonResponse
	TaobaoJdsHluserGetAPIResponseModel
}
TaobaoJdsHluserGetAPIResponse

订单全链路用户信息获取 API返回值 taobao.jds.hluser.get

订单全链路用户信息获取

type TaobaoJdsHluserGetAPIResponseModel

type TaobaoJdsHluserGetAPIResponseModel struct {
	XMLName xml.Name `xml:"jds_hluser_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 回流用户信息
	HlUser *HlUserDo `json:"hl_user,omitempty" xml:"hl_user,omitempty"`
}

TaobaoJdsHluserGetAPIResponseModel is 订单全链路用户信息获取 成功返回结果

type TaobaoJdsHluserUpdateAPIRequest

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

订单全链路用户信息修改 API请求 taobao.jds.hluser.update

订单全链路用户信息修改,比如是否开放买家端展示

func NewTaobaoJdsHluserUpdateRequest

func NewTaobaoJdsHluserUpdateRequest() *TaobaoJdsHluserUpdateAPIRequest

NewTaobaoJdsHluserUpdateRequest 初始化TaobaoJdsHluserUpdateAPIRequest对象

func (TaobaoJdsHluserUpdateAPIRequest) GetApiMethodName

func (r TaobaoJdsHluserUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJdsHluserUpdateAPIRequest) GetApiParams

func (r TaobaoJdsHluserUpdateAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJdsHluserUpdateAPIRequest) GetOpenForBuyer

func (r TaobaoJdsHluserUpdateAPIRequest) GetOpenForBuyer() string

Get OpenForBuyer Getter

func (TaobaoJdsHluserUpdateAPIRequest) GetOpenNodes

func (r TaobaoJdsHluserUpdateAPIRequest) GetOpenNodes() string

Get OpenNodes Getter

func (*TaobaoJdsHluserUpdateAPIRequest) SetOpenForBuyer

func (r *TaobaoJdsHluserUpdateAPIRequest) SetOpenForBuyer(_openForBuyer string) error

Set is OpenForBuyer Setter 回流信息是否开通买家端展示,可选值open,close

func (*TaobaoJdsHluserUpdateAPIRequest) SetOpenNodes

func (r *TaobaoJdsHluserUpdateAPIRequest) SetOpenNodes(_openNodes string) error

Set is OpenNodes Setter 为空,则默认是X_TO_SYSTEM,X_WAIT_ALLOCATION,X_OUT_WAREHOUSE 可选值是X_DOWNLOADED,X_TO_SYSTEM,X_SERVICE_AUDITED,X_FINANCE_AUDITED,X_ALLOCATION_NOTIFIED,X_WAIT_ALLOCATION,X_SORT_PRINTED,X_SEND_PRINTED,X_LOGISTICS_PRINTED,X_SORTED,X_EXAMINED,X_PACKAGED,X_WEIGHED,X_OUT_WAREHOUS

type TaobaoJdsHluserUpdateAPIResponse

type TaobaoJdsHluserUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoJdsHluserUpdateAPIResponseModel
}
TaobaoJdsHluserUpdateAPIResponse

订单全链路用户信息修改 API返回值 taobao.jds.hluser.update

订单全链路用户信息修改,比如是否开放买家端展示

type TaobaoJdsHluserUpdateAPIResponseModel

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

TaobaoJdsHluserUpdateAPIResponseModel is 订单全链路用户信息修改 成功返回结果

type TaobaoJdsRefundTracesGetAPIRequest

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

获取单条退款跟踪详情 API请求 taobao.jds.refund.traces.get

获取聚石塔数据共享的交易全链路的退款信息

func NewTaobaoJdsRefundTracesGetRequest

func NewTaobaoJdsRefundTracesGetRequest() *TaobaoJdsRefundTracesGetAPIRequest

NewTaobaoJdsRefundTracesGetRequest 初始化TaobaoJdsRefundTracesGetAPIRequest对象

func (TaobaoJdsRefundTracesGetAPIRequest) GetApiMethodName

func (r TaobaoJdsRefundTracesGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJdsRefundTracesGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJdsRefundTracesGetAPIRequest) GetRefundId

func (r TaobaoJdsRefundTracesGetAPIRequest) GetRefundId() int64

Get RefundId Getter

func (*TaobaoJdsRefundTracesGetAPIRequest) SetRefundId

func (r *TaobaoJdsRefundTracesGetAPIRequest) SetRefundId(_refundId int64) error

Set is RefundId Setter 淘宝的退款编号

type TaobaoJdsRefundTracesGetAPIResponse

type TaobaoJdsRefundTracesGetAPIResponse struct {
	model.CommonResponse
	TaobaoJdsRefundTracesGetAPIResponseModel
}
TaobaoJdsRefundTracesGetAPIResponse

获取单条退款跟踪详情 API返回值 taobao.jds.refund.traces.get

获取聚石塔数据共享的交易全链路的退款信息

type TaobaoJdsRefundTracesGetAPIResponseModel

type TaobaoJdsRefundTracesGetAPIResponseModel struct {
	XMLName xml.Name `xml:"jds_refund_traces_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 退款跟踪列表
	Traces []RefundTrace `json:"traces,omitempty" xml:"traces>refund_trace,omitempty"`
	// 用户在全链路系统中的状态(比如是否存在)
	UserStatus string `json:"user_status,omitempty" xml:"user_status,omitempty"`
}

TaobaoJdsRefundTracesGetAPIResponseModel is 获取单条退款跟踪详情 成功返回结果

type TaobaoJdsTradeTracesGetAPIRequest

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

获取单条订单跟踪详情 API请求 taobao.jds.trade.traces.get

获取聚石塔数据共享的交易全链路信息

func NewTaobaoJdsTradeTracesGetRequest

func NewTaobaoJdsTradeTracesGetRequest() *TaobaoJdsTradeTracesGetAPIRequest

NewTaobaoJdsTradeTracesGetRequest 初始化TaobaoJdsTradeTracesGetAPIRequest对象

func (TaobaoJdsTradeTracesGetAPIRequest) GetApiMethodName

func (r TaobaoJdsTradeTracesGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJdsTradeTracesGetAPIRequest) GetApiParams

func (r TaobaoJdsTradeTracesGetAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJdsTradeTracesGetAPIRequest) GetTid

Get Tid Getter

func (*TaobaoJdsTradeTracesGetAPIRequest) SetTid

Set is Tid Setter 淘宝的订单tid

type TaobaoJdsTradeTracesGetAPIResponse

type TaobaoJdsTradeTracesGetAPIResponse struct {
	model.CommonResponse
	TaobaoJdsTradeTracesGetAPIResponseModel
}
TaobaoJdsTradeTracesGetAPIResponse

获取单条订单跟踪详情 API返回值 taobao.jds.trade.traces.get

获取聚石塔数据共享的交易全链路信息

type TaobaoJdsTradeTracesGetAPIResponseModel

type TaobaoJdsTradeTracesGetAPIResponseModel struct {
	XMLName xml.Name `xml:"jds_trade_traces_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 跟踪信息列表
	Traces []TradeTrace `json:"traces,omitempty" xml:"traces>trade_trace,omitempty"`
	// 在订单全链路系统中的状态(比如是否存在)
	UserStatus string `json:"user_status,omitempty" xml:"user_status,omitempty"`
}

TaobaoJdsTradeTracesGetAPIResponseModel is 获取单条订单跟踪详情 成功返回结果

type TaobaoJdsTradesStatisticsDiffAPIRequest

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

订单全链路状态统计差异比较 API请求 taobao.jds.trades.statistics.diff

订单全链路状态统计差异比较

func NewTaobaoJdsTradesStatisticsDiffRequest

func NewTaobaoJdsTradesStatisticsDiffRequest() *TaobaoJdsTradesStatisticsDiffAPIRequest

NewTaobaoJdsTradesStatisticsDiffRequest 初始化TaobaoJdsTradesStatisticsDiffAPIRequest对象

func (TaobaoJdsTradesStatisticsDiffAPIRequest) GetApiMethodName

func (r TaobaoJdsTradesStatisticsDiffAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJdsTradesStatisticsDiffAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJdsTradesStatisticsDiffAPIRequest) GetDate

Get Date Getter

func (TaobaoJdsTradesStatisticsDiffAPIRequest) GetPageNo

Get PageNo Getter

func (TaobaoJdsTradesStatisticsDiffAPIRequest) GetPostStatus

Get PostStatus Getter

func (TaobaoJdsTradesStatisticsDiffAPIRequest) GetPreStatus

Get PreStatus Getter

func (*TaobaoJdsTradesStatisticsDiffAPIRequest) SetDate

Set is Date Setter 查询的日期,格式如YYYYMMDD的日期对应的数字

func (*TaobaoJdsTradesStatisticsDiffAPIRequest) SetPageNo

func (r *TaobaoJdsTradesStatisticsDiffAPIRequest) SetPageNo(_pageNo int64) error

Set is PageNo Setter 页数

func (*TaobaoJdsTradesStatisticsDiffAPIRequest) SetPostStatus

func (r *TaobaoJdsTradesStatisticsDiffAPIRequest) SetPostStatus(_postStatus string) error

Set is PostStatus Setter 需要比较的状态

func (*TaobaoJdsTradesStatisticsDiffAPIRequest) SetPreStatus

func (r *TaobaoJdsTradesStatisticsDiffAPIRequest) SetPreStatus(_preStatus string) error

Set is PreStatus Setter 需要比较的状态,将会和post_status做比较

type TaobaoJdsTradesStatisticsDiffAPIResponse

type TaobaoJdsTradesStatisticsDiffAPIResponse struct {
	model.CommonResponse
	TaobaoJdsTradesStatisticsDiffAPIResponseModel
}
TaobaoJdsTradesStatisticsDiffAPIResponse

订单全链路状态统计差异比较 API返回值 taobao.jds.trades.statistics.diff

订单全链路状态统计差异比较

type TaobaoJdsTradesStatisticsDiffAPIResponseModel

type TaobaoJdsTradesStatisticsDiffAPIResponseModel struct {
	XMLName xml.Name `xml:"jds_trades_statistics_diff_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// pre_status比post_status多的tid列表
	Tids []int64 `json:"tids,omitempty" xml:"tids>int64,omitempty"`
	// 总记录数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

TaobaoJdsTradesStatisticsDiffAPIResponseModel is 订单全链路状态统计差异比较 成功返回结果

type TaobaoJdsTradesStatisticsGetAPIRequest

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

获取订单数量统计结果 API请求 taobao.jds.trades.statistics.get

获取订单数量统计结果

func NewTaobaoJdsTradesStatisticsGetRequest

func NewTaobaoJdsTradesStatisticsGetRequest() *TaobaoJdsTradesStatisticsGetAPIRequest

NewTaobaoJdsTradesStatisticsGetRequest 初始化TaobaoJdsTradesStatisticsGetAPIRequest对象

func (TaobaoJdsTradesStatisticsGetAPIRequest) GetApiMethodName

func (r TaobaoJdsTradesStatisticsGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJdsTradesStatisticsGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJdsTradesStatisticsGetAPIRequest) GetDate

Get Date Getter

func (*TaobaoJdsTradesStatisticsGetAPIRequest) SetDate

Set is Date Setter 查询的日期,格式如YYYYMMDD的日期对应的数字

type TaobaoJdsTradesStatisticsGetAPIResponse

type TaobaoJdsTradesStatisticsGetAPIResponse struct {
	model.CommonResponse
	TaobaoJdsTradesStatisticsGetAPIResponseModel
}
TaobaoJdsTradesStatisticsGetAPIResponse

获取订单数量统计结果 API返回值 taobao.jds.trades.statistics.get

获取订单数量统计结果

type TaobaoJdsTradesStatisticsGetAPIResponseModel

type TaobaoJdsTradesStatisticsGetAPIResponseModel struct {
	XMLName xml.Name `xml:"jds_trades_statistics_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 订单状态计数值
	StatusInfos []TradeStat `json:"status_infos,omitempty" xml:"status_infos>trade_stat,omitempty"`
}

TaobaoJdsTradesStatisticsGetAPIResponseModel is 获取订单数量统计结果 成功返回结果

type TaobaoJstMiniappCrowdCreateAPIRequest

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

小程序活动创建 API请求 taobao.jst.miniapp.crowd.create

小程序活动创建

func NewTaobaoJstMiniappCrowdCreateRequest

func NewTaobaoJstMiniappCrowdCreateRequest() *TaobaoJstMiniappCrowdCreateAPIRequest

NewTaobaoJstMiniappCrowdCreateRequest 初始化TaobaoJstMiniappCrowdCreateAPIRequest对象

func (TaobaoJstMiniappCrowdCreateAPIRequest) GetApiMethodName

func (r TaobaoJstMiniappCrowdCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstMiniappCrowdCreateAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstMiniappCrowdCreateAPIRequest) GetCrowdName

Get CrowdName Getter

func (TaobaoJstMiniappCrowdCreateAPIRequest) GetDescription

func (r TaobaoJstMiniappCrowdCreateAPIRequest) GetDescription() string

Get Description Getter

func (TaobaoJstMiniappCrowdCreateAPIRequest) GetEndDate

Get EndDate Getter

func (TaobaoJstMiniappCrowdCreateAPIRequest) GetStartDate

Get StartDate Getter

func (*TaobaoJstMiniappCrowdCreateAPIRequest) SetCrowdName

func (r *TaobaoJstMiniappCrowdCreateAPIRequest) SetCrowdName(_crowdName string) error

Set is CrowdName Setter 活动名称

func (*TaobaoJstMiniappCrowdCreateAPIRequest) SetDescription

func (r *TaobaoJstMiniappCrowdCreateAPIRequest) SetDescription(_description string) error

Set is Description Setter 活动描述

func (*TaobaoJstMiniappCrowdCreateAPIRequest) SetEndDate

func (r *TaobaoJstMiniappCrowdCreateAPIRequest) SetEndDate(_endDate string) error

Set is EndDate Setter 活动开始时间,开始时间和结束时间不能超过1个月

func (*TaobaoJstMiniappCrowdCreateAPIRequest) SetStartDate

func (r *TaobaoJstMiniappCrowdCreateAPIRequest) SetStartDate(_startDate string) error

Set is StartDate Setter 活动开始时间

type TaobaoJstMiniappCrowdCreateAPIResponse

type TaobaoJstMiniappCrowdCreateAPIResponse struct {
	model.CommonResponse
	TaobaoJstMiniappCrowdCreateAPIResponseModel
}
TaobaoJstMiniappCrowdCreateAPIResponse

小程序活动创建 API返回值 taobao.jst.miniapp.crowd.create

小程序活动创建

type TaobaoJstMiniappCrowdCreateAPIResponseModel

type TaobaoJstMiniappCrowdCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"jst_miniapp_crowd_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 活动Code,活动的唯一标识
	Result string `json:"result,omitempty" xml:"result,omitempty"`
	// 状态码
	RCode int64 `json:"r_code,omitempty" xml:"r_code,omitempty"`
}

TaobaoJstMiniappCrowdCreateAPIResponseModel is 小程序活动创建 成功返回结果

type TaobaoJstMiniappCrowdMessageSendAPIRequest

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

小程序活动短信发送 API请求 taobao.jst.miniapp.crowd.message.send

小程序活动短信发送

func NewTaobaoJstMiniappCrowdMessageSendRequest

func NewTaobaoJstMiniappCrowdMessageSendRequest() *TaobaoJstMiniappCrowdMessageSendAPIRequest

NewTaobaoJstMiniappCrowdMessageSendRequest 初始化TaobaoJstMiniappCrowdMessageSendAPIRequest对象

func (TaobaoJstMiniappCrowdMessageSendAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstMiniappCrowdMessageSendAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstMiniappCrowdMessageSendAPIRequest) GetContent

Get Content Getter

func (TaobaoJstMiniappCrowdMessageSendAPIRequest) GetCrowdCode

Get CrowdCode Getter

func (TaobaoJstMiniappCrowdMessageSendAPIRequest) GetSignName

Get SignName Getter

func (TaobaoJstMiniappCrowdMessageSendAPIRequest) GetTemplateCode

Get TemplateCode Getter

func (TaobaoJstMiniappCrowdMessageSendAPIRequest) GetUrl

Get Url Getter

func (*TaobaoJstMiniappCrowdMessageSendAPIRequest) SetContent

Set is Content Setter 短信内容

func (*TaobaoJstMiniappCrowdMessageSendAPIRequest) SetCrowdCode

func (r *TaobaoJstMiniappCrowdMessageSendAPIRequest) SetCrowdCode(_crowdCode string) error

Set is CrowdCode Setter 活动code

func (*TaobaoJstMiniappCrowdMessageSendAPIRequest) SetSignName

func (r *TaobaoJstMiniappCrowdMessageSendAPIRequest) SetSignName(_signName string) error

Set is SignName Setter 短信签名

func (*TaobaoJstMiniappCrowdMessageSendAPIRequest) SetTemplateCode

func (r *TaobaoJstMiniappCrowdMessageSendAPIRequest) SetTemplateCode(_templateCode string) error

Set is TemplateCode Setter 短信模板,必须为全变量模板

func (*TaobaoJstMiniappCrowdMessageSendAPIRequest) SetUrl

Set is Url Setter 短信中携带的短链,会替换短信内容中的${url}

type TaobaoJstMiniappCrowdMessageSendAPIResponse

type TaobaoJstMiniappCrowdMessageSendAPIResponse struct {
	model.CommonResponse
	TaobaoJstMiniappCrowdMessageSendAPIResponseModel
}
TaobaoJstMiniappCrowdMessageSendAPIResponse

小程序活动短信发送 API返回值 taobao.jst.miniapp.crowd.message.send

小程序活动短信发送

type TaobaoJstMiniappCrowdMessageSendAPIResponseModel

type TaobaoJstMiniappCrowdMessageSendAPIResponseModel struct {
	XMLName xml.Name `xml:"jst_miniapp_crowd_message_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 发送的短信条数
	Result int64 `json:"result,omitempty" xml:"result,omitempty"`
	// 发送成功
	RCode int64 `json:"r_code,omitempty" xml:"r_code,omitempty"`
}

TaobaoJstMiniappCrowdMessageSendAPIResponseModel is 小程序活动短信发送 成功返回结果

type TaobaoJstMiniappCrowdUserAddAPIRequest

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

小程序添加用户到指定的活动 API请求 taobao.jst.miniapp.crowd.user.add

小程序添加用户到指定的活动

func NewTaobaoJstMiniappCrowdUserAddRequest

func NewTaobaoJstMiniappCrowdUserAddRequest() *TaobaoJstMiniappCrowdUserAddAPIRequest

NewTaobaoJstMiniappCrowdUserAddRequest 初始化TaobaoJstMiniappCrowdUserAddAPIRequest对象

func (TaobaoJstMiniappCrowdUserAddAPIRequest) GetApiMethodName

func (r TaobaoJstMiniappCrowdUserAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstMiniappCrowdUserAddAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstMiniappCrowdUserAddAPIRequest) GetCrowdCode

Get CrowdCode Getter

func (TaobaoJstMiniappCrowdUserAddAPIRequest) GetMcGwSourceAppKey

func (r TaobaoJstMiniappCrowdUserAddAPIRequest) GetMcGwSourceAppKey() string

Get McGwSourceAppKey Getter

func (TaobaoJstMiniappCrowdUserAddAPIRequest) GetMcGwSourceMiniAppId

func (r TaobaoJstMiniappCrowdUserAddAPIRequest) GetMcGwSourceMiniAppId() string

Get McGwSourceMiniAppId Getter

func (*TaobaoJstMiniappCrowdUserAddAPIRequest) SetCrowdCode

func (r *TaobaoJstMiniappCrowdUserAddAPIRequest) SetCrowdCode(_crowdCode string) error

Set is CrowdCode Setter 活动code

func (*TaobaoJstMiniappCrowdUserAddAPIRequest) SetMcGwSourceAppKey

func (r *TaobaoJstMiniappCrowdUserAddAPIRequest) SetMcGwSourceAppKey(_mcGwSourceAppKey string) error

Set is McGwSourceAppKey Setter 小程序appkey

func (*TaobaoJstMiniappCrowdUserAddAPIRequest) SetMcGwSourceMiniAppId

func (r *TaobaoJstMiniappCrowdUserAddAPIRequest) SetMcGwSourceMiniAppId(_mcGwSourceMiniAppId string) error

Set is McGwSourceMiniAppId Setter 小程序id

type TaobaoJstMiniappCrowdUserAddAPIResponse

type TaobaoJstMiniappCrowdUserAddAPIResponse struct {
	model.CommonResponse
	TaobaoJstMiniappCrowdUserAddAPIResponseModel
}
TaobaoJstMiniappCrowdUserAddAPIResponse

小程序添加用户到指定的活动 API返回值 taobao.jst.miniapp.crowd.user.add

小程序添加用户到指定的活动

type TaobaoJstMiniappCrowdUserAddAPIResponseModel

type TaobaoJstMiniappCrowdUserAddAPIResponseModel struct {
	XMLName xml.Name `xml:"jst_miniapp_crowd_user_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 添加成功
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
	// 请求成功
	RCode int64 `json:"r_code,omitempty" xml:"r_code,omitempty"`
}

TaobaoJstMiniappCrowdUserAddAPIResponseModel is 小程序添加用户到指定的活动 成功返回结果

type TaobaoJstMiniappOpenidMessageSendAPIRequest

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

单个openId用户短信发送 API请求 taobao.jst.miniapp.openid.message.send

单个openId用户短信发送

func NewTaobaoJstMiniappOpenidMessageSendRequest

func NewTaobaoJstMiniappOpenidMessageSendRequest() *TaobaoJstMiniappOpenidMessageSendAPIRequest

NewTaobaoJstMiniappOpenidMessageSendRequest 初始化TaobaoJstMiniappOpenidMessageSendAPIRequest对象

func (TaobaoJstMiniappOpenidMessageSendAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstMiniappOpenidMessageSendAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstMiniappOpenidMessageSendAPIRequest) GetContent

Get Content Getter

func (TaobaoJstMiniappOpenidMessageSendAPIRequest) GetCrowdCode

Get CrowdCode Getter

func (TaobaoJstMiniappOpenidMessageSendAPIRequest) GetExtendNum

Get ExtendNum Getter

func (TaobaoJstMiniappOpenidMessageSendAPIRequest) GetOpenId

Get OpenId Getter

func (TaobaoJstMiniappOpenidMessageSendAPIRequest) GetSellerAppKey

Get SellerAppKey Getter

func (TaobaoJstMiniappOpenidMessageSendAPIRequest) GetSignName

Get SignName Getter

func (TaobaoJstMiniappOpenidMessageSendAPIRequest) GetTemplateCode

Get TemplateCode Getter

func (TaobaoJstMiniappOpenidMessageSendAPIRequest) GetUrl

Get Url Getter

func (*TaobaoJstMiniappOpenidMessageSendAPIRequest) SetContent

Set is Content Setter 短信内容

func (*TaobaoJstMiniappOpenidMessageSendAPIRequest) SetCrowdCode

func (r *TaobaoJstMiniappOpenidMessageSendAPIRequest) SetCrowdCode(_crowdCode string) error

Set is CrowdCode Setter 活动或人群code

func (*TaobaoJstMiniappOpenidMessageSendAPIRequest) SetExtendNum

func (r *TaobaoJstMiniappOpenidMessageSendAPIRequest) SetExtendNum(_extendNum string) error

Set is ExtendNum Setter 短信拓展码

func (*TaobaoJstMiniappOpenidMessageSendAPIRequest) SetOpenId

Set is OpenId Setter 用户openId

func (*TaobaoJstMiniappOpenidMessageSendAPIRequest) SetSellerAppKey

func (r *TaobaoJstMiniappOpenidMessageSendAPIRequest) SetSellerAppKey(_sellerAppKey string) error

Set is SellerAppKey Setter 商家的APPKEY,如果openId是用商家的appKey生成的则需要传递

func (*TaobaoJstMiniappOpenidMessageSendAPIRequest) SetSignName

func (r *TaobaoJstMiniappOpenidMessageSendAPIRequest) SetSignName(_signName string) error

Set is SignName Setter 短信签名

func (*TaobaoJstMiniappOpenidMessageSendAPIRequest) SetTemplateCode

func (r *TaobaoJstMiniappOpenidMessageSendAPIRequest) SetTemplateCode(_templateCode string) error

Set is TemplateCode Setter 短信模板

func (*TaobaoJstMiniappOpenidMessageSendAPIRequest) SetUrl

Set is Url Setter 短链,替换短信内容中的${url}

type TaobaoJstMiniappOpenidMessageSendAPIResponse

type TaobaoJstMiniappOpenidMessageSendAPIResponse struct {
	model.CommonResponse
	TaobaoJstMiniappOpenidMessageSendAPIResponseModel
}
TaobaoJstMiniappOpenidMessageSendAPIResponse

单个openId用户短信发送 API返回值 taobao.jst.miniapp.openid.message.send

单个openId用户短信发送

type TaobaoJstMiniappOpenidMessageSendAPIResponseModel

type TaobaoJstMiniappOpenidMessageSendAPIResponseModel struct {
	XMLName xml.Name `xml:"jst_miniapp_openid_message_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 短信回执码
	Result string `json:"result,omitempty" xml:"result,omitempty"`
	// 请求code
	RCode int64 `json:"r_code,omitempty" xml:"r_code,omitempty"`
	// 请求失败错误信息
	RErrMsg string `json:"r_err_msg,omitempty" xml:"r_err_msg,omitempty"`
}

TaobaoJstMiniappOpenidMessageSendAPIResponseModel is 单个openId用户短信发送 成功返回结果

type TaobaoJstSmsExtendcodeQueryAPIRequest

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

聚石塔扩展码查询 API请求 taobao.jst.sms.extendcode.query

聚石塔扩展码查询

func NewTaobaoJstSmsExtendcodeQueryRequest

func NewTaobaoJstSmsExtendcodeQueryRequest() *TaobaoJstSmsExtendcodeQueryAPIRequest

NewTaobaoJstSmsExtendcodeQueryRequest 初始化TaobaoJstSmsExtendcodeQueryAPIRequest对象

func (TaobaoJstSmsExtendcodeQueryAPIRequest) GetApiMethodName

func (r TaobaoJstSmsExtendcodeQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstSmsExtendcodeQueryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstSmsExtendcodeQueryAPIRequest) GetExtendCodeQueryRequest

func (r TaobaoJstSmsExtendcodeQueryAPIRequest) GetExtendCodeQueryRequest() *ExtendCodeQueryRequest

Get ExtendCodeQueryRequest Getter

func (*TaobaoJstSmsExtendcodeQueryAPIRequest) SetExtendCodeQueryRequest

func (r *TaobaoJstSmsExtendcodeQueryAPIRequest) SetExtendCodeQueryRequest(_extendCodeQueryRequest *ExtendCodeQueryRequest) error

Set is ExtendCodeQueryRequest Setter 扩展码查询请求

type TaobaoJstSmsExtendcodeQueryAPIResponse

type TaobaoJstSmsExtendcodeQueryAPIResponse struct {
	model.CommonResponse
	TaobaoJstSmsExtendcodeQueryAPIResponseModel
}
TaobaoJstSmsExtendcodeQueryAPIResponse

聚石塔扩展码查询 API返回值 taobao.jst.sms.extendcode.query

聚石塔扩展码查询

type TaobaoJstSmsExtendcodeQueryAPIResponseModel

type TaobaoJstSmsExtendcodeQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"jst_sms_extendcode_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统异常
	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`
	// 成功
	ResponseSuccess bool `json:"response_success,omitempty" xml:"response_success,omitempty"`
	// 请求id
	ResponseId string `json:"response_id,omitempty" xml:"response_id,omitempty"`
	// 成功
	Module string `json:"module,omitempty" xml:"module,omitempty"`
	// 系统异常
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

TaobaoJstSmsExtendcodeQueryAPIResponseModel is 聚石塔扩展码查询 成功返回结果

type TaobaoJstSmsMenuinfoReportAPIRequest

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

聚石塔菜单信息上报 API请求 taobao.jst.sms.menuinfo.report

聚石塔菜单信息上报

func NewTaobaoJstSmsMenuinfoReportRequest

func NewTaobaoJstSmsMenuinfoReportRequest() *TaobaoJstSmsMenuinfoReportAPIRequest

NewTaobaoJstSmsMenuinfoReportRequest 初始化TaobaoJstSmsMenuinfoReportAPIRequest对象

func (TaobaoJstSmsMenuinfoReportAPIRequest) GetApiMethodName

func (r TaobaoJstSmsMenuinfoReportAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstSmsMenuinfoReportAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstSmsMenuinfoReportAPIRequest) GetMenuInfoReportRequest

func (r TaobaoJstSmsMenuinfoReportAPIRequest) GetMenuInfoReportRequest() *MenuInfoReportRequest

Get MenuInfoReportRequest Getter

func (*TaobaoJstSmsMenuinfoReportAPIRequest) SetMenuInfoReportRequest

func (r *TaobaoJstSmsMenuinfoReportAPIRequest) SetMenuInfoReportRequest(_menuInfoReportRequest *MenuInfoReportRequest) error

Set is MenuInfoReportRequest Setter 菜单信息上报接口的请求参数

type TaobaoJstSmsMenuinfoReportAPIResponse

type TaobaoJstSmsMenuinfoReportAPIResponse struct {
	model.CommonResponse
	TaobaoJstSmsMenuinfoReportAPIResponseModel
}
TaobaoJstSmsMenuinfoReportAPIResponse

聚石塔菜单信息上报 API返回值 taobao.jst.sms.menuinfo.report

聚石塔菜单信息上报

type TaobaoJstSmsMenuinfoReportAPIResponseModel

type TaobaoJstSmsMenuinfoReportAPIResponseModel struct {
	XMLName xml.Name `xml:"jst_sms_menuinfo_report_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统异常
	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`
	// 成功
	ResponseSuccess bool `json:"response_success,omitempty" xml:"response_success,omitempty"`
	// 请求id
	ResponseId string `json:"response_id,omitempty" xml:"response_id,omitempty"`
	// 成功
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
	// 系统异常
	ResponseMessage string `json:"response_message,omitempty" xml:"response_message,omitempty"`
}

TaobaoJstSmsMenuinfoReportAPIResponseModel is 聚石塔菜单信息上报 成功返回结果

type TaobaoJstSmsMessageDirectBatchsendAPIRequest

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

聚石塔新短信发送接口 API请求 taobao.jst.sms.message.direct.batchsend

聚石塔所见即所得的短信发送接口

func NewTaobaoJstSmsMessageDirectBatchsendRequest

func NewTaobaoJstSmsMessageDirectBatchsendRequest() *TaobaoJstSmsMessageDirectBatchsendAPIRequest

NewTaobaoJstSmsMessageDirectBatchsendRequest 初始化TaobaoJstSmsMessageDirectBatchsendAPIRequest对象

func (TaobaoJstSmsMessageDirectBatchsendAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstSmsMessageDirectBatchsendAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstSmsMessageDirectBatchsendAPIRequest) GetExtendNum

Get ExtendNum Getter

func (TaobaoJstSmsMessageDirectBatchsendAPIRequest) GetRecNum

Get RecNum Getter

func (TaobaoJstSmsMessageDirectBatchsendAPIRequest) GetSignName

Get SignName Getter

func (TaobaoJstSmsMessageDirectBatchsendAPIRequest) GetSmsContent

Get SmsContent Getter

func (TaobaoJstSmsMessageDirectBatchsendAPIRequest) GetSmsTemplateCode

Get SmsTemplateCode Getter

func (TaobaoJstSmsMessageDirectBatchsendAPIRequest) GetTaskCode

Get TaskCode Getter

func (TaobaoJstSmsMessageDirectBatchsendAPIRequest) GetTaskSign

Get TaskSign Getter

func (TaobaoJstSmsMessageDirectBatchsendAPIRequest) GetUrl

Get Url Getter

func (*TaobaoJstSmsMessageDirectBatchsendAPIRequest) SetExtendNum

func (r *TaobaoJstSmsMessageDirectBatchsendAPIRequest) SetExtendNum(_extendNum string) error

Set is ExtendNum Setter 短信扩展码(JSON字符串数组格式),拓展码个数需要和电话号码个数一致。

func (*TaobaoJstSmsMessageDirectBatchsendAPIRequest) SetRecNum

Set is RecNum Setter 短信接收号码,json格式,最多200个号码

func (*TaobaoJstSmsMessageDirectBatchsendAPIRequest) SetSignName

func (r *TaobaoJstSmsMessageDirectBatchsendAPIRequest) SetSignName(_signName string) error

Set is SignName Setter 短信签名

func (*TaobaoJstSmsMessageDirectBatchsendAPIRequest) SetSmsContent

func (r *TaobaoJstSmsMessageDirectBatchsendAPIRequest) SetSmsContent(_smsContent string) error

Set is SmsContent Setter 短信内容,如果带${url}则会被入参url替换

func (*TaobaoJstSmsMessageDirectBatchsendAPIRequest) SetSmsTemplateCode

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

Set is SmsTemplateCode Setter 短信模版CODE,必须为全变量模板

func (*TaobaoJstSmsMessageDirectBatchsendAPIRequest) SetTaskCode

func (r *TaobaoJstSmsMessageDirectBatchsendAPIRequest) SetTaskCode(_taskCode string) error

Set is TaskCode Setter 短信任务code,没有请先创建。

func (*TaobaoJstSmsMessageDirectBatchsendAPIRequest) SetTaskSign

func (r *TaobaoJstSmsMessageDirectBatchsendAPIRequest) SetTaskSign(_taskSign string) error

Set is TaskSign Setter 一个在taskcode下唯一的随机字符串,对于taskSign相同的请求平台认为是商家的同一次短信发送。

func (*TaobaoJstSmsMessageDirectBatchsendAPIRequest) SetUrl

Set is Url Setter 短信中带的短链,如果不传则没有短信效果数据

type TaobaoJstSmsMessageDirectBatchsendAPIResponse

type TaobaoJstSmsMessageDirectBatchsendAPIResponse struct {
	model.CommonResponse
	TaobaoJstSmsMessageDirectBatchsendAPIResponseModel
}
TaobaoJstSmsMessageDirectBatchsendAPIResponse

聚石塔新短信发送接口 API返回值 taobao.jst.sms.message.direct.batchsend

聚石塔所见即所得的短信发送接口

type TaobaoJstSmsMessageDirectBatchsendAPIResponseModel

type TaobaoJstSmsMessageDirectBatchsendAPIResponseModel struct {
	XMLName xml.Name `xml:"jst_sms_message_direct_batchsend_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 短信回执码
	Module string `json:"module,omitempty" xml:"module,omitempty"`
}

TaobaoJstSmsMessageDirectBatchsendAPIResponseModel is 聚石塔新短信发送接口 成功返回结果

type TaobaoJstSmsMessageSendAPIRequest

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

聚石塔数据paas短信发送接口 API请求 taobao.jst.sms.message.send

聚石塔短信PAAS场景中,ISV通过该API帮商家发送短信给用户。

func NewTaobaoJstSmsMessageSendRequest

func NewTaobaoJstSmsMessageSendRequest() *TaobaoJstSmsMessageSendAPIRequest

NewTaobaoJstSmsMessageSendRequest 初始化TaobaoJstSmsMessageSendAPIRequest对象

func (TaobaoJstSmsMessageSendAPIRequest) GetApiMethodName

func (r TaobaoJstSmsMessageSendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstSmsMessageSendAPIRequest) GetApiParams

func (r TaobaoJstSmsMessageSendAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstSmsMessageSendAPIRequest) GetSendMessageRequest

func (r TaobaoJstSmsMessageSendAPIRequest) GetSendMessageRequest() *SendMessageRequest

Get SendMessageRequest Getter

func (*TaobaoJstSmsMessageSendAPIRequest) SetSendMessageRequest

func (r *TaobaoJstSmsMessageSendAPIRequest) SetSendMessageRequest(_sendMessageRequest *SendMessageRequest) error

Set is SendMessageRequest Setter 短信发送请求

type TaobaoJstSmsMessageSendAPIResponse

type TaobaoJstSmsMessageSendAPIResponse struct {
	model.CommonResponse
	TaobaoJstSmsMessageSendAPIResponseModel
}
TaobaoJstSmsMessageSendAPIResponse

聚石塔数据paas短信发送接口 API返回值 taobao.jst.sms.message.send

聚石塔短信PAAS场景中,ISV通过该API帮商家发送短信给用户。

type TaobaoJstSmsMessageSendAPIResponseModel

type TaobaoJstSmsMessageSendAPIResponseModel struct {
	XMLName xml.Name `xml:"jst_sms_message_send_response"`
	// 参数错误
	RequestCode string `json:"request_code,omitempty" xml:"request_code,omitempty"`
	// 请求成功
	RequestSuccess bool `json:"request_success,omitempty" xml:"request_success,omitempty"`
	// 1234
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 空
	Module string `json:"module,omitempty" xml:"module,omitempty"`
	// 参数错误
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

TaobaoJstSmsMessageSendAPIResponseModel is 聚石塔数据paas短信发送接口 成功返回结果

type TaobaoJstSmsMessageShorturlCreateAPIRequest

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

聚石塔营销效果短链生成 API请求 taobao.jst.sms.message.shorturl.create

聚石塔生成淘短链接口

func NewTaobaoJstSmsMessageShorturlCreateRequest

func NewTaobaoJstSmsMessageShorturlCreateRequest() *TaobaoJstSmsMessageShorturlCreateAPIRequest

NewTaobaoJstSmsMessageShorturlCreateRequest 初始化TaobaoJstSmsMessageShorturlCreateAPIRequest对象

func (TaobaoJstSmsMessageShorturlCreateAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstSmsMessageShorturlCreateAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstSmsMessageShorturlCreateAPIRequest) GetBatchNumber

Get BatchNumber Getter

func (TaobaoJstSmsMessageShorturlCreateAPIRequest) GetNeedHttpsPrefix

func (r TaobaoJstSmsMessageShorturlCreateAPIRequest) GetNeedHttpsPrefix() bool

Get NeedHttpsPrefix Getter

func (TaobaoJstSmsMessageShorturlCreateAPIRequest) GetTag

Get Tag Getter

func (TaobaoJstSmsMessageShorturlCreateAPIRequest) GetUrl

Get Url Getter

func (*TaobaoJstSmsMessageShorturlCreateAPIRequest) SetBatchNumber

func (r *TaobaoJstSmsMessageShorturlCreateAPIRequest) SetBatchNumber(_batchNumber string) error

Set is BatchNumber Setter 批次号

func (*TaobaoJstSmsMessageShorturlCreateAPIRequest) SetNeedHttpsPrefix

func (r *TaobaoJstSmsMessageShorturlCreateAPIRequest) SetNeedHttpsPrefix(_needHttpsPrefix bool) error

Set is NeedHttpsPrefix Setter 是否需要https前缀: true-要 false-不要

func (*TaobaoJstSmsMessageShorturlCreateAPIRequest) SetTag

Set is Tag Setter 人群标签

func (*TaobaoJstSmsMessageShorturlCreateAPIRequest) SetUrl

Set is Url Setter 商品或者店铺的H5地址,只支持长链

type TaobaoJstSmsMessageShorturlCreateAPIResponse

type TaobaoJstSmsMessageShorturlCreateAPIResponse struct {
	model.CommonResponse
	TaobaoJstSmsMessageShorturlCreateAPIResponseModel
}
TaobaoJstSmsMessageShorturlCreateAPIResponse

聚石塔营销效果短链生成 API返回值 taobao.jst.sms.message.shorturl.create

聚石塔生成淘短链接口

type TaobaoJstSmsMessageShorturlCreateAPIResponseModel

type TaobaoJstSmsMessageShorturlCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"jst_sms_message_shorturl_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 成功
	RCode string `json:"r_code,omitempty" xml:"r_code,omitempty"`
	// 成功
	RSuccess bool `json:"r_success,omitempty" xml:"r_success,omitempty"`
	// 请求ID
	RRequestId string `json:"r_request_id,omitempty" xml:"r_request_id,omitempty"`
	// 短链值(短链的有效期为2个月)
	Module string `json:"module,omitempty" xml:"module,omitempty"`
	// 请求失败时的错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

TaobaoJstSmsMessageShorturlCreateAPIResponseModel is 聚石塔营销效果短链生成 成功返回结果

type TaobaoJstSmsMessageShorturlQueryAPIRequest

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

聚石塔短链信息查询 API请求 taobao.jst.sms.message.shorturl.query

聚石塔短链信息查询

func NewTaobaoJstSmsMessageShorturlQueryRequest

func NewTaobaoJstSmsMessageShorturlQueryRequest() *TaobaoJstSmsMessageShorturlQueryAPIRequest

NewTaobaoJstSmsMessageShorturlQueryRequest 初始化TaobaoJstSmsMessageShorturlQueryAPIRequest对象

func (TaobaoJstSmsMessageShorturlQueryAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstSmsMessageShorturlQueryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstSmsMessageShorturlQueryAPIRequest) GetShortName

Get ShortName Getter

func (*TaobaoJstSmsMessageShorturlQueryAPIRequest) SetShortName

func (r *TaobaoJstSmsMessageShorturlQueryAPIRequest) SetShortName(_shortName string) error

Set is ShortName Setter 短链名,即域名后的字符串

type TaobaoJstSmsMessageShorturlQueryAPIResponse

type TaobaoJstSmsMessageShorturlQueryAPIResponse struct {
	model.CommonResponse
	TaobaoJstSmsMessageShorturlQueryAPIResponseModel
}
TaobaoJstSmsMessageShorturlQueryAPIResponse

聚石塔短链信息查询 API返回值 taobao.jst.sms.message.shorturl.query

聚石塔短链信息查询

type TaobaoJstSmsMessageShorturlQueryAPIResponseModel

type TaobaoJstSmsMessageShorturlQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"jst_sms_message_shorturl_query_response"`
	// 请求成功
	RCode string `json:"r_code,omitempty" xml:"r_code,omitempty"`
	// 成功
	RSuccess bool `json:"r_success,omitempty" xml:"r_success,omitempty"`
	// TOP请求ID
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 短链名
	ShortName string `json:"short_name,omitempty" xml:"short_name,omitempty"`
	// 短链失效时间
	LifeEnd string `json:"life_end,omitempty" xml:"life_end,omitempty"`
	// 短链生成时间
	LifeStart string `json:"life_start,omitempty" xml:"life_start,omitempty"`
	// 查询短链信息失败
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

TaobaoJstSmsMessageShorturlQueryAPIResponseModel is 聚石塔短链信息查询 成功返回结果

type TaobaoJstSmsOfficialaccountCancelAPIRequest

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

聚石塔取消公众号订购 API请求 taobao.jst.sms.officialaccount.cancel

聚石塔取消公众号订购

func NewTaobaoJstSmsOfficialaccountCancelRequest

func NewTaobaoJstSmsOfficialaccountCancelRequest() *TaobaoJstSmsOfficialaccountCancelAPIRequest

NewTaobaoJstSmsOfficialaccountCancelRequest 初始化TaobaoJstSmsOfficialaccountCancelAPIRequest对象

func (TaobaoJstSmsOfficialaccountCancelAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstSmsOfficialaccountCancelAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstSmsOfficialaccountCancelAPIRequest) GetCancelOrderRequest

Get CancelOrderRequest Getter

func (*TaobaoJstSmsOfficialaccountCancelAPIRequest) SetCancelOrderRequest

func (r *TaobaoJstSmsOfficialaccountCancelAPIRequest) SetCancelOrderRequest(_cancelOrderRequest *CancelOrderRequest) error

Set is CancelOrderRequest Setter 取消公众号订购请求

type TaobaoJstSmsOfficialaccountCancelAPIResponse

type TaobaoJstSmsOfficialaccountCancelAPIResponse struct {
	model.CommonResponse
	TaobaoJstSmsOfficialaccountCancelAPIResponseModel
}
TaobaoJstSmsOfficialaccountCancelAPIResponse

聚石塔取消公众号订购 API返回值 taobao.jst.sms.officialaccount.cancel

聚石塔取消公众号订购

type TaobaoJstSmsOfficialaccountCancelAPIResponseModel

type TaobaoJstSmsOfficialaccountCancelAPIResponseModel struct {
	XMLName xml.Name `xml:"jst_sms_officialaccount_cancel_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统异常
	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`
	// 成功
	ResponseSuccess bool `json:"response_success,omitempty" xml:"response_success,omitempty"`
	// 请求id
	ResponseId string `json:"response_id,omitempty" xml:"response_id,omitempty"`
	// 成功
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
	// 系统异常
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

TaobaoJstSmsOfficialaccountCancelAPIResponseModel is 聚石塔取消公众号订购 成功返回结果

type TaobaoJstSmsOfficialaccountOfflineAPIRequest

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

聚石塔公众号下线 API请求 taobao.jst.sms.officialaccount.offline

聚石塔公众号下线

func NewTaobaoJstSmsOfficialaccountOfflineRequest

func NewTaobaoJstSmsOfficialaccountOfflineRequest() *TaobaoJstSmsOfficialaccountOfflineAPIRequest

NewTaobaoJstSmsOfficialaccountOfflineRequest 初始化TaobaoJstSmsOfficialaccountOfflineAPIRequest对象

func (TaobaoJstSmsOfficialaccountOfflineAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstSmsOfficialaccountOfflineAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstSmsOfficialaccountOfflineAPIRequest) GetOfficialAccountOffline

func (r TaobaoJstSmsOfficialaccountOfflineAPIRequest) GetOfficialAccountOffline() *JstBaseRequest

Get OfficialAccountOffline Getter

func (*TaobaoJstSmsOfficialaccountOfflineAPIRequest) SetOfficialAccountOffline

func (r *TaobaoJstSmsOfficialaccountOfflineAPIRequest) SetOfficialAccountOffline(_officialAccountOffline *JstBaseRequest) error

Set is OfficialAccountOffline Setter 公众号下线请求

type TaobaoJstSmsOfficialaccountOfflineAPIResponse

type TaobaoJstSmsOfficialaccountOfflineAPIResponse struct {
	model.CommonResponse
	TaobaoJstSmsOfficialaccountOfflineAPIResponseModel
}
TaobaoJstSmsOfficialaccountOfflineAPIResponse

聚石塔公众号下线 API返回值 taobao.jst.sms.officialaccount.offline

聚石塔公众号下线

type TaobaoJstSmsOfficialaccountOfflineAPIResponseModel

type TaobaoJstSmsOfficialaccountOfflineAPIResponseModel struct {
	XMLName xml.Name `xml:"jst_sms_officialaccount_offline_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统异常
	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`
	// 成功
	ResponseSuccess bool `json:"response_success,omitempty" xml:"response_success,omitempty"`
	// 请求id
	ResponseId string `json:"response_id,omitempty" xml:"response_id,omitempty"`
	// 成功
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
	// 系统异常
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

TaobaoJstSmsOfficialaccountOfflineAPIResponseModel is 聚石塔公众号下线 成功返回结果

type TaobaoJstSmsOfficialaccountOnlineAPIRequest

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

聚石塔公众号上线 API请求 taobao.jst.sms.officialaccount.online

聚石塔公众号上线

func NewTaobaoJstSmsOfficialaccountOnlineRequest

func NewTaobaoJstSmsOfficialaccountOnlineRequest() *TaobaoJstSmsOfficialaccountOnlineAPIRequest

NewTaobaoJstSmsOfficialaccountOnlineRequest 初始化TaobaoJstSmsOfficialaccountOnlineAPIRequest对象

func (TaobaoJstSmsOfficialaccountOnlineAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstSmsOfficialaccountOnlineAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstSmsOfficialaccountOnlineAPIRequest) GetOfficialAccountOnlineRequest

func (r TaobaoJstSmsOfficialaccountOnlineAPIRequest) GetOfficialAccountOnlineRequest() *JstBaseRequest

Get OfficialAccountOnlineRequest Getter

func (*TaobaoJstSmsOfficialaccountOnlineAPIRequest) SetOfficialAccountOnlineRequest

func (r *TaobaoJstSmsOfficialaccountOnlineAPIRequest) SetOfficialAccountOnlineRequest(_officialAccountOnlineRequest *JstBaseRequest) error

Set is OfficialAccountOnlineRequest Setter 公众号上线请求参数

type TaobaoJstSmsOfficialaccountOnlineAPIResponse

type TaobaoJstSmsOfficialaccountOnlineAPIResponse struct {
	model.CommonResponse
	TaobaoJstSmsOfficialaccountOnlineAPIResponseModel
}
TaobaoJstSmsOfficialaccountOnlineAPIResponse

聚石塔公众号上线 API返回值 taobao.jst.sms.officialaccount.online

聚石塔公众号上线

type TaobaoJstSmsOfficialaccountOnlineAPIResponseModel

type TaobaoJstSmsOfficialaccountOnlineAPIResponseModel struct {
	XMLName xml.Name `xml:"jst_sms_officialaccount_online_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统异常
	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`
	// 成功
	ResponseSuccess bool `json:"response_success,omitempty" xml:"response_success,omitempty"`
	// 请求id
	ResponseId string `json:"response_id,omitempty" xml:"response_id,omitempty"`
	// 成功
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
	// 系统异常
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

TaobaoJstSmsOfficialaccountOnlineAPIResponseModel is 聚石塔公众号上线 成功返回结果

type TaobaoJstSmsOfficialaccountOrderAPIRequest

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

聚石塔订购公众号 API请求 taobao.jst.sms.officialaccount.order

聚石塔订购公众号接口

func NewTaobaoJstSmsOfficialaccountOrderRequest

func NewTaobaoJstSmsOfficialaccountOrderRequest() *TaobaoJstSmsOfficialaccountOrderAPIRequest

NewTaobaoJstSmsOfficialaccountOrderRequest 初始化TaobaoJstSmsOfficialaccountOrderAPIRequest对象

func (TaobaoJstSmsOfficialaccountOrderAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstSmsOfficialaccountOrderAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstSmsOfficialaccountOrderAPIRequest) GetOrderOfficialAccountRequest

func (r TaobaoJstSmsOfficialaccountOrderAPIRequest) GetOrderOfficialAccountRequest() *OrderOfficialAccountRequest

Get OrderOfficialAccountRequest Getter

func (*TaobaoJstSmsOfficialaccountOrderAPIRequest) SetOrderOfficialAccountRequest

func (r *TaobaoJstSmsOfficialaccountOrderAPIRequest) SetOrderOfficialAccountRequest(_orderOfficialAccountRequest *OrderOfficialAccountRequest) error

Set is OrderOfficialAccountRequest Setter 聚石塔公众号订购

type TaobaoJstSmsOfficialaccountOrderAPIResponse

type TaobaoJstSmsOfficialaccountOrderAPIResponse struct {
	model.CommonResponse
	TaobaoJstSmsOfficialaccountOrderAPIResponseModel
}
TaobaoJstSmsOfficialaccountOrderAPIResponse

聚石塔订购公众号 API返回值 taobao.jst.sms.officialaccount.order

聚石塔订购公众号接口

type TaobaoJstSmsOfficialaccountOrderAPIResponseModel

type TaobaoJstSmsOfficialaccountOrderAPIResponseModel struct {
	XMLName xml.Name `xml:"jst_sms_officialaccount_order_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统异常
	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`
	// 成功
	ResponseSuccess bool `json:"response_success,omitempty" xml:"response_success,omitempty"`
	// 请求id
	ResponseId string `json:"response_id,omitempty" xml:"response_id,omitempty"`
	// 上报成功
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
	// 系统异常
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

TaobaoJstSmsOfficialaccountOrderAPIResponseModel is 聚石塔订购公众号 成功返回结果

type TaobaoJstSmsOfficialaccountReportAPIRequest

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

聚石塔公众号信息上报 API请求 taobao.jst.sms.officialaccount.report

聚石塔公众号信息上报

func NewTaobaoJstSmsOfficialaccountReportRequest

func NewTaobaoJstSmsOfficialaccountReportRequest() *TaobaoJstSmsOfficialaccountReportAPIRequest

NewTaobaoJstSmsOfficialaccountReportRequest 初始化TaobaoJstSmsOfficialaccountReportAPIRequest对象

func (TaobaoJstSmsOfficialaccountReportAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstSmsOfficialaccountReportAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstSmsOfficialaccountReportAPIRequest) GetOfficialAccountInfoReportRequest

func (r TaobaoJstSmsOfficialaccountReportAPIRequest) GetOfficialAccountInfoReportRequest() *OfficialAccountInfoReportRequest

Get OfficialAccountInfoReportRequest Getter

func (*TaobaoJstSmsOfficialaccountReportAPIRequest) SetOfficialAccountInfoReportRequest

func (r *TaobaoJstSmsOfficialaccountReportAPIRequest) SetOfficialAccountInfoReportRequest(_officialAccountInfoReportRequest *OfficialAccountInfoReportRequest) error

Set is OfficialAccountInfoReportRequest Setter 公众号信息上报接口入参

type TaobaoJstSmsOfficialaccountReportAPIResponse

type TaobaoJstSmsOfficialaccountReportAPIResponse struct {
	model.CommonResponse
	TaobaoJstSmsOfficialaccountReportAPIResponseModel
}
TaobaoJstSmsOfficialaccountReportAPIResponse

聚石塔公众号信息上报 API返回值 taobao.jst.sms.officialaccount.report

聚石塔公众号信息上报

type TaobaoJstSmsOfficialaccountReportAPIResponseModel

type TaobaoJstSmsOfficialaccountReportAPIResponseModel struct {
	XMLName xml.Name `xml:"jst_sms_officialaccount_report_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统异常
	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`
	// 成功
	ResponseSuccess bool `json:"response_success,omitempty" xml:"response_success,omitempty"`
	// 请求id
	ResponseId string `json:"response_id,omitempty" xml:"response_id,omitempty"`
	// 上报成功
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
	// 系统异常
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

TaobaoJstSmsOfficialaccountReportAPIResponseModel is 聚石塔公众号信息上报 成功返回结果

type TaobaoJstSmsStatusQueryAPIRequest

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

聚石塔公众号状态查询 API请求 taobao.jst.sms.status.query

聚石塔公众号状态查询

func NewTaobaoJstSmsStatusQueryRequest

func NewTaobaoJstSmsStatusQueryRequest() *TaobaoJstSmsStatusQueryAPIRequest

NewTaobaoJstSmsStatusQueryRequest 初始化TaobaoJstSmsStatusQueryAPIRequest对象

func (TaobaoJstSmsStatusQueryAPIRequest) GetApiMethodName

func (r TaobaoJstSmsStatusQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstSmsStatusQueryAPIRequest) GetApiParams

func (r TaobaoJstSmsStatusQueryAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstSmsStatusQueryAPIRequest) GetOfficialAccountStatusQueryRequest

func (r TaobaoJstSmsStatusQueryAPIRequest) GetOfficialAccountStatusQueryRequest() *JstBaseRequest

Get OfficialAccountStatusQueryRequest Getter

func (*TaobaoJstSmsStatusQueryAPIRequest) SetOfficialAccountStatusQueryRequest

func (r *TaobaoJstSmsStatusQueryAPIRequest) SetOfficialAccountStatusQueryRequest(_officialAccountStatusQueryRequest *JstBaseRequest) error

Set is OfficialAccountStatusQueryRequest Setter 公众号状态信息查询请求

type TaobaoJstSmsStatusQueryAPIResponse

type TaobaoJstSmsStatusQueryAPIResponse struct {
	model.CommonResponse
	TaobaoJstSmsStatusQueryAPIResponseModel
}
TaobaoJstSmsStatusQueryAPIResponse

聚石塔公众号状态查询 API返回值 taobao.jst.sms.status.query

聚石塔公众号状态查询

type TaobaoJstSmsStatusQueryAPIResponseModel

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

TaobaoJstSmsStatusQueryAPIResponseModel is 聚石塔公众号状态查询 成功返回结果

type TaobaoJstSmsTaskCreateAPIRequest

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

聚石塔短信任务创建接口 API请求 taobao.jst.sms.task.create

聚石塔短信的任务创建接口,用于创建数字短信、公众号短信、权益短信的AB测试任务。

func NewTaobaoJstSmsTaskCreateRequest

func NewTaobaoJstSmsTaskCreateRequest() *TaobaoJstSmsTaskCreateAPIRequest

NewTaobaoJstSmsTaskCreateRequest 初始化TaobaoJstSmsTaskCreateAPIRequest对象

func (TaobaoJstSmsTaskCreateAPIRequest) GetApiMethodName

func (r TaobaoJstSmsTaskCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJstSmsTaskCreateAPIRequest) GetApiParams

func (r TaobaoJstSmsTaskCreateAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJstSmsTaskCreateAPIRequest) GetParamCreateSmsTaskRequest

func (r TaobaoJstSmsTaskCreateAPIRequest) GetParamCreateSmsTaskRequest() *CreateSmsTaskRequest

Get ParamCreateSmsTaskRequest Getter

func (*TaobaoJstSmsTaskCreateAPIRequest) SetParamCreateSmsTaskRequest

func (r *TaobaoJstSmsTaskCreateAPIRequest) SetParamCreateSmsTaskRequest(_paramCreateSmsTaskRequest *CreateSmsTaskRequest) error

Set is ParamCreateSmsTaskRequest Setter 创建任务的入参

type TaobaoJstSmsTaskCreateAPIResponse

type TaobaoJstSmsTaskCreateAPIResponse struct {
	model.CommonResponse
	TaobaoJstSmsTaskCreateAPIResponseModel
}
TaobaoJstSmsTaskCreateAPIResponse

聚石塔短信任务创建接口 API返回值 taobao.jst.sms.task.create

聚石塔短信的任务创建接口,用于创建数字短信、公众号短信、权益短信的AB测试任务。

type TaobaoJstSmsTaskCreateAPIResponseModel

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

TaobaoJstSmsTaskCreateAPIResponseModel is 聚石塔短信任务创建接口 成功返回结果

type TaobaoJushitaJdpUserAddAPIRequest

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

添加数据推送用户 API请求 taobao.jushita.jdp.user.add

提供给接入数据推送的应用添加数据推送服务的用户

func NewTaobaoJushitaJdpUserAddRequest

func NewTaobaoJushitaJdpUserAddRequest() *TaobaoJushitaJdpUserAddAPIRequest

NewTaobaoJushitaJdpUserAddRequest 初始化TaobaoJushitaJdpUserAddAPIRequest对象

func (TaobaoJushitaJdpUserAddAPIRequest) GetApiMethodName

func (r TaobaoJushitaJdpUserAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJushitaJdpUserAddAPIRequest) GetApiParams

func (r TaobaoJushitaJdpUserAddAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJushitaJdpUserAddAPIRequest) GetHistoryDays

func (r TaobaoJushitaJdpUserAddAPIRequest) GetHistoryDays() int64

Get HistoryDays Getter

func (TaobaoJushitaJdpUserAddAPIRequest) GetRdsName

Get RdsName Getter

func (*TaobaoJushitaJdpUserAddAPIRequest) SetHistoryDays

func (r *TaobaoJushitaJdpUserAddAPIRequest) SetHistoryDays(_historyDays int64) error

Set is HistoryDays Setter 推送历史数据天数,只能为90天内,包含90天。当此参数不填时,表示以页面中应用配置的历史天数为准;如果为0表示这个用户不推送历史数据;其它表示推送的历史天数。

func (*TaobaoJushitaJdpUserAddAPIRequest) SetRdsName

func (r *TaobaoJushitaJdpUserAddAPIRequest) SetRdsName(_rdsName string) error

Set is RdsName Setter RDS实例名称

type TaobaoJushitaJdpUserAddAPIResponse

type TaobaoJushitaJdpUserAddAPIResponse struct {
	model.CommonResponse
	TaobaoJushitaJdpUserAddAPIResponseModel
}
TaobaoJushitaJdpUserAddAPIResponse

添加数据推送用户 API返回值 taobao.jushita.jdp.user.add

提供给接入数据推送的应用添加数据推送服务的用户

type TaobaoJushitaJdpUserAddAPIResponseModel

type TaobaoJushitaJdpUserAddAPIResponseModel struct {
	XMLName xml.Name `xml:"jushita_jdp_user_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否添加成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoJushitaJdpUserAddAPIResponseModel is 添加数据推送用户 成功返回结果

type TaobaoJushitaJdpUserDeleteAPIRequest

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

删除数据推送用户 API请求 taobao.jushita.jdp.user.delete

删除应用的数据推送用户,用户被删除后,重新添加时会重新同步历史数据。

func NewTaobaoJushitaJdpUserDeleteRequest

func NewTaobaoJushitaJdpUserDeleteRequest() *TaobaoJushitaJdpUserDeleteAPIRequest

NewTaobaoJushitaJdpUserDeleteRequest 初始化TaobaoJushitaJdpUserDeleteAPIRequest对象

func (TaobaoJushitaJdpUserDeleteAPIRequest) GetApiMethodName

func (r TaobaoJushitaJdpUserDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJushitaJdpUserDeleteAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJushitaJdpUserDeleteAPIRequest) GetNick

Get Nick Getter

func (TaobaoJushitaJdpUserDeleteAPIRequest) GetUserId

Get UserId Getter

func (*TaobaoJushitaJdpUserDeleteAPIRequest) SetNick

Set is Nick Setter 要删除用户的昵称

func (*TaobaoJushitaJdpUserDeleteAPIRequest) SetUserId

func (r *TaobaoJushitaJdpUserDeleteAPIRequest) SetUserId(_userId int64) error

Set is UserId Setter 需要删除的用户编号

type TaobaoJushitaJdpUserDeleteAPIResponse

type TaobaoJushitaJdpUserDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoJushitaJdpUserDeleteAPIResponseModel
}
TaobaoJushitaJdpUserDeleteAPIResponse

删除数据推送用户 API返回值 taobao.jushita.jdp.user.delete

删除应用的数据推送用户,用户被删除后,重新添加时会重新同步历史数据。

type TaobaoJushitaJdpUserDeleteAPIResponseModel

type TaobaoJushitaJdpUserDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"jushita_jdp_user_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否删除成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoJushitaJdpUserDeleteAPIResponseModel is 删除数据推送用户 成功返回结果

type TaobaoJushitaJdpUsersGetAPIRequest

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

获取开通的订单同步服务的用户 API请求 taobao.jushita.jdp.users.get

获取开通的订单同步服务的用户,含有rds的路由关系

func NewTaobaoJushitaJdpUsersGetRequest

func NewTaobaoJushitaJdpUsersGetRequest() *TaobaoJushitaJdpUsersGetAPIRequest

NewTaobaoJushitaJdpUsersGetRequest 初始化TaobaoJushitaJdpUsersGetAPIRequest对象

func (TaobaoJushitaJdpUsersGetAPIRequest) GetApiMethodName

func (r TaobaoJushitaJdpUsersGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoJushitaJdpUsersGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoJushitaJdpUsersGetAPIRequest) GetEndModified

func (r TaobaoJushitaJdpUsersGetAPIRequest) GetEndModified() string

Get EndModified Getter

func (TaobaoJushitaJdpUsersGetAPIRequest) GetPageNo

Get PageNo Getter

func (TaobaoJushitaJdpUsersGetAPIRequest) GetPageSize

func (r TaobaoJushitaJdpUsersGetAPIRequest) GetPageSize() int64

Get PageSize Getter

func (TaobaoJushitaJdpUsersGetAPIRequest) GetStartModified

func (r TaobaoJushitaJdpUsersGetAPIRequest) GetStartModified() string

Get StartModified Getter

func (TaobaoJushitaJdpUsersGetAPIRequest) GetUserId

Get UserId Getter

func (*TaobaoJushitaJdpUsersGetAPIRequest) SetEndModified

func (r *TaobaoJushitaJdpUsersGetAPIRequest) SetEndModified(_endModified string) error

Set is EndModified Setter 此参数一般不用传,用于查询最后更改时间在某个时间段内的用户

func (*TaobaoJushitaJdpUsersGetAPIRequest) SetPageNo

func (r *TaobaoJushitaJdpUsersGetAPIRequest) SetPageNo(_pageNo int64) error

Set is PageNo Setter 当前页数

func (*TaobaoJushitaJdpUsersGetAPIRequest) SetPageSize

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

Set is PageSize Setter 每页记录数,默认200

func (*TaobaoJushitaJdpUsersGetAPIRequest) SetStartModified

func (r *TaobaoJushitaJdpUsersGetAPIRequest) SetStartModified(_startModified string) error

Set is StartModified Setter 此参数一般不用传,用于查询最后更改时间在某个时间段内的用户

func (*TaobaoJushitaJdpUsersGetAPIRequest) SetUserId

func (r *TaobaoJushitaJdpUsersGetAPIRequest) SetUserId(_userId int64) error

Set is UserId Setter 如果传了user_id表示单条查询

type TaobaoJushitaJdpUsersGetAPIResponse

type TaobaoJushitaJdpUsersGetAPIResponse struct {
	model.CommonResponse
	TaobaoJushitaJdpUsersGetAPIResponseModel
}
TaobaoJushitaJdpUsersGetAPIResponse

获取开通的订单同步服务的用户 API返回值 taobao.jushita.jdp.users.get

获取开通的订单同步服务的用户,含有rds的路由关系

type TaobaoJushitaJdpUsersGetAPIResponseModel

type TaobaoJushitaJdpUsersGetAPIResponseModel struct {
	XMLName xml.Name `xml:"jushita_jdp_users_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 用户列表
	Users []JdpUser `json:"users,omitempty" xml:"users>jdp_user,omitempty"`
	// 总记录数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

TaobaoJushitaJdpUsersGetAPIResponseModel is 获取开通的订单同步服务的用户 成功返回结果

type TaobaoModifyaddressOpenAPIRequest

type TaobaoModifyaddressOpenAPIRequest struct {
	model.Params
}
TaobaoModifyaddressOpenAPIRequest

淘宝自助修改地址服务开通 API请求 taobao.modifyaddress.open

商家自助修改地址服务开通

func NewTaobaoModifyaddressOpenRequest

func NewTaobaoModifyaddressOpenRequest() *TaobaoModifyaddressOpenAPIRequest

NewTaobaoModifyaddressOpenRequest 初始化TaobaoModifyaddressOpenAPIRequest对象

func (TaobaoModifyaddressOpenAPIRequest) GetApiMethodName

func (r TaobaoModifyaddressOpenAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoModifyaddressOpenAPIRequest) GetApiParams

func (r TaobaoModifyaddressOpenAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

type TaobaoModifyaddressOpenAPIResponse

type TaobaoModifyaddressOpenAPIResponse struct {
	model.CommonResponse
	TaobaoModifyaddressOpenAPIResponseModel
}
TaobaoModifyaddressOpenAPIResponse

淘宝自助修改地址服务开通 API返回值 taobao.modifyaddress.open

商家自助修改地址服务开通

type TaobaoModifyaddressOpenAPIResponseModel

type TaobaoModifyaddressOpenAPIResponseModel struct {
	XMLName xml.Name `xml:"modifyaddress_open_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
	// 错误信息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
}

TaobaoModifyaddressOpenAPIResponseModel is 淘宝自助修改地址服务开通 成功返回结果

type TaobaoOcApContractsignedGetAPIRequest

type TaobaoOcApContractsignedGetAPIRequest struct {
	model.Params
}
TaobaoOcApContractsignedGetAPIRequest

用户是否签署支付宝代扣协议 API请求 taobao.oc.ap.contractsigned.get

用户是否签署支付宝代扣协议

func NewTaobaoOcApContractsignedGetRequest

func NewTaobaoOcApContractsignedGetRequest() *TaobaoOcApContractsignedGetAPIRequest

NewTaobaoOcApContractsignedGetRequest 初始化TaobaoOcApContractsignedGetAPIRequest对象

func (TaobaoOcApContractsignedGetAPIRequest) GetApiMethodName

func (r TaobaoOcApContractsignedGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOcApContractsignedGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

type TaobaoOcApContractsignedGetAPIResponse

type TaobaoOcApContractsignedGetAPIResponse struct {
	model.CommonResponse
	TaobaoOcApContractsignedGetAPIResponseModel
}
TaobaoOcApContractsignedGetAPIResponse

用户是否签署支付宝代扣协议 API返回值 taobao.oc.ap.contractsigned.get

用户是否签署支付宝代扣协议

type TaobaoOcApContractsignedGetAPIResponseModel

type TaobaoOcApContractsignedGetAPIResponseModel struct {
	XMLName xml.Name `xml:"oc_ap_contractsigned_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否开通
	ContractSign bool `json:"contract_sign,omitempty" xml:"contract_sign,omitempty"`
	// 调用出错描述信息
	ErrorDescription string `json:"error_description,omitempty" xml:"error_description,omitempty"`
}

TaobaoOcApContractsignedGetAPIResponseModel is 用户是否签署支付宝代扣协议 成功返回结果

type TaobaoOcApContracturlGetAPIRequest

type TaobaoOcApContracturlGetAPIRequest struct {
	model.Params
}
TaobaoOcApContracturlGetAPIRequest

按用户获取支付宝代扣协议链接地址 API请求 taobao.oc.ap.contracturl.get

按用户获取支付宝代扣协议链接地址

func NewTaobaoOcApContracturlGetRequest

func NewTaobaoOcApContracturlGetRequest() *TaobaoOcApContracturlGetAPIRequest

NewTaobaoOcApContracturlGetRequest 初始化TaobaoOcApContracturlGetAPIRequest对象

func (TaobaoOcApContracturlGetAPIRequest) GetApiMethodName

func (r TaobaoOcApContracturlGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOcApContracturlGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

type TaobaoOcApContracturlGetAPIResponse

type TaobaoOcApContracturlGetAPIResponse struct {
	model.CommonResponse
	TaobaoOcApContracturlGetAPIResponseModel
}
TaobaoOcApContracturlGetAPIResponse

按用户获取支付宝代扣协议链接地址 API返回值 taobao.oc.ap.contracturl.get

按用户获取支付宝代扣协议链接地址

type TaobaoOcApContracturlGetAPIResponseModel

type TaobaoOcApContracturlGetAPIResponseModel struct {
	XMLName xml.Name `xml:"oc_ap_contracturl_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 判断操作是否执行成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 代扣url地址
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 错误描述信息
	ErrorDescription string `json:"error_description,omitempty" xml:"error_description,omitempty"`
}

TaobaoOcApContracturlGetAPIResponseModel is 按用户获取支付宝代扣协议链接地址 成功返回结果

type TaobaoOcApRuleCreateAPIRequest

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

创建分账规则 API请求 taobao.oc.ap.rule.create

OC分账业务功能支持,用于创建分账规则

func NewTaobaoOcApRuleCreateRequest

func NewTaobaoOcApRuleCreateRequest() *TaobaoOcApRuleCreateAPIRequest

NewTaobaoOcApRuleCreateRequest 初始化TaobaoOcApRuleCreateAPIRequest对象

func (TaobaoOcApRuleCreateAPIRequest) GetApiMethodName

func (r TaobaoOcApRuleCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOcApRuleCreateAPIRequest) GetApiParams

func (r TaobaoOcApRuleCreateAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOcApRuleCreateAPIRequest) GetDivisionRule

func (r TaobaoOcApRuleCreateAPIRequest) GetDivisionRule() []int64

Get DivisionRule Getter

func (TaobaoOcApRuleCreateAPIRequest) GetExtAttributes

func (r TaobaoOcApRuleCreateAPIRequest) GetExtAttributes() string

Get ExtAttributes Getter

func (*TaobaoOcApRuleCreateAPIRequest) SetDivisionRule

func (r *TaobaoOcApRuleCreateAPIRequest) SetDivisionRule(_divisionRule []int64) error

Set is DivisionRule Setter 传入比例数组后者金额数组

func (*TaobaoOcApRuleCreateAPIRequest) SetExtAttributes

func (r *TaobaoOcApRuleCreateAPIRequest) SetExtAttributes(_extAttributes string) error

Set is ExtAttributes Setter 规则描述相关扩展信息,divisonRule的值包含("byAmount" 或者 "byPercentage"),excutionPeriod的值包含( "month" 或者 "day" 或者 "now")

type TaobaoOcApRuleCreateAPIResponse

type TaobaoOcApRuleCreateAPIResponse struct {
	model.CommonResponse
	TaobaoOcApRuleCreateAPIResponseModel
}
TaobaoOcApRuleCreateAPIResponse

创建分账规则 API返回值 taobao.oc.ap.rule.create

OC分账业务功能支持,用于创建分账规则

type TaobaoOcApRuleCreateAPIResponseModel

type TaobaoOcApRuleCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"oc_ap_rule_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 规则id
	RuleId int64 `json:"rule_id,omitempty" xml:"rule_id,omitempty"`
	// 错误描述
	ErrorDescription string `json:"error_description,omitempty" xml:"error_description,omitempty"`
	// 表示方法是否正常执行成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoOcApRuleCreateAPIResponseModel is 创建分账规则 成功返回结果

type TaobaoOcEserviceAppointListAPIRequest

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

交互卡片预约信息读取接口 API请求 taobao.oc.eservice.appoint.list

允许外部的isv通过该接口读取门店预约信息

func NewTaobaoOcEserviceAppointListRequest

func NewTaobaoOcEserviceAppointListRequest() *TaobaoOcEserviceAppointListAPIRequest

NewTaobaoOcEserviceAppointListRequest 初始化TaobaoOcEserviceAppointListAPIRequest对象

func (TaobaoOcEserviceAppointListAPIRequest) GetApiMethodName

func (r TaobaoOcEserviceAppointListAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOcEserviceAppointListAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOcEserviceAppointListAPIRequest) GetCode

Get Code Getter

func (TaobaoOcEserviceAppointListAPIRequest) GetCustomerNick

func (r TaobaoOcEserviceAppointListAPIRequest) GetCustomerNick() string

Get CustomerNick Getter

func (TaobaoOcEserviceAppointListAPIRequest) GetCustomerPhone

func (r TaobaoOcEserviceAppointListAPIRequest) GetCustomerPhone() string

Get CustomerPhone Getter

func (TaobaoOcEserviceAppointListAPIRequest) GetHouseAddressCity

func (r TaobaoOcEserviceAppointListAPIRequest) GetHouseAddressCity() string

Get HouseAddressCity Getter

func (TaobaoOcEserviceAppointListAPIRequest) GetMallCode

Get MallCode Getter

func (TaobaoOcEserviceAppointListAPIRequest) GetSellerId

Get SellerId Getter

func (TaobaoOcEserviceAppointListAPIRequest) GetSortOrder

Get SortOrder Getter

func (TaobaoOcEserviceAppointListAPIRequest) GetStartAppointTime

func (r TaobaoOcEserviceAppointListAPIRequest) GetStartAppointTime() string

Get StartAppointTime Getter

func (*TaobaoOcEserviceAppointListAPIRequest) SetCode

Set is Code Setter 预约信息唯一编码(code, customerNick, customerPhone, houseAddressCity, mallCode 调用时五个可选参数中任选一个作为输入参数)

func (*TaobaoOcEserviceAppointListAPIRequest) SetCustomerNick

func (r *TaobaoOcEserviceAppointListAPIRequest) SetCustomerNick(_customerNick string) error

Set is CustomerNick Setter 买家客户nick(code, customerNick, customerPhone, houseAddressCity, mallCode 调用时五个可选参数中任选一个作为输入参数)

func (*TaobaoOcEserviceAppointListAPIRequest) SetCustomerPhone

func (r *TaobaoOcEserviceAppointListAPIRequest) SetCustomerPhone(_customerPhone string) error

Set is CustomerPhone Setter 买家客户电话号码(code, customerNick, customerPhone, houseAddressCity, mallCode 调用时五个可选参数中任选一个作为输入参数)

func (*TaobaoOcEserviceAppointListAPIRequest) SetHouseAddressCity

func (r *TaobaoOcEserviceAppointListAPIRequest) SetHouseAddressCity(_houseAddressCity string) error

Set is HouseAddressCity Setter 买家客户装修房屋所在的市(code, customerNick, customerPhone, houseAddressCity, mallCode 调用时五个可选参数中任选一个作为输入参数)

func (*TaobaoOcEserviceAppointListAPIRequest) SetMallCode

func (r *TaobaoOcEserviceAppointListAPIRequest) SetMallCode(_mallCode string) error

Set is MallCode Setter 门店编码(code, customerNick, customerPhone, houseAddressCity, mallCode 调用时五个可选参数中任选一个作为输入参数)

func (*TaobaoOcEserviceAppointListAPIRequest) SetSellerId

func (r *TaobaoOcEserviceAppointListAPIRequest) SetSellerId(_sellerId int64) error

Set is SellerId Setter 卖家主账号id

func (*TaobaoOcEserviceAppointListAPIRequest) SetSortOrder

func (r *TaobaoOcEserviceAppointListAPIRequest) SetSortOrder(_sortOrder string) error

Set is SortOrder Setter 返回结果按预约时间排序,指示升序还是降息,取值asc和desc

func (*TaobaoOcEserviceAppointListAPIRequest) SetStartAppointTime

func (r *TaobaoOcEserviceAppointListAPIRequest) SetStartAppointTime(_startAppointTime string) error

Set is StartAppointTime Setter 查询预约的起始时间,格式yyyyMMddHHmmss,默认为当前时间

type TaobaoOcEserviceAppointListAPIResponse

type TaobaoOcEserviceAppointListAPIResponse struct {
	model.CommonResponse
	TaobaoOcEserviceAppointListAPIResponseModel
}
TaobaoOcEserviceAppointListAPIResponse

交互卡片预约信息读取接口 API返回值 taobao.oc.eservice.appoint.list

允许外部的isv通过该接口读取门店预约信息

type TaobaoOcEserviceAppointListAPIResponseModel

type TaobaoOcEserviceAppointListAPIResponseModel struct {
	XMLName xml.Name `xml:"oc_eservice_appoint_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回的预约信息,多个预约信息按照预约时间升序排序
	Models []O2oAppointInfoDto `json:"models,omitempty" xml:"models>o2o_appoint_info_dto,omitempty"`
	// 返回的预约信息数目
	TotalNumber int64 `json:"total_number,omitempty" xml:"total_number,omitempty"`
}

TaobaoOcEserviceAppointListAPIResponseModel is 交互卡片预约信息读取接口 成功返回结果

type TaobaoOcOrderApUpdateAPIRequest

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

按OC订单分账 API请求 taobao.oc.order.ap.update

对OC订单执行分账操作

func NewTaobaoOcOrderApUpdateRequest

func NewTaobaoOcOrderApUpdateRequest() *TaobaoOcOrderApUpdateAPIRequest

NewTaobaoOcOrderApUpdateRequest 初始化TaobaoOcOrderApUpdateAPIRequest对象

func (TaobaoOcOrderApUpdateAPIRequest) GetApiMethodName

func (r TaobaoOcOrderApUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOcOrderApUpdateAPIRequest) GetApiParams

func (r TaobaoOcOrderApUpdateAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOcOrderApUpdateAPIRequest) GetOcOrderId

func (r TaobaoOcOrderApUpdateAPIRequest) GetOcOrderId() int64

Get OcOrderId Getter

func (*TaobaoOcOrderApUpdateAPIRequest) SetOcOrderId

func (r *TaobaoOcOrderApUpdateAPIRequest) SetOcOrderId(_ocOrderId int64) error

Set is OcOrderId Setter 调用创建OC订单接口生成的id

type TaobaoOcOrderApUpdateAPIResponse

type TaobaoOcOrderApUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoOcOrderApUpdateAPIResponseModel
}
TaobaoOcOrderApUpdateAPIResponse

按OC订单分账 API返回值 taobao.oc.order.ap.update

对OC订单执行分账操作

type TaobaoOcOrderApUpdateAPIResponseModel

type TaobaoOcOrderApUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"oc_order_ap_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 描述操作执行是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// OC订单id
	OcOrderId int64 `json:"oc_order_id,omitempty" xml:"oc_order_id,omitempty"`
	// 执行失败时候的错误描述信息
	ErrorDescription string `json:"error_description,omitempty" xml:"error_description,omitempty"`
}

TaobaoOcOrderApUpdateAPIResponseModel is 按OC订单分账 成功返回结果

type TaobaoOcOrderCreateAPIRequest

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

创建OC订单 API请求 taobao.oc.order.create

创建OC订单接口

func NewTaobaoOcOrderCreateRequest

func NewTaobaoOcOrderCreateRequest() *TaobaoOcOrderCreateAPIRequest

NewTaobaoOcOrderCreateRequest 初始化TaobaoOcOrderCreateAPIRequest对象

func (TaobaoOcOrderCreateAPIRequest) GetApiMethodName

func (r TaobaoOcOrderCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOcOrderCreateAPIRequest) GetApiParams

func (r TaobaoOcOrderCreateAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOcOrderCreateAPIRequest) GetParamOCOrder

func (r TaobaoOcOrderCreateAPIRequest) GetParamOCOrder() *OcOrder

Get ParamOCOrder Getter

func (*TaobaoOcOrderCreateAPIRequest) SetParamOCOrder

func (r *TaobaoOcOrderCreateAPIRequest) SetParamOCOrder(_paramOCOrder *OcOrder) error

Set is ParamOCOrder Setter OC订单

type TaobaoOcOrderCreateAPIResponse

type TaobaoOcOrderCreateAPIResponse struct {
	model.CommonResponse
	TaobaoOcOrderCreateAPIResponseModel
}
TaobaoOcOrderCreateAPIResponse

创建OC订单 API返回值 taobao.oc.order.create

创建OC订单接口

type TaobaoOcOrderCreateAPIResponseModel

type TaobaoOcOrderCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"oc_order_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 表示是否执行成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 执行失败原因
	ErrorDescription string `json:"error_description,omitempty" xml:"error_description,omitempty"`
	// OcOrder
	OcOrder *OcOrder `json:"oc_order,omitempty" xml:"oc_order,omitempty"`
}

TaobaoOcOrderCreateAPIResponseModel is 创建OC订单 成功返回结果

type TaobaoOcTradesBytagGetAPIRequest

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

标签查询订单 API请求 taobao.oc.trades.bytag.get

根据标签查询订单编号

func NewTaobaoOcTradesBytagGetRequest

func NewTaobaoOcTradesBytagGetRequest() *TaobaoOcTradesBytagGetAPIRequest

NewTaobaoOcTradesBytagGetRequest 初始化TaobaoOcTradesBytagGetAPIRequest对象

func (TaobaoOcTradesBytagGetAPIRequest) GetApiMethodName

func (r TaobaoOcTradesBytagGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOcTradesBytagGetAPIRequest) GetApiParams

func (r TaobaoOcTradesBytagGetAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOcTradesBytagGetAPIRequest) GetPage

Get Page Getter

func (TaobaoOcTradesBytagGetAPIRequest) GetPageSize

func (r TaobaoOcTradesBytagGetAPIRequest) GetPageSize() int64

Get PageSize Getter

func (TaobaoOcTradesBytagGetAPIRequest) GetTagName

Get TagName Getter

func (TaobaoOcTradesBytagGetAPIRequest) GetTagType

func (r TaobaoOcTradesBytagGetAPIRequest) GetTagType() int64

Get TagType Getter

func (*TaobaoOcTradesBytagGetAPIRequest) SetPage

func (r *TaobaoOcTradesBytagGetAPIRequest) SetPage(_page int64) error

Set is Page Setter 当前页

func (*TaobaoOcTradesBytagGetAPIRequest) SetPageSize

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

Set is PageSize Setter 分页大小

func (*TaobaoOcTradesBytagGetAPIRequest) SetTagName

func (r *TaobaoOcTradesBytagGetAPIRequest) SetTagName(_tagName string) error

Set is TagName Setter 标签名称

func (*TaobaoOcTradesBytagGetAPIRequest) SetTagType

func (r *TaobaoOcTradesBytagGetAPIRequest) SetTagType(_tagType int64) error

Set is TagType Setter 标签类型,1官方,2自定义

type TaobaoOcTradesBytagGetAPIResponse

type TaobaoOcTradesBytagGetAPIResponse struct {
	model.CommonResponse
	TaobaoOcTradesBytagGetAPIResponseModel
}
TaobaoOcTradesBytagGetAPIResponse

标签查询订单 API返回值 taobao.oc.trades.bytag.get

根据标签查询订单编号

type TaobaoOcTradesBytagGetAPIResponseModel

type TaobaoOcTradesBytagGetAPIResponseModel struct {
	XMLName xml.Name `xml:"oc_trades_bytag_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 打了该标签的订单编号列表
	Tids []int64 `json:"tids,omitempty" xml:"tids>int64,omitempty"`
	// 总数
	Totals int64 `json:"totals,omitempty" xml:"totals,omitempty"`
}

TaobaoOcTradesBytagGetAPIResponseModel is 标签查询订单 成功返回结果

type TaobaoOcTradetagAttachAPIRequest

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

订单打标或者订单标签更新 API请求 taobao.oc.tradetag.attach

对订单添加标签和更新标签。标签分为官方标签和自定义标签。<br/>官方标签目前有:赠品,电子发票,收货地址变更,预售。具体格式说明请看http://open.taobao.com/doc/detail.htm?id=102731<br/>自定义标签有2个通用属性:<br/> `show_str:给消费者显示的字符串(如果可以显示的话)<br/> `pic_urls:图片url,地址必须是图片空间的url,最多5张

func NewTaobaoOcTradetagAttachRequest

func NewTaobaoOcTradetagAttachRequest() *TaobaoOcTradetagAttachAPIRequest

NewTaobaoOcTradetagAttachRequest 初始化TaobaoOcTradetagAttachAPIRequest对象

func (TaobaoOcTradetagAttachAPIRequest) GetApiMethodName

func (r TaobaoOcTradetagAttachAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOcTradetagAttachAPIRequest) GetApiParams

func (r TaobaoOcTradetagAttachAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOcTradetagAttachAPIRequest) GetTagName

Get TagName Getter

func (TaobaoOcTradetagAttachAPIRequest) GetTagType

func (r TaobaoOcTradetagAttachAPIRequest) GetTagType() int64

Get TagType Getter

func (TaobaoOcTradetagAttachAPIRequest) GetTagValue

func (r TaobaoOcTradetagAttachAPIRequest) GetTagValue() string

Get TagValue Getter

func (TaobaoOcTradetagAttachAPIRequest) GetTid

Get Tid Getter

func (TaobaoOcTradetagAttachAPIRequest) GetVisible

func (r TaobaoOcTradetagAttachAPIRequest) GetVisible() int64

Get Visible Getter

func (*TaobaoOcTradetagAttachAPIRequest) SetTagName

func (r *TaobaoOcTradetagAttachAPIRequest) SetTagName(_tagName string) error

Set is TagName Setter 标签名称

func (*TaobaoOcTradetagAttachAPIRequest) SetTagType

func (r *TaobaoOcTradetagAttachAPIRequest) SetTagType(_tagType int64) error

Set is TagType Setter 标签类型 1:官方标签 2:自定义标签

func (*TaobaoOcTradetagAttachAPIRequest) SetTagValue

func (r *TaobaoOcTradetagAttachAPIRequest) SetTagValue(_tagValue string) error

Set is TagValue Setter 标签值,json格式

func (*TaobaoOcTradetagAttachAPIRequest) SetTid

Set is Tid Setter 订单id

func (*TaobaoOcTradetagAttachAPIRequest) SetVisible

func (r *TaobaoOcTradetagAttachAPIRequest) SetVisible(_visible int64) error

Set is Visible Setter 该标签在消费者端是否显示,0:不显示,1:显示

type TaobaoOcTradetagAttachAPIResponse

type TaobaoOcTradetagAttachAPIResponse struct {
	model.CommonResponse
	TaobaoOcTradetagAttachAPIResponseModel
}
TaobaoOcTradetagAttachAPIResponse

订单打标或者订单标签更新 API返回值 taobao.oc.tradetag.attach

对订单添加标签和更新标签。标签分为官方标签和自定义标签。<br/>官方标签目前有:赠品,电子发票,收货地址变更,预售。具体格式说明请看http://open.taobao.com/doc/detail.htm?id=102731<br/>自定义标签有2个通用属性:<br/> `show_str:给消费者显示的字符串(如果可以显示的话)<br/> `pic_urls:图片url,地址必须是图片空间的url,最多5张

type TaobaoOcTradetagAttachAPIResponseModel

type TaobaoOcTradetagAttachAPIResponseModel struct {
	XMLName xml.Name `xml:"oc_tradetag_attach_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 操作成功或者操作失败
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoOcTradetagAttachAPIResponseModel is 订单打标或者订单标签更新 成功返回结果

type TaobaoOcTradetagsGetAPIRequest

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

根据订单查询订单标签 API请求 taobao.oc.tradetags.get

根据订单查询订单标签。<br/> 返回的tag说明:1为官方标,2为自定义标,3为主站只读标签。<br/> 官方标签和自定义标签请看taobao.oc.tradetag.attach 接口说明<br/> 主站只读标签请看:http://open.taobao.com/doc/detail.htm?id=102865<br/>

func NewTaobaoOcTradetagsGetRequest

func NewTaobaoOcTradetagsGetRequest() *TaobaoOcTradetagsGetAPIRequest

NewTaobaoOcTradetagsGetRequest 初始化TaobaoOcTradetagsGetAPIRequest对象

func (TaobaoOcTradetagsGetAPIRequest) GetApiMethodName

func (r TaobaoOcTradetagsGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOcTradetagsGetAPIRequest) GetApiParams

func (r TaobaoOcTradetagsGetAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOcTradetagsGetAPIRequest) GetHistory

func (r TaobaoOcTradetagsGetAPIRequest) GetHistory() int64

Get History Getter

func (TaobaoOcTradetagsGetAPIRequest) GetTagNames

func (r TaobaoOcTradetagsGetAPIRequest) GetTagNames() []string

Get TagNames Getter

func (TaobaoOcTradetagsGetAPIRequest) GetTagTypes

func (r TaobaoOcTradetagsGetAPIRequest) GetTagTypes() []string

Get TagTypes Getter

func (TaobaoOcTradetagsGetAPIRequest) GetTid

Get Tid Getter

func (*TaobaoOcTradetagsGetAPIRequest) SetHistory

func (r *TaobaoOcTradetagsGetAPIRequest) SetHistory(_history int64) error

Set is History Setter 是否查询历史标签

func (*TaobaoOcTradetagsGetAPIRequest) SetTagNames

func (r *TaobaoOcTradetagsGetAPIRequest) SetTagNames(_tagNames []string) error

Set is TagNames Setter 不填,则不做标签名称过滤

func (*TaobaoOcTradetagsGetAPIRequest) SetTagTypes

func (r *TaobaoOcTradetagsGetAPIRequest) SetTagTypes(_tagTypes []string) error

Set is TagTypes Setter 不填,则默认只查询1,2。1为官方标,2为自定义标,3为主站只读标签

func (*TaobaoOcTradetagsGetAPIRequest) SetTid

func (r *TaobaoOcTradetagsGetAPIRequest) SetTid(_tid int64) error

Set is Tid Setter 交易主订单id

type TaobaoOcTradetagsGetAPIResponse

type TaobaoOcTradetagsGetAPIResponse struct {
	model.CommonResponse
	TaobaoOcTradetagsGetAPIResponseModel
}
TaobaoOcTradetagsGetAPIResponse

根据订单查询订单标签 API返回值 taobao.oc.tradetags.get

根据订单查询订单标签。<br/> 返回的tag说明:1为官方标,2为自定义标,3为主站只读标签。<br/> 官方标签和自定义标签请看taobao.oc.tradetag.attach 接口说明<br/> 主站只读标签请看:http://open.taobao.com/doc/detail.htm?id=102865<br/>

type TaobaoOcTradetagsGetAPIResponseModel

type TaobaoOcTradetagsGetAPIResponseModel struct {
	XMLName xml.Name `xml:"oc_tradetags_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	TradeTags []TradeTagRelationDo `json:"trade_tags,omitempty" xml:"trade_tags>trade_tag_relation_do,omitempty"`
}

TaobaoOcTradetagsGetAPIResponseModel is 根据订单查询订单标签 成功返回结果

type TaobaoOcTradetraceAlertsGetAPIRequest

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

异常订单信息获取 API请求 taobao.oc.tradetrace.alerts.get

提供订单预警模块的数据查询接口

func NewTaobaoOcTradetraceAlertsGetRequest

func NewTaobaoOcTradetraceAlertsGetRequest() *TaobaoOcTradetraceAlertsGetAPIRequest

NewTaobaoOcTradetraceAlertsGetRequest 初始化TaobaoOcTradetraceAlertsGetAPIRequest对象

func (TaobaoOcTradetraceAlertsGetAPIRequest) GetAbnormalType

func (r TaobaoOcTradetraceAlertsGetAPIRequest) GetAbnormalType() int64

Get AbnormalType Getter

func (TaobaoOcTradetraceAlertsGetAPIRequest) GetApiMethodName

func (r TaobaoOcTradetraceAlertsGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOcTradetraceAlertsGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOcTradetraceAlertsGetAPIRequest) GetPageNo

Get PageNo Getter

func (TaobaoOcTradetraceAlertsGetAPIRequest) GetPageSize

Get PageSize Getter

func (*TaobaoOcTradetraceAlertsGetAPIRequest) SetAbnormalType

func (r *TaobaoOcTradetraceAlertsGetAPIRequest) SetAbnormalType(_abnormalType int64) error

Set is AbnormalType Setter 异常类型代码:发货回写淘宝异常=1,商家系统漏单提醒=2,发货超时提醒=3,物流寄送超时=4,买家签收超时=5,物流中转异常=6,退货寄回异常=7,订单追回提醒=8"。

func (*TaobaoOcTradetraceAlertsGetAPIRequest) SetPageNo

func (r *TaobaoOcTradetraceAlertsGetAPIRequest) SetPageNo(_pageNo int64) error

Set is PageNo Setter 返回数据的页码

func (*TaobaoOcTradetraceAlertsGetAPIRequest) SetPageSize

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

Set is PageSize Setter 返回数据每页包含的记录数目

type TaobaoOcTradetraceAlertsGetAPIResponse

type TaobaoOcTradetraceAlertsGetAPIResponse struct {
	model.CommonResponse
	TaobaoOcTradetraceAlertsGetAPIResponseModel
}
TaobaoOcTradetraceAlertsGetAPIResponse

异常订单信息获取 API返回值 taobao.oc.tradetrace.alerts.get

提供订单预警模块的数据查询接口

type TaobaoOcTradetraceAlertsGetAPIResponseModel

type TaobaoOcTradetraceAlertsGetAPIResponseModel struct {
	XMLName xml.Name `xml:"oc_tradetrace_alerts_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异常订单数据
	ResultList []SimpleAbnormalOrderDetail `json:"result_list,omitempty" xml:"result_list>simple_abnormal_order_detail,omitempty"`
}

TaobaoOcTradetraceAlertsGetAPIResponseModel is 异常订单信息获取 成功返回结果

type TaobaoQimenOrderstatusUpdateAPIRequest

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

订单状态更新接口 API请求 taobao.qimen.orderstatus.update

星盘和ISV,可以通过此接口,来更新订单状态。此接口应用于使用阿里星盘分单,且使用商家系统(非阿里掌柜)接单/拒单的模式下更新订单状态。

func NewTaobaoQimenOrderstatusUpdateRequest

func NewTaobaoQimenOrderstatusUpdateRequest() *TaobaoQimenOrderstatusUpdateAPIRequest

NewTaobaoQimenOrderstatusUpdateRequest 初始化TaobaoQimenOrderstatusUpdateAPIRequest对象

func (TaobaoQimenOrderstatusUpdateAPIRequest) GetActionTime

Get ActionTime Getter

func (TaobaoQimenOrderstatusUpdateAPIRequest) GetAllocationCode

func (r TaobaoQimenOrderstatusUpdateAPIRequest) GetAllocationCode() string

Get AllocationCode Getter

func (TaobaoQimenOrderstatusUpdateAPIRequest) GetApiMethodName

func (r TaobaoQimenOrderstatusUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQimenOrderstatusUpdateAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQimenOrderstatusUpdateAPIRequest) GetOperator

Get Operator Getter

func (TaobaoQimenOrderstatusUpdateAPIRequest) GetOrderCodes

func (r TaobaoQimenOrderstatusUpdateAPIRequest) GetOrderCodes() []int64

Get OrderCodes Getter

func (TaobaoQimenOrderstatusUpdateAPIRequest) GetStatus

Get Status Getter

func (TaobaoQimenOrderstatusUpdateAPIRequest) GetStoreId

Get StoreId Getter

func (TaobaoQimenOrderstatusUpdateAPIRequest) GetType

Get Type Getter

func (*TaobaoQimenOrderstatusUpdateAPIRequest) SetActionTime

func (r *TaobaoQimenOrderstatusUpdateAPIRequest) SetActionTime(_actionTime string) error

Set is ActionTime Setter 事件发生时间

func (*TaobaoQimenOrderstatusUpdateAPIRequest) SetAllocationCode

func (r *TaobaoQimenOrderstatusUpdateAPIRequest) SetAllocationCode(_allocationCode string) error

Set is AllocationCode Setter 星盘派单号

func (*TaobaoQimenOrderstatusUpdateAPIRequest) SetOperator

func (r *TaobaoQimenOrderstatusUpdateAPIRequest) SetOperator(_operator string) error

Set is Operator Setter 操作人

func (*TaobaoQimenOrderstatusUpdateAPIRequest) SetOrderCodes

func (r *TaobaoQimenOrderstatusUpdateAPIRequest) SetOrderCodes(_orderCodes []int64) error

Set is OrderCodes Setter 淘系子订单号

func (*TaobaoQimenOrderstatusUpdateAPIRequest) SetStatus

func (r *TaobaoQimenOrderstatusUpdateAPIRequest) SetStatus(_status string) error

Set is Status Setter 订单状态,门店发货包括X_SHOP_ALLOCATION、X_SHOP_DENYX_SHOP_HANDLED、X_SHOP_CANCEL_CONFIRM、X_SHOP_CANCEL_DENIED、X_MATCHED;门店自提包括X_COMMODITY_CONFIRMX_COMMODITY_TRANSER、X_TRANSFER _SUCCESS、X_SHOP_CANCEL_CONFIRM、X_MATCHED、X_SHOP_DENY

func (*TaobaoQimenOrderstatusUpdateAPIRequest) SetStoreId

func (r *TaobaoQimenOrderstatusUpdateAPIRequest) SetStoreId(_storeId int64) error

Set is StoreId Setter 目标门店的商户中心门店编码

func (*TaobaoQimenOrderstatusUpdateAPIRequest) SetType

Set is Type Setter 业务类型,(枚举值:FAHUO、ZITI)

type TaobaoQimenOrderstatusUpdateAPIResponse

type TaobaoQimenOrderstatusUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoQimenOrderstatusUpdateAPIResponseModel
}
TaobaoQimenOrderstatusUpdateAPIResponse

订单状态更新接口 API返回值 taobao.qimen.orderstatus.update

星盘和ISV,可以通过此接口,来更新订单状态。此接口应用于使用阿里星盘分单,且使用商家系统(非阿里掌柜)接单/拒单的模式下更新订单状态。

type TaobaoQimenOrderstatusUpdateAPIResponseModel

type TaobaoQimenOrderstatusUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"qimen_orderstatus_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// resultCode
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoQimenOrderstatusUpdateAPIResponseModel is 订单状态更新接口 成功返回结果

type TaobaoRdsDbCreateAPIRequest

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

rds创建数据库 API请求 taobao.rds.db.create

在rds实例里创建数据库

func NewTaobaoRdsDbCreateRequest

func NewTaobaoRdsDbCreateRequest() *TaobaoRdsDbCreateAPIRequest

NewTaobaoRdsDbCreateRequest 初始化TaobaoRdsDbCreateAPIRequest对象

func (TaobaoRdsDbCreateAPIRequest) GetAccountName

func (r TaobaoRdsDbCreateAPIRequest) GetAccountName() string

Get AccountName Getter

func (TaobaoRdsDbCreateAPIRequest) GetApiMethodName

func (r TaobaoRdsDbCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRdsDbCreateAPIRequest) GetApiParams

func (r TaobaoRdsDbCreateAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRdsDbCreateAPIRequest) GetDbName

func (r TaobaoRdsDbCreateAPIRequest) GetDbName() string

Get DbName Getter

func (TaobaoRdsDbCreateAPIRequest) GetInstanceName

func (r TaobaoRdsDbCreateAPIRequest) GetInstanceName() string

Get InstanceName Getter

func (*TaobaoRdsDbCreateAPIRequest) SetAccountName

func (r *TaobaoRdsDbCreateAPIRequest) SetAccountName(_accountName string) error

Set is AccountName Setter 已存在账号名

func (*TaobaoRdsDbCreateAPIRequest) SetDbName

func (r *TaobaoRdsDbCreateAPIRequest) SetDbName(_dbName string) error

Set is DbName Setter 数据库名

func (*TaobaoRdsDbCreateAPIRequest) SetInstanceName

func (r *TaobaoRdsDbCreateAPIRequest) SetInstanceName(_instanceName string) error

Set is InstanceName Setter rds的实例名

type TaobaoRdsDbCreateAPIResponse

type TaobaoRdsDbCreateAPIResponse struct {
	model.CommonResponse
	TaobaoRdsDbCreateAPIResponseModel
}
TaobaoRdsDbCreateAPIResponse

rds创建数据库 API返回值 taobao.rds.db.create

在rds实例里创建数据库

type TaobaoRdsDbCreateAPIResponseModel

type TaobaoRdsDbCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"rds_db_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// rds创建、查询、删除db返回结果的数据结构
	RdsDbInfo *RdsDbInfo `json:"rds_db_info,omitempty" xml:"rds_db_info,omitempty"`
}

TaobaoRdsDbCreateAPIResponseModel is rds创建数据库 成功返回结果

type TaobaoRdsDbCreateaccountAPIRequest

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

rds创建数据库账户 API请求 taobao.rds.db.createaccount

rds创建数据库账户

func NewTaobaoRdsDbCreateaccountRequest

func NewTaobaoRdsDbCreateaccountRequest() *TaobaoRdsDbCreateaccountAPIRequest

NewTaobaoRdsDbCreateaccountRequest 初始化TaobaoRdsDbCreateaccountAPIRequest对象

func (TaobaoRdsDbCreateaccountAPIRequest) GetApiMethodName

func (r TaobaoRdsDbCreateaccountAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRdsDbCreateaccountAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRdsDbCreateaccountAPIRequest) GetParam0

Get Param0 Getter

func (*TaobaoRdsDbCreateaccountAPIRequest) SetParam0

Set is Param0 Setter 入参对象

type TaobaoRdsDbCreateaccountAPIResponse

type TaobaoRdsDbCreateaccountAPIResponse struct {
	model.CommonResponse
	TaobaoRdsDbCreateaccountAPIResponseModel
}
TaobaoRdsDbCreateaccountAPIResponse

rds创建数据库账户 API返回值 taobao.rds.db.createaccount

rds创建数据库账户

type TaobaoRdsDbCreateaccountAPIResponseModel

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

TaobaoRdsDbCreateaccountAPIResponseModel is rds创建数据库账户 成功返回结果

type TaobaoRdsDbCreateaccountResultSet

type TaobaoRdsDbCreateaccountResultSet struct {
	// results
	Results []string `json:"results,omitempty" xml:"results>string,omitempty"`
	// totalResults
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// exception
	Exception string `json:"exception,omitempty" xml:"exception,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

TaobaoRdsDbCreateaccountResultSet 结构体

type TaobaoRdsDbDeleteAPIRequest

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

RDS数据库删除 API请求 taobao.rds.db.delete

通过api删除用户RDS的数据库

func NewTaobaoRdsDbDeleteRequest

func NewTaobaoRdsDbDeleteRequest() *TaobaoRdsDbDeleteAPIRequest

NewTaobaoRdsDbDeleteRequest 初始化TaobaoRdsDbDeleteAPIRequest对象

func (TaobaoRdsDbDeleteAPIRequest) GetApiMethodName

func (r TaobaoRdsDbDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRdsDbDeleteAPIRequest) GetApiParams

func (r TaobaoRdsDbDeleteAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRdsDbDeleteAPIRequest) GetDbName

func (r TaobaoRdsDbDeleteAPIRequest) GetDbName() string

Get DbName Getter

func (TaobaoRdsDbDeleteAPIRequest) GetInstanceName

func (r TaobaoRdsDbDeleteAPIRequest) GetInstanceName() string

Get InstanceName Getter

func (*TaobaoRdsDbDeleteAPIRequest) SetDbName

func (r *TaobaoRdsDbDeleteAPIRequest) SetDbName(_dbName string) error

Set is DbName Setter 数据库的name,可以通过 taobao.rds.db.get 获取

func (*TaobaoRdsDbDeleteAPIRequest) SetInstanceName

func (r *TaobaoRdsDbDeleteAPIRequest) SetInstanceName(_instanceName string) error

Set is InstanceName Setter rds的实例名

type TaobaoRdsDbDeleteAPIResponse

type TaobaoRdsDbDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoRdsDbDeleteAPIResponseModel
}
TaobaoRdsDbDeleteAPIResponse

RDS数据库删除 API返回值 taobao.rds.db.delete

通过api删除用户RDS的数据库

type TaobaoRdsDbDeleteAPIResponseModel

type TaobaoRdsDbDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"rds_db_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 删除数据库,返回结果对象
	RdsDbInfo *RdsDbInfo `json:"rds_db_info,omitempty" xml:"rds_db_info,omitempty"`
}

TaobaoRdsDbDeleteAPIResponseModel is RDS数据库删除 成功返回结果

type TaobaoRdsDbGetAPIRequest

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

查询rds下的数据库 API请求 taobao.rds.db.get

查询rds实例下的数据库

func NewTaobaoRdsDbGetRequest

func NewTaobaoRdsDbGetRequest() *TaobaoRdsDbGetAPIRequest

NewTaobaoRdsDbGetRequest 初始化TaobaoRdsDbGetAPIRequest对象

func (TaobaoRdsDbGetAPIRequest) GetApiMethodName

func (r TaobaoRdsDbGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRdsDbGetAPIRequest) GetApiParams

func (r TaobaoRdsDbGetAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRdsDbGetAPIRequest) GetDbStatus

func (r TaobaoRdsDbGetAPIRequest) GetDbStatus() int64

Get DbStatus Getter

func (TaobaoRdsDbGetAPIRequest) GetInstanceName

func (r TaobaoRdsDbGetAPIRequest) GetInstanceName() string

Get InstanceName Getter

func (*TaobaoRdsDbGetAPIRequest) SetDbStatus

func (r *TaobaoRdsDbGetAPIRequest) SetDbStatus(_dbStatus int64) error

Set is DbStatus Setter 数据库状态,默认值1

func (*TaobaoRdsDbGetAPIRequest) SetInstanceName

func (r *TaobaoRdsDbGetAPIRequest) SetInstanceName(_instanceName string) error

Set is InstanceName Setter rds的实例名

type TaobaoRdsDbGetAPIResponse

type TaobaoRdsDbGetAPIResponse struct {
	model.CommonResponse
	TaobaoRdsDbGetAPIResponseModel
}
TaobaoRdsDbGetAPIResponse

查询rds下的数据库 API返回值 taobao.rds.db.get

查询rds实例下的数据库

type TaobaoRdsDbGetAPIResponseModel

type TaobaoRdsDbGetAPIResponseModel struct {
	XMLName xml.Name `xml:"rds_db_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 数据库查询返回数据结构
	RdsDbInfos []RdsDbInfo `json:"rds_db_infos,omitempty" xml:"rds_db_infos>rds_db_info,omitempty"`
}

TaobaoRdsDbGetAPIResponseModel is 查询rds下的数据库 成功返回结果

type TaobaoRdsDbGetdbAPIRequest

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

rds获取RDS的DB API请求 taobao.rds.db.getdb

rds获取RDS的DB

func NewTaobaoRdsDbGetdbRequest

func NewTaobaoRdsDbGetdbRequest() *TaobaoRdsDbGetdbAPIRequest

NewTaobaoRdsDbGetdbRequest 初始化TaobaoRdsDbGetdbAPIRequest对象

func (TaobaoRdsDbGetdbAPIRequest) GetAccountName

func (r TaobaoRdsDbGetdbAPIRequest) GetAccountName() string

Get AccountName Getter

func (TaobaoRdsDbGetdbAPIRequest) GetApiMethodName

func (r TaobaoRdsDbGetdbAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRdsDbGetdbAPIRequest) GetApiParams

func (r TaobaoRdsDbGetdbAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRdsDbGetdbAPIRequest) GetInstanceName

func (r TaobaoRdsDbGetdbAPIRequest) GetInstanceName() string

Get InstanceName Getter

func (*TaobaoRdsDbGetdbAPIRequest) SetAccountName

func (r *TaobaoRdsDbGetdbAPIRequest) SetAccountName(_accountName string) error

Set is AccountName Setter 账户名

func (*TaobaoRdsDbGetdbAPIRequest) SetInstanceName

func (r *TaobaoRdsDbGetdbAPIRequest) SetInstanceName(_instanceName string) error

Set is InstanceName Setter 实例名

type TaobaoRdsDbGetdbAPIResponse

type TaobaoRdsDbGetdbAPIResponse struct {
	model.CommonResponse
	TaobaoRdsDbGetdbAPIResponseModel
}
TaobaoRdsDbGetdbAPIResponse

rds获取RDS的DB API返回值 taobao.rds.db.getdb

rds获取RDS的DB

type TaobaoRdsDbGetdbAPIResponseModel

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

TaobaoRdsDbGetdbAPIResponseModel is rds获取RDS的DB 成功返回结果

type TaobaoRdsDbGetdbResultSet

type TaobaoRdsDbGetdbResultSet struct {
	// results
	Results []string `json:"results,omitempty" xml:"results>string,omitempty"`
	// totalResults
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// exception
	Exception string `json:"exception,omitempty" xml:"exception,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

TaobaoRdsDbGetdbResultSet 结构体

type TradeStat

type TradeStat struct {
	// 状态名称
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 数量
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
}

TradeStat 结构体

type TradeTagRelationDo

type TradeTagRelationDo struct {
	// 记录的最新修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 标签类型       1:官方标签      2:自定义标签     3:主站只读标签
	TagType int64 `json:"tag_type,omitempty" xml:"tag_type,omitempty"`
	// 记录的创建时间
	GmtCreated string `json:"gmt_created,omitempty" xml:"gmt_created,omitempty"`
	// 标签名称
	TagName string `json:"tag_name,omitempty" xml:"tag_name,omitempty"`
	// 标签值,json格式
	TagValue string `json:"tag_value,omitempty" xml:"tag_value,omitempty"`
	// 订单id
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 该标签在消费者端是否显示,0:不显示,1:显示
	Visible int64 `json:"visible,omitempty" xml:"visible,omitempty"`
	// 该标签操作的历史记录
	HistoryTradeTagRelations []HistoryTradeRelationDo `json:"history_trade_tag_relations,omitempty" xml:"history_trade_tag_relations>history_trade_relation_do,omitempty"`
}

TradeTagRelationDo 结构体

type TradeTrace

type TradeTrace struct {
	// 交易tid
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 子订单的id列表,以逗号分割
	OrderIds string `json:"order_ids,omitempty" xml:"order_ids,omitempty"`
	// 回流的订单状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 动作发生的时间
	ActionTime string `json:"action_time,omitempty" xml:"action_time,omitempty"`
	// 备注字段
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 卖家的淘宝nick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 应用标题
	AppTitle string `json:"app_title,omitempty" xml:"app_title,omitempty"`
}

TradeTrace 结构体

Source Files

Jump to

Keyboard shortcuts

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