Documentation ¶
Overview ¶
Package qt 包含质检品控API相关结构体
Index ¶
- type ItemPropertyValues
- type QtReport
- type QualityUsageDetail
- type ServiceItemProperty
- type ServiceSubscribe
- type TaobaoQtReportAddAPIRequest
- func (r TaobaoQtReportAddAPIRequest) GetApiMethodName() string
- func (r TaobaoQtReportAddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoQtReportAddAPIRequest) GetExtAttr() string
- func (r TaobaoQtReportAddAPIRequest) GetGmtExpiry() string
- func (r TaobaoQtReportAddAPIRequest) GetGmtReport() string
- func (r TaobaoQtReportAddAPIRequest) GetGmtSubmit() string
- func (r TaobaoQtReportAddAPIRequest) GetIsPassed() bool
- func (r TaobaoQtReportAddAPIRequest) GetItemDesc() string
- func (r TaobaoQtReportAddAPIRequest) GetItemUrl() string
- func (r TaobaoQtReportAddAPIRequest) GetMessage() string
- func (r TaobaoQtReportAddAPIRequest) GetNick() string
- func (r TaobaoQtReportAddAPIRequest) GetNumIid() int64
- func (r TaobaoQtReportAddAPIRequest) GetQtCode() string
- func (r TaobaoQtReportAddAPIRequest) GetQtName() string
- func (r TaobaoQtReportAddAPIRequest) GetQtStandard() string
- func (r TaobaoQtReportAddAPIRequest) GetQtType() int64
- func (r TaobaoQtReportAddAPIRequest) GetRawParams() model.Params
- func (r TaobaoQtReportAddAPIRequest) GetReportUrl() string
- func (r TaobaoQtReportAddAPIRequest) GetServcieItemCode() string
- func (r TaobaoQtReportAddAPIRequest) GetSpName() string
- func (r TaobaoQtReportAddAPIRequest) GetStatus() int64
- func (r *TaobaoQtReportAddAPIRequest) SetExtAttr(_extAttr string) error
- func (r *TaobaoQtReportAddAPIRequest) SetGmtExpiry(_gmtExpiry string) error
- func (r *TaobaoQtReportAddAPIRequest) SetGmtReport(_gmtReport string) error
- func (r *TaobaoQtReportAddAPIRequest) SetGmtSubmit(_gmtSubmit string) error
- func (r *TaobaoQtReportAddAPIRequest) SetIsPassed(_isPassed bool) error
- func (r *TaobaoQtReportAddAPIRequest) SetItemDesc(_itemDesc string) error
- func (r *TaobaoQtReportAddAPIRequest) SetItemUrl(_itemUrl string) error
- func (r *TaobaoQtReportAddAPIRequest) SetMessage(_message string) error
- func (r *TaobaoQtReportAddAPIRequest) SetNick(_nick string) error
- func (r *TaobaoQtReportAddAPIRequest) SetNumIid(_numIid int64) error
- func (r *TaobaoQtReportAddAPIRequest) SetQtCode(_qtCode string) error
- func (r *TaobaoQtReportAddAPIRequest) SetQtName(_qtName string) error
- func (r *TaobaoQtReportAddAPIRequest) SetQtStandard(_qtStandard string) error
- func (r *TaobaoQtReportAddAPIRequest) SetQtType(_qtType int64) error
- func (r *TaobaoQtReportAddAPIRequest) SetReportUrl(_reportUrl string) error
- func (r *TaobaoQtReportAddAPIRequest) SetServcieItemCode(_servcieItemCode string) error
- func (r *TaobaoQtReportAddAPIRequest) SetSpName(_spName string) error
- func (r *TaobaoQtReportAddAPIRequest) SetStatus(_status int64) error
- type TaobaoQtReportAddAPIResponse
- type TaobaoQtReportAddAPIResponseModel
- type TaobaoQtReportDeleteAPIRequest
- func (r TaobaoQtReportDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoQtReportDeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoQtReportDeleteAPIRequest) GetQtCode() string
- func (r TaobaoQtReportDeleteAPIRequest) GetRawParams() model.Params
- func (r *TaobaoQtReportDeleteAPIRequest) SetQtCode(_qtCode string) error
- type TaobaoQtReportDeleteAPIResponse
- type TaobaoQtReportDeleteAPIResponseModel
- type TaobaoQtReportGetAPIRequest
- func (r TaobaoQtReportGetAPIRequest) GetApiMethodName() string
- func (r TaobaoQtReportGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoQtReportGetAPIRequest) GetQtCode() string
- func (r TaobaoQtReportGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoQtReportGetAPIRequest) SetQtCode(_qtCode string) error
- type TaobaoQtReportGetAPIResponse
- type TaobaoQtReportGetAPIResponseModel
- type TaobaoQtReportUpdateAPIRequest
- func (r TaobaoQtReportUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoQtReportUpdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoQtReportUpdateAPIRequest) GetExtAttr() string
- func (r TaobaoQtReportUpdateAPIRequest) GetGmtExpiry() string
- func (r TaobaoQtReportUpdateAPIRequest) GetGmtReport() string
- func (r TaobaoQtReportUpdateAPIRequest) GetGmtSubmit() string
- func (r TaobaoQtReportUpdateAPIRequest) GetIsPassed() bool
- func (r TaobaoQtReportUpdateAPIRequest) GetItemDesc() string
- func (r TaobaoQtReportUpdateAPIRequest) GetItemUrl() string
- func (r TaobaoQtReportUpdateAPIRequest) GetMessage() string
- func (r TaobaoQtReportUpdateAPIRequest) GetNick() string
- func (r TaobaoQtReportUpdateAPIRequest) GetNumIid() int64
- func (r TaobaoQtReportUpdateAPIRequest) GetQtCode() string
- func (r TaobaoQtReportUpdateAPIRequest) GetQtName() string
- func (r TaobaoQtReportUpdateAPIRequest) GetQtStandard() string
- func (r TaobaoQtReportUpdateAPIRequest) GetQtType() int64
- func (r TaobaoQtReportUpdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoQtReportUpdateAPIRequest) GetReportUrl() string
- func (r TaobaoQtReportUpdateAPIRequest) GetServcieItemCode() string
- func (r TaobaoQtReportUpdateAPIRequest) GetSpName() string
- func (r TaobaoQtReportUpdateAPIRequest) GetStatus() int64
- func (r *TaobaoQtReportUpdateAPIRequest) SetExtAttr(_extAttr string) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetGmtExpiry(_gmtExpiry string) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetGmtReport(_gmtReport string) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetGmtSubmit(_gmtSubmit string) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetIsPassed(_isPassed bool) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetItemDesc(_itemDesc string) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetItemUrl(_itemUrl string) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetMessage(_message string) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetNick(_nick string) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetNumIid(_numIid int64) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetQtCode(_qtCode string) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetQtName(_qtName string) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetQtStandard(_qtStandard string) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetQtType(_qtType int64) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetReportUrl(_reportUrl string) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetServcieItemCode(_servcieItemCode string) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetSpName(_spName string) error
- func (r *TaobaoQtReportUpdateAPIRequest) SetStatus(_status int64) error
- type TaobaoQtReportUpdateAPIResponse
- type TaobaoQtReportUpdateAPIResponseModel
- type TaobaoQtReportsGetAPIRequest
- func (r TaobaoQtReportsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoQtReportsGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoQtReportsGetAPIRequest) GetEndTime() string
- func (r TaobaoQtReportsGetAPIRequest) GetNick() string
- func (r TaobaoQtReportsGetAPIRequest) GetQtType() int64
- func (r TaobaoQtReportsGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoQtReportsGetAPIRequest) GetServcieItemCode() string
- func (r TaobaoQtReportsGetAPIRequest) GetSpName() string
- func (r TaobaoQtReportsGetAPIRequest) GetStartTime() string
- func (r *TaobaoQtReportsGetAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoQtReportsGetAPIRequest) SetNick(_nick string) error
- func (r *TaobaoQtReportsGetAPIRequest) SetQtType(_qtType int64) error
- func (r *TaobaoQtReportsGetAPIRequest) SetServcieItemCode(_servcieItemCode string) error
- func (r *TaobaoQtReportsGetAPIRequest) SetSpName(_spName string) error
- func (r *TaobaoQtReportsGetAPIRequest) SetStartTime(_startTime string) error
- type TaobaoQtReportsGetAPIResponse
- type TaobaoQtReportsGetAPIResponseModel
- type TaobaoTsPropertyGetAPIRequest
- func (r TaobaoTsPropertyGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTsPropertyGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTsPropertyGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoTsPropertyGetAPIRequest) GetServiceItemCode() string
- func (r *TaobaoTsPropertyGetAPIRequest) SetServiceItemCode(_serviceItemCode string) error
- type TaobaoTsPropertyGetAPIResponse
- type TaobaoTsPropertyGetAPIResponseModel
- type TaobaoTsSubscribeGetAPIRequest
- func (r TaobaoTsSubscribeGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTsSubscribeGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTsSubscribeGetAPIRequest) GetNick() string
- func (r TaobaoTsSubscribeGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoTsSubscribeGetAPIRequest) GetServcieItemCode() string
- func (r *TaobaoTsSubscribeGetAPIRequest) SetNick(_nick string) error
- func (r *TaobaoTsSubscribeGetAPIRequest) SetServcieItemCode(_servcieItemCode string) error
- type TaobaoTsSubscribeGetAPIResponse
- type TaobaoTsSubscribeGetAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemPropertyValues ¶
type ItemPropertyValues struct { // 属性值列表. PropertyValues []string `json:"property_values,omitempty" xml:"property_values>string,omitempty"` // 属性名称 PropertyName string `json:"property_name,omitempty" xml:"property_name,omitempty"` // 服务属性id PropertyId int64 `json:"property_id,omitempty" xml:"property_id,omitempty"` }
ItemPropertyValues 结构体
type QtReport ¶
type QtReport struct { // 创建日期 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 送检人昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 质检服务商名称 SpName string `json:"sp_name,omitempty" xml:"sp_name,omitempty"` // 出具报告时间。 GmtReport string `json:"gmt_report,omitempty" xml:"gmt_report,omitempty"` // 不合格原因 Message string `json:"message,omitempty" xml:"message,omitempty"` // 提交检查时间 GmtSubmit string `json:"gmt_submit,omitempty" xml:"gmt_submit,omitempty"` // 质检编号 QtCode string `json:"qt_code,omitempty" xml:"qt_code,omitempty"` // 质检项名称 QtName string `json:"qt_name,omitempty" xml:"qt_name,omitempty"` // 样品的链接 ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"` // 质检标准 QtStandard string `json:"qt_standard,omitempty" xml:"qt_standard,omitempty"` // 质检报告地址 ReportUrl string `json:"report_url,omitempty" xml:"report_url,omitempty"` // 扩展属性通过冒号分隔属性与属性值. 分号分隔不同属性 ExtAttr string `json:"ext_attr,omitempty" xml:"ext_attr,omitempty"` // 质检有效期限 GmtExpiry string `json:"gmt_expiry,omitempty" xml:"gmt_expiry,omitempty"` // 质检报告在淘宝的Id Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 质检类型 0,全部 1,聚划算认证2,消保打标 QtType int64 `json:"qt_type,omitempty" xml:"qt_type,omitempty"` // 样本宝贝id NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 质检报告状态<br/> 0:已提交申请 1:已收到样品 2:已出检测结果 3.已出具报告 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 是否合格 IsPassed bool `json:"is_passed,omitempty" xml:"is_passed,omitempty"` }
QtReport 结构体
type QualityUsageDetail ¶
type QualityUsageDetail struct { // 质检服务的收费项目码 ArticleItemCode string `json:"article_item_code,omitempty" xml:"article_item_code,omitempty"` // 该订单中每个质检服务的价格 Price string `json:"price,omitempty" xml:"price,omitempty"` // 该订单的开通时间 StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"` // 该订单的到期时间 EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"` // 订购ID SubId int64 `json:"sub_id,omitempty" xml:"sub_id,omitempty"` // 用户ID UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` // 该订单订购的数量 PurchasAmount int64 `json:"purchas_amount,omitempty" xml:"purchas_amount,omitempty"` // 该订单已经使用的数量 ApplicationAmount int64 `json:"application_amount,omitempty" xml:"application_amount,omitempty"` // 该订单中尚未使用的数量 AvailableAmount int64 `json:"available_amount,omitempty" xml:"available_amount,omitempty"` }
QualityUsageDetail 结构体
type ServiceItemProperty ¶
type ServiceItemProperty struct { // 属性列表 ItemPropertyValues []ItemPropertyValues `json:"item_property_values,omitempty" xml:"item_property_values>item_property_values,omitempty"` // 服务名称 ServiceName string `json:"service_name,omitempty" xml:"service_name,omitempty"` // 服务收费项名称 ServiceItemName string `json:"service_item_name,omitempty" xml:"service_item_name,omitempty"` // 服务收费项代码 ServiceItemCode string `json:"service_item_code,omitempty" xml:"service_item_code,omitempty"` // 基础价格 BasicPrice string `json:"basic_price,omitempty" xml:"basic_price,omitempty"` // 服务商的nick Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 质检服务简介 Description string `json:"description,omitempty" xml:"description,omitempty"` }
ServiceItemProperty 结构体
type ServiceSubscribe ¶
type ServiceSubscribe struct { // 该用户该收费项目下面的所有的订购记录详情 UsageDetailList []QualityUsageDetail `json:"usage_detail_list,omitempty" xml:"usage_detail_list>quality_usage_detail,omitempty"` // 服务收费项code ServiceItemCode string `json:"service_item_code,omitempty" xml:"service_item_code,omitempty"` // 订购者昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 过期时间 GmtExpiry string `json:"gmt_expiry,omitempty" xml:"gmt_expiry,omitempty"` // 将要被使用的那条质检订单的价格 FuturePrice string `json:"future_price,omitempty" xml:"future_price,omitempty"` // 订购总数 AllNum int64 `json:"all_num,omitempty" xml:"all_num,omitempty"` // 已经使用的数量 UsedNum int64 `json:"used_num,omitempty" xml:"used_num,omitempty"` // 将要被消耗的质检订单ID FutureSubId int64 `json:"future_sub_id,omitempty" xml:"future_sub_id,omitempty"` // 可用数量 AvaliableNum int64 `json:"avaliable_num,omitempty" xml:"avaliable_num,omitempty"` }
ServiceSubscribe 结构体
type TaobaoQtReportAddAPIRequest ¶ added in v1.2.0
TaobaoQtReportAddAPIRequest 上传质检报告 API请求 taobao.qt.report.add
上传质检报告
func NewTaobaoQtReportAddRequest ¶
func NewTaobaoQtReportAddRequest() *TaobaoQtReportAddAPIRequest
NewTaobaoQtReportAddRequest 初始化TaobaoQtReportAddAPIRequest对象
func (TaobaoQtReportAddAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoQtReportAddAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQtReportAddAPIRequest) GetExtAttr ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetExtAttr() string
GetExtAttr ExtAttr Getter
func (TaobaoQtReportAddAPIRequest) GetGmtExpiry ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetGmtExpiry() string
GetGmtExpiry GmtExpiry Getter
func (TaobaoQtReportAddAPIRequest) GetGmtReport ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetGmtReport() string
GetGmtReport GmtReport Getter
func (TaobaoQtReportAddAPIRequest) GetGmtSubmit ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetGmtSubmit() string
GetGmtSubmit GmtSubmit Getter
func (TaobaoQtReportAddAPIRequest) GetIsPassed ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetIsPassed() bool
GetIsPassed IsPassed Getter
func (TaobaoQtReportAddAPIRequest) GetItemDesc ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetItemDesc() string
GetItemDesc ItemDesc Getter
func (TaobaoQtReportAddAPIRequest) GetItemUrl ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetItemUrl() string
GetItemUrl ItemUrl Getter
func (TaobaoQtReportAddAPIRequest) GetMessage ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetMessage() string
GetMessage Message Getter
func (TaobaoQtReportAddAPIRequest) GetNick ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetNick() string
GetNick Nick Getter
func (TaobaoQtReportAddAPIRequest) GetNumIid ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoQtReportAddAPIRequest) GetQtCode ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetQtCode() string
GetQtCode QtCode Getter
func (TaobaoQtReportAddAPIRequest) GetQtName ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetQtName() string
GetQtName QtName Getter
func (TaobaoQtReportAddAPIRequest) GetQtStandard ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetQtStandard() string
GetQtStandard QtStandard Getter
func (TaobaoQtReportAddAPIRequest) GetQtType ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetQtType() int64
GetQtType QtType Getter
func (TaobaoQtReportAddAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoQtReportAddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoQtReportAddAPIRequest) GetReportUrl ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetReportUrl() string
GetReportUrl ReportUrl Getter
func (TaobaoQtReportAddAPIRequest) GetServcieItemCode ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetServcieItemCode() string
GetServcieItemCode ServcieItemCode Getter
func (TaobaoQtReportAddAPIRequest) GetSpName ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetSpName() string
GetSpName SpName Getter
func (TaobaoQtReportAddAPIRequest) GetStatus ¶ added in v1.2.0
func (r TaobaoQtReportAddAPIRequest) GetStatus() int64
GetStatus Status Getter
func (*TaobaoQtReportAddAPIRequest) SetExtAttr ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetExtAttr(_extAttr string) error
SetExtAttr is ExtAttr Setter 自定义属性字段;分号分隔
func (*TaobaoQtReportAddAPIRequest) SetGmtExpiry ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetGmtExpiry(_gmtExpiry string) error
SetGmtExpiry is GmtExpiry Setter 质检有效到期时间,一般为一年有效期<br/>status状态为3时必须非空
func (*TaobaoQtReportAddAPIRequest) SetGmtReport ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetGmtReport(_gmtReport string) error
SetGmtReport is GmtReport Setter 提交报告结果时间
func (*TaobaoQtReportAddAPIRequest) SetGmtSubmit ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetGmtSubmit(_gmtSubmit string) error
SetGmtSubmit is GmtSubmit Setter 送检日期
func (*TaobaoQtReportAddAPIRequest) SetIsPassed ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetIsPassed(_isPassed bool) error
SetIsPassed is IsPassed Setter 只有status=3时赋值, <br/>true 质检结果合格,false质检结果不合格.<br/>留空表示成分鉴定,不做判定
func (*TaobaoQtReportAddAPIRequest) SetItemDesc ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetItemDesc(_itemDesc string) error
SetItemDesc is ItemDesc Setter 样品信息描述
func (*TaobaoQtReportAddAPIRequest) SetItemUrl ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetItemUrl(_itemUrl string) error
SetItemUrl is ItemUrl Setter 样品链接.<br/>QT_TYPE=9的时候,请填写N\A
func (*TaobaoQtReportAddAPIRequest) SetMessage ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetMessage(_message string) error
SetMessage is Message Setter 检测结果消息描述
func (*TaobaoQtReportAddAPIRequest) SetNick ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetNick(_nick string) error
SetNick is Nick Setter 送检者昵称
func (*TaobaoQtReportAddAPIRequest) SetNumIid ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 当前接口只有淘宝订单真假鉴定(QT_TYPE=9)的报告在该字段传入订单号,其他类型报告都不需要传输该值
func (*TaobaoQtReportAddAPIRequest) SetQtCode ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetQtCode(_qtCode string) error
SetQtCode is QtCode Setter 一个质检服务唯一标识质量检验单的编号
func (*TaobaoQtReportAddAPIRequest) SetQtName ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetQtName(_qtName string) error
SetQtName is QtName Setter 质检名称
func (*TaobaoQtReportAddAPIRequest) SetQtStandard ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetQtStandard(_qtStandard string) error
SetQtStandard is QtStandard Setter 质检标准<br/>status=3 时 必须非空
func (*TaobaoQtReportAddAPIRequest) SetQtType ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetQtType(_qtType int64) error
SetQtType is QtType Setter (1L, "聚划算"),<br/>(2L, "消保"),<br/>(3L, "分销"),<br/>(4L, "抽检"),<br/>(5L, "良无限线下数据"),<br/>(6L, "入驻/续签商城"),<br/>(7L, "买家质检维权"),<br/>(8L, "实地验证"),<br/>(9L, "淘宝买家订单商品鉴定"),<br/>(10L,"假一赔三");
func (*TaobaoQtReportAddAPIRequest) SetReportUrl ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetReportUrl(_reportUrl string) error
SetReportUrl is ReportUrl Setter 质检报告源文件url<br/>status状态为3时必须非空
func (*TaobaoQtReportAddAPIRequest) SetServcieItemCode ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetServcieItemCode(_servcieItemCode string) error
SetServcieItemCode is ServcieItemCode Setter 收费项code
func (*TaobaoQtReportAddAPIRequest) SetSpName ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetSpName(_spName string) error
SetSpName is SpName Setter 质检服务商名称
func (*TaobaoQtReportAddAPIRequest) SetStatus ¶ added in v1.2.0
func (r *TaobaoQtReportAddAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 0:已提交申请<br/>1:已收到样品<br/>2:已出检测结果<br/>3.已出具报告
type TaobaoQtReportAddAPIResponse ¶
type TaobaoQtReportAddAPIResponse struct { model.CommonResponse TaobaoQtReportAddAPIResponseModel }
TaobaoQtReportAddAPIResponse 上传质检报告 API返回值 taobao.qt.report.add
上传质检报告
type TaobaoQtReportAddAPIResponseModel ¶ added in v1.2.0
type TaobaoQtReportAddAPIResponseModel struct { XMLName xml.Name `xml:"qt_report_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoQtReportAddAPIResponseModel is 上传质检报告 成功返回结果
type TaobaoQtReportDeleteAPIRequest ¶ added in v1.2.0
type TaobaoQtReportDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoQtReportDeleteAPIRequest 质检报告删除接口 API请求 taobao.qt.report.delete
删除质检报告
func NewTaobaoQtReportDeleteRequest ¶
func NewTaobaoQtReportDeleteRequest() *TaobaoQtReportDeleteAPIRequest
NewTaobaoQtReportDeleteRequest 初始化TaobaoQtReportDeleteAPIRequest对象
func (TaobaoQtReportDeleteAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoQtReportDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoQtReportDeleteAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoQtReportDeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQtReportDeleteAPIRequest) GetQtCode ¶ added in v1.2.0
func (r TaobaoQtReportDeleteAPIRequest) GetQtCode() string
GetQtCode QtCode Getter
func (TaobaoQtReportDeleteAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoQtReportDeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoQtReportDeleteAPIRequest) SetQtCode ¶ added in v1.2.0
func (r *TaobaoQtReportDeleteAPIRequest) SetQtCode(_qtCode string) error
SetQtCode is QtCode Setter 一个质检服务唯一标识质量检验单的编号
type TaobaoQtReportDeleteAPIResponse ¶
type TaobaoQtReportDeleteAPIResponse struct { model.CommonResponse TaobaoQtReportDeleteAPIResponseModel }
TaobaoQtReportDeleteAPIResponse 质检报告删除接口 API返回值 taobao.qt.report.delete
删除质检报告
type TaobaoQtReportDeleteAPIResponseModel ¶ added in v1.2.0
type TaobaoQtReportDeleteAPIResponseModel struct { XMLName xml.Name `xml:"qt_report_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoQtReportDeleteAPIResponseModel is 质检报告删除接口 成功返回结果
type TaobaoQtReportGetAPIRequest ¶ added in v1.2.0
TaobaoQtReportGetAPIRequest 查询质检报告 API请求 taobao.qt.report.get
质检报告查询
func NewTaobaoQtReportGetRequest ¶
func NewTaobaoQtReportGetRequest() *TaobaoQtReportGetAPIRequest
NewTaobaoQtReportGetRequest 初始化TaobaoQtReportGetAPIRequest对象
func (TaobaoQtReportGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoQtReportGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoQtReportGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoQtReportGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQtReportGetAPIRequest) GetQtCode ¶ added in v1.2.0
func (r TaobaoQtReportGetAPIRequest) GetQtCode() string
GetQtCode QtCode Getter
func (TaobaoQtReportGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoQtReportGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoQtReportGetAPIRequest) SetQtCode ¶ added in v1.2.0
func (r *TaobaoQtReportGetAPIRequest) SetQtCode(_qtCode string) error
SetQtCode is QtCode Setter 质检编号
type TaobaoQtReportGetAPIResponse ¶
type TaobaoQtReportGetAPIResponse struct { model.CommonResponse TaobaoQtReportGetAPIResponseModel }
TaobaoQtReportGetAPIResponse 查询质检报告 API返回值 taobao.qt.report.get
质检报告查询
type TaobaoQtReportGetAPIResponseModel ¶ added in v1.2.0
type TaobaoQtReportGetAPIResponseModel struct { XMLName xml.Name `xml:"qt_report_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 质检报告对象 QtReport *QtReport `json:"qt_report,omitempty" xml:"qt_report,omitempty"` }
TaobaoQtReportGetAPIResponseModel is 查询质检报告 成功返回结果
type TaobaoQtReportUpdateAPIRequest ¶ added in v1.2.0
type TaobaoQtReportUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoQtReportUpdateAPIRequest 更新质检报告 API请求 taobao.qt.report.update
更新质检报告
func NewTaobaoQtReportUpdateRequest ¶
func NewTaobaoQtReportUpdateRequest() *TaobaoQtReportUpdateAPIRequest
NewTaobaoQtReportUpdateRequest 初始化TaobaoQtReportUpdateAPIRequest对象
func (TaobaoQtReportUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoQtReportUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQtReportUpdateAPIRequest) GetExtAttr ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetExtAttr() string
GetExtAttr ExtAttr Getter
func (TaobaoQtReportUpdateAPIRequest) GetGmtExpiry ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetGmtExpiry() string
GetGmtExpiry GmtExpiry Getter
func (TaobaoQtReportUpdateAPIRequest) GetGmtReport ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetGmtReport() string
GetGmtReport GmtReport Getter
func (TaobaoQtReportUpdateAPIRequest) GetGmtSubmit ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetGmtSubmit() string
GetGmtSubmit GmtSubmit Getter
func (TaobaoQtReportUpdateAPIRequest) GetIsPassed ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetIsPassed() bool
GetIsPassed IsPassed Getter
func (TaobaoQtReportUpdateAPIRequest) GetItemDesc ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetItemDesc() string
GetItemDesc ItemDesc Getter
func (TaobaoQtReportUpdateAPIRequest) GetItemUrl ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetItemUrl() string
GetItemUrl ItemUrl Getter
func (TaobaoQtReportUpdateAPIRequest) GetMessage ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetMessage() string
GetMessage Message Getter
func (TaobaoQtReportUpdateAPIRequest) GetNick ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetNick() string
GetNick Nick Getter
func (TaobaoQtReportUpdateAPIRequest) GetNumIid ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetNumIid() int64
GetNumIid NumIid Getter
func (TaobaoQtReportUpdateAPIRequest) GetQtCode ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetQtCode() string
GetQtCode QtCode Getter
func (TaobaoQtReportUpdateAPIRequest) GetQtName ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetQtName() string
GetQtName QtName Getter
func (TaobaoQtReportUpdateAPIRequest) GetQtStandard ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetQtStandard() string
GetQtStandard QtStandard Getter
func (TaobaoQtReportUpdateAPIRequest) GetQtType ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetQtType() int64
GetQtType QtType Getter
func (TaobaoQtReportUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoQtReportUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoQtReportUpdateAPIRequest) GetReportUrl ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetReportUrl() string
GetReportUrl ReportUrl Getter
func (TaobaoQtReportUpdateAPIRequest) GetServcieItemCode ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetServcieItemCode() string
GetServcieItemCode ServcieItemCode Getter
func (TaobaoQtReportUpdateAPIRequest) GetSpName ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetSpName() string
GetSpName SpName Getter
func (TaobaoQtReportUpdateAPIRequest) GetStatus ¶ added in v1.2.0
func (r TaobaoQtReportUpdateAPIRequest) GetStatus() int64
GetStatus Status Getter
func (*TaobaoQtReportUpdateAPIRequest) SetExtAttr ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetExtAttr(_extAttr string) error
SetExtAttr is ExtAttr Setter 自定义属性字段;分号分隔
func (*TaobaoQtReportUpdateAPIRequest) SetGmtExpiry ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetGmtExpiry(_gmtExpiry string) error
SetGmtExpiry is GmtExpiry Setter 质检有效到期时间,一般为一年有效期<br/>status状态为3时必须非空
func (*TaobaoQtReportUpdateAPIRequest) SetGmtReport ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetGmtReport(_gmtReport string) error
SetGmtReport is GmtReport Setter 提交报告结果时间
func (*TaobaoQtReportUpdateAPIRequest) SetGmtSubmit ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetGmtSubmit(_gmtSubmit string) error
SetGmtSubmit is GmtSubmit Setter 送检日期
func (*TaobaoQtReportUpdateAPIRequest) SetIsPassed ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetIsPassed(_isPassed bool) error
SetIsPassed is IsPassed Setter 只有status=3时赋值, <br/>0:未通过1:通过 空代表未判定
func (*TaobaoQtReportUpdateAPIRequest) SetItemDesc ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetItemDesc(_itemDesc string) error
SetItemDesc is ItemDesc Setter 样品宝贝描述
func (*TaobaoQtReportUpdateAPIRequest) SetItemUrl ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetItemUrl(_itemUrl string) error
SetItemUrl is ItemUrl Setter 宝贝样品url
func (*TaobaoQtReportUpdateAPIRequest) SetMessage ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetMessage(_message string) error
SetMessage is Message Setter 检测结果消息描述
func (*TaobaoQtReportUpdateAPIRequest) SetNick ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetNick(_nick string) error
SetNick is Nick Setter 送检者昵称
func (*TaobaoQtReportUpdateAPIRequest) SetNumIid ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetNumIid(_numIid int64) error
SetNumIid is NumIid Setter 外部ID,和QT_TYPE 一起表示某种平台的实体ID。QT_TYPE=9的时候,num_iid为淘宝订单号
func (*TaobaoQtReportUpdateAPIRequest) SetQtCode ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetQtCode(_qtCode string) error
SetQtCode is QtCode Setter 一个质检服务唯一标识质量检验单的编号
func (*TaobaoQtReportUpdateAPIRequest) SetQtName ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetQtName(_qtName string) error
SetQtName is QtName Setter 质检名称
func (*TaobaoQtReportUpdateAPIRequest) SetQtStandard ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetQtStandard(_qtStandard string) error
SetQtStandard is QtStandard Setter 质检标准<br/>status=3 时必须非空
func (*TaobaoQtReportUpdateAPIRequest) SetQtType ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetQtType(_qtType int64) error
SetQtType is QtType Setter (1L, "聚划算"),<br/>(2L, "消保"),<br/>(3L, "分销"),<br/>(4L, "抽检"),<br/>(5L, "良无限线下数据"),<br/>(6L, "入驻/续签商城"),<br/>(7L, "买家质检维权"),<br/>(8L, "实地验证"),<br/>(9L, "淘宝买家订单商品鉴定"),<br/>(10L,"假一赔三");
func (*TaobaoQtReportUpdateAPIRequest) SetReportUrl ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetReportUrl(_reportUrl string) error
SetReportUrl is ReportUrl Setter 质检报告源文件url<br/>status状态为3时必须非空
func (*TaobaoQtReportUpdateAPIRequest) SetServcieItemCode ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetServcieItemCode(_servcieItemCode string) error
SetServcieItemCode is ServcieItemCode Setter 收费项code
func (*TaobaoQtReportUpdateAPIRequest) SetSpName ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetSpName(_spName string) error
SetSpName is SpName Setter 质检服务商名称
func (*TaobaoQtReportUpdateAPIRequest) SetStatus ¶ added in v1.2.0
func (r *TaobaoQtReportUpdateAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 0:已提交申请<br/>1:已收到样品<br/>2:已出检测结果<br/>3.已出具报告
type TaobaoQtReportUpdateAPIResponse ¶
type TaobaoQtReportUpdateAPIResponse struct { model.CommonResponse TaobaoQtReportUpdateAPIResponseModel }
TaobaoQtReportUpdateAPIResponse 更新质检报告 API返回值 taobao.qt.report.update
更新质检报告
type TaobaoQtReportUpdateAPIResponseModel ¶ added in v1.2.0
type TaobaoQtReportUpdateAPIResponseModel struct { XMLName xml.Name `xml:"qt_report_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoQtReportUpdateAPIResponseModel is 更新质检报告 成功返回结果
type TaobaoQtReportsGetAPIRequest ¶ added in v1.2.0
TaobaoQtReportsGetAPIRequest 批量查询质检报告 API请求 taobao.qt.reports.get
批量查询质检报告,目前只支持查询qtType=11(天猫真假鉴定)类型的报告
func NewTaobaoQtReportsGetRequest ¶
func NewTaobaoQtReportsGetRequest() *TaobaoQtReportsGetAPIRequest
NewTaobaoQtReportsGetRequest 初始化TaobaoQtReportsGetAPIRequest对象
func (TaobaoQtReportsGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoQtReportsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoQtReportsGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoQtReportsGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQtReportsGetAPIRequest) GetEndTime ¶ added in v1.2.0
func (r TaobaoQtReportsGetAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoQtReportsGetAPIRequest) GetNick ¶ added in v1.2.0
func (r TaobaoQtReportsGetAPIRequest) GetNick() string
GetNick Nick Getter
func (TaobaoQtReportsGetAPIRequest) GetQtType ¶ added in v1.2.0
func (r TaobaoQtReportsGetAPIRequest) GetQtType() int64
GetQtType QtType Getter
func (TaobaoQtReportsGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoQtReportsGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoQtReportsGetAPIRequest) GetServcieItemCode ¶ added in v1.2.0
func (r TaobaoQtReportsGetAPIRequest) GetServcieItemCode() string
GetServcieItemCode ServcieItemCode Getter
func (TaobaoQtReportsGetAPIRequest) GetSpName ¶ added in v1.2.0
func (r TaobaoQtReportsGetAPIRequest) GetSpName() string
GetSpName SpName Getter
func (TaobaoQtReportsGetAPIRequest) GetStartTime ¶ added in v1.2.0
func (r TaobaoQtReportsGetAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (*TaobaoQtReportsGetAPIRequest) SetEndTime ¶ added in v1.2.0
func (r *TaobaoQtReportsGetAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 查询时间段的结束时间
func (*TaobaoQtReportsGetAPIRequest) SetNick ¶ added in v1.2.0
func (r *TaobaoQtReportsGetAPIRequest) SetNick(_nick string) error
SetNick is Nick Setter 送检者昵称
func (*TaobaoQtReportsGetAPIRequest) SetQtType ¶ added in v1.2.0
func (r *TaobaoQtReportsGetAPIRequest) SetQtType(_qtType int64) error
SetQtType is QtType Setter 质检类型,目前只支持查询qt_type=11的类型
func (*TaobaoQtReportsGetAPIRequest) SetServcieItemCode ¶ added in v1.2.0
func (r *TaobaoQtReportsGetAPIRequest) SetServcieItemCode(_servcieItemCode string) error
SetServcieItemCode is ServcieItemCode Setter 收费项code
func (*TaobaoQtReportsGetAPIRequest) SetSpName ¶ added in v1.2.0
func (r *TaobaoQtReportsGetAPIRequest) SetSpName(_spName string) error
SetSpName is SpName Setter 质检服务商名
func (*TaobaoQtReportsGetAPIRequest) SetStartTime ¶ added in v1.2.0
func (r *TaobaoQtReportsGetAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 查询时间段的开始时间
type TaobaoQtReportsGetAPIResponse ¶
type TaobaoQtReportsGetAPIResponse struct { model.CommonResponse TaobaoQtReportsGetAPIResponseModel }
TaobaoQtReportsGetAPIResponse 批量查询质检报告 API返回值 taobao.qt.reports.get
批量查询质检报告,目前只支持查询qtType=11(天猫真假鉴定)类型的报告
type TaobaoQtReportsGetAPIResponseModel ¶ added in v1.2.0
type TaobaoQtReportsGetAPIResponseModel struct { XMLName xml.Name `xml:"qt_reports_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 质检报告列表 Reports []QtReport `json:"reports,omitempty" xml:"reports>qt_report,omitempty"` }
TaobaoQtReportsGetAPIResponseModel is 批量查询质检报告 成功返回结果
type TaobaoTsPropertyGetAPIRequest ¶ added in v1.2.0
type TaobaoTsPropertyGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTsPropertyGetAPIRequest 淘宝服务属性查询 API请求 taobao.ts.property.get
淘宝服务属性查询
func NewTaobaoTsPropertyGetRequest ¶
func NewTaobaoTsPropertyGetRequest() *TaobaoTsPropertyGetAPIRequest
NewTaobaoTsPropertyGetRequest 初始化TaobaoTsPropertyGetAPIRequest对象
func (TaobaoTsPropertyGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTsPropertyGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTsPropertyGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTsPropertyGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTsPropertyGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTsPropertyGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoTsPropertyGetAPIRequest) GetServiceItemCode ¶ added in v1.2.0
func (r TaobaoTsPropertyGetAPIRequest) GetServiceItemCode() string
GetServiceItemCode ServiceItemCode Getter
func (*TaobaoTsPropertyGetAPIRequest) SetServiceItemCode ¶ added in v1.2.0
func (r *TaobaoTsPropertyGetAPIRequest) SetServiceItemCode(_serviceItemCode string) error
SetServiceItemCode is ServiceItemCode Setter 服务收费项code
type TaobaoTsPropertyGetAPIResponse ¶
type TaobaoTsPropertyGetAPIResponse struct { model.CommonResponse TaobaoTsPropertyGetAPIResponseModel }
TaobaoTsPropertyGetAPIResponse 淘宝服务属性查询 API返回值 taobao.ts.property.get
淘宝服务属性查询
type TaobaoTsPropertyGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTsPropertyGetAPIResponseModel struct { XMLName xml.Name `xml:"ts_property_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 服务收费项相关属性对象 ServiceItemProperty *ServiceItemProperty `json:"service_item_property,omitempty" xml:"service_item_property,omitempty"` }
TaobaoTsPropertyGetAPIResponseModel is 淘宝服务属性查询 成功返回结果
type TaobaoTsSubscribeGetAPIRequest ¶ added in v1.2.0
type TaobaoTsSubscribeGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTsSubscribeGetAPIRequest 淘宝服务订购关系查询 API请求 taobao.ts.subscribe.get
ts订购关系状态查询. 暂只支持1口价服务.
func NewTaobaoTsSubscribeGetRequest ¶
func NewTaobaoTsSubscribeGetRequest() *TaobaoTsSubscribeGetAPIRequest
NewTaobaoTsSubscribeGetRequest 初始化TaobaoTsSubscribeGetAPIRequest对象
func (TaobaoTsSubscribeGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTsSubscribeGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTsSubscribeGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTsSubscribeGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTsSubscribeGetAPIRequest) GetNick ¶ added in v1.2.0
func (r TaobaoTsSubscribeGetAPIRequest) GetNick() string
GetNick Nick Getter
func (TaobaoTsSubscribeGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTsSubscribeGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoTsSubscribeGetAPIRequest) GetServcieItemCode ¶ added in v1.2.0
func (r TaobaoTsSubscribeGetAPIRequest) GetServcieItemCode() string
GetServcieItemCode ServcieItemCode Getter
func (*TaobaoTsSubscribeGetAPIRequest) SetNick ¶ added in v1.2.0
func (r *TaobaoTsSubscribeGetAPIRequest) SetNick(_nick string) error
SetNick is Nick Setter 订购用户昵称
func (*TaobaoTsSubscribeGetAPIRequest) SetServcieItemCode ¶ added in v1.2.0
func (r *TaobaoTsSubscribeGetAPIRequest) SetServcieItemCode(_servcieItemCode string) error
SetServcieItemCode is ServcieItemCode Setter 服务收费项code
type TaobaoTsSubscribeGetAPIResponse ¶
type TaobaoTsSubscribeGetAPIResponse struct { model.CommonResponse TaobaoTsSubscribeGetAPIResponseModel }
TaobaoTsSubscribeGetAPIResponse 淘宝服务订购关系查询 API返回值 taobao.ts.subscribe.get
ts订购关系状态查询. 暂只支持1口价服务.
type TaobaoTsSubscribeGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTsSubscribeGetAPIResponseModel struct { XMLName xml.Name `xml:"ts_subscribe_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 订购关系对象 ServiceSubscribe *ServiceSubscribe `json:"service_subscribe,omitempty" xml:"service_subscribe,omitempty"` }
TaobaoTsSubscribeGetAPIResponseModel is 淘宝服务订购关系查询 成功返回结果
Source Files ¶
- ItemPropertyValues.go
- QtReport.go
- QualityUsageDetail.go
- ServiceItemProperty.go
- ServiceSubscribe.go
- TaobaoQtReportAddAPIRequest.go
- TaobaoQtReportAddAPIResponse.go
- TaobaoQtReportDeleteAPIRequest.go
- TaobaoQtReportDeleteAPIResponse.go
- TaobaoQtReportGetAPIRequest.go
- TaobaoQtReportGetAPIResponse.go
- TaobaoQtReportUpdateAPIRequest.go
- TaobaoQtReportUpdateAPIResponse.go
- TaobaoQtReportsGetAPIRequest.go
- TaobaoQtReportsGetAPIResponse.go
- TaobaoTsPropertyGetAPIRequest.go
- TaobaoTsPropertyGetAPIResponse.go
- TaobaoTsSubscribeGetAPIRequest.go
- TaobaoTsSubscribeGetAPIResponse.go
- doc.go