Documentation ¶
Overview ¶
Package qt 包含质检品控API相关结构体
Index ¶
- func ReleaseItemPropertyValues(v *ItemPropertyValues)
- func ReleaseQtReport(v *QtReport)
- func ReleaseQualityUsageDetail(v *QualityUsageDetail)
- func ReleaseServiceItemProperty(v *ServiceItemProperty)
- func ReleaseServiceSubscribe(v *ServiceSubscribe)
- func ReleaseTaobaoQtReportAddAPIRequest(v *TaobaoQtReportAddAPIRequest)
- func ReleaseTaobaoQtReportAddAPIResponse(v *TaobaoQtReportAddAPIResponse)
- func ReleaseTaobaoQtReportDeleteAPIRequest(v *TaobaoQtReportDeleteAPIRequest)
- func ReleaseTaobaoQtReportDeleteAPIResponse(v *TaobaoQtReportDeleteAPIResponse)
- func ReleaseTaobaoQtReportGetAPIRequest(v *TaobaoQtReportGetAPIRequest)
- func ReleaseTaobaoQtReportGetAPIResponse(v *TaobaoQtReportGetAPIResponse)
- func ReleaseTaobaoQtReportUpdateAPIRequest(v *TaobaoQtReportUpdateAPIRequest)
- func ReleaseTaobaoQtReportUpdateAPIResponse(v *TaobaoQtReportUpdateAPIResponse)
- func ReleaseTaobaoQtReportsGetAPIRequest(v *TaobaoQtReportsGetAPIRequest)
- func ReleaseTaobaoQtReportsGetAPIResponse(v *TaobaoQtReportsGetAPIResponse)
- func ReleaseTaobaoTsPropertyGetAPIRequest(v *TaobaoTsPropertyGetAPIRequest)
- func ReleaseTaobaoTsPropertyGetAPIResponse(v *TaobaoTsPropertyGetAPIResponse)
- func ReleaseTaobaoTsSubscribeGetAPIRequest(v *TaobaoTsSubscribeGetAPIRequest)
- func ReleaseTaobaoTsSubscribeGetAPIResponse(v *TaobaoTsSubscribeGetAPIResponse)
- 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) Reset()
- 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) Reset()
- 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) Reset()
- 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) Reset()
- 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) Reset()
- 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) Reset()
- 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) Reset()
- 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 ¶
func ReleaseItemPropertyValues ¶ added in v1.3.4
func ReleaseItemPropertyValues(v *ItemPropertyValues)
ReleaseItemPropertyValues 释放ItemPropertyValues
func ReleaseQualityUsageDetail ¶ added in v1.3.4
func ReleaseQualityUsageDetail(v *QualityUsageDetail)
ReleaseQualityUsageDetail 释放QualityUsageDetail
func ReleaseServiceItemProperty ¶ added in v1.3.4
func ReleaseServiceItemProperty(v *ServiceItemProperty)
ReleaseServiceItemProperty 释放ServiceItemProperty
func ReleaseServiceSubscribe ¶ added in v1.3.4
func ReleaseServiceSubscribe(v *ServiceSubscribe)
ReleaseServiceSubscribe 释放ServiceSubscribe
func ReleaseTaobaoQtReportAddAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoQtReportAddAPIRequest(v *TaobaoQtReportAddAPIRequest)
ReleaseTaobaoQtReportAddAPIRequest 将 TaobaoQtReportAddAPIRequest 放入 sync.Pool
func ReleaseTaobaoQtReportAddAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoQtReportAddAPIResponse(v *TaobaoQtReportAddAPIResponse)
ReleaseTaobaoQtReportAddAPIResponse 将 TaobaoQtReportAddAPIResponse 保存到 sync.Pool
func ReleaseTaobaoQtReportDeleteAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoQtReportDeleteAPIRequest(v *TaobaoQtReportDeleteAPIRequest)
ReleaseTaobaoQtReportDeleteAPIRequest 将 TaobaoQtReportDeleteAPIRequest 放入 sync.Pool
func ReleaseTaobaoQtReportDeleteAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoQtReportDeleteAPIResponse(v *TaobaoQtReportDeleteAPIResponse)
ReleaseTaobaoQtReportDeleteAPIResponse 将 TaobaoQtReportDeleteAPIResponse 保存到 sync.Pool
func ReleaseTaobaoQtReportGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoQtReportGetAPIRequest(v *TaobaoQtReportGetAPIRequest)
ReleaseTaobaoQtReportGetAPIRequest 将 TaobaoQtReportGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoQtReportGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoQtReportGetAPIResponse(v *TaobaoQtReportGetAPIResponse)
ReleaseTaobaoQtReportGetAPIResponse 将 TaobaoQtReportGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoQtReportUpdateAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoQtReportUpdateAPIRequest(v *TaobaoQtReportUpdateAPIRequest)
ReleaseTaobaoQtReportUpdateAPIRequest 将 TaobaoQtReportUpdateAPIRequest 放入 sync.Pool
func ReleaseTaobaoQtReportUpdateAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoQtReportUpdateAPIResponse(v *TaobaoQtReportUpdateAPIResponse)
ReleaseTaobaoQtReportUpdateAPIResponse 将 TaobaoQtReportUpdateAPIResponse 保存到 sync.Pool
func ReleaseTaobaoQtReportsGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoQtReportsGetAPIRequest(v *TaobaoQtReportsGetAPIRequest)
ReleaseTaobaoQtReportsGetAPIRequest 将 TaobaoQtReportsGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoQtReportsGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoQtReportsGetAPIResponse(v *TaobaoQtReportsGetAPIResponse)
ReleaseTaobaoQtReportsGetAPIResponse 将 TaobaoQtReportsGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoTsPropertyGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoTsPropertyGetAPIRequest(v *TaobaoTsPropertyGetAPIRequest)
ReleaseTaobaoTsPropertyGetAPIRequest 将 TaobaoTsPropertyGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoTsPropertyGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoTsPropertyGetAPIResponse(v *TaobaoTsPropertyGetAPIResponse)
ReleaseTaobaoTsPropertyGetAPIResponse 将 TaobaoTsPropertyGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoTsSubscribeGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoTsSubscribeGetAPIRequest(v *TaobaoTsSubscribeGetAPIRequest)
ReleaseTaobaoTsSubscribeGetAPIRequest 将 TaobaoTsSubscribeGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoTsSubscribeGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoTsSubscribeGetAPIResponse(v *TaobaoTsSubscribeGetAPIResponse)
ReleaseTaobaoTsSubscribeGetAPIResponse 将 TaobaoTsSubscribeGetAPIResponse 保存到 sync.Pool
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 结构体
func GetItemPropertyValues ¶ added in v1.3.4
func GetItemPropertyValues() *ItemPropertyValues
GetItemPropertyValues() 从对象池中获取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 结构体
func GetQualityUsageDetail ¶ added in v1.3.4
func GetQualityUsageDetail() *QualityUsageDetail
GetQualityUsageDetail() 从对象池中获取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 结构体
func GetServiceItemProperty ¶ added in v1.3.4
func GetServiceItemProperty() *ServiceItemProperty
GetServiceItemProperty() 从对象池中获取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 结构体
func GetServiceSubscribe ¶ added in v1.3.4
func GetServiceSubscribe() *ServiceSubscribe
GetServiceSubscribe() 从对象池中获取ServiceSubscribe
type TaobaoQtReportAddAPIRequest ¶ added in v1.2.0
TaobaoQtReportAddAPIRequest 上传质检报告 API请求 taobao.qt.report.add
上传质检报告
func GetTaobaoQtReportAddAPIRequest ¶ added in v1.3.4
func GetTaobaoQtReportAddAPIRequest() *TaobaoQtReportAddAPIRequest
GetTaobaoQtReportAddRequest 从 sync.Pool 获取 TaobaoQtReportAddAPIRequest
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) Reset ¶ added in v1.3.4
func (r *TaobaoQtReportAddAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
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
上传质检报告
func GetTaobaoQtReportAddAPIResponse ¶ added in v1.3.4
func GetTaobaoQtReportAddAPIResponse() *TaobaoQtReportAddAPIResponse
GetTaobaoQtReportAddAPIResponse 从 sync.Pool 获取 TaobaoQtReportAddAPIResponse
func (*TaobaoQtReportAddAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoQtReportAddAPIResponse) Reset()
Reset 清空结构体
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 上传质检报告 成功返回结果
func (*TaobaoQtReportAddAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoQtReportAddAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoQtReportDeleteAPIRequest ¶ added in v1.2.0
type TaobaoQtReportDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoQtReportDeleteAPIRequest 质检报告删除接口 API请求 taobao.qt.report.delete
删除质检报告
func GetTaobaoQtReportDeleteAPIRequest ¶ added in v1.3.4
func GetTaobaoQtReportDeleteAPIRequest() *TaobaoQtReportDeleteAPIRequest
GetTaobaoQtReportDeleteRequest 从 sync.Pool 获取 TaobaoQtReportDeleteAPIRequest
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) Reset ¶ added in v1.3.4
func (r *TaobaoQtReportDeleteAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
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
删除质检报告
func GetTaobaoQtReportDeleteAPIResponse ¶ added in v1.3.4
func GetTaobaoQtReportDeleteAPIResponse() *TaobaoQtReportDeleteAPIResponse
GetTaobaoQtReportDeleteAPIResponse 从 sync.Pool 获取 TaobaoQtReportDeleteAPIResponse
func (*TaobaoQtReportDeleteAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoQtReportDeleteAPIResponse) Reset()
Reset 清空结构体
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 质检报告删除接口 成功返回结果
func (*TaobaoQtReportDeleteAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoQtReportDeleteAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoQtReportGetAPIRequest ¶ added in v1.2.0
TaobaoQtReportGetAPIRequest 查询质检报告 API请求 taobao.qt.report.get
质检报告查询
func GetTaobaoQtReportGetAPIRequest ¶ added in v1.3.4
func GetTaobaoQtReportGetAPIRequest() *TaobaoQtReportGetAPIRequest
GetTaobaoQtReportGetRequest 从 sync.Pool 获取 TaobaoQtReportGetAPIRequest
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) Reset ¶ added in v1.3.4
func (r *TaobaoQtReportGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
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
质检报告查询
func GetTaobaoQtReportGetAPIResponse ¶ added in v1.3.4
func GetTaobaoQtReportGetAPIResponse() *TaobaoQtReportGetAPIResponse
GetTaobaoQtReportGetAPIResponse 从 sync.Pool 获取 TaobaoQtReportGetAPIResponse
func (*TaobaoQtReportGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoQtReportGetAPIResponse) Reset()
Reset 清空结构体
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 查询质检报告 成功返回结果
func (*TaobaoQtReportGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoQtReportGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoQtReportUpdateAPIRequest ¶ added in v1.2.0
type TaobaoQtReportUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoQtReportUpdateAPIRequest 更新质检报告 API请求 taobao.qt.report.update
更新质检报告
func GetTaobaoQtReportUpdateAPIRequest ¶ added in v1.3.4
func GetTaobaoQtReportUpdateAPIRequest() *TaobaoQtReportUpdateAPIRequest
GetTaobaoQtReportUpdateRequest 从 sync.Pool 获取 TaobaoQtReportUpdateAPIRequest
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) Reset ¶ added in v1.3.4
func (r *TaobaoQtReportUpdateAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
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
更新质检报告
func GetTaobaoQtReportUpdateAPIResponse ¶ added in v1.3.4
func GetTaobaoQtReportUpdateAPIResponse() *TaobaoQtReportUpdateAPIResponse
GetTaobaoQtReportUpdateAPIResponse 从 sync.Pool 获取 TaobaoQtReportUpdateAPIResponse
func (*TaobaoQtReportUpdateAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoQtReportUpdateAPIResponse) Reset()
Reset 清空结构体
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 更新质检报告 成功返回结果
func (*TaobaoQtReportUpdateAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoQtReportUpdateAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoQtReportsGetAPIRequest ¶ added in v1.2.0
TaobaoQtReportsGetAPIRequest 批量查询质检报告 API请求 taobao.qt.reports.get
批量查询质检报告,目前只支持查询qtType=11(天猫真假鉴定)类型的报告
func GetTaobaoQtReportsGetAPIRequest ¶ added in v1.3.4
func GetTaobaoQtReportsGetAPIRequest() *TaobaoQtReportsGetAPIRequest
GetTaobaoQtReportsGetRequest 从 sync.Pool 获取 TaobaoQtReportsGetAPIRequest
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) Reset ¶ added in v1.3.4
func (r *TaobaoQtReportsGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
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(天猫真假鉴定)类型的报告
func GetTaobaoQtReportsGetAPIResponse ¶ added in v1.3.4
func GetTaobaoQtReportsGetAPIResponse() *TaobaoQtReportsGetAPIResponse
GetTaobaoQtReportsGetAPIResponse 从 sync.Pool 获取 TaobaoQtReportsGetAPIResponse
func (*TaobaoQtReportsGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoQtReportsGetAPIResponse) Reset()
Reset 清空结构体
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 批量查询质检报告 成功返回结果
func (*TaobaoQtReportsGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoQtReportsGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoTsPropertyGetAPIRequest ¶ added in v1.2.0
type TaobaoTsPropertyGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTsPropertyGetAPIRequest 淘宝服务属性查询 API请求 taobao.ts.property.get
淘宝服务属性查询
func GetTaobaoTsPropertyGetAPIRequest ¶ added in v1.3.4
func GetTaobaoTsPropertyGetAPIRequest() *TaobaoTsPropertyGetAPIRequest
GetTaobaoTsPropertyGetRequest 从 sync.Pool 获取 TaobaoTsPropertyGetAPIRequest
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) Reset ¶ added in v1.3.4
func (r *TaobaoTsPropertyGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
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
淘宝服务属性查询
func GetTaobaoTsPropertyGetAPIResponse ¶ added in v1.3.4
func GetTaobaoTsPropertyGetAPIResponse() *TaobaoTsPropertyGetAPIResponse
GetTaobaoTsPropertyGetAPIResponse 从 sync.Pool 获取 TaobaoTsPropertyGetAPIResponse
func (*TaobaoTsPropertyGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoTsPropertyGetAPIResponse) Reset()
Reset 清空结构体
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 淘宝服务属性查询 成功返回结果
func (*TaobaoTsPropertyGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoTsPropertyGetAPIResponseModel) Reset()
Reset 清空结构体
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 GetTaobaoTsSubscribeGetAPIRequest ¶ added in v1.3.4
func GetTaobaoTsSubscribeGetAPIRequest() *TaobaoTsSubscribeGetAPIRequest
GetTaobaoTsSubscribeGetRequest 从 sync.Pool 获取 TaobaoTsSubscribeGetAPIRequest
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) Reset ¶ added in v1.3.4
func (r *TaobaoTsSubscribeGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
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口价服务.
func GetTaobaoTsSubscribeGetAPIResponse ¶ added in v1.3.4
func GetTaobaoTsSubscribeGetAPIResponse() *TaobaoTsSubscribeGetAPIResponse
GetTaobaoTsSubscribeGetAPIResponse 从 sync.Pool 获取 TaobaoTsSubscribeGetAPIResponse
func (*TaobaoTsSubscribeGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoTsSubscribeGetAPIResponse) Reset()
Reset 清空结构体
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 淘宝服务订购关系查询 成功返回结果
func (*TaobaoTsSubscribeGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoTsSubscribeGetAPIResponseModel) Reset()
Reset 清空结构体
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