Documentation ¶
Overview ¶
质检品控API model
Index ¶
- type ItemPropertyValues
- type QtReport
- type QualityUsageDetail
- type ServiceItemProperty
- type ServiceSubscribe
- type TaobaoQtReportAddAPIResponse
- type TaobaoQtReportAddRequest
- func (r TaobaoQtReportAddRequest) GetApiMethodName() string
- func (r TaobaoQtReportAddRequest) GetApiParams() url.Values
- func (r TaobaoQtReportAddRequest) GetExtAttr() string
- func (r TaobaoQtReportAddRequest) GetGmtExpiry() string
- func (r TaobaoQtReportAddRequest) GetGmtReport() string
- func (r TaobaoQtReportAddRequest) GetGmtSubmit() string
- func (r TaobaoQtReportAddRequest) GetIsPassed() bool
- func (r TaobaoQtReportAddRequest) GetItemDesc() string
- func (r TaobaoQtReportAddRequest) GetItemUrl() string
- func (r TaobaoQtReportAddRequest) GetMessage() string
- func (r TaobaoQtReportAddRequest) GetNick() string
- func (r TaobaoQtReportAddRequest) GetNumIid() int64
- func (r TaobaoQtReportAddRequest) GetQtCode() string
- func (r TaobaoQtReportAddRequest) GetQtName() string
- func (r TaobaoQtReportAddRequest) GetQtStandard() string
- func (r TaobaoQtReportAddRequest) GetQtType() int64
- func (r TaobaoQtReportAddRequest) GetReportUrl() string
- func (r TaobaoQtReportAddRequest) GetServcieItemCode() string
- func (r TaobaoQtReportAddRequest) GetSpName() string
- func (r TaobaoQtReportAddRequest) GetStatus() int64
- func (r *TaobaoQtReportAddRequest) SetExtAttr(extAttr string) error
- func (r *TaobaoQtReportAddRequest) SetGmtExpiry(gmtExpiry string) error
- func (r *TaobaoQtReportAddRequest) SetGmtReport(gmtReport string) error
- func (r *TaobaoQtReportAddRequest) SetGmtSubmit(gmtSubmit string) error
- func (r *TaobaoQtReportAddRequest) SetIsPassed(isPassed bool) error
- func (r *TaobaoQtReportAddRequest) SetItemDesc(itemDesc string) error
- func (r *TaobaoQtReportAddRequest) SetItemUrl(itemUrl string) error
- func (r *TaobaoQtReportAddRequest) SetMessage(message string) error
- func (r *TaobaoQtReportAddRequest) SetNick(nick string) error
- func (r *TaobaoQtReportAddRequest) SetNumIid(numIid int64) error
- func (r *TaobaoQtReportAddRequest) SetQtCode(qtCode string) error
- func (r *TaobaoQtReportAddRequest) SetQtName(qtName string) error
- func (r *TaobaoQtReportAddRequest) SetQtStandard(qtStandard string) error
- func (r *TaobaoQtReportAddRequest) SetQtType(qtType int64) error
- func (r *TaobaoQtReportAddRequest) SetReportUrl(reportUrl string) error
- func (r *TaobaoQtReportAddRequest) SetServcieItemCode(servcieItemCode string) error
- func (r *TaobaoQtReportAddRequest) SetSpName(spName string) error
- func (r *TaobaoQtReportAddRequest) SetStatus(status int64) error
- type TaobaoQtReportAddResponse
- type TaobaoQtReportDeleteAPIResponse
- type TaobaoQtReportDeleteRequest
- type TaobaoQtReportDeleteResponse
- type TaobaoQtReportGetAPIResponse
- type TaobaoQtReportGetRequest
- type TaobaoQtReportGetResponse
- type TaobaoQtReportUpdateAPIResponse
- type TaobaoQtReportUpdateRequest
- func (r TaobaoQtReportUpdateRequest) GetApiMethodName() string
- func (r TaobaoQtReportUpdateRequest) GetApiParams() url.Values
- func (r TaobaoQtReportUpdateRequest) GetExtAttr() string
- func (r TaobaoQtReportUpdateRequest) GetGmtExpiry() string
- func (r TaobaoQtReportUpdateRequest) GetGmtReport() string
- func (r TaobaoQtReportUpdateRequest) GetGmtSubmit() string
- func (r TaobaoQtReportUpdateRequest) GetIsPassed() bool
- func (r TaobaoQtReportUpdateRequest) GetItemDesc() string
- func (r TaobaoQtReportUpdateRequest) GetItemUrl() string
- func (r TaobaoQtReportUpdateRequest) GetMessage() string
- func (r TaobaoQtReportUpdateRequest) GetNick() string
- func (r TaobaoQtReportUpdateRequest) GetNumIid() int64
- func (r TaobaoQtReportUpdateRequest) GetQtCode() string
- func (r TaobaoQtReportUpdateRequest) GetQtName() string
- func (r TaobaoQtReportUpdateRequest) GetQtStandard() string
- func (r TaobaoQtReportUpdateRequest) GetQtType() int64
- func (r TaobaoQtReportUpdateRequest) GetReportUrl() string
- func (r TaobaoQtReportUpdateRequest) GetServcieItemCode() string
- func (r TaobaoQtReportUpdateRequest) GetSpName() string
- func (r TaobaoQtReportUpdateRequest) GetStatus() int64
- func (r *TaobaoQtReportUpdateRequest) SetExtAttr(extAttr string) error
- func (r *TaobaoQtReportUpdateRequest) SetGmtExpiry(gmtExpiry string) error
- func (r *TaobaoQtReportUpdateRequest) SetGmtReport(gmtReport string) error
- func (r *TaobaoQtReportUpdateRequest) SetGmtSubmit(gmtSubmit string) error
- func (r *TaobaoQtReportUpdateRequest) SetIsPassed(isPassed bool) error
- func (r *TaobaoQtReportUpdateRequest) SetItemDesc(itemDesc string) error
- func (r *TaobaoQtReportUpdateRequest) SetItemUrl(itemUrl string) error
- func (r *TaobaoQtReportUpdateRequest) SetMessage(message string) error
- func (r *TaobaoQtReportUpdateRequest) SetNick(nick string) error
- func (r *TaobaoQtReportUpdateRequest) SetNumIid(numIid int64) error
- func (r *TaobaoQtReportUpdateRequest) SetQtCode(qtCode string) error
- func (r *TaobaoQtReportUpdateRequest) SetQtName(qtName string) error
- func (r *TaobaoQtReportUpdateRequest) SetQtStandard(qtStandard string) error
- func (r *TaobaoQtReportUpdateRequest) SetQtType(qtType int64) error
- func (r *TaobaoQtReportUpdateRequest) SetReportUrl(reportUrl string) error
- func (r *TaobaoQtReportUpdateRequest) SetServcieItemCode(servcieItemCode string) error
- func (r *TaobaoQtReportUpdateRequest) SetSpName(spName string) error
- func (r *TaobaoQtReportUpdateRequest) SetStatus(status int64) error
- type TaobaoQtReportUpdateResponse
- type TaobaoQtReportsGetAPIResponse
- type TaobaoQtReportsGetRequest
- func (r TaobaoQtReportsGetRequest) GetApiMethodName() string
- func (r TaobaoQtReportsGetRequest) GetApiParams() url.Values
- func (r TaobaoQtReportsGetRequest) GetEndTime() string
- func (r TaobaoQtReportsGetRequest) GetNick() string
- func (r TaobaoQtReportsGetRequest) GetQtType() int64
- func (r TaobaoQtReportsGetRequest) GetServcieItemCode() string
- func (r TaobaoQtReportsGetRequest) GetSpName() string
- func (r TaobaoQtReportsGetRequest) GetStartTime() string
- func (r *TaobaoQtReportsGetRequest) SetEndTime(endTime string) error
- func (r *TaobaoQtReportsGetRequest) SetNick(nick string) error
- func (r *TaobaoQtReportsGetRequest) SetQtType(qtType int64) error
- func (r *TaobaoQtReportsGetRequest) SetServcieItemCode(servcieItemCode string) error
- func (r *TaobaoQtReportsGetRequest) SetSpName(spName string) error
- func (r *TaobaoQtReportsGetRequest) SetStartTime(startTime string) error
- type TaobaoQtReportsGetResponse
- type TaobaoTsPropertyGetAPIResponse
- type TaobaoTsPropertyGetRequest
- type TaobaoTsPropertyGetResponse
- type TaobaoTsSubscribeGetAPIResponse
- type TaobaoTsSubscribeGetRequest
- func (r TaobaoTsSubscribeGetRequest) GetApiMethodName() string
- func (r TaobaoTsSubscribeGetRequest) GetApiParams() url.Values
- func (r TaobaoTsSubscribeGetRequest) GetNick() string
- func (r TaobaoTsSubscribeGetRequest) GetServcieItemCode() string
- func (r *TaobaoTsSubscribeGetRequest) SetNick(nick string) error
- func (r *TaobaoTsSubscribeGetRequest) SetServcieItemCode(servcieItemCode string) error
- type TaobaoTsSubscribeGetResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemPropertyValues ¶
type ItemPropertyValues struct { // 服务属性id PropertyId int64 `json:"property_id,omitempty" xml:"property_id,omitempty"` // 属性名称 PropertyName string `json:"property_name,omitempty" xml:"property_name,omitempty"` // 属性值列表. PropertyValues []string `json:"property_values,omitempty" xml:"property_values>string,omitempty"` }
ItemPropertyValues
type QtReport ¶
type QtReport struct { // 质检报告在淘宝的Id Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 创建日期 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 是否合格 IsPassed bool `json:"is_passed,omitempty" xml:"is_passed,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"` // 质检类型 0,全部 1,聚划算认证2,消保打标 QtType int64 `json:"qt_type,omitempty" xml:"qt_type,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 NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 质检报告状态<br/> 0:已提交申请 1:已收到样品 2:已出检测结果 3.已出具报告 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
QtReport
type QualityUsageDetail ¶
type QualityUsageDetail struct { // 订购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"` // 质检服务的收费项目码 ArticleItemCode string `json:"article_item_code,omitempty" xml:"article_item_code,omitempty"` // 该订单的开通时间 StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"` // 该订单的到期时间 EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"` // 该订单中每个质检服务的价格 Price float64 `json:"price,omitempty" xml:"price,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 float64 `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 { // 服务收费项code ServiceItemCode string `json:"service_item_code,omitempty" xml:"service_item_code,omitempty"` // 订购者昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 订购总数 AllNum int64 `json:"all_num,omitempty" xml:"all_num,omitempty"` // 已经使用的数量 UsedNum int64 `json:"used_num,omitempty" xml:"used_num,omitempty"` // 过期时间 GmtExpiry string `json:"gmt_expiry,omitempty" xml:"gmt_expiry,omitempty"` // 将要被使用的那条质检订单的价格 FuturePrice float64 `json:"future_price,omitempty" xml:"future_price,omitempty"` // 该用户该收费项目下面的所有的订购记录详情 UsageDetailList []QualityUsageDetail `json:"usage_detail_list,omitempty" xml:"usage_detail_list>quality_usage_detail,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 TaobaoQtReportAddAPIResponse ¶
type TaobaoQtReportAddAPIResponse struct { model.CommonResponse TaobaoQtReportAddResponse }
上传质检报告 API返回值 taobao.qt.report.add
上传质检报告
type TaobaoQtReportAddRequest ¶
上传质检报告 API请求 taobao.qt.report.add
上传质检报告
func NewTaobaoQtReportAddRequest ¶
func NewTaobaoQtReportAddRequest() *TaobaoQtReportAddRequest
初始化TaobaoQtReportAddRequest对象
func (TaobaoQtReportAddRequest) GetApiMethodName ¶
func (r TaobaoQtReportAddRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoQtReportAddRequest) GetApiParams ¶
func (r TaobaoQtReportAddRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoQtReportAddRequest) GetExtAttr ¶
func (r TaobaoQtReportAddRequest) GetExtAttr() string
ExtAttr Getter
func (TaobaoQtReportAddRequest) GetGmtExpiry ¶
func (r TaobaoQtReportAddRequest) GetGmtExpiry() string
GmtExpiry Getter
func (TaobaoQtReportAddRequest) GetGmtReport ¶
func (r TaobaoQtReportAddRequest) GetGmtReport() string
GmtReport Getter
func (TaobaoQtReportAddRequest) GetGmtSubmit ¶
func (r TaobaoQtReportAddRequest) GetGmtSubmit() string
GmtSubmit Getter
func (TaobaoQtReportAddRequest) GetIsPassed ¶
func (r TaobaoQtReportAddRequest) GetIsPassed() bool
IsPassed Getter
func (TaobaoQtReportAddRequest) GetItemDesc ¶
func (r TaobaoQtReportAddRequest) GetItemDesc() string
ItemDesc Getter
func (TaobaoQtReportAddRequest) GetItemUrl ¶
func (r TaobaoQtReportAddRequest) GetItemUrl() string
ItemUrl Getter
func (TaobaoQtReportAddRequest) GetMessage ¶
func (r TaobaoQtReportAddRequest) GetMessage() string
Message Getter
func (TaobaoQtReportAddRequest) GetNick ¶
func (r TaobaoQtReportAddRequest) GetNick() string
Nick Getter
func (TaobaoQtReportAddRequest) GetNumIid ¶
func (r TaobaoQtReportAddRequest) GetNumIid() int64
NumIid Getter
func (TaobaoQtReportAddRequest) GetQtCode ¶
func (r TaobaoQtReportAddRequest) GetQtCode() string
QtCode Getter
func (TaobaoQtReportAddRequest) GetQtName ¶
func (r TaobaoQtReportAddRequest) GetQtName() string
QtName Getter
func (TaobaoQtReportAddRequest) GetQtStandard ¶
func (r TaobaoQtReportAddRequest) GetQtStandard() string
QtStandard Getter
func (TaobaoQtReportAddRequest) GetQtType ¶
func (r TaobaoQtReportAddRequest) GetQtType() int64
QtType Getter
func (TaobaoQtReportAddRequest) GetReportUrl ¶
func (r TaobaoQtReportAddRequest) GetReportUrl() string
ReportUrl Getter
func (TaobaoQtReportAddRequest) GetServcieItemCode ¶
func (r TaobaoQtReportAddRequest) GetServcieItemCode() string
ServcieItemCode Getter
func (TaobaoQtReportAddRequest) GetSpName ¶
func (r TaobaoQtReportAddRequest) GetSpName() string
SpName Getter
func (TaobaoQtReportAddRequest) GetStatus ¶
func (r TaobaoQtReportAddRequest) GetStatus() int64
Status Getter
func (*TaobaoQtReportAddRequest) SetExtAttr ¶
func (r *TaobaoQtReportAddRequest) SetExtAttr(extAttr string) error
ExtAttr Setter 自定义属性字段;分号分隔
func (*TaobaoQtReportAddRequest) SetGmtExpiry ¶
func (r *TaobaoQtReportAddRequest) SetGmtExpiry(gmtExpiry string) error
GmtExpiry Setter 质检有效到期时间,一般为一年有效期<br/>status状态为3时必须非空
func (*TaobaoQtReportAddRequest) SetGmtReport ¶
func (r *TaobaoQtReportAddRequest) SetGmtReport(gmtReport string) error
GmtReport Setter 提交报告结果时间
func (*TaobaoQtReportAddRequest) SetGmtSubmit ¶
func (r *TaobaoQtReportAddRequest) SetGmtSubmit(gmtSubmit string) error
GmtSubmit Setter 送检日期
func (*TaobaoQtReportAddRequest) SetIsPassed ¶
func (r *TaobaoQtReportAddRequest) SetIsPassed(isPassed bool) error
IsPassed Setter 只有status=3时赋值, <br/>true 质检结果合格,false质检结果不合格.<br/>留空表示成分鉴定,不做判定
func (*TaobaoQtReportAddRequest) SetItemDesc ¶
func (r *TaobaoQtReportAddRequest) SetItemDesc(itemDesc string) error
ItemDesc Setter 样品信息描述
func (*TaobaoQtReportAddRequest) SetItemUrl ¶
func (r *TaobaoQtReportAddRequest) SetItemUrl(itemUrl string) error
ItemUrl Setter 样品链接.<br/>QT_TYPE=9的时候,请填写N\A
func (*TaobaoQtReportAddRequest) SetMessage ¶
func (r *TaobaoQtReportAddRequest) SetMessage(message string) error
Message Setter 检测结果消息描述
func (*TaobaoQtReportAddRequest) SetNick ¶
func (r *TaobaoQtReportAddRequest) SetNick(nick string) error
Nick Setter 送检者昵称
func (*TaobaoQtReportAddRequest) SetNumIid ¶
func (r *TaobaoQtReportAddRequest) SetNumIid(numIid int64) error
NumIid Setter 当前接口只有淘宝订单真假鉴定(QT_TYPE=9)的报告在该字段传入订单号,其他类型报告都不需要传输该值
func (*TaobaoQtReportAddRequest) SetQtCode ¶
func (r *TaobaoQtReportAddRequest) SetQtCode(qtCode string) error
QtCode Setter 一个质检服务唯一标识质量检验单的编号
func (*TaobaoQtReportAddRequest) SetQtName ¶
func (r *TaobaoQtReportAddRequest) SetQtName(qtName string) error
QtName Setter 质检名称
func (*TaobaoQtReportAddRequest) SetQtStandard ¶
func (r *TaobaoQtReportAddRequest) SetQtStandard(qtStandard string) error
QtStandard Setter 质检标准<br/>status=3 时 必须非空
func (*TaobaoQtReportAddRequest) SetQtType ¶
func (r *TaobaoQtReportAddRequest) SetQtType(qtType int64) error
QtType Setter (1L, "聚划算"),<br/>(2L, "消保"),<br/>(3L, "分销"),<br/>(4L, "抽检"),<br/>(5L, "良无限线下数据"),<br/>(6L, "入驻/续签商城"),<br/>(7L, "买家质检维权"),<br/>(8L, "实地验证"),<br/>(9L, "淘宝买家订单商品鉴定"),<br/>(10L,"假一赔三");
func (*TaobaoQtReportAddRequest) SetReportUrl ¶
func (r *TaobaoQtReportAddRequest) SetReportUrl(reportUrl string) error
ReportUrl Setter 质检报告源文件url<br/>status状态为3时必须非空
func (*TaobaoQtReportAddRequest) SetServcieItemCode ¶
func (r *TaobaoQtReportAddRequest) SetServcieItemCode(servcieItemCode string) error
ServcieItemCode Setter 收费项code
func (*TaobaoQtReportAddRequest) SetSpName ¶
func (r *TaobaoQtReportAddRequest) SetSpName(spName string) error
SpName Setter 质检服务商名称
func (*TaobaoQtReportAddRequest) SetStatus ¶
func (r *TaobaoQtReportAddRequest) SetStatus(status int64) error
Status Setter 0:已提交申请<br/>1:已收到样品<br/>2:已出检测结果<br/>3.已出具报告
type TaobaoQtReportAddResponse ¶
type TaobaoQtReportAddResponse 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"` }
上传质检报告 成功返回结果
type TaobaoQtReportDeleteAPIResponse ¶
type TaobaoQtReportDeleteAPIResponse struct { model.CommonResponse TaobaoQtReportDeleteResponse }
质检报告删除接口 API返回值 taobao.qt.report.delete
删除质检报告
type TaobaoQtReportDeleteRequest ¶
质检报告删除接口 API请求 taobao.qt.report.delete
删除质检报告
func NewTaobaoQtReportDeleteRequest ¶
func NewTaobaoQtReportDeleteRequest() *TaobaoQtReportDeleteRequest
初始化TaobaoQtReportDeleteRequest对象
func (TaobaoQtReportDeleteRequest) GetApiMethodName ¶
func (r TaobaoQtReportDeleteRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoQtReportDeleteRequest) GetApiParams ¶
func (r TaobaoQtReportDeleteRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoQtReportDeleteRequest) GetQtCode ¶
func (r TaobaoQtReportDeleteRequest) GetQtCode() string
QtCode Getter
func (*TaobaoQtReportDeleteRequest) SetQtCode ¶
func (r *TaobaoQtReportDeleteRequest) SetQtCode(qtCode string) error
QtCode Setter 一个质检服务唯一标识质量检验单的编号
type TaobaoQtReportDeleteResponse ¶
type TaobaoQtReportDeleteResponse 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"` }
质检报告删除接口 成功返回结果
type TaobaoQtReportGetAPIResponse ¶
type TaobaoQtReportGetAPIResponse struct { model.CommonResponse TaobaoQtReportGetResponse }
查询质检报告 API返回值 taobao.qt.report.get
质检报告查询
type TaobaoQtReportGetRequest ¶
查询质检报告 API请求 taobao.qt.report.get
质检报告查询
func NewTaobaoQtReportGetRequest ¶
func NewTaobaoQtReportGetRequest() *TaobaoQtReportGetRequest
初始化TaobaoQtReportGetRequest对象
func (TaobaoQtReportGetRequest) GetApiMethodName ¶
func (r TaobaoQtReportGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoQtReportGetRequest) GetApiParams ¶
func (r TaobaoQtReportGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoQtReportGetRequest) GetQtCode ¶
func (r TaobaoQtReportGetRequest) GetQtCode() string
QtCode Getter
func (*TaobaoQtReportGetRequest) SetQtCode ¶
func (r *TaobaoQtReportGetRequest) SetQtCode(qtCode string) error
QtCode Setter 质检编号
type TaobaoQtReportGetResponse ¶
type TaobaoQtReportGetResponse 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"` }
查询质检报告 成功返回结果
type TaobaoQtReportUpdateAPIResponse ¶
type TaobaoQtReportUpdateAPIResponse struct { model.CommonResponse TaobaoQtReportUpdateResponse }
更新质检报告 API返回值 taobao.qt.report.update
更新质检报告
type TaobaoQtReportUpdateRequest ¶
更新质检报告 API请求 taobao.qt.report.update
更新质检报告
func NewTaobaoQtReportUpdateRequest ¶
func NewTaobaoQtReportUpdateRequest() *TaobaoQtReportUpdateRequest
初始化TaobaoQtReportUpdateRequest对象
func (TaobaoQtReportUpdateRequest) GetApiMethodName ¶
func (r TaobaoQtReportUpdateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoQtReportUpdateRequest) GetApiParams ¶
func (r TaobaoQtReportUpdateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoQtReportUpdateRequest) GetExtAttr ¶
func (r TaobaoQtReportUpdateRequest) GetExtAttr() string
ExtAttr Getter
func (TaobaoQtReportUpdateRequest) GetGmtExpiry ¶
func (r TaobaoQtReportUpdateRequest) GetGmtExpiry() string
GmtExpiry Getter
func (TaobaoQtReportUpdateRequest) GetGmtReport ¶
func (r TaobaoQtReportUpdateRequest) GetGmtReport() string
GmtReport Getter
func (TaobaoQtReportUpdateRequest) GetGmtSubmit ¶
func (r TaobaoQtReportUpdateRequest) GetGmtSubmit() string
GmtSubmit Getter
func (TaobaoQtReportUpdateRequest) GetIsPassed ¶
func (r TaobaoQtReportUpdateRequest) GetIsPassed() bool
IsPassed Getter
func (TaobaoQtReportUpdateRequest) GetItemDesc ¶
func (r TaobaoQtReportUpdateRequest) GetItemDesc() string
ItemDesc Getter
func (TaobaoQtReportUpdateRequest) GetItemUrl ¶
func (r TaobaoQtReportUpdateRequest) GetItemUrl() string
ItemUrl Getter
func (TaobaoQtReportUpdateRequest) GetMessage ¶
func (r TaobaoQtReportUpdateRequest) GetMessage() string
Message Getter
func (TaobaoQtReportUpdateRequest) GetNick ¶
func (r TaobaoQtReportUpdateRequest) GetNick() string
Nick Getter
func (TaobaoQtReportUpdateRequest) GetNumIid ¶
func (r TaobaoQtReportUpdateRequest) GetNumIid() int64
NumIid Getter
func (TaobaoQtReportUpdateRequest) GetQtCode ¶
func (r TaobaoQtReportUpdateRequest) GetQtCode() string
QtCode Getter
func (TaobaoQtReportUpdateRequest) GetQtName ¶
func (r TaobaoQtReportUpdateRequest) GetQtName() string
QtName Getter
func (TaobaoQtReportUpdateRequest) GetQtStandard ¶
func (r TaobaoQtReportUpdateRequest) GetQtStandard() string
QtStandard Getter
func (TaobaoQtReportUpdateRequest) GetQtType ¶
func (r TaobaoQtReportUpdateRequest) GetQtType() int64
QtType Getter
func (TaobaoQtReportUpdateRequest) GetReportUrl ¶
func (r TaobaoQtReportUpdateRequest) GetReportUrl() string
ReportUrl Getter
func (TaobaoQtReportUpdateRequest) GetServcieItemCode ¶
func (r TaobaoQtReportUpdateRequest) GetServcieItemCode() string
ServcieItemCode Getter
func (TaobaoQtReportUpdateRequest) GetSpName ¶
func (r TaobaoQtReportUpdateRequest) GetSpName() string
SpName Getter
func (TaobaoQtReportUpdateRequest) GetStatus ¶
func (r TaobaoQtReportUpdateRequest) GetStatus() int64
Status Getter
func (*TaobaoQtReportUpdateRequest) SetExtAttr ¶
func (r *TaobaoQtReportUpdateRequest) SetExtAttr(extAttr string) error
ExtAttr Setter 自定义属性字段;分号分隔
func (*TaobaoQtReportUpdateRequest) SetGmtExpiry ¶
func (r *TaobaoQtReportUpdateRequest) SetGmtExpiry(gmtExpiry string) error
GmtExpiry Setter 质检有效到期时间,一般为一年有效期<br/>status状态为3时必须非空
func (*TaobaoQtReportUpdateRequest) SetGmtReport ¶
func (r *TaobaoQtReportUpdateRequest) SetGmtReport(gmtReport string) error
GmtReport Setter 提交报告结果时间
func (*TaobaoQtReportUpdateRequest) SetGmtSubmit ¶
func (r *TaobaoQtReportUpdateRequest) SetGmtSubmit(gmtSubmit string) error
GmtSubmit Setter 送检日期
func (*TaobaoQtReportUpdateRequest) SetIsPassed ¶
func (r *TaobaoQtReportUpdateRequest) SetIsPassed(isPassed bool) error
IsPassed Setter 只有status=3时赋值, <br/>0:未通过1:通过 空代表未判定
func (*TaobaoQtReportUpdateRequest) SetItemDesc ¶
func (r *TaobaoQtReportUpdateRequest) SetItemDesc(itemDesc string) error
ItemDesc Setter 样品宝贝描述
func (*TaobaoQtReportUpdateRequest) SetItemUrl ¶
func (r *TaobaoQtReportUpdateRequest) SetItemUrl(itemUrl string) error
ItemUrl Setter 宝贝样品url
func (*TaobaoQtReportUpdateRequest) SetMessage ¶
func (r *TaobaoQtReportUpdateRequest) SetMessage(message string) error
Message Setter 检测结果消息描述
func (*TaobaoQtReportUpdateRequest) SetNick ¶
func (r *TaobaoQtReportUpdateRequest) SetNick(nick string) error
Nick Setter 送检者昵称
func (*TaobaoQtReportUpdateRequest) SetNumIid ¶
func (r *TaobaoQtReportUpdateRequest) SetNumIid(numIid int64) error
NumIid Setter 外部ID,和QT_TYPE 一起表示某种平台的实体ID。QT_TYPE=9的时候,num_iid为淘宝订单号
func (*TaobaoQtReportUpdateRequest) SetQtCode ¶
func (r *TaobaoQtReportUpdateRequest) SetQtCode(qtCode string) error
QtCode Setter 一个质检服务唯一标识质量检验单的编号
func (*TaobaoQtReportUpdateRequest) SetQtName ¶
func (r *TaobaoQtReportUpdateRequest) SetQtName(qtName string) error
QtName Setter 质检名称
func (*TaobaoQtReportUpdateRequest) SetQtStandard ¶
func (r *TaobaoQtReportUpdateRequest) SetQtStandard(qtStandard string) error
QtStandard Setter 质检标准<br/>status=3 时必须非空
func (*TaobaoQtReportUpdateRequest) SetQtType ¶
func (r *TaobaoQtReportUpdateRequest) SetQtType(qtType int64) error
QtType Setter (1L, "聚划算"),<br/>(2L, "消保"),<br/>(3L, "分销"),<br/>(4L, "抽检"),<br/>(5L, "良无限线下数据"),<br/>(6L, "入驻/续签商城"),<br/>(7L, "买家质检维权"),<br/>(8L, "实地验证"),<br/>(9L, "淘宝买家订单商品鉴定"),<br/>(10L,"假一赔三");
func (*TaobaoQtReportUpdateRequest) SetReportUrl ¶
func (r *TaobaoQtReportUpdateRequest) SetReportUrl(reportUrl string) error
ReportUrl Setter 质检报告源文件url<br/>status状态为3时必须非空
func (*TaobaoQtReportUpdateRequest) SetServcieItemCode ¶
func (r *TaobaoQtReportUpdateRequest) SetServcieItemCode(servcieItemCode string) error
ServcieItemCode Setter 收费项code
func (*TaobaoQtReportUpdateRequest) SetSpName ¶
func (r *TaobaoQtReportUpdateRequest) SetSpName(spName string) error
SpName Setter 质检服务商名称
func (*TaobaoQtReportUpdateRequest) SetStatus ¶
func (r *TaobaoQtReportUpdateRequest) SetStatus(status int64) error
Status Setter 0:已提交申请<br/>1:已收到样品<br/>2:已出检测结果<br/>3.已出具报告
type TaobaoQtReportUpdateResponse ¶
type TaobaoQtReportUpdateResponse 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"` }
更新质检报告 成功返回结果
type TaobaoQtReportsGetAPIResponse ¶
type TaobaoQtReportsGetAPIResponse struct { model.CommonResponse TaobaoQtReportsGetResponse }
批量查询质检报告 API返回值 taobao.qt.reports.get
批量查询质检报告,目前只支持查询qtType=11(天猫真假鉴定)类型的报告
type TaobaoQtReportsGetRequest ¶
批量查询质检报告 API请求 taobao.qt.reports.get
批量查询质检报告,目前只支持查询qtType=11(天猫真假鉴定)类型的报告
func NewTaobaoQtReportsGetRequest ¶
func NewTaobaoQtReportsGetRequest() *TaobaoQtReportsGetRequest
初始化TaobaoQtReportsGetRequest对象
func (TaobaoQtReportsGetRequest) GetApiMethodName ¶
func (r TaobaoQtReportsGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoQtReportsGetRequest) GetApiParams ¶
func (r TaobaoQtReportsGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoQtReportsGetRequest) GetEndTime ¶
func (r TaobaoQtReportsGetRequest) GetEndTime() string
EndTime Getter
func (TaobaoQtReportsGetRequest) GetNick ¶
func (r TaobaoQtReportsGetRequest) GetNick() string
Nick Getter
func (TaobaoQtReportsGetRequest) GetQtType ¶
func (r TaobaoQtReportsGetRequest) GetQtType() int64
QtType Getter
func (TaobaoQtReportsGetRequest) GetServcieItemCode ¶
func (r TaobaoQtReportsGetRequest) GetServcieItemCode() string
ServcieItemCode Getter
func (TaobaoQtReportsGetRequest) GetSpName ¶
func (r TaobaoQtReportsGetRequest) GetSpName() string
SpName Getter
func (TaobaoQtReportsGetRequest) GetStartTime ¶
func (r TaobaoQtReportsGetRequest) GetStartTime() string
StartTime Getter
func (*TaobaoQtReportsGetRequest) SetEndTime ¶
func (r *TaobaoQtReportsGetRequest) SetEndTime(endTime string) error
EndTime Setter 查询时间段的结束时间
func (*TaobaoQtReportsGetRequest) SetNick ¶
func (r *TaobaoQtReportsGetRequest) SetNick(nick string) error
Nick Setter 送检者昵称
func (*TaobaoQtReportsGetRequest) SetQtType ¶
func (r *TaobaoQtReportsGetRequest) SetQtType(qtType int64) error
QtType Setter 质检类型,目前只支持查询qt_type=11的类型
func (*TaobaoQtReportsGetRequest) SetServcieItemCode ¶
func (r *TaobaoQtReportsGetRequest) SetServcieItemCode(servcieItemCode string) error
ServcieItemCode Setter 收费项code
func (*TaobaoQtReportsGetRequest) SetSpName ¶
func (r *TaobaoQtReportsGetRequest) SetSpName(spName string) error
SpName Setter 质检服务商名
func (*TaobaoQtReportsGetRequest) SetStartTime ¶
func (r *TaobaoQtReportsGetRequest) SetStartTime(startTime string) error
StartTime Setter 查询时间段的开始时间
type TaobaoQtReportsGetResponse ¶
type TaobaoQtReportsGetResponse 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"` }
批量查询质检报告 成功返回结果
type TaobaoTsPropertyGetAPIResponse ¶
type TaobaoTsPropertyGetAPIResponse struct { model.CommonResponse TaobaoTsPropertyGetResponse }
淘宝服务属性查询 API返回值 taobao.ts.property.get
淘宝服务属性查询
type TaobaoTsPropertyGetRequest ¶
淘宝服务属性查询 API请求 taobao.ts.property.get
淘宝服务属性查询
func NewTaobaoTsPropertyGetRequest ¶
func NewTaobaoTsPropertyGetRequest() *TaobaoTsPropertyGetRequest
初始化TaobaoTsPropertyGetRequest对象
func (TaobaoTsPropertyGetRequest) GetApiMethodName ¶
func (r TaobaoTsPropertyGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTsPropertyGetRequest) GetApiParams ¶
func (r TaobaoTsPropertyGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTsPropertyGetRequest) GetServiceItemCode ¶
func (r TaobaoTsPropertyGetRequest) GetServiceItemCode() string
ServiceItemCode Getter
func (*TaobaoTsPropertyGetRequest) SetServiceItemCode ¶
func (r *TaobaoTsPropertyGetRequest) SetServiceItemCode(serviceItemCode string) error
ServiceItemCode Setter 服务收费项code
type TaobaoTsPropertyGetResponse ¶
type TaobaoTsPropertyGetResponse 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"` }
淘宝服务属性查询 成功返回结果
type TaobaoTsSubscribeGetAPIResponse ¶
type TaobaoTsSubscribeGetAPIResponse struct { model.CommonResponse TaobaoTsSubscribeGetResponse }
淘宝服务订购关系查询 API返回值 taobao.ts.subscribe.get
ts订购关系状态查询. 暂只支持1口价服务.
type TaobaoTsSubscribeGetRequest ¶
淘宝服务订购关系查询 API请求 taobao.ts.subscribe.get
ts订购关系状态查询. 暂只支持1口价服务.
func NewTaobaoTsSubscribeGetRequest ¶
func NewTaobaoTsSubscribeGetRequest() *TaobaoTsSubscribeGetRequest
初始化TaobaoTsSubscribeGetRequest对象
func (TaobaoTsSubscribeGetRequest) GetApiMethodName ¶
func (r TaobaoTsSubscribeGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoTsSubscribeGetRequest) GetApiParams ¶
func (r TaobaoTsSubscribeGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoTsSubscribeGetRequest) GetNick ¶
func (r TaobaoTsSubscribeGetRequest) GetNick() string
Nick Getter
func (TaobaoTsSubscribeGetRequest) GetServcieItemCode ¶
func (r TaobaoTsSubscribeGetRequest) GetServcieItemCode() string
ServcieItemCode Getter
func (*TaobaoTsSubscribeGetRequest) SetNick ¶
func (r *TaobaoTsSubscribeGetRequest) SetNick(nick string) error
Nick Setter 订购用户昵称
func (*TaobaoTsSubscribeGetRequest) SetServcieItemCode ¶
func (r *TaobaoTsSubscribeGetRequest) SetServcieItemCode(servcieItemCode string) error
ServcieItemCode Setter 服务收费项code
type TaobaoTsSubscribeGetResponse ¶
type TaobaoTsSubscribeGetResponse 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"` }
淘宝服务订购关系查询 成功返回结果
Source Files ¶
- ItemPropertyValues.go
- QtReport.go
- QualityUsageDetail.go
- ServiceItemProperty.go
- ServiceSubscribe.go
- TaobaoQtReportAddRequest.go
- TaobaoQtReportAddResponse.go
- TaobaoQtReportDeleteRequest.go
- TaobaoQtReportDeleteResponse.go
- TaobaoQtReportGetRequest.go
- TaobaoQtReportGetResponse.go
- TaobaoQtReportUpdateRequest.go
- TaobaoQtReportUpdateResponse.go
- TaobaoQtReportsGetRequest.go
- TaobaoQtReportsGetResponse.go
- TaobaoTsPropertyGetRequest.go
- TaobaoTsPropertyGetResponse.go
- TaobaoTsSubscribeGetRequest.go
- TaobaoTsSubscribeGetResponse.go
- doc.go