tmallservice

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package tmallservice 包含天猫服务商品API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=49044

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptWorkcardRequest added in v1.2.9

type AcceptWorkcardRequest struct {
	// 工单号
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
}

AcceptWorkcardRequest 结构体

type AddressDto

type AddressDto struct {
	// 省/市/区/街道
	AddressNames []string `json:"address_names,omitempty" xml:"address_names>string,omitempty"`
	// 详细地址,街到门牌,
	AddressDetail string `json:"address_detail,omitempty" xml:"address_detail,omitempty"`
}

AddressDto 结构体

type AlibabamallitemcenterentitledservicesupplierqueryAPIRequest added in v1.3.1

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

AlibabamallitemcenterentitledservicesupplierqueryAPIRequest 根据天猫id查询门店服务授权 API请求 alibaba.mallitemcenter.entitledservice.supplier.query

根据天猫id查询门店服务授权

func NewAlibabamallitemcenterentitledservicesupplierqueryRequest added in v1.3.1

func NewAlibabamallitemcenterentitledservicesupplierqueryRequest() *AlibabamallitemcenterentitledservicesupplierqueryAPIRequest

NewAlibabamallitemcenterentitledservicesupplierqueryRequest 初始化AlibabamallitemcenterentitledservicesupplierqueryAPIRequest对象

func (AlibabamallitemcenterentitledservicesupplierqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamallitemcenterentitledservicesupplierqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamallitemcenterentitledservicesupplierqueryAPIRequest) GetCurrentPage added in v1.3.1

GetCurrentPage CurrentPage Getter

func (AlibabamallitemcenterentitledservicesupplierqueryAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (AlibabamallitemcenterentitledservicesupplierqueryAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (AlibabamallitemcenterentitledservicesupplierqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamallitemcenterentitledservicesupplierqueryAPIRequest) SetCurrentPage added in v1.3.1

SetCurrentPage is CurrentPage Setter 第几页

func (*AlibabamallitemcenterentitledservicesupplierqueryAPIRequest) SetId added in v1.3.1

SetId is Id Setter 天猫id

func (*AlibabamallitemcenterentitledservicesupplierqueryAPIRequest) SetPageSize added in v1.3.1

SetPageSize is PageSize Setter 每页条数

type AlibabamallitemcenterentitledservicesupplierqueryAPIResponse added in v1.3.1

type AlibabamallitemcenterentitledservicesupplierqueryAPIResponse struct {
	model.CommonResponse
	AlibabamallitemcenterentitledservicesupplierqueryAPIResponseModel
}

AlibabamallitemcenterentitledservicesupplierqueryAPIResponse 根据天猫id查询门店服务授权 API返回值 alibaba.mallitemcenter.entitledservice.supplier.query

根据天猫id查询门店服务授权

type AlibabamallitemcenterentitledservicesupplierqueryAPIResponseModel added in v1.3.1

type AlibabamallitemcenterentitledservicesupplierqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mallitemcenter_entitledservice_supplier_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 统一返回结果
	Result *AlibabamallitemcenterentitledservicesupplierqueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabamallitemcenterentitledservicesupplierqueryAPIResponseModel is 根据天猫id查询门店服务授权 成功返回结果

type AlibabamallitemcenterentitledservicesupplierqueryResult added in v1.3.1

type AlibabamallitemcenterentitledservicesupplierqueryResult struct {
	// 接口返回model
	ResultData *ResultData `json:"result_data,omitempty" xml:"result_data,omitempty"`
}

AlibabamallitemcenterentitledservicesupplierqueryResult 结构体

type AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIRequest added in v1.3.1

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

AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIRequest 修改消费者服务地址 API请求 alibaba.servicecenter.fulfiltask.buyeraddress.change

当消费者反馈自己的服务地址错误时,可以电话联系服务商修改为正确地址,服务商只能修改派给自己的单子

func NewAlibabaservicecenterfulfiltaskbuyeraddresschangeRequest added in v1.3.1

func NewAlibabaservicecenterfulfiltaskbuyeraddresschangeRequest() *AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIRequest

NewAlibabaservicecenterfulfiltaskbuyeraddresschangeRequest 初始化AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIRequest对象

func (AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIRequest) GetAddressDetail added in v1.3.1

GetAddressDetail AddressDetail Getter

func (AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIRequest) GetFulfilTaskId added in v1.3.1

GetFulfilTaskId FulfilTaskId Getter

func (AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIRequest) GetLocation added in v1.3.1

GetLocation Location Getter

func (AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIRequest) SetAddressDetail added in v1.3.1

func (r *AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIRequest) SetAddressDetail(_addressDetail string) error

SetAddressDetail is AddressDetail Setter 详细地址

func (*AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIRequest) SetFulfilTaskId added in v1.3.1

SetFulfilTaskId is FulfilTaskId Setter 核销单id

func (*AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIRequest) SetLocation added in v1.3.1

SetLocation is Location Setter 地址编码

type AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIResponse added in v1.3.1

type AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIResponse struct {
	model.CommonResponse
	AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIResponseModel
}

AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIResponse 修改消费者服务地址 API返回值 alibaba.servicecenter.fulfiltask.buyeraddress.change

当消费者反馈自己的服务地址错误时,可以电话联系服务商修改为正确地址,服务商只能修改派给自己的单子

type AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIResponseModel added in v1.3.1

type AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_servicecenter_fulfiltask_buyeraddress_change_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaservicecenterfulfiltaskbuyeraddresschangeResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaservicecenterfulfiltaskbuyeraddresschangeAPIResponseModel is 修改消费者服务地址 成功返回结果

type AlibabaservicecenterfulfiltaskbuyeraddresschangeResult added in v1.3.1

type AlibabaservicecenterfulfiltaskbuyeraddresschangeResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaservicecenterfulfiltaskbuyeraddresschangeResult 结构体

type AlibabaservicecenterfulfiltaskcreateAPIRequest added in v1.3.1

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

AlibabaservicecenterfulfiltaskcreateAPIRequest 合单生成核销单 API请求 alibaba.servicecenter.fulfiltask.create

服务对工单进行合单,合单的结果是生成核销单

func NewAlibabaservicecenterfulfiltaskcreateRequest added in v1.3.1

func NewAlibabaservicecenterfulfiltaskcreateRequest() *AlibabaservicecenterfulfiltaskcreateAPIRequest

NewAlibabaservicecenterfulfiltaskcreateRequest 初始化AlibabaservicecenterfulfiltaskcreateAPIRequest对象

func (AlibabaservicecenterfulfiltaskcreateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaservicecenterfulfiltaskcreateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaservicecenterfulfiltaskcreateAPIRequest) GetOuterId added in v1.3.1

GetOuterId OuterId Getter

func (AlibabaservicecenterfulfiltaskcreateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaservicecenterfulfiltaskcreateAPIRequest) GetWorkcardIds added in v1.3.1

GetWorkcardIds WorkcardIds Getter

func (*AlibabaservicecenterfulfiltaskcreateAPIRequest) SetOuterId added in v1.3.1

SetOuterId is OuterId Setter 外部单号

func (*AlibabaservicecenterfulfiltaskcreateAPIRequest) SetWorkcardIds added in v1.3.1

func (r *AlibabaservicecenterfulfiltaskcreateAPIRequest) SetWorkcardIds(_workcardIds []int64) error

SetWorkcardIds is WorkcardIds Setter 工单id列表

type AlibabaservicecenterfulfiltaskcreateAPIResponse added in v1.3.1

type AlibabaservicecenterfulfiltaskcreateAPIResponse struct {
	model.CommonResponse
	AlibabaservicecenterfulfiltaskcreateAPIResponseModel
}

AlibabaservicecenterfulfiltaskcreateAPIResponse 合单生成核销单 API返回值 alibaba.servicecenter.fulfiltask.create

服务对工单进行合单,合单的结果是生成核销单

type AlibabaservicecenterfulfiltaskcreateAPIResponseModel added in v1.3.1

type AlibabaservicecenterfulfiltaskcreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_servicecenter_fulfiltask_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaservicecenterfulfiltaskcreateResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaservicecenterfulfiltaskcreateAPIResponseModel is 合单生成核销单 成功返回结果

type AlibabaservicecenterfulfiltaskcreateResult added in v1.3.1

type AlibabaservicecenterfulfiltaskcreateResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 核销单id
	FulfilTaskId int64 `json:"fulfil_task_id,omitempty" xml:"fulfil_task_id,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaservicecenterfulfiltaskcreateResult 结构体

type AlibabaservicecenterfulfiltaskqueryAPIRequest added in v1.3.1

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

AlibabaservicecenterfulfiltaskqueryAPIRequest 核销单查询 API请求 alibaba.servicecenter.fulfiltask.query

当系统生成核销单之后,需要派单到服务商,服务商根据核销里的服务信息和用户信息,给消费者提供服务

func NewAlibabaservicecenterfulfiltaskqueryRequest added in v1.3.1

func NewAlibabaservicecenterfulfiltaskqueryRequest() *AlibabaservicecenterfulfiltaskqueryAPIRequest

NewAlibabaservicecenterfulfiltaskqueryRequest 初始化AlibabaservicecenterfulfiltaskqueryAPIRequest对象

func (AlibabaservicecenterfulfiltaskqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaservicecenterfulfiltaskqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaservicecenterfulfiltaskqueryAPIRequest) GetCurrentPage added in v1.3.1

GetCurrentPage CurrentPage Getter

func (AlibabaservicecenterfulfiltaskqueryAPIRequest) GetFulfilTaskIdList added in v1.3.1

func (r AlibabaservicecenterfulfiltaskqueryAPIRequest) GetFulfilTaskIdList() []int64

GetFulfilTaskIdList FulfilTaskIdList Getter

func (AlibabaservicecenterfulfiltaskqueryAPIRequest) GetGmtCreateEnd added in v1.3.1

GetGmtCreateEnd GmtCreateEnd Getter

func (AlibabaservicecenterfulfiltaskqueryAPIRequest) GetGmtCreateStart added in v1.3.1

GetGmtCreateStart GmtCreateStart Getter

func (AlibabaservicecenterfulfiltaskqueryAPIRequest) GetOuterId added in v1.3.1

GetOuterId OuterId Getter

func (AlibabaservicecenterfulfiltaskqueryAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (AlibabaservicecenterfulfiltaskqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaservicecenterfulfiltaskqueryAPIRequest) SetCurrentPage added in v1.3.1

func (r *AlibabaservicecenterfulfiltaskqueryAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 查询第几页

func (*AlibabaservicecenterfulfiltaskqueryAPIRequest) SetFulfilTaskIdList added in v1.3.1

func (r *AlibabaservicecenterfulfiltaskqueryAPIRequest) SetFulfilTaskIdList(_fulfilTaskIdList []int64) error

SetFulfilTaskIdList is FulfilTaskIdList Setter 核销单id列表

func (*AlibabaservicecenterfulfiltaskqueryAPIRequest) SetGmtCreateEnd added in v1.3.1

func (r *AlibabaservicecenterfulfiltaskqueryAPIRequest) SetGmtCreateEnd(_gmtCreateEnd string) error

SetGmtCreateEnd is GmtCreateEnd Setter 时间段查询,核销单创建时间,时间段跨度不超过15分钟

func (*AlibabaservicecenterfulfiltaskqueryAPIRequest) SetGmtCreateStart added in v1.3.1

func (r *AlibabaservicecenterfulfiltaskqueryAPIRequest) SetGmtCreateStart(_gmtCreateStart string) error

SetGmtCreateStart is GmtCreateStart Setter 时间段查询,核销单创建时间,时间段跨度不超过15分钟

func (*AlibabaservicecenterfulfiltaskqueryAPIRequest) SetOuterId added in v1.3.1

SetOuterId is OuterId Setter 核销单外部单号

func (*AlibabaservicecenterfulfiltaskqueryAPIRequest) SetPageSize added in v1.3.1

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

SetPageSize is PageSize Setter 每页条数,默认50,最大50

type AlibabaservicecenterfulfiltaskqueryAPIResponse added in v1.3.1

type AlibabaservicecenterfulfiltaskqueryAPIResponse struct {
	model.CommonResponse
	AlibabaservicecenterfulfiltaskqueryAPIResponseModel
}

AlibabaservicecenterfulfiltaskqueryAPIResponse 核销单查询 API返回值 alibaba.servicecenter.fulfiltask.query

当系统生成核销单之后,需要派单到服务商,服务商根据核销里的服务信息和用户信息,给消费者提供服务

type AlibabaservicecenterfulfiltaskqueryAPIResponseModel added in v1.3.1

type AlibabaservicecenterfulfiltaskqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_servicecenter_fulfiltask_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *PagedResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaservicecenterfulfiltaskqueryAPIResponseModel is 核销单查询 成功返回结果

type AlibabaservicecenteridentifytaskcreateAPIRequest added in v1.3.1

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

AlibabaservicecenteridentifytaskcreateAPIRequest 创建核销单 API请求 alibaba.servicecenter.identifytask.create

创建核销单

func NewAlibabaservicecenteridentifytaskcreateRequest added in v1.3.1

func NewAlibabaservicecenteridentifytaskcreateRequest() *AlibabaservicecenteridentifytaskcreateAPIRequest

NewAlibabaservicecenteridentifytaskcreateRequest 初始化AlibabaservicecenteridentifytaskcreateAPIRequest对象

func (AlibabaservicecenteridentifytaskcreateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaservicecenteridentifytaskcreateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaservicecenteridentifytaskcreateAPIRequest) GetOuterId added in v1.3.1

GetOuterId OuterId Getter

func (AlibabaservicecenteridentifytaskcreateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaservicecenteridentifytaskcreateAPIRequest) GetWorkcardIds added in v1.3.1

GetWorkcardIds WorkcardIds Getter

func (*AlibabaservicecenteridentifytaskcreateAPIRequest) SetOuterId added in v1.3.1

SetOuterId is OuterId Setter 核销单外部标识,服务商保证唯一。如果创建核销单时传入重复的outer_id,系统直接会返回服务商下该outer_id对应的核销单,不会重新创建新核销单。

func (*AlibabaservicecenteridentifytaskcreateAPIRequest) SetWorkcardIds added in v1.3.1

func (r *AlibabaservicecenteridentifytaskcreateAPIRequest) SetWorkcardIds(_workcardIds []int64) error

SetWorkcardIds is WorkcardIds Setter 工单集合

type AlibabaservicecenteridentifytaskcreateAPIResponse added in v1.3.1

type AlibabaservicecenteridentifytaskcreateAPIResponse struct {
	model.CommonResponse
	AlibabaservicecenteridentifytaskcreateAPIResponseModel
}

AlibabaservicecenteridentifytaskcreateAPIResponse 创建核销单 API返回值 alibaba.servicecenter.identifytask.create

创建核销单

type AlibabaservicecenteridentifytaskcreateAPIResponseModel added in v1.3.1

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

AlibabaservicecenteridentifytaskcreateAPIResponseModel is 创建核销单 成功返回结果

type AlibabaservicecenterspserviceorderqueryAPIRequest added in v1.3.1

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

AlibabaservicecenterspserviceorderqueryAPIRequest 服务供应链服务单查询 API请求 alibaba.servicecenter.spserviceorder.query

服务供应链服务单查询,服务商通过此接口拉取用户的购买的服务信息,以此为依据为用户提供安装维修等服务

func NewAlibabaservicecenterspserviceorderqueryRequest added in v1.3.1

func NewAlibabaservicecenterspserviceorderqueryRequest() *AlibabaservicecenterspserviceorderqueryAPIRequest

NewAlibabaservicecenterspserviceorderqueryRequest 初始化AlibabaservicecenterspserviceorderqueryAPIRequest对象

func (AlibabaservicecenterspserviceorderqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaservicecenterspserviceorderqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaservicecenterspserviceorderqueryAPIRequest) GetCurrentPage added in v1.3.1

GetCurrentPage CurrentPage Getter

func (AlibabaservicecenterspserviceorderqueryAPIRequest) GetGmtModifiedEnd added in v1.3.1

GetGmtModifiedEnd GmtModifiedEnd Getter

func (AlibabaservicecenterspserviceorderqueryAPIRequest) GetGmtModifiedStart added in v1.3.1

GetGmtModifiedStart GmtModifiedStart Getter

func (AlibabaservicecenterspserviceorderqueryAPIRequest) GetMasterParentBizOrderId added in v1.3.1

func (r AlibabaservicecenterspserviceorderqueryAPIRequest) GetMasterParentBizOrderId() int64

GetMasterParentBizOrderId MasterParentBizOrderId Getter

func (AlibabaservicecenterspserviceorderqueryAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (AlibabaservicecenterspserviceorderqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaservicecenterspserviceorderqueryAPIRequest) GetSpServiceOrderId added in v1.3.1

GetSpServiceOrderId SpServiceOrderId Getter

func (AlibabaservicecenterspserviceorderqueryAPIRequest) GetStatusCodes added in v1.3.1

GetStatusCodes StatusCodes Getter

func (*AlibabaservicecenterspserviceorderqueryAPIRequest) SetCurrentPage added in v1.3.1

func (r *AlibabaservicecenterspserviceorderqueryAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 查询第几页,默认1

func (*AlibabaservicecenterspserviceorderqueryAPIRequest) SetGmtModifiedEnd added in v1.3.1

func (r *AlibabaservicecenterspserviceorderqueryAPIRequest) SetGmtModifiedEnd(_gmtModifiedEnd string) error

SetGmtModifiedEnd is GmtModifiedEnd Setter 服务单修改时间(时间段15分钟以内)(包含时分秒)

func (*AlibabaservicecenterspserviceorderqueryAPIRequest) SetGmtModifiedStart added in v1.3.1

func (r *AlibabaservicecenterspserviceorderqueryAPIRequest) SetGmtModifiedStart(_gmtModifiedStart string) error

SetGmtModifiedStart is GmtModifiedStart Setter 服务单修改时间(包含时分秒)

func (*AlibabaservicecenterspserviceorderqueryAPIRequest) SetMasterParentBizOrderId added in v1.3.1

func (r *AlibabaservicecenterspserviceorderqueryAPIRequest) SetMasterParentBizOrderId(_masterParentBizOrderId int64) error

SetMasterParentBizOrderId is MasterParentBizOrderId Setter 实物主订单id(消费者在淘宝订单里看到的订单号)

func (*AlibabaservicecenterspserviceorderqueryAPIRequest) SetPageSize added in v1.3.1

SetPageSize is PageSize Setter 每页大小,默认50,最大50

func (*AlibabaservicecenterspserviceorderqueryAPIRequest) SetSpServiceOrderId added in v1.3.1

func (r *AlibabaservicecenterspserviceorderqueryAPIRequest) SetSpServiceOrderId(_spServiceOrderId int64) error

SetSpServiceOrderId is SpServiceOrderId Setter 服务单id

func (*AlibabaservicecenterspserviceorderqueryAPIRequest) SetStatusCodes added in v1.3.1

func (r *AlibabaservicecenterspserviceorderqueryAPIRequest) SetStatusCodes(_statusCodes string) error

SetStatusCodes is StatusCodes Setter 状态码,可传多个

type AlibabaservicecenterspserviceorderqueryAPIResponse added in v1.3.1

type AlibabaservicecenterspserviceorderqueryAPIResponse struct {
	model.CommonResponse
	AlibabaservicecenterspserviceorderqueryAPIResponseModel
}

AlibabaservicecenterspserviceorderqueryAPIResponse 服务供应链服务单查询 API返回值 alibaba.servicecenter.spserviceorder.query

服务供应链服务单查询,服务商通过此接口拉取用户的购买的服务信息,以此为依据为用户提供安装维修等服务

type AlibabaservicecenterspserviceorderqueryAPIResponseModel added in v1.3.1

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

AlibabaservicecenterspserviceorderqueryAPIResponseModel is 服务供应链服务单查询 成功返回结果

type AlibabaservicecenterspserviceorderqueryResult added in v1.3.1

type AlibabaservicecenterspserviceorderqueryResult struct {
	// 错误描述
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 分页数据
	ResultData *Paged `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaservicecenterspserviceorderqueryResult 结构体

type AlibabaservicecenterspserviceorderupdateAPIRequest added in v1.3.1

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

AlibabaservicecenterspserviceorderupdateAPIRequest 服务供应链服务单更新 API请求 alibaba.servicecenter.spserviceorder.update

服务供应链服务单更新,服务商通过此接口将商品的sn等信息推送到服务单中

func NewAlibabaservicecenterspserviceorderupdateRequest added in v1.3.1

func NewAlibabaservicecenterspserviceorderupdateRequest() *AlibabaservicecenterspserviceorderupdateAPIRequest

NewAlibabaservicecenterspserviceorderupdateRequest 初始化AlibabaservicecenterspserviceorderupdateAPIRequest对象

func (AlibabaservicecenterspserviceorderupdateAPIRequest) GetAction added in v1.3.1

GetAction Action Getter

func (AlibabaservicecenterspserviceorderupdateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaservicecenterspserviceorderupdateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaservicecenterspserviceorderupdateAPIRequest) GetGmtEffect added in v1.3.1

GetGmtEffect GmtEffect Getter

func (AlibabaservicecenterspserviceorderupdateAPIRequest) GetGmtExpire added in v1.3.1

GetGmtExpire GmtExpire Getter

func (AlibabaservicecenterspserviceorderupdateAPIRequest) GetNewSn added in v1.3.1

GetNewSn NewSn Getter

func (AlibabaservicecenterspserviceorderupdateAPIRequest) GetOldSn added in v1.3.1

GetOldSn OldSn Getter

func (AlibabaservicecenterspserviceorderupdateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaservicecenterspserviceorderupdateAPIRequest) GetSpServiceOrderId added in v1.3.1

GetSpServiceOrderId SpServiceOrderId Getter

func (*AlibabaservicecenterspserviceorderupdateAPIRequest) SetAction added in v1.3.1

SetAction is Action Setter 新设备sn.当action填写addSn、changeSn时必填

func (*AlibabaservicecenterspserviceorderupdateAPIRequest) SetGmtEffect added in v1.3.1

SetGmtEffect is GmtEffect Setter 服务有效期开始时间

func (*AlibabaservicecenterspserviceorderupdateAPIRequest) SetGmtExpire added in v1.3.1

SetGmtExpire is GmtExpire Setter 服务过期时间

func (*AlibabaservicecenterspserviceorderupdateAPIRequest) SetNewSn added in v1.3.1

SetNewSn is NewSn Setter 新设备sn.当action填写addSn、changeSn时必填

func (*AlibabaservicecenterspserviceorderupdateAPIRequest) SetOldSn added in v1.3.1

SetOldSn is OldSn Setter 旧设备sn,当action填写changeSn时必填

func (*AlibabaservicecenterspserviceorderupdateAPIRequest) SetSpServiceOrderId added in v1.3.1

func (r *AlibabaservicecenterspserviceorderupdateAPIRequest) SetSpServiceOrderId(_spServiceOrderId int64) error

SetSpServiceOrderId is SpServiceOrderId Setter 服务单id

type AlibabaservicecenterspserviceorderupdateAPIResponse added in v1.3.1

type AlibabaservicecenterspserviceorderupdateAPIResponse struct {
	model.CommonResponse
	AlibabaservicecenterspserviceorderupdateAPIResponseModel
}

AlibabaservicecenterspserviceorderupdateAPIResponse 服务供应链服务单更新 API返回值 alibaba.servicecenter.spserviceorder.update

服务供应链服务单更新,服务商通过此接口将商品的sn等信息推送到服务单中

type AlibabaservicecenterspserviceorderupdateAPIResponseModel added in v1.3.1

type AlibabaservicecenterspserviceorderupdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_servicecenter_spserviceorder_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaservicecenterspserviceorderupdateResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaservicecenterspserviceorderupdateAPIResponseModel is 服务供应链服务单更新 成功返回结果

type AlibabaservicecenterspserviceorderupdateResult added in v1.3.1

type AlibabaservicecenterspserviceorderupdateResult struct {
	// 错误描述
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误描述
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaservicecenterspserviceorderupdateResult 结构体

type AlibabaservicecenterworkcardcancelAPIRequest added in v1.3.1

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

AlibabaservicecenterworkcardcancelAPIRequest 服务平台工单取消接口 API请求 alibaba.servicecenter.workcard.cancel

取消服务工单

func NewAlibabaservicecenterworkcardcancelRequest added in v1.3.1

func NewAlibabaservicecenterworkcardcancelRequest() *AlibabaservicecenterworkcardcancelAPIRequest

NewAlibabaservicecenterworkcardcancelRequest 初始化AlibabaservicecenterworkcardcancelAPIRequest对象

func (AlibabaservicecenterworkcardcancelAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaservicecenterworkcardcancelAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaservicecenterworkcardcancelAPIRequest) GetMemo added in v1.3.1

GetMemo Memo Getter

func (AlibabaservicecenterworkcardcancelAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaservicecenterworkcardcancelAPIRequest) GetRealTpNick added in v1.3.1

GetRealTpNick RealTpNick Getter

func (AlibabaservicecenterworkcardcancelAPIRequest) GetReasonCode added in v1.3.1

GetReasonCode ReasonCode Getter

func (AlibabaservicecenterworkcardcancelAPIRequest) GetReasonDesc added in v1.3.1

GetReasonDesc ReasonDesc Getter

func (AlibabaservicecenterworkcardcancelAPIRequest) GetServiceOrderId added in v1.3.1

GetServiceOrderId ServiceOrderId Getter

func (AlibabaservicecenterworkcardcancelAPIRequest) GetType added in v1.3.1

GetType Type Getter

func (AlibabaservicecenterworkcardcancelAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*AlibabaservicecenterworkcardcancelAPIRequest) SetMemo added in v1.3.1

SetMemo is Memo Setter 取消备注

func (*AlibabaservicecenterworkcardcancelAPIRequest) SetRealTpNick added in v1.3.1

func (r *AlibabaservicecenterworkcardcancelAPIRequest) SetRealTpNick(_realTpNick string) error

SetRealTpNick is RealTpNick Setter 真实服务商昵称

func (*AlibabaservicecenterworkcardcancelAPIRequest) SetReasonCode added in v1.3.1

func (r *AlibabaservicecenterworkcardcancelAPIRequest) SetReasonCode(_reasonCode int64) error

SetReasonCode is ReasonCode Setter 原因code

func (*AlibabaservicecenterworkcardcancelAPIRequest) SetReasonDesc added in v1.3.1

func (r *AlibabaservicecenterworkcardcancelAPIRequest) SetReasonDesc(_reasonDesc string) error

SetReasonDesc is ReasonDesc Setter 原因desc

func (*AlibabaservicecenterworkcardcancelAPIRequest) SetServiceOrderId added in v1.3.1

func (r *AlibabaservicecenterworkcardcancelAPIRequest) SetServiceOrderId(_serviceOrderId int64) error

SetServiceOrderId is ServiceOrderId Setter 服务单id

func (*AlibabaservicecenterworkcardcancelAPIRequest) SetType added in v1.3.1

SetType is Type Setter 请求来源类型

func (*AlibabaservicecenterworkcardcancelAPIRequest) SetWorkcardId added in v1.3.1

func (r *AlibabaservicecenterworkcardcancelAPIRequest) SetWorkcardId(_workcardId int64) error

SetWorkcardId is WorkcardId Setter 工单id

type AlibabaservicecenterworkcardcancelAPIResponse added in v1.3.1

type AlibabaservicecenterworkcardcancelAPIResponse struct {
	model.CommonResponse
	AlibabaservicecenterworkcardcancelAPIResponseModel
}

AlibabaservicecenterworkcardcancelAPIResponse 服务平台工单取消接口 API返回值 alibaba.servicecenter.workcard.cancel

取消服务工单

type AlibabaservicecenterworkcardcancelAPIResponseModel added in v1.3.1

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

AlibabaservicecenterworkcardcancelAPIResponseModel is 服务平台工单取消接口 成功返回结果

type AlibabaservicecenterworkcardcreateAPIRequest added in v1.3.1

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

AlibabaservicecenterworkcardcreateAPIRequest 服务平台工单创建接口 API请求 alibaba.servicecenter.workcard.create

创建服务平台工单

func NewAlibabaservicecenterworkcardcreateRequest added in v1.3.1

func NewAlibabaservicecenterworkcardcreateRequest() *AlibabaservicecenterworkcardcreateAPIRequest

NewAlibabaservicecenterworkcardcreateRequest 初始化AlibabaservicecenterworkcardcreateAPIRequest对象

func (AlibabaservicecenterworkcardcreateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaservicecenterworkcardcreateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaservicecenterworkcardcreateAPIRequest) GetAttributes added in v1.3.1

GetAttributes Attributes Getter

func (AlibabaservicecenterworkcardcreateAPIRequest) GetOuterId added in v1.3.1

GetOuterId OuterId Getter

func (AlibabaservicecenterworkcardcreateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaservicecenterworkcardcreateAPIRequest) GetServiceCount added in v1.3.1

GetServiceCount ServiceCount Getter

func (AlibabaservicecenterworkcardcreateAPIRequest) GetServiceProvider added in v1.3.1

GetServiceProvider ServiceProvider Getter

func (AlibabaservicecenterworkcardcreateAPIRequest) GetServiceSequence added in v1.3.1

func (r AlibabaservicecenterworkcardcreateAPIRequest) GetServiceSequence() int64

GetServiceSequence ServiceSequence Getter

func (AlibabaservicecenterworkcardcreateAPIRequest) GetSpServiceOrderId added in v1.3.1

func (r AlibabaservicecenterworkcardcreateAPIRequest) GetSpServiceOrderId() int64

GetSpServiceOrderId SpServiceOrderId Getter

func (*AlibabaservicecenterworkcardcreateAPIRequest) SetAttributes added in v1.3.1

func (r *AlibabaservicecenterworkcardcreateAPIRequest) SetAttributes(_attributes string) error

SetAttributes is Attributes Setter 工单属性,json格式字符串

func (*AlibabaservicecenterworkcardcreateAPIRequest) SetOuterId added in v1.3.1

SetOuterId is OuterId Setter 工单外部唯一键单号

func (*AlibabaservicecenterworkcardcreateAPIRequest) SetServiceCount added in v1.3.1

func (r *AlibabaservicecenterworkcardcreateAPIRequest) SetServiceCount(_serviceCount int64) error

SetServiceCount is ServiceCount Setter 申请次数

func (*AlibabaservicecenterworkcardcreateAPIRequest) SetServiceProvider added in v1.3.1

func (r *AlibabaservicecenterworkcardcreateAPIRequest) SetServiceProvider(_serviceProvider *ServiceProviderDto) error

SetServiceProvider is ServiceProvider Setter 服务提供者信息

func (*AlibabaservicecenterworkcardcreateAPIRequest) SetServiceSequence added in v1.3.1

func (r *AlibabaservicecenterworkcardcreateAPIRequest) SetServiceSequence(_serviceSequence int64) error

SetServiceSequence is ServiceSequence Setter 申请工单时的序号,对应服务单上的serviceSequence。用于控制幂等,防重复提交

func (*AlibabaservicecenterworkcardcreateAPIRequest) SetSpServiceOrderId added in v1.3.1

func (r *AlibabaservicecenterworkcardcreateAPIRequest) SetSpServiceOrderId(_spServiceOrderId int64) error

SetSpServiceOrderId is SpServiceOrderId Setter 服务单id

type AlibabaservicecenterworkcardcreateAPIResponse added in v1.3.1

type AlibabaservicecenterworkcardcreateAPIResponse struct {
	model.CommonResponse
	AlibabaservicecenterworkcardcreateAPIResponseModel
}

AlibabaservicecenterworkcardcreateAPIResponse 服务平台工单创建接口 API返回值 alibaba.servicecenter.workcard.create

创建服务平台工单

type AlibabaservicecenterworkcardcreateAPIResponseModel added in v1.3.1

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

AlibabaservicecenterworkcardcreateAPIResponseModel is 服务平台工单创建接口 成功返回结果

type AlibabaservicecenterworkcardserviceprogressupdateAPIRequest added in v1.3.1

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

AlibabaservicecenterworkcardserviceprogressupdateAPIRequest 更新服务进度 API请求 alibaba.servicecenter.workcard.serviceprogress.update

提供给外部合作服务商更新服务进度的接口

func NewAlibabaservicecenterworkcardserviceprogressupdateRequest added in v1.3.1

func NewAlibabaservicecenterworkcardserviceprogressupdateRequest() *AlibabaservicecenterworkcardserviceprogressupdateAPIRequest

NewAlibabaservicecenterworkcardserviceprogressupdateRequest 初始化AlibabaservicecenterworkcardserviceprogressupdateAPIRequest对象

func (AlibabaservicecenterworkcardserviceprogressupdateAPIRequest) GetAction added in v1.3.1

GetAction Action Getter

func (AlibabaservicecenterworkcardserviceprogressupdateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaservicecenterworkcardserviceprogressupdateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaservicecenterworkcardserviceprogressupdateAPIRequest) GetExtendInfo added in v1.3.1

GetExtendInfo ExtendInfo Getter

func (AlibabaservicecenterworkcardserviceprogressupdateAPIRequest) GetPicUrlList added in v1.3.1

GetPicUrlList PicUrlList Getter

func (AlibabaservicecenterworkcardserviceprogressupdateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaservicecenterworkcardserviceprogressupdateAPIRequest) GetRealTpNick added in v1.3.1

GetRealTpNick RealTpNick Getter

func (AlibabaservicecenterworkcardserviceprogressupdateAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*AlibabaservicecenterworkcardserviceprogressupdateAPIRequest) SetAction added in v1.3.1

SetAction is Action Setter 请求节点的动作描述,唯一标识一个节点

func (*AlibabaservicecenterworkcardserviceprogressupdateAPIRequest) SetExtendInfo added in v1.3.1

SetExtendInfo is ExtendInfo Setter 扩展参数

func (*AlibabaservicecenterworkcardserviceprogressupdateAPIRequest) SetPicUrlList added in v1.3.1

SetPicUrlList is PicUrlList Setter 图片列表

func (*AlibabaservicecenterworkcardserviceprogressupdateAPIRequest) SetRealTpNick added in v1.3.1

SetRealTpNick is RealTpNick Setter 真实服务商nick,仅限isv服务商调用时使用

func (*AlibabaservicecenterworkcardserviceprogressupdateAPIRequest) SetWorkcardId added in v1.3.1

SetWorkcardId is WorkcardId Setter 工单id

type AlibabaservicecenterworkcardserviceprogressupdateAPIResponse added in v1.3.1

type AlibabaservicecenterworkcardserviceprogressupdateAPIResponse struct {
	model.CommonResponse
	AlibabaservicecenterworkcardserviceprogressupdateAPIResponseModel
}

AlibabaservicecenterworkcardserviceprogressupdateAPIResponse 更新服务进度 API返回值 alibaba.servicecenter.workcard.serviceprogress.update

提供给外部合作服务商更新服务进度的接口

type AlibabaservicecenterworkcardserviceprogressupdateAPIResponseModel added in v1.3.1

type AlibabaservicecenterworkcardserviceprogressupdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_servicecenter_workcard_serviceprogress_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlibabaservicecenterworkcardserviceprogressupdateAPIResponseModel is 更新服务进度 成功返回结果

type AlibabasscservicecenterservicestorequeryAPIRequest added in v1.3.1

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

AlibabasscservicecenterservicestorequeryAPIRequest 根据天猫id查询门店信息 API请求 alibaba.ssc.servicecenter.servicestore.query

根据天猫id查询门店信息

func NewAlibabasscservicecenterservicestorequeryRequest added in v1.3.1

func NewAlibabasscservicecenterservicestorequeryRequest() *AlibabasscservicecenterservicestorequeryAPIRequest

NewAlibabasscservicecenterservicestorequeryRequest 初始化AlibabasscservicecenterservicestorequeryAPIRequest对象

func (AlibabasscservicecenterservicestorequeryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscservicecenterservicestorequeryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscservicecenterservicestorequeryAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (AlibabasscservicecenterservicestorequeryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabasscservicecenterservicestorequeryAPIRequest) SetId added in v1.3.1

SetId is Id Setter 天猫id

type AlibabasscservicecenterservicestorequeryAPIResponse added in v1.3.1

type AlibabasscservicecenterservicestorequeryAPIResponse struct {
	model.CommonResponse
	AlibabasscservicecenterservicestorequeryAPIResponseModel
}

AlibabasscservicecenterservicestorequeryAPIResponse 根据天猫id查询门店信息 API返回值 alibaba.ssc.servicecenter.servicestore.query

根据天猫id查询门店信息

type AlibabasscservicecenterservicestorequeryAPIResponseModel added in v1.3.1

type AlibabasscservicecenterservicestorequeryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ssc_servicecenter_servicestore_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabasscservicecenterservicestorequeryResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabasscservicecenterservicestorequeryAPIResponseModel is 根据天猫id查询门店信息 成功返回结果

type AlibabasscservicecenterservicestorequeryResult added in v1.3.1

type AlibabasscservicecenterservicestorequeryResult struct {
	// 明细条目执行结果对象
	ResultDataList []ResultData `json:"result_data_list,omitempty" xml:"result_data_list>result_data,omitempty"`
}

AlibabasscservicecenterservicestorequeryResult 结构体

type AlibabasscsupplyplatformserviceabilitydeleteAPIRequest added in v1.3.1

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

AlibabasscsupplyplatformserviceabilitydeleteAPIRequest 删除服务能力 API请求 alibaba.ssc.supplyplatform.serviceability.delete

删除服务能力

func NewAlibabasscsupplyplatformserviceabilitydeleteRequest added in v1.3.1

func NewAlibabasscsupplyplatformserviceabilitydeleteRequest() *AlibabasscsupplyplatformserviceabilitydeleteAPIRequest

NewAlibabasscsupplyplatformserviceabilitydeleteRequest 初始化AlibabasscsupplyplatformserviceabilitydeleteAPIRequest对象

func (AlibabasscsupplyplatformserviceabilitydeleteAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscsupplyplatformserviceabilitydeleteAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscsupplyplatformserviceabilitydeleteAPIRequest) GetProviderId added in v1.3.1

GetProviderId ProviderId Getter

func (AlibabasscsupplyplatformserviceabilitydeleteAPIRequest) GetProviderType added in v1.3.1

GetProviderType ProviderType Getter

func (AlibabasscsupplyplatformserviceabilitydeleteAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabasscsupplyplatformserviceabilitydeleteAPIRequest) SetProviderId added in v1.3.1

SetProviderId is ProviderId Setter 服务提供者id。根据服务提供者类型填写相应的id,例如类型是网点,则填我们系统的网点id

func (*AlibabasscsupplyplatformserviceabilitydeleteAPIRequest) SetProviderType added in v1.3.1

func (r *AlibabasscsupplyplatformserviceabilitydeleteAPIRequest) SetProviderType(_providerType string) error

SetProviderType is ProviderType Setter 服务提供者类型。service_store 网点;worker 工人;supplier 服务商

type AlibabasscsupplyplatformserviceabilitydeleteAPIResponse added in v1.3.1

type AlibabasscsupplyplatformserviceabilitydeleteAPIResponse struct {
	model.CommonResponse
	AlibabasscsupplyplatformserviceabilitydeleteAPIResponseModel
}

AlibabasscsupplyplatformserviceabilitydeleteAPIResponse 删除服务能力 API返回值 alibaba.ssc.supplyplatform.serviceability.delete

删除服务能力

type AlibabasscsupplyplatformserviceabilitydeleteAPIResponseModel added in v1.3.1

type AlibabasscsupplyplatformserviceabilitydeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ssc_supplyplatform_serviceability_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabasscsupplyplatformserviceabilitydeleteResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabasscsupplyplatformserviceabilitydeleteAPIResponseModel is 删除服务能力 成功返回结果

type AlibabasscsupplyplatformserviceabilitydeleteResult added in v1.3.1

type AlibabasscsupplyplatformserviceabilitydeleteResult struct {
	// 对外展示的错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabasscsupplyplatformserviceabilitydeleteResult 结构体

type AlibabasscsupplyplatformserviceabilitysaveAPIRequest added in v1.3.1

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

AlibabasscsupplyplatformserviceabilitysaveAPIRequest 保存服务能力 API请求 alibaba.ssc.supplyplatform.serviceability.save

保存服务能力

func NewAlibabasscsupplyplatformserviceabilitysaveRequest added in v1.3.1

func NewAlibabasscsupplyplatformserviceabilitysaveRequest() *AlibabasscsupplyplatformserviceabilitysaveAPIRequest

NewAlibabasscsupplyplatformserviceabilitysaveRequest 初始化AlibabasscsupplyplatformserviceabilitysaveAPIRequest对象

func (AlibabasscsupplyplatformserviceabilitysaveAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscsupplyplatformserviceabilitysaveAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscsupplyplatformserviceabilitysaveAPIRequest) GetAreaCodeList added in v1.3.1

GetAreaCodeList AreaCodeList Getter

func (AlibabasscsupplyplatformserviceabilitysaveAPIRequest) GetFulfilTypeList added in v1.3.1

GetFulfilTypeList FulfilTypeList Getter

func (AlibabasscsupplyplatformserviceabilitysaveAPIRequest) GetProviderCode added in v1.3.1

GetProviderCode ProviderCode Getter

func (AlibabasscsupplyplatformserviceabilitysaveAPIRequest) GetProviderId added in v1.3.1

GetProviderId ProviderId Getter

func (AlibabasscsupplyplatformserviceabilitysaveAPIRequest) GetProviderType added in v1.3.1

GetProviderType ProviderType Getter

func (AlibabasscsupplyplatformserviceabilitysaveAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabasscsupplyplatformserviceabilitysaveAPIRequest) GetServiceSkuCodeList added in v1.3.1

GetServiceSkuCodeList ServiceSkuCodeList Getter

func (*AlibabasscsupplyplatformserviceabilitysaveAPIRequest) SetAreaCodeList added in v1.3.1

func (r *AlibabasscsupplyplatformserviceabilitysaveAPIRequest) SetAreaCodeList(_areaCodeList []int64) error

SetAreaCodeList is AreaCodeList Setter 菜鸟地址编码,各级地址均可(全国、省、市、区、街道),根据实际支持的地区填写。当支持的履约类型包含上门时,必填

func (*AlibabasscsupplyplatformserviceabilitysaveAPIRequest) SetFulfilTypeList added in v1.3.1

func (r *AlibabasscsupplyplatformserviceabilitysaveAPIRequest) SetFulfilTypeList(_fulfilTypeList []string) error

SetFulfilTypeList is FulfilTypeList Setter 目前包含三种。in_store 到店;at_home 上门;transmit_service 寄修。请根据实际支持的履约类型填写

func (*AlibabasscsupplyplatformserviceabilitysaveAPIRequest) SetProviderCode added in v1.3.1

func (r *AlibabasscsupplyplatformserviceabilitysaveAPIRequest) SetProviderCode(_providerCode string) error

SetProviderCode is ProviderCode Setter 服务提供者code。外部与天猫对接时,自己定义的code用这个字段

func (*AlibabasscsupplyplatformserviceabilitysaveAPIRequest) SetProviderId added in v1.3.1

SetProviderId is ProviderId Setter 服务提供者id。根据服务提供者类型填写相应的id,例如类型是网点,则填我们系统的网点id

func (*AlibabasscsupplyplatformserviceabilitysaveAPIRequest) SetProviderType added in v1.3.1

func (r *AlibabasscsupplyplatformserviceabilitysaveAPIRequest) SetProviderType(_providerType string) error

SetProviderType is ProviderType Setter 服务提供者类型。service_store 网点;worker 工人;supplier 服务商

func (*AlibabasscsupplyplatformserviceabilitysaveAPIRequest) SetServiceSkuCodeList added in v1.3.1

func (r *AlibabasscsupplyplatformserviceabilitysaveAPIRequest) SetServiceSkuCodeList(_serviceSkuCodeList []string) error

SetServiceSkuCodeList is ServiceSkuCodeList Setter 服务sku,具体的sku列表可以从服务商工作台的类目树获取

type AlibabasscsupplyplatformserviceabilitysaveAPIResponse added in v1.3.1

type AlibabasscsupplyplatformserviceabilitysaveAPIResponse struct {
	model.CommonResponse
	AlibabasscsupplyplatformserviceabilitysaveAPIResponseModel
}

AlibabasscsupplyplatformserviceabilitysaveAPIResponse 保存服务能力 API返回值 alibaba.ssc.supplyplatform.serviceability.save

保存服务能力

type AlibabasscsupplyplatformserviceabilitysaveAPIResponseModel added in v1.3.1

type AlibabasscsupplyplatformserviceabilitysaveAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ssc_supplyplatform_serviceability_save_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabasscsupplyplatformserviceabilitysaveResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabasscsupplyplatformserviceabilitysaveAPIResponseModel is 保存服务能力 成功返回结果

type AlibabasscsupplyplatformserviceabilitysaveResult added in v1.3.1

type AlibabasscsupplyplatformserviceabilitysaveResult struct {
	// 对外展示的错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabasscsupplyplatformserviceabilitysaveResult 结构体

type AlibabasscsupplyplatformservicecapacitydeleteAPIRequest added in v1.3.1

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

AlibabasscsupplyplatformservicecapacitydeleteAPIRequest 服务容量删除 API请求 alibaba.ssc.supplyplatform.servicecapacity.delete

服务容量删除

func NewAlibabasscsupplyplatformservicecapacitydeleteRequest added in v1.3.1

func NewAlibabasscsupplyplatformservicecapacitydeleteRequest() *AlibabasscsupplyplatformservicecapacitydeleteAPIRequest

NewAlibabasscsupplyplatformservicecapacitydeleteRequest 初始化AlibabasscsupplyplatformservicecapacitydeleteAPIRequest对象

func (AlibabasscsupplyplatformservicecapacitydeleteAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscsupplyplatformservicecapacitydeleteAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscsupplyplatformservicecapacitydeleteAPIRequest) GetProviderId added in v1.3.1

GetProviderId ProviderId Getter

func (AlibabasscsupplyplatformservicecapacitydeleteAPIRequest) GetProviderType added in v1.3.1

GetProviderType ProviderType Getter

func (AlibabasscsupplyplatformservicecapacitydeleteAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabasscsupplyplatformservicecapacitydeleteAPIRequest) SetProviderId added in v1.3.1

SetProviderId is ProviderId Setter 服务提供者id。根据服务提供者类型填写相应的id,例如类型是网点,则填我们系统的网点id

func (*AlibabasscsupplyplatformservicecapacitydeleteAPIRequest) SetProviderType added in v1.3.1

func (r *AlibabasscsupplyplatformservicecapacitydeleteAPIRequest) SetProviderType(_providerType string) error

SetProviderType is ProviderType Setter 服务提供者类型。service_store 网点;worker 工人;supplier 服务商

type AlibabasscsupplyplatformservicecapacitydeleteAPIResponse added in v1.3.1

type AlibabasscsupplyplatformservicecapacitydeleteAPIResponse struct {
	model.CommonResponse
	AlibabasscsupplyplatformservicecapacitydeleteAPIResponseModel
}

AlibabasscsupplyplatformservicecapacitydeleteAPIResponse 服务容量删除 API返回值 alibaba.ssc.supplyplatform.servicecapacity.delete

服务容量删除

type AlibabasscsupplyplatformservicecapacitydeleteAPIResponseModel added in v1.3.1

type AlibabasscsupplyplatformservicecapacitydeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ssc_supplyplatform_servicecapacity_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabasscsupplyplatformservicecapacitydeleteResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabasscsupplyplatformservicecapacitydeleteAPIResponseModel is 服务容量删除 成功返回结果

type AlibabasscsupplyplatformservicecapacitydeleteResult added in v1.3.1

type AlibabasscsupplyplatformservicecapacitydeleteResult struct {
	// 对外展示的错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabasscsupplyplatformservicecapacitydeleteResult 结构体

type AlibabasscsupplyplatformservicecapacitysaveAPIRequest added in v1.3.1

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

AlibabasscsupplyplatformservicecapacitysaveAPIRequest 保存服务容量 API请求 alibaba.ssc.supplyplatform.servicecapacity.save

保存服务容量

func NewAlibabasscsupplyplatformservicecapacitysaveRequest added in v1.3.1

func NewAlibabasscsupplyplatformservicecapacitysaveRequest() *AlibabasscsupplyplatformservicecapacitysaveAPIRequest

NewAlibabasscsupplyplatformservicecapacitysaveRequest 初始化AlibabasscsupplyplatformservicecapacitysaveAPIRequest对象

func (AlibabasscsupplyplatformservicecapacitysaveAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscsupplyplatformservicecapacitysaveAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscsupplyplatformservicecapacitysaveAPIRequest) GetCapacityData added in v1.3.1

GetCapacityData CapacityData Getter

func (AlibabasscsupplyplatformservicecapacitysaveAPIRequest) GetMode added in v1.3.1

GetMode Mode Getter

func (AlibabasscsupplyplatformservicecapacitysaveAPIRequest) GetProviderCode added in v1.3.1

GetProviderCode ProviderCode Getter

func (AlibabasscsupplyplatformservicecapacitysaveAPIRequest) GetProviderId added in v1.3.1

GetProviderId ProviderId Getter

func (AlibabasscsupplyplatformservicecapacitysaveAPIRequest) GetProviderType added in v1.3.1

GetProviderType ProviderType Getter

func (AlibabasscsupplyplatformservicecapacitysaveAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabasscsupplyplatformservicecapacitysaveAPIRequest) GetTimeInterval added in v1.3.1

GetTimeInterval TimeInterval Getter

func (*AlibabasscsupplyplatformservicecapacitysaveAPIRequest) SetCapacityData added in v1.3.1

func (r *AlibabasscsupplyplatformservicecapacitysaveAPIRequest) SetCapacityData(_capacityData string) error

SetCapacityData is CapacityData Setter 容量数据。根据mode和time interval有不同的格式。具体格式见业务对接文档。

func (*AlibabasscsupplyplatformservicecapacitysaveAPIRequest) SetMode added in v1.3.1

SetMode is Mode Setter 目前支持两种。daily 每天容量相同;customize 定制容量,每天都不同

func (*AlibabasscsupplyplatformservicecapacitysaveAPIRequest) SetProviderCode added in v1.3.1

func (r *AlibabasscsupplyplatformservicecapacitysaveAPIRequest) SetProviderCode(_providerCode string) error

SetProviderCode is ProviderCode Setter 网点编码

func (*AlibabasscsupplyplatformservicecapacitysaveAPIRequest) SetProviderId added in v1.3.1

SetProviderId is ProviderId Setter 服务提供者id。根据服务提供者类型填写相应的id,例如类型是网点,则填我们系统的网点id

func (*AlibabasscsupplyplatformservicecapacitysaveAPIRequest) SetProviderType added in v1.3.1

func (r *AlibabasscsupplyplatformservicecapacitysaveAPIRequest) SetProviderType(_providerType string) error

SetProviderType is ProviderType Setter 服务提供者类型。service_store 网点;worker 工人;supplier 服务商

func (*AlibabasscsupplyplatformservicecapacitysaveAPIRequest) SetTimeInterval added in v1.3.1

func (r *AlibabasscsupplyplatformservicecapacitysaveAPIRequest) SetTimeInterval(_timeInterval string) error

SetTimeInterval is TimeInterval Setter 目前支持两种。day 表示支持的时间粒度为天;hour 时间粒度为小时

type AlibabasscsupplyplatformservicecapacitysaveAPIResponse added in v1.3.1

type AlibabasscsupplyplatformservicecapacitysaveAPIResponse struct {
	model.CommonResponse
	AlibabasscsupplyplatformservicecapacitysaveAPIResponseModel
}

AlibabasscsupplyplatformservicecapacitysaveAPIResponse 保存服务容量 API返回值 alibaba.ssc.supplyplatform.servicecapacity.save

保存服务容量

type AlibabasscsupplyplatformservicecapacitysaveAPIResponseModel added in v1.3.1

type AlibabasscsupplyplatformservicecapacitysaveAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ssc_supplyplatform_servicecapacity_save_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabasscsupplyplatformservicecapacitysaveResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabasscsupplyplatformservicecapacitysaveAPIResponseModel is 保存服务容量 成功返回结果

type AlibabasscsupplyplatformservicecapacitysaveResult added in v1.3.1

type AlibabasscsupplyplatformservicecapacitysaveResult struct {
	// 对外展示的错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabasscsupplyplatformservicecapacitysaveResult 结构体

type AlibabasscsupplyplatformservicedefinitionqueryskuAPIRequest added in v1.3.1

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

AlibabasscsupplyplatformservicedefinitionqueryskuAPIRequest 服务sku查询 API请求 alibaba.ssc.supplyplatform.servicedefinition.querysku

服务sku查询

func NewAlibabasscsupplyplatformservicedefinitionqueryskuRequest added in v1.3.1

func NewAlibabasscsupplyplatformservicedefinitionqueryskuRequest() *AlibabasscsupplyplatformservicedefinitionqueryskuAPIRequest

NewAlibabasscsupplyplatformservicedefinitionqueryskuRequest 初始化AlibabasscsupplyplatformservicedefinitionqueryskuAPIRequest对象

func (AlibabasscsupplyplatformservicedefinitionqueryskuAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscsupplyplatformservicedefinitionqueryskuAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscsupplyplatformservicedefinitionqueryskuAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabasscsupplyplatformservicedefinitionqueryskuAPIRequest) GetServiceCategoryId added in v1.3.1

GetServiceCategoryId ServiceCategoryId Getter

func (*AlibabasscsupplyplatformservicedefinitionqueryskuAPIRequest) SetServiceCategoryId added in v1.3.1

func (r *AlibabasscsupplyplatformservicedefinitionqueryskuAPIRequest) SetServiceCategoryId(_serviceCategoryId string) error

SetServiceCategoryId is ServiceCategoryId Setter 服务目录id

type AlibabasscsupplyplatformservicedefinitionqueryskuAPIResponse added in v1.3.1

type AlibabasscsupplyplatformservicedefinitionqueryskuAPIResponse struct {
	model.CommonResponse
	AlibabasscsupplyplatformservicedefinitionqueryskuAPIResponseModel
}

AlibabasscsupplyplatformservicedefinitionqueryskuAPIResponse 服务sku查询 API返回值 alibaba.ssc.supplyplatform.servicedefinition.querysku

服务sku查询

type AlibabasscsupplyplatformservicedefinitionqueryskuAPIResponseModel added in v1.3.1

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

AlibabasscsupplyplatformservicedefinitionqueryskuAPIResponseModel is 服务sku查询 成功返回结果

type AlibabasscsupplyplatformservicedefinitionqueryskuResult added in v1.3.1

type AlibabasscsupplyplatformservicedefinitionqueryskuResult struct {
	// 服务sku列表
	ServiceSkus []ServiceSkuDto `json:"service_skus,omitempty" xml:"service_skus>service_sku_dto,omitempty"`
	// 对外展示的错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success string `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabasscsupplyplatformservicedefinitionqueryskuResult 结构体

type AlibabasscsupplyplatformserviceinventoryeditAPIRequest added in v1.3.1

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

AlibabasscsupplyplatformserviceinventoryeditAPIRequest 编辑服务库存 API请求 alibaba.ssc.supplyplatform.service.inventory.edit

实时编辑服务库存。只支持增加或减少库存,不支持设置绝对库存值。 需要自己处理好幂等逻辑。 要先查询当前库存值,并基于返回结果做编辑操作。 参考alibaba.ssc.supplyplatform.service.inventory.query和alibaba.ssc.supplyplatform.servicecapacity.save

func NewAlibabasscsupplyplatformserviceinventoryeditRequest added in v1.3.1

func NewAlibabasscsupplyplatformserviceinventoryeditRequest() *AlibabasscsupplyplatformserviceinventoryeditAPIRequest

NewAlibabasscsupplyplatformserviceinventoryeditRequest 初始化AlibabasscsupplyplatformserviceinventoryeditAPIRequest对象

func (AlibabasscsupplyplatformserviceinventoryeditAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscsupplyplatformserviceinventoryeditAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscsupplyplatformserviceinventoryeditAPIRequest) GetBizId added in v1.3.1

GetBizId BizId Getter

func (AlibabasscsupplyplatformserviceinventoryeditAPIRequest) GetEditDetails added in v1.3.1

GetEditDetails EditDetails Getter

func (AlibabasscsupplyplatformserviceinventoryeditAPIRequest) GetProviderId added in v1.3.1

GetProviderId ProviderId Getter

func (AlibabasscsupplyplatformserviceinventoryeditAPIRequest) GetProviderType added in v1.3.1

GetProviderType ProviderType Getter

func (AlibabasscsupplyplatformserviceinventoryeditAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabasscsupplyplatformserviceinventoryeditAPIRequest) SetBizId added in v1.3.1

SetBizId is BizId Setter 业务幂等键。该字段主要用于远程调用失败后的重试的场景,例如接口超时,调用方感知到失败,但服务端可能实际上已经成功了,这时如果发起一次重试请求,服务端需要通过bizId来识别是同一个请求,这样才不会重复增加库存值。对于同一个bizId,多次请求只会生效一次,后续的重复请求不会生效。对于批量操作时,如果部分key成功,部分key失败,重试请求时只会对未成功的key生效。

func (*AlibabasscsupplyplatformserviceinventoryeditAPIRequest) SetEditDetails added in v1.3.1

SetEditDetails is EditDetails Setter 库存编辑列表。每次不超过100条

func (*AlibabasscsupplyplatformserviceinventoryeditAPIRequest) SetProviderId added in v1.3.1

SetProviderId is ProviderId Setter 服务提供者id。参考alibaba.ssc.supplyplatform.servicecapacity.save入参

func (*AlibabasscsupplyplatformserviceinventoryeditAPIRequest) SetProviderType added in v1.3.1

func (r *AlibabasscsupplyplatformserviceinventoryeditAPIRequest) SetProviderType(_providerType string) error

SetProviderType is ProviderType Setter 服务提供者类型。参考alibaba.ssc.supplyplatform.servicecapacity.save入参

type AlibabasscsupplyplatformserviceinventoryeditAPIResponse added in v1.3.1

type AlibabasscsupplyplatformserviceinventoryeditAPIResponse struct {
	model.CommonResponse
	AlibabasscsupplyplatformserviceinventoryeditAPIResponseModel
}

AlibabasscsupplyplatformserviceinventoryeditAPIResponse 编辑服务库存 API返回值 alibaba.ssc.supplyplatform.service.inventory.edit

实时编辑服务库存。只支持增加或减少库存,不支持设置绝对库存值。 需要自己处理好幂等逻辑。 要先查询当前库存值,并基于返回结果做编辑操作。 参考alibaba.ssc.supplyplatform.service.inventory.query和alibaba.ssc.supplyplatform.servicecapacity.save

type AlibabasscsupplyplatformserviceinventoryeditAPIResponseModel added in v1.3.1

type AlibabasscsupplyplatformserviceinventoryeditAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ssc_supplyplatform_service_inventory_edit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabasscsupplyplatformserviceinventoryeditResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabasscsupplyplatformserviceinventoryeditAPIResponseModel is 编辑服务库存 成功返回结果

type AlibabasscsupplyplatformserviceinventoryeditResult added in v1.3.1

type AlibabasscsupplyplatformserviceinventoryeditResult struct {
	// 对外展示的错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabasscsupplyplatformserviceinventoryeditResult 结构体

type AlibabasscsupplyplatformserviceinventoryqueryAPIRequest added in v1.3.1

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

AlibabasscsupplyplatformserviceinventoryqueryAPIRequest 服务库存查询 API请求 alibaba.ssc.supplyplatform.service.inventory.query

查询服务库存。需要保存服务容量成功后,才能进行查询,参数中的provider信息(provider_id和provider_type)与alibaba.ssc.supplyplatform.servicecapacity.save接口中保持一致。

func NewAlibabasscsupplyplatformserviceinventoryqueryRequest added in v1.3.1

func NewAlibabasscsupplyplatformserviceinventoryqueryRequest() *AlibabasscsupplyplatformserviceinventoryqueryAPIRequest

NewAlibabasscsupplyplatformserviceinventoryqueryRequest 初始化AlibabasscsupplyplatformserviceinventoryqueryAPIRequest对象

func (AlibabasscsupplyplatformserviceinventoryqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscsupplyplatformserviceinventoryqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscsupplyplatformserviceinventoryqueryAPIRequest) GetEndDay added in v1.3.1

GetEndDay EndDay Getter

func (AlibabasscsupplyplatformserviceinventoryqueryAPIRequest) GetProviderId added in v1.3.1

GetProviderId ProviderId Getter

func (AlibabasscsupplyplatformserviceinventoryqueryAPIRequest) GetProviderType added in v1.3.1

GetProviderType ProviderType Getter

func (AlibabasscsupplyplatformserviceinventoryqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabasscsupplyplatformserviceinventoryqueryAPIRequest) GetStartDay added in v1.3.1

GetStartDay StartDay Getter

func (*AlibabasscsupplyplatformserviceinventoryqueryAPIRequest) SetEndDay added in v1.3.1

SetEndDay is EndDay Setter 查询结束日期。与start间隔不能超过31天。yyyy-MM-dd格式

func (*AlibabasscsupplyplatformserviceinventoryqueryAPIRequest) SetProviderId added in v1.3.1

SetProviderId is ProviderId Setter 服务提供者类型。参考alibaba.ssc.supplyplatform.servicecapacity.save入参

func (*AlibabasscsupplyplatformserviceinventoryqueryAPIRequest) SetProviderType added in v1.3.1

func (r *AlibabasscsupplyplatformserviceinventoryqueryAPIRequest) SetProviderType(_providerType string) error

SetProviderType is ProviderType Setter 服务提供者类型。参考alibaba.ssc.supplyplatform.servicecapacity.save入参

func (*AlibabasscsupplyplatformserviceinventoryqueryAPIRequest) SetStartDay added in v1.3.1

SetStartDay is StartDay Setter 查询开始日期。yyyy-MM-dd格式

type AlibabasscsupplyplatformserviceinventoryqueryAPIResponse added in v1.3.1

type AlibabasscsupplyplatformserviceinventoryqueryAPIResponse struct {
	model.CommonResponse
	AlibabasscsupplyplatformserviceinventoryqueryAPIResponseModel
}

AlibabasscsupplyplatformserviceinventoryqueryAPIResponse 服务库存查询 API返回值 alibaba.ssc.supplyplatform.service.inventory.query

查询服务库存。需要保存服务容量成功后,才能进行查询,参数中的provider信息(provider_id和provider_type)与alibaba.ssc.supplyplatform.servicecapacity.save接口中保持一致。

type AlibabasscsupplyplatformserviceinventoryqueryAPIResponseModel added in v1.3.1

type AlibabasscsupplyplatformserviceinventoryqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ssc_supplyplatform_service_inventory_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabasscsupplyplatformserviceinventoryqueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabasscsupplyplatformserviceinventoryqueryAPIResponseModel is 服务库存查询 成功返回结果

type AlibabasscsupplyplatformserviceinventoryqueryResult added in v1.3.1

type AlibabasscsupplyplatformserviceinventoryqueryResult struct {
	// json字符串。key是时间片,格式为yyyy-MM-dd或yyyy-MM-dd HH:mm-HH:mm,value是当前库存值
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 对外展示的错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabasscsupplyplatformserviceinventoryqueryResult 结构体

type AlibabasscsupplyplatformservicestoreofflineAPIRequest added in v1.3.1

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

AlibabasscsupplyplatformservicestoreofflineAPIRequest 网点下线 API请求 alibaba.ssc.supplyplatform.servicestore.offline

网点下线功能

func NewAlibabasscsupplyplatformservicestoreofflineRequest added in v1.3.1

func NewAlibabasscsupplyplatformservicestoreofflineRequest() *AlibabasscsupplyplatformservicestoreofflineAPIRequest

NewAlibabasscsupplyplatformservicestoreofflineRequest 初始化AlibabasscsupplyplatformservicestoreofflineAPIRequest对象

func (AlibabasscsupplyplatformservicestoreofflineAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscsupplyplatformservicestoreofflineAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscsupplyplatformservicestoreofflineAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabasscsupplyplatformservicestoreofflineAPIRequest) GetServiceStoreCodeList added in v1.3.1

func (r AlibabasscsupplyplatformservicestoreofflineAPIRequest) GetServiceStoreCodeList() []string

GetServiceStoreCodeList ServiceStoreCodeList Getter

func (AlibabasscsupplyplatformservicestoreofflineAPIRequest) GetServiceStoreIdList added in v1.3.1

GetServiceStoreIdList ServiceStoreIdList Getter

func (*AlibabasscsupplyplatformservicestoreofflineAPIRequest) SetServiceStoreCodeList added in v1.3.1

func (r *AlibabasscsupplyplatformservicestoreofflineAPIRequest) SetServiceStoreCodeList(_serviceStoreCodeList []string) error

SetServiceStoreCodeList is ServiceStoreCodeList Setter 网点编码列表集合,最大支持1000

func (*AlibabasscsupplyplatformservicestoreofflineAPIRequest) SetServiceStoreIdList added in v1.3.1

func (r *AlibabasscsupplyplatformservicestoreofflineAPIRequest) SetServiceStoreIdList(_serviceStoreIdList []int64) error

SetServiceStoreIdList is ServiceStoreIdList Setter 网点id列表集合,最大支持1000

type AlibabasscsupplyplatformservicestoreofflineAPIResponse added in v1.3.1

type AlibabasscsupplyplatformservicestoreofflineAPIResponse struct {
	model.CommonResponse
	AlibabasscsupplyplatformservicestoreofflineAPIResponseModel
}

AlibabasscsupplyplatformservicestoreofflineAPIResponse 网点下线 API返回值 alibaba.ssc.supplyplatform.servicestore.offline

网点下线功能

type AlibabasscsupplyplatformservicestoreofflineAPIResponseModel added in v1.3.1

type AlibabasscsupplyplatformservicestoreofflineAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ssc_supplyplatform_servicestore_offline_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabasscsupplyplatformservicestoreofflineResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabasscsupplyplatformservicestoreofflineAPIResponseModel is 网点下线 成功返回结果

type AlibabasscsupplyplatformservicestoreofflineResult added in v1.3.1

type AlibabasscsupplyplatformservicestoreofflineResult struct {
	// 错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误code
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 成功或失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabasscsupplyplatformservicestoreofflineResult 结构体

type AlibabasscsupplyplatformservicestoresaveAPIRequest added in v1.3.1

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

AlibabasscsupplyplatformservicestoresaveAPIRequest 保存网点 API请求 alibaba.ssc.supplyplatform.servicestore.save

网点创建、修改

func NewAlibabasscsupplyplatformservicestoresaveRequest added in v1.3.1

func NewAlibabasscsupplyplatformservicestoresaveRequest() *AlibabasscsupplyplatformservicestoresaveAPIRequest

NewAlibabasscsupplyplatformservicestoresaveRequest 初始化AlibabasscsupplyplatformservicestoresaveAPIRequest对象

func (AlibabasscsupplyplatformservicestoresaveAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscsupplyplatformservicestoresaveAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscsupplyplatformservicestoresaveAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabasscsupplyplatformservicestoresaveAPIRequest) GetServiceStoreSaveReq added in v1.3.1

GetServiceStoreSaveReq ServiceStoreSaveReq Getter

func (*AlibabasscsupplyplatformservicestoresaveAPIRequest) SetServiceStoreSaveReq added in v1.3.1

func (r *AlibabasscsupplyplatformservicestoresaveAPIRequest) SetServiceStoreSaveReq(_serviceStoreSaveReq *ServiceStoreSaveForTopReqDto) error

SetServiceStoreSaveReq is ServiceStoreSaveReq Setter 入参

type AlibabasscsupplyplatformservicestoresaveAPIResponse added in v1.3.1

type AlibabasscsupplyplatformservicestoresaveAPIResponse struct {
	model.CommonResponse
	AlibabasscsupplyplatformservicestoresaveAPIResponseModel
}

AlibabasscsupplyplatformservicestoresaveAPIResponse 保存网点 API返回值 alibaba.ssc.supplyplatform.servicestore.save

网点创建、修改

type AlibabasscsupplyplatformservicestoresaveAPIResponseModel added in v1.3.1

type AlibabasscsupplyplatformservicestoresaveAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ssc_supplyplatform_servicestore_save_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabasscsupplyplatformservicestoresaveResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabasscsupplyplatformservicestoresaveAPIResponseModel is 保存网点 成功返回结果

type AlibabasscsupplyplatformservicestoresaveResult added in v1.3.1

type AlibabasscsupplyplatformservicestoresaveResult struct {
	// 对外展示的错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 返回对象
	Value *ServiceStoreCreateDto `json:"value,omitempty" xml:"value,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabasscsupplyplatformservicestoresaveResult 结构体

type AlibabasscsupplyplatformserviceworkeravailableworkerAPIRequest added in v1.3.1

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

AlibabasscsupplyplatformserviceworkeravailableworkerAPIRequest 查询可用工人 API请求 alibaba.ssc.supplyplatform.serviceworker.availableworker

可用工人查询

func NewAlibabasscsupplyplatformserviceworkeravailableworkerRequest added in v1.3.1

func NewAlibabasscsupplyplatformserviceworkeravailableworkerRequest() *AlibabasscsupplyplatformserviceworkeravailableworkerAPIRequest

NewAlibabasscsupplyplatformserviceworkeravailableworkerRequest 初始化AlibabasscsupplyplatformserviceworkeravailableworkerAPIRequest对象

func (AlibabasscsupplyplatformserviceworkeravailableworkerAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscsupplyplatformserviceworkeravailableworkerAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscsupplyplatformserviceworkeravailableworkerAPIRequest) GetAvailableWorkerQueryForTopReqDto added in v1.3.1

GetAvailableWorkerQueryForTopReqDto AvailableWorkerQueryForTopReqDto Getter

func (AlibabasscsupplyplatformserviceworkeravailableworkerAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabasscsupplyplatformserviceworkeravailableworkerAPIRequest) SetAvailableWorkerQueryForTopReqDto added in v1.3.1

func (r *AlibabasscsupplyplatformserviceworkeravailableworkerAPIRequest) SetAvailableWorkerQueryForTopReqDto(_availableWorkerQueryForTopReqDto *AvailableWorkerQueryForTopReqDto) error

SetAvailableWorkerQueryForTopReqDto is AvailableWorkerQueryForTopReqDto Setter 查询可用工人model

type AlibabasscsupplyplatformserviceworkeravailableworkerAPIResponse added in v1.3.1

type AlibabasscsupplyplatformserviceworkeravailableworkerAPIResponse struct {
	model.CommonResponse
	AlibabasscsupplyplatformserviceworkeravailableworkerAPIResponseModel
}

AlibabasscsupplyplatformserviceworkeravailableworkerAPIResponse 查询可用工人 API返回值 alibaba.ssc.supplyplatform.serviceworker.availableworker

可用工人查询

type AlibabasscsupplyplatformserviceworkeravailableworkerAPIResponseModel added in v1.3.1

type AlibabasscsupplyplatformserviceworkeravailableworkerAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ssc_supplyplatform_serviceworker_availableworker_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 统一响应对象模型
	Result *AlibabasscsupplyplatformserviceworkeravailableworkerResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabasscsupplyplatformserviceworkeravailableworkerAPIResponseModel is 查询可用工人 成功返回结果

type AlibabasscsupplyplatformserviceworkeravailableworkerResult added in v1.3.1

type AlibabasscsupplyplatformserviceworkeravailableworkerResult struct {
	// 可用工人列表
	Value []WorkerDto `json:"value,omitempty" xml:"value>worker_dto,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 系统内部错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabasscsupplyplatformserviceworkeravailableworkerResult 结构体

type AlibabasscsupplyplatformserviceworkercancelleaveAPIRequest added in v1.3.1

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

AlibabasscsupplyplatformserviceworkercancelleaveAPIRequest 工人取消请假 API请求 alibaba.ssc.supplyplatform.serviceworker.cancelleave

工人取消请假

func NewAlibabasscsupplyplatformserviceworkercancelleaveRequest added in v1.3.1

func NewAlibabasscsupplyplatformserviceworkercancelleaveRequest() *AlibabasscsupplyplatformserviceworkercancelleaveAPIRequest

NewAlibabasscsupplyplatformserviceworkercancelleaveRequest 初始化AlibabasscsupplyplatformserviceworkercancelleaveAPIRequest对象

func (AlibabasscsupplyplatformserviceworkercancelleaveAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscsupplyplatformserviceworkercancelleaveAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscsupplyplatformserviceworkercancelleaveAPIRequest) GetIdentityNumber added in v1.3.1

GetIdentityNumber IdentityNumber Getter

func (AlibabasscsupplyplatformserviceworkercancelleaveAPIRequest) GetLeaveBeginAndEndList added in v1.3.1

GetLeaveBeginAndEndList LeaveBeginAndEndList Getter

func (AlibabasscsupplyplatformserviceworkercancelleaveAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabasscsupplyplatformserviceworkercancelleaveAPIRequest) SetIdentityNumber added in v1.3.1

func (r *AlibabasscsupplyplatformserviceworkercancelleaveAPIRequest) SetIdentityNumber(_identityNumber string) error

SetIdentityNumber is IdentityNumber Setter 身份证号

func (*AlibabasscsupplyplatformserviceworkercancelleaveAPIRequest) SetLeaveBeginAndEndList added in v1.3.1

func (r *AlibabasscsupplyplatformserviceworkercancelleaveAPIRequest) SetLeaveBeginAndEndList(_leaveBeginAndEndList []string) error

SetLeaveBeginAndEndList is LeaveBeginAndEndList Setter 时间段

type AlibabasscsupplyplatformserviceworkercancelleaveAPIResponse added in v1.3.1

type AlibabasscsupplyplatformserviceworkercancelleaveAPIResponse struct {
	model.CommonResponse
	AlibabasscsupplyplatformserviceworkercancelleaveAPIResponseModel
}

AlibabasscsupplyplatformserviceworkercancelleaveAPIResponse 工人取消请假 API返回值 alibaba.ssc.supplyplatform.serviceworker.cancelleave

工人取消请假

type AlibabasscsupplyplatformserviceworkercancelleaveAPIResponseModel added in v1.3.1

type AlibabasscsupplyplatformserviceworkercancelleaveAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ssc_supplyplatform_serviceworker_cancelleave_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabasscsupplyplatformserviceworkercancelleaveResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabasscsupplyplatformserviceworkercancelleaveAPIResponseModel is 工人取消请假 成功返回结果

type AlibabasscsupplyplatformserviceworkercancelleaveResult added in v1.3.1

type AlibabasscsupplyplatformserviceworkercancelleaveResult struct {
	// 错误码
	DisplayCode string `json:"display_code,omitempty" xml:"display_code,omitempty"`
	// 对外展示的错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 是否成功
	IsSuccess string `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

AlibabasscsupplyplatformserviceworkercancelleaveResult 结构体

type AlibabasscsupplyplatformserviceworkerquitservicestoreAPIRequest added in v1.3.1

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

AlibabasscsupplyplatformserviceworkerquitservicestoreAPIRequest 工人退出网点 API请求 alibaba.ssc.supplyplatform.serviceworker.quitservicestore

工人退出网点

func NewAlibabasscsupplyplatformserviceworkerquitservicestoreRequest added in v1.3.1

func NewAlibabasscsupplyplatformserviceworkerquitservicestoreRequest() *AlibabasscsupplyplatformserviceworkerquitservicestoreAPIRequest

NewAlibabasscsupplyplatformserviceworkerquitservicestoreRequest 初始化AlibabasscsupplyplatformserviceworkerquitservicestoreAPIRequest对象

func (AlibabasscsupplyplatformserviceworkerquitservicestoreAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscsupplyplatformserviceworkerquitservicestoreAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscsupplyplatformserviceworkerquitservicestoreAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabasscsupplyplatformserviceworkerquitservicestoreAPIRequest) GetWorkerQuitServiceStoreForTopReqDto added in v1.3.1

GetWorkerQuitServiceStoreForTopReqDto WorkerQuitServiceStoreForTopReqDto Getter

func (*AlibabasscsupplyplatformserviceworkerquitservicestoreAPIRequest) SetWorkerQuitServiceStoreForTopReqDto added in v1.3.1

func (r *AlibabasscsupplyplatformserviceworkerquitservicestoreAPIRequest) SetWorkerQuitServiceStoreForTopReqDto(_workerQuitServiceStoreForTopReqDto *WorkerQuitServiceStoreForTopReqDto) error

SetWorkerQuitServiceStoreForTopReqDto is WorkerQuitServiceStoreForTopReqDto Setter 工人退出网点model

type AlibabasscsupplyplatformserviceworkerquitservicestoreAPIResponse added in v1.3.1

type AlibabasscsupplyplatformserviceworkerquitservicestoreAPIResponse struct {
	model.CommonResponse
	AlibabasscsupplyplatformserviceworkerquitservicestoreAPIResponseModel
}

AlibabasscsupplyplatformserviceworkerquitservicestoreAPIResponse 工人退出网点 API返回值 alibaba.ssc.supplyplatform.serviceworker.quitservicestore

工人退出网点

type AlibabasscsupplyplatformserviceworkerquitservicestoreAPIResponseModel added in v1.3.1

type AlibabasscsupplyplatformserviceworkerquitservicestoreAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ssc_supplyplatform_serviceworker_quitservicestore_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabasscsupplyplatformserviceworkerquitservicestoreResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabasscsupplyplatformserviceworkerquitservicestoreAPIResponseModel is 工人退出网点 成功返回结果

type AlibabasscsupplyplatformserviceworkerquitservicestoreResult added in v1.3.1

type AlibabasscsupplyplatformserviceworkerquitservicestoreResult struct {
	// 错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabasscsupplyplatformserviceworkerquitservicestoreResult 结构体

type AlibabasscsupplyplatformserviceworkerregisterAPIRequest added in v1.3.1

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

AlibabasscsupplyplatformserviceworkerregisterAPIRequest 服务商添加工人 API请求 alibaba.ssc.supplyplatform.serviceworker.register

工人注册

func NewAlibabasscsupplyplatformserviceworkerregisterRequest added in v1.3.1

func NewAlibabasscsupplyplatformserviceworkerregisterRequest() *AlibabasscsupplyplatformserviceworkerregisterAPIRequest

NewAlibabasscsupplyplatformserviceworkerregisterRequest 初始化AlibabasscsupplyplatformserviceworkerregisterAPIRequest对象

func (AlibabasscsupplyplatformserviceworkerregisterAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscsupplyplatformserviceworkerregisterAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscsupplyplatformserviceworkerregisterAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabasscsupplyplatformserviceworkerregisterAPIRequest) GetWorkerRegisterForTopReqDto added in v1.3.1

GetWorkerRegisterForTopReqDto WorkerRegisterForTopReqDto Getter

func (*AlibabasscsupplyplatformserviceworkerregisterAPIRequest) SetWorkerRegisterForTopReqDto added in v1.3.1

func (r *AlibabasscsupplyplatformserviceworkerregisterAPIRequest) SetWorkerRegisterForTopReqDto(_workerRegisterForTopReqDto *WorkerRegisterForTopReqDto) error

SetWorkerRegisterForTopReqDto is WorkerRegisterForTopReqDto Setter 工人注册model

type AlibabasscsupplyplatformserviceworkerregisterAPIResponse added in v1.3.1

type AlibabasscsupplyplatformserviceworkerregisterAPIResponse struct {
	model.CommonResponse
	AlibabasscsupplyplatformserviceworkerregisterAPIResponseModel
}

AlibabasscsupplyplatformserviceworkerregisterAPIResponse 服务商添加工人 API返回值 alibaba.ssc.supplyplatform.serviceworker.register

工人注册

type AlibabasscsupplyplatformserviceworkerregisterAPIResponseModel added in v1.3.1

type AlibabasscsupplyplatformserviceworkerregisterAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ssc_supplyplatform_serviceworker_register_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 通用响应model
	Result *AlibabasscsupplyplatformserviceworkerregisterResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabasscsupplyplatformserviceworkerregisterAPIResponseModel is 服务商添加工人 成功返回结果

type AlibabasscsupplyplatformserviceworkerregisterResult added in v1.3.1

type AlibabasscsupplyplatformserviceworkerregisterResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 结果model
	Value *WorkerCreateDto `json:"value,omitempty" xml:"value,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabasscsupplyplatformserviceworkerregisterResult 结构体

type AlibabasscsupplyplatformserviceworkersaveAPIRequest added in v1.3.1

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

AlibabasscsupplyplatformserviceworkersaveAPIRequest 服务商绑定工人 API请求 alibaba.ssc.supplyplatform.serviceworker.save

服务商将上传工人与服务商自己建立关系,需要将工人的服务区域和住址回传

func NewAlibabasscsupplyplatformserviceworkersaveRequest added in v1.3.1

func NewAlibabasscsupplyplatformserviceworkersaveRequest() *AlibabasscsupplyplatformserviceworkersaveAPIRequest

NewAlibabasscsupplyplatformserviceworkersaveRequest 初始化AlibabasscsupplyplatformserviceworkersaveAPIRequest对象

func (AlibabasscsupplyplatformserviceworkersaveAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscsupplyplatformserviceworkersaveAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscsupplyplatformserviceworkersaveAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabasscsupplyplatformserviceworkersaveAPIRequest) GetWorkerSaveForTopReqDto added in v1.3.1

GetWorkerSaveForTopReqDto WorkerSaveForTopReqDto Getter

func (*AlibabasscsupplyplatformserviceworkersaveAPIRequest) SetWorkerSaveForTopReqDto added in v1.3.1

func (r *AlibabasscsupplyplatformserviceworkersaveAPIRequest) SetWorkerSaveForTopReqDto(_workerSaveForTopReqDto *WorkerSaveForTopReqDto) error

SetWorkerSaveForTopReqDto is WorkerSaveForTopReqDto Setter 工人保存参数

type AlibabasscsupplyplatformserviceworkersaveAPIResponse added in v1.3.1

type AlibabasscsupplyplatformserviceworkersaveAPIResponse struct {
	model.CommonResponse
	AlibabasscsupplyplatformserviceworkersaveAPIResponseModel
}

AlibabasscsupplyplatformserviceworkersaveAPIResponse 服务商绑定工人 API返回值 alibaba.ssc.supplyplatform.serviceworker.save

服务商将上传工人与服务商自己建立关系,需要将工人的服务区域和住址回传

type AlibabasscsupplyplatformserviceworkersaveAPIResponseModel added in v1.3.1

type AlibabasscsupplyplatformserviceworkersaveAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ssc_supplyplatform_serviceworker_save_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabasscsupplyplatformserviceworkersaveResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabasscsupplyplatformserviceworkersaveAPIResponseModel is 服务商绑定工人 成功返回结果

type AlibabasscsupplyplatformserviceworkersaveResult added in v1.3.1

type AlibabasscsupplyplatformserviceworkersaveResult struct {
	// 错误代码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 展示信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 是否成功
	Success string `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

AlibabasscsupplyplatformserviceworkersaveResult 结构体

type AlibabasscsupplyplatformserviceworkerwokrerleaveAPIRequest added in v1.3.1

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

AlibabasscsupplyplatformserviceworkerwokrerleaveAPIRequest 工人请假 API请求 alibaba.ssc.supplyplatform.serviceworker.wokrerleave

工人请假

func NewAlibabasscsupplyplatformserviceworkerwokrerleaveRequest added in v1.3.1

func NewAlibabasscsupplyplatformserviceworkerwokrerleaveRequest() *AlibabasscsupplyplatformserviceworkerwokrerleaveAPIRequest

NewAlibabasscsupplyplatformserviceworkerwokrerleaveRequest 初始化AlibabasscsupplyplatformserviceworkerwokrerleaveAPIRequest对象

func (AlibabasscsupplyplatformserviceworkerwokrerleaveAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabasscsupplyplatformserviceworkerwokrerleaveAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabasscsupplyplatformserviceworkerwokrerleaveAPIRequest) GetIdentityNumber added in v1.3.1

GetIdentityNumber IdentityNumber Getter

func (AlibabasscsupplyplatformserviceworkerwokrerleaveAPIRequest) GetLeaveBeginAndEndArray added in v1.3.1

GetLeaveBeginAndEndArray LeaveBeginAndEndArray Getter

func (AlibabasscsupplyplatformserviceworkerwokrerleaveAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabasscsupplyplatformserviceworkerwokrerleaveAPIRequest) GetReason added in v1.3.1

GetReason Reason Getter

func (*AlibabasscsupplyplatformserviceworkerwokrerleaveAPIRequest) SetIdentityNumber added in v1.3.1

func (r *AlibabasscsupplyplatformserviceworkerwokrerleaveAPIRequest) SetIdentityNumber(_identityNumber string) error

SetIdentityNumber is IdentityNumber Setter 身份证号

func (*AlibabasscsupplyplatformserviceworkerwokrerleaveAPIRequest) SetLeaveBeginAndEndArray added in v1.3.1

func (r *AlibabasscsupplyplatformserviceworkerwokrerleaveAPIRequest) SetLeaveBeginAndEndArray(_leaveBeginAndEndArray []string) error

SetLeaveBeginAndEndArray is LeaveBeginAndEndArray Setter 开始和结束时间

func (*AlibabasscsupplyplatformserviceworkerwokrerleaveAPIRequest) SetReason added in v1.3.1

SetReason is Reason Setter 请假原因

type AlibabasscsupplyplatformserviceworkerwokrerleaveAPIResponse added in v1.3.1

type AlibabasscsupplyplatformserviceworkerwokrerleaveAPIResponse struct {
	model.CommonResponse
	AlibabasscsupplyplatformserviceworkerwokrerleaveAPIResponseModel
}

AlibabasscsupplyplatformserviceworkerwokrerleaveAPIResponse 工人请假 API返回值 alibaba.ssc.supplyplatform.serviceworker.wokrerleave

工人请假

type AlibabasscsupplyplatformserviceworkerwokrerleaveAPIResponseModel added in v1.3.1

type AlibabasscsupplyplatformserviceworkerwokrerleaveAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ssc_supplyplatform_serviceworker_wokrerleave_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabasscsupplyplatformserviceworkerwokrerleaveResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabasscsupplyplatformserviceworkerwokrerleaveAPIResponseModel is 工人请假 成功返回结果

type AlibabasscsupplyplatformserviceworkerwokrerleaveResult added in v1.3.1

type AlibabasscsupplyplatformserviceworkerwokrerleaveResult struct {
	// 对外展示的错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabasscsupplyplatformserviceworkerwokrerleaveResult 结构体

type AvailableWorkerQueryForTopReqDto added in v1.2.5

type AvailableWorkerQueryForTopReqDto struct {
	// 服务编码
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 服务skuCode
	ServiceSkuCode string `json:"service_sku_code,omitempty" xml:"service_sku_code,omitempty"`
	// 网点code
	ServiceStoreCode string `json:"service_store_code,omitempty" xml:"service_store_code,omitempty"`
	// 服务容量查询开始日期。使用场景预约开始时间
	StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"`
	// 服务容量查询结束日期。使用场景预约结束时间
	EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"`
	// 地址编码
	AreaCode int64 `json:"area_code,omitempty" xml:"area_code,omitempty"`
}

AvailableWorkerQueryForTopReqDto 结构体

type BillList added in v1.2.9

type BillList struct {
	// 工单费用清单
	FeeList []FeeList `json:"fee_list,omitempty" xml:"fee_list>fee_list,omitempty"`
	// 费用金额
	FeeAmount string `json:"fee_amount,omitempty" xml:"fee_amount,omitempty"`
	// 费用备注
	FeeNotice string `json:"fee_notice,omitempty" xml:"fee_notice,omitempty"`
	// 费用来源单号,仅退款和增加费用有值
	SrcOrderId string `json:"src_order_id,omitempty" xml:"src_order_id,omitempty"`
	// 提现时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 抽佣比例
	PlatformCommissionRate string `json:"platform_commission_rate,omitempty" xml:"platform_commission_rate,omitempty"`
	// 费用名称
	FeeName string `json:"fee_name,omitempty" xml:"fee_name,omitempty"`
	// 提现支付宝流水号
	PayTradeNo string `json:"pay_trade_no,omitempty" xml:"pay_trade_no,omitempty"`
	// 费用产生时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 费用类型
	FeeType string `json:"fee_type,omitempty" xml:"fee_type,omitempty"`
	// 提现支付宝备注
	PayTradeNotice string `json:"pay_trade_notice,omitempty" xml:"pay_trade_notice,omitempty"`
	// 费用产生时间
	BillTime string `json:"bill_time,omitempty" xml:"bill_time,omitempty"`
	// 工单ID
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
	// 总退款金额
	SumRefundAmount float64 `json:"sum_refund_amount,omitempty" xml:"sum_refund_amount,omitempty"`
	// 总增加费用金额
	SumAddAmount float64 `json:"sum_add_amount,omitempty" xml:"sum_add_amount,omitempty"`
	// 提现金额
	PayAmount float64 `json:"pay_amount,omitempty" xml:"pay_amount,omitempty"`
	// 分成金额
	FcAmount float64 `json:"fc_amount,omitempty" xml:"fc_amount,omitempty"`
	// 总服务费用金额
	SumServiceAmount float64 `json:"sum_service_amount,omitempty" xml:"sum_service_amount,omitempty"`
}

BillList 结构体

type Buyer

type Buyer struct {
	// 座机
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 二级地址
	AddressCity string `json:"address_city,omitempty" xml:"address_city,omitempty"`
	// 三级地址
	AddressDistrict string `json:"address_district,omitempty" xml:"address_district,omitempty"`
	// 详细地址
	AddressDetail string `json:"address_detail,omitempty" xml:"address_detail,omitempty"`
	// 姓名
	BuyerName string `json:"buyer_name,omitempty" xml:"buyer_name,omitempty"`
	// 邮箱
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// 拼装好的地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 邮编
	ZipCode string `json:"zip_code,omitempty" xml:"zip_code,omitempty"`
	// 买家昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 四级地址
	AddressTown string `json:"address_town,omitempty" xml:"address_town,omitempty"`
	// 一级地址
	AddressProvince string `json:"address_province,omitempty" xml:"address_province,omitempty"`
	// 手机号
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// open_uid
	OpenUid string `json:"open_uid,omitempty" xml:"open_uid,omitempty"`
	// 地址编码
	Location int64 `json:"location,omitempty" xml:"location,omitempty"`
}

Buyer 结构体

type BuyerDto

type BuyerDto struct {
	// 省
	AddressProvince string `json:"address_province,omitempty" xml:"address_province,omitempty"`
	// 买家昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 买家手机号
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 买家姓名
	BuyerName string `json:"buyer_name,omitempty" xml:"buyer_name,omitempty"`
	// 街道
	AddressTown string `json:"address_town,omitempty" xml:"address_town,omitempty"`
	// 买家详细地址
	AddressDetail string `json:"address_detail,omitempty" xml:"address_detail,omitempty"`
	// 买家固定电话
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 买家完整地址
	FullAddress string `json:"full_address,omitempty" xml:"full_address,omitempty"`
	// 区
	AddressDistrict string `json:"address_district,omitempty" xml:"address_district,omitempty"`
	// 市
	AddressCity string `json:"address_city,omitempty" xml:"address_city,omitempty"`
	// 地区编码
	Location int64 `json:"location,omitempty" xml:"location,omitempty"`
}

BuyerDto 结构体

type CapacityTaskQueryDto

type CapacityTaskQueryDto struct {
	// 省份
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
}

CapacityTaskQueryDto 结构体

type CustomerInfo

type CustomerInfo struct {
	// 寄件人名称
	AccountNick string `json:"account_nick,omitempty" xml:"account_nick,omitempty"`
	// 寄件人手机号码
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 寄件地址
	FullAddress string `json:"full_address,omitempty" xml:"full_address,omitempty"`
}

CustomerInfo 结构体

type DayQuantity added in v1.2.5

type DayQuantity struct {
	// 必须是YYYY-MM-DD格式
	Day string `json:"day,omitempty" xml:"day,omitempty"`
	// 表示具体的某一天内的一个时间段。注意:如果配置了改值,则这里容量调整的值则是2022-07-01 08:00-09:00的容量,不配置则是调整07-01这一天的容量
	TimeRange string `json:"time_range,omitempty" xml:"time_range,omitempty"`
	// 容量值为1
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 非必填,
	Available bool `json:"available,omitempty" xml:"available,omitempty"`
}

DayQuantity 结构体

type DivisionDto

type DivisionDto struct {
	// 1
	DivisionNames []string `json:"division_names,omitempty" xml:"division_names>string,omitempty"`
}

DivisionDto 结构体

type Double added in v1.2.9

type Double struct {
	// 费用名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 费用金额(分)
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
}

Double 结构体

type EditDetailInventoryRequest

type EditDetailInventoryRequest struct {
	// 目标库存key。如果容量的时间间隔为天时,则必须为yyyy-MM-dd格式;如果容量的时间间隔为小时,则必须为yyyy-MM-dd HH:00-HH:00格式
	TargetInventoryKey string `json:"target_inventory_key,omitempty" xml:"target_inventory_key,omitempty"`
	// 不为0的整数
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

EditDetailInventoryRequest 结构体

type EnableServiceStoreRequestDto

type EnableServiceStoreRequestDto struct {
	// 服务sku列表
	ServiceSkuList []string `json:"service_sku_list,omitempty" xml:"service_sku_list>string,omitempty"`
	// 门店名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 服务编码
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 门店id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 是否启用
	Enable bool `json:"enable,omitempty" xml:"enable,omitempty"`
}

EnableServiceStoreRequestDto 结构体

type ErrorMessage

type ErrorMessage struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

ErrorMessage 结构体

type ExpressDto

type ExpressDto struct {
	// 子物流单号
	SubMailNos []string `json:"sub_mail_nos,omitempty" xml:"sub_mail_nos>string,omitempty"`
	// 取件员名称
	CourierName string `json:"courier_name,omitempty" xml:"courier_name,omitempty"`
	// 取件员手机号码
	CourierMobile string `json:"courier_mobile,omitempty" xml:"courier_mobile,omitempty"`
	// 寄件单号(废弃)
	ExpressOrderId string `json:"express_order_id,omitempty" xml:"express_order_id,omitempty"`
	// 快递单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 物流服务商账号名称
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 打印免单信息
	PrintInfo string `json:"print_info,omitempty" xml:"print_info,omitempty"`
	// 物品信息明细 字符串格式为:json 串 例子: [{ "name": "大衣,毛衣", "count": 1 }, { "name": "裤子", "count": 2 }]
	GoodsInfo string `json:"goods_info,omitempty" xml:"goods_info,omitempty"`
	// 预约开始时间
	ReserveEndTime string `json:"reserve_end_time,omitempty" xml:"reserve_end_time,omitempty"`
	// 预约结束时间
	ReserveStartTime string `json:"reserve_start_time,omitempty" xml:"reserve_start_time,omitempty"`
	// 物流创建 :create 物流取消 :cancel 分派小件员:assign 已经分派小件员: assigned 包裹上门揽收: pickup_door 包裹已揽收完成: pickup_finished 包裹派送中: dispatching 包裹已签收: signed
	StatusCode string `json:"status_code,omitempty" xml:"status_code,omitempty"`
	// luxury(奢饰商品)/common(普通商品)
	GoodsType string `json:"goods_type,omitempty" xml:"goods_type,omitempty"`
	// 增值服务需求
	ValueAddedServiceDemand string `json:"value_added_service_demand,omitempty" xml:"value_added_service_demand,omitempty"`
	// 扩展属性
	ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"`
	// 物流订单号
	LogisticsOrderId int64 `json:"logistics_order_id,omitempty" xml:"logistics_order_id,omitempty"`
	// 物流商账号ID((ERP服务商依据不同的账号ID,走不同的物流系统对接方式))
	LogisticsTpId int64 `json:"logistics_tp_id,omitempty" xml:"logistics_tp_id,omitempty"`
	// 寄件人信息
	Sender *CustomerInfo `json:"sender,omitempty" xml:"sender,omitempty"`
	// 收件人信息
	Receiver *CustomerInfo `json:"receiver,omitempty" xml:"receiver,omitempty"`
}

ExpressDto 结构体

type FeeInfo

type FeeInfo struct {
	// 金额单价(分)
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 出资方code
	FromRoleCode string `json:"from_role_code,omitempty" xml:"from_role_code,omitempty"`
	// 费用项科目code
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 收款方的code
	ToRoleCode string `json:"to_role_code,omitempty" xml:"to_role_code,omitempty"`
	// 收款方的id
	ToRoleId int64 `json:"to_role_id,omitempty" xml:"to_role_id,omitempty"`
	// 出资方id
	FromRoleId int64 `json:"from_role_id,omitempty" xml:"from_role_id,omitempty"`
}

FeeInfo 结构体

type FeeList added in v1.2.9

type FeeList struct {
	// 费用来源单号,仅增加费用、退款有值
	SrcOrderId string `json:"src_order_id,omitempty" xml:"src_order_id,omitempty"`
	// 费用描述
	FeeTitle string `json:"fee_title,omitempty" xml:"fee_title,omitempty"`
	// 费用名称
	FeeName string `json:"fee_name,omitempty" xml:"fee_name,omitempty"`
	// 费用产生时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 费用金额
	FeeAmount float64 `json:"fee_amount,omitempty" xml:"fee_amount,omitempty"`
}

FeeList 结构体

type FulfilInsuranceTaskResponse added in v1.2.5

type FulfilInsuranceTaskResponse struct {
	// 外部单号id
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 履行单id
	FulfilTaskId int64 `json:"fulfil_task_id,omitempty" xml:"fulfil_task_id,omitempty"`
	// 工单id
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
}

FulfilInsuranceTaskResponse 结构体

type FulfilplatformResult

type FulfilplatformResult struct {
	// 服务单列表数据
	ResultList []SpServiceOrderDto `json:"result_list,omitempty" xml:"result_list>sp_service_order_dto,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 错误编码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 展示信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误名称
	ErrorName string `json:"error_name,omitempty" xml:"error_name,omitempty"`
	// 错误类型
	ErrorType string `json:"error_type,omitempty" xml:"error_type,omitempty"`
	// 物流类型 消费者--> 商家 STAGE1;商家--->消费者  STAGE2
	StageType string `json:"stage_type,omitempty" xml:"stage_type,omitempty"`
	// 核销单id
	ResultData int64 `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// 工单Id
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
	// 是否执行成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

FulfilplatformResult 结构体

type JoinedStore

type JoinedStore struct {
	// 网点编码
	ServiceStoreCode string `json:"service_store_code,omitempty" xml:"service_store_code,omitempty"`
}

JoinedStore 结构体

type MasterTradeOrder

type MasterTradeOrder struct {
	// 签收时间
	GmtArrival string `json:"gmt_arrival,omitempty" xml:"gmt_arrival,omitempty"`
	// 预计签收时间
	GmtExpectArrival string `json:"gmt_expect_arrival,omitempty" xml:"gmt_expect_arrival,omitempty"`
	// 商家编码
	OuterIdSku string `json:"outer_id_sku,omitempty" xml:"outer_id_sku,omitempty"`
	// sku描述
	SkuDesc string `json:"sku_desc,omitempty" xml:"sku_desc,omitempty"`
	// 卖家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 店铺名
	ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"`
	// 商品标题
	AuctionTitle string `json:"auction_title,omitempty" xml:"auction_title,omitempty"`
	// 商品额外属性
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 发货时间
	GmtShipped string `json:"gmt_shipped,omitempty" xml:"gmt_shipped,omitempty"`
	// 付款时间
	GmtPay string `json:"gmt_pay,omitempty" xml:"gmt_pay,omitempty"`
	// 商品编码
	OuterIdP string `json:"outer_id_p,omitempty" xml:"outer_id_p,omitempty"`
	// 类目id
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// spu id
	SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
	// 品牌id
	BrandId int64 `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 价格。单位为分
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// sku id
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 商品id
	AuctionId int64 `json:"auction_id,omitempty" xml:"auction_id,omitempty"`
	// 订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 购买数量
	BuyAmount int64 `json:"buy_amount,omitempty" xml:"buy_amount,omitempty"`
	// 实物主订单号
	ParentOrderId int64 `json:"parent_order_id,omitempty" xml:"parent_order_id,omitempty"`
}

MasterTradeOrder 结构体

type MasterTradeOrderDto

type MasterTradeOrderDto struct {
	// 卖家名称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 商品名称
	AuctionTitle string `json:"auction_title,omitempty" xml:"auction_title,omitempty"`
	// 商品属性(json格式)
	Attribute string `json:"attribute,omitempty" xml:"attribute,omitempty"`
	// 卖家店铺名称
	ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"`
	// 实物主订单id
	ParentBizOrderId string `json:"parent_biz_order_id,omitempty" xml:"parent_biz_order_id,omitempty"`
	// 品牌id
	BrandId string `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// sku描述
	SkuDesc string `json:"sku_desc,omitempty" xml:"sku_desc,omitempty"`
	// 商家编码
	OuterIdSku string `json:"outer_id_sku,omitempty" xml:"outer_id_sku,omitempty"`
	// 实物子订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 商品id
	AuctionId int64 `json:"auction_id,omitempty" xml:"auction_id,omitempty"`
	// 购买数量
	BuyAmount int64 `json:"buy_amount,omitempty" xml:"buy_amount,omitempty"`
	// 商家价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// spu_id
	SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
	// sku_id
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 类目id
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
}

MasterTradeOrderDto 结构体

type MemoDto added in v1.2.5

type MemoDto struct {
	// 备注内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 备注创建时间
	Time string `json:"time,omitempty" xml:"time,omitempty"`
}

MemoDto 结构体

type OnePagedDataList

type OnePagedDataList struct {
	// 服务sku封装
	ServiceAbilityCodeList []ServiceSkuPriceList `json:"service_ability_code_list,omitempty" xml:"service_ability_code_list>service_sku_price_list,omitempty"`
	// 服务编码
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 服务名称
	DisplayName string `json:"display_name,omitempty" xml:"display_name,omitempty"`
	// 用户昵称
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
	// 用户ID
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

OnePagedDataList 结构体

type PageResult added in v1.2.9

type PageResult struct {
	// 分页数据
	ResultData []SscClaimInfoDto `json:"result_data,omitempty" xml:"result_data>ssc_claim_info_dto,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 总数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 当前页数
	PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"`
	// 每页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

PageResult 结构体

type Paged

type Paged struct {
	// 工单列表
	DataList []SpServiceOrderDto `json:"data_list,omitempty" xml:"data_list>sp_service_order_dto,omitempty"`
	// 总页数
	TotalPageCount int64 `json:"total_page_count,omitempty" xml:"total_page_count,omitempty"`
	// 每页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 总记录数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

Paged 结构体

type PagedResult

type PagedResult struct {
	// 核销单
	Values []Value `json:"values,omitempty" xml:"values>value,omitempty"`
	// 分页数据
	DataList []BillList `json:"data_list,omitempty" xml:"data_list>bill_list,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 总条数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 页码
	PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"`
	// 分页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 总页数
	TotalPageCount int64 `json:"total_page_count,omitempty" xml:"total_page_count,omitempty"`
	// 当前页条数
	DataCount int64 `json:"data_count,omitempty" xml:"data_count,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 是否空页
	Empty bool `json:"empty,omitempty" xml:"empty,omitempty"`
}

PagedResult 结构体

type PictureInfoTo

type PictureInfoTo struct {
	// pictureUrl
	PictureUrl string `json:"picture_url,omitempty" xml:"picture_url,omitempty"`
	// pixel
	Pixel string `json:"pixel,omitempty" xml:"pixel,omitempty"`
	// sizes
	Sizes int64 `json:"sizes,omitempty" xml:"sizes,omitempty"`
}

PictureInfoTo 结构体

type ReassignStoreRequest

type ReassignStoreRequest struct {
	// 工单id
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
	// 目标门店id
	TargetServiceStoreId int64 `json:"target_service_store_id,omitempty" xml:"target_service_store_id,omitempty"`
	// 原门店id
	OriginServiceStoreId int64 `json:"origin_service_store_id,omitempty" xml:"origin_service_store_id,omitempty"`
}

ReassignStoreRequest 结构体

type RefundWorkCardTo

type RefundWorkCardTo struct {
	// failureList
	FailureList []int64 `json:"failure_list,omitempty" xml:"failure_list>int64,omitempty"`
	// notExistingList
	NotExistingList []int64 `json:"not_existing_list,omitempty" xml:"not_existing_list>int64,omitempty"`
	// refundList
	RefundList []int64 `json:"refund_list,omitempty" xml:"refund_list>int64,omitempty"`
	// existingFailure
	ExistingFailure bool `json:"existing_failure,omitempty" xml:"existing_failure,omitempty"`
}

RefundWorkCardTo 结构体

type ReservationDto

type ReservationDto struct {
	// 预约时间
	ReserveTimeEnd string `json:"reserve_time_end,omitempty" xml:"reserve_time_end,omitempty"`
	// 预约时间
	ReserveTimeStart string `json:"reserve_time_start,omitempty" xml:"reserve_time_start,omitempty"`
	// 预约来源
	ReserveRequestSourceType string `json:"reserve_request_source_type,omitempty" xml:"reserve_request_source_type,omitempty"`
	// 内部订单号
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 天猫订单号列表
	OrderIds string `json:"order_ids,omitempty" xml:"order_ids,omitempty"`
	// 服务类型,0 家装的送货上门并安装 1 单向安装 2 建材的送货上门 3 建材的安装
	ServiceType string `json:"service_type,omitempty" xml:"service_type,omitempty"`
	// 预约日期,2015-12-15
	ResvDate string `json:"resv_date,omitempty" xml:"resv_date,omitempty"`
	// 预约工人手机号码
	WorkerMobile string `json:"worker_mobile,omitempty" xml:"worker_mobile,omitempty"`
	// 工人名称
	WorkerName string `json:"worker_name,omitempty" xml:"worker_name,omitempty"`
	// 下次预约时间
	NextResvTime string `json:"next_resv_time,omitempty" xml:"next_resv_time,omitempty"`
	// 身份证信息
	WorkerIdNum string `json:"worker_id_num,omitempty" xml:"worker_id_num,omitempty"`
	// 预约时间段,会取代resv_time的上午/下午/晚上
	ResvAccurateTime string `json:"resv_accurate_time,omitempty" xml:"resv_accurate_time,omitempty"`
	// 预约时间,0:上午,1:下午,2:晚上
	ResvTime int64 `json:"resv_time,omitempty" xml:"resv_time,omitempty"`
	// 1:电话占线/无人接听/电话关机 	 2:未收到货 	 3:用户暂不需要安装 	 4:取消安装 	 5:电话号码错误
	FailCode int64 `json:"fail_code,omitempty" xml:"fail_code,omitempty"`
	// 1成功 0失败
	Success int64 `json:"success,omitempty" xml:"success,omitempty"`
	// 跳过订单类型检查的原因ID, 具体原因对应ID值咨询运营,一般不填写
	StopOrderTypeCheckReason int64 `json:"stop_order_type_check_reason,omitempty" xml:"stop_order_type_check_reason,omitempty"`
}

ReservationDto 结构体

type ResultBase

type ResultBase struct {
	// 任务id列表
	Values []int64 `json:"values,omitempty" xml:"values>int64,omitempty"`
	// 服务预警消息列表
	ValueList []ServiceMonitorMessage `json:"value_list,omitempty" xml:"value_list>service_monitor_message,omitempty"`
	// 单个一键求助单对象json字符串
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// gmtCreate
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// gmtModified
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// errorCode
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ResultBase 结构体

type ResultData

type ResultData struct {
	// 数据
	OnePagedDataList []OnePagedDataList `json:"one_paged_data_list,omitempty" xml:"one_paged_data_list>one_paged_data_list,omitempty"`
	// 服务产品sku列表
	SimpleServiceSkuList []SimpleServiceSkuDtOs `json:"simple_service_sku_list,omitempty" xml:"simple_service_sku_list>simple_service_sku_dt_os,omitempty"`
	// 街道地址编码
	TownCode string `json:"town_code,omitempty" xml:"town_code,omitempty"`
	// 网点名称
	ServiceStoreName string `json:"service_store_name,omitempty" xml:"service_store_name,omitempty"`
	// 网点负责人姓名
	ManagerName string `json:"manager_name,omitempty" xml:"manager_name,omitempty"`
	// 门店类型
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 品牌认证资料
	BrandCertification string `json:"brand_certification,omitempty" xml:"brand_certification,omitempty"`
	// 网点详细地址
	AddressDetail string `json:"address_detail,omitempty" xml:"address_detail,omitempty"`
	// 别名
	ServiceStoreAlias string `json:"service_store_alias,omitempty" xml:"service_store_alias,omitempty"`
	// 网点所在市
	AddressCity string `json:"address_city,omitempty" xml:"address_city,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 营业执照照片
	LicensePhoto string `json:"license_photo,omitempty" xml:"license_photo,omitempty"`
	// 服务场所编码
	ServiceSiteCode string `json:"service_site_code,omitempty" xml:"service_site_code,omitempty"`
	// 网点所在区
	AddressDistrict string `json:"address_district,omitempty" xml:"address_district,omitempty"`
	// 网点所在省
	AddressProvince string `json:"address_province,omitempty" xml:"address_province,omitempty"`
	// 区地址编码
	DistrictCode string `json:"district_code,omitempty" xml:"district_code,omitempty"`
	// 业务类型
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 有效期
	GmtExpire string `json:"gmt_expire,omitempty" xml:"gmt_expire,omitempty"`
	// 城市地址编码
	CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 网点所在街道
	AddressTown string `json:"address_town,omitempty" xml:"address_town,omitempty"`
	// 门头照片
	FrontPhoto string `json:"front_photo,omitempty" xml:"front_photo,omitempty"`
	// 认证的天猫品牌id列表
	CertificatedBrandIds string `json:"certificated_brand_ids,omitempty" xml:"certificated_brand_ids,omitempty"`
	// 省地址编码
	ProvinceCode string `json:"province_code,omitempty" xml:"province_code,omitempty"`
	// 营业时间
	BusinessHours string `json:"business_hours,omitempty" xml:"business_hours,omitempty"`
	// 商户中心门店id
	PlaceStoreId string `json:"place_store_id,omitempty" xml:"place_store_id,omitempty"`
	// 网点编码
	ServiceStoreCode string `json:"service_store_code,omitempty" xml:"service_store_code,omitempty"`
	// 对外服务手机号
	ServiceMobile string `json:"service_mobile,omitempty" xml:"service_mobile,omitempty"`
	// 额外属性
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 公司名称
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 统一社会信用代码
	SocialCreditCode string `json:"social_credit_code,omitempty" xml:"social_credit_code,omitempty"`
	// 创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 服务产品title
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 服务产品介绍
	ServiceProductContent string `json:"service_product_content,omitempty" xml:"service_product_content,omitempty"`
	// 服务名称
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 错误码
	FailureCode string `json:"failure_code,omitempty" xml:"failure_code,omitempty"`
	// 出错因子列表
	FailurePriceFactors string `json:"failure_price_factors,omitempty" xml:"failure_price_factors,omitempty"`
	// 错误详情
	FailureDetail string `json:"failure_detail,omitempty" xml:"failure_detail,omitempty"`
	// 页面大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 总数量
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 网点地址编码
	AddressCode int64 `json:"address_code,omitempty" xml:"address_code,omitempty"`
	// 服务产品id
	ServiceProductId int64 `json:"service_product_id,omitempty" xml:"service_product_id,omitempty"`
	// 服务产品状态
	ServiceProductStatus int64 `json:"service_product_status,omitempty" xml:"service_product_status,omitempty"`
	// 服务产品类型
	ServiceProductType int64 `json:"service_product_type,omitempty" xml:"service_product_type,omitempty"`
	// 上传结果是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ResultData 结构体

type ServiceCapacityAdjustReqDto added in v1.2.5

type ServiceCapacityAdjustReqDto struct {
	// 具体的调整值参数
	DayQuantityList []DayQuantity `json:"day_quantity_list,omitempty" xml:"day_quantity_list>day_quantity,omitempty"`
	// 服务提供者
	ServiceProviderDto *ServiceProviderDto `json:"service_provider_dto,omitempty" xml:"service_provider_dto,omitempty"`
}

ServiceCapacityAdjustReqDto 结构体

type ServiceContractDo

type ServiceContractDo struct {
	// 服务电话
	ServicePhone string `json:"service_phone,omitempty" xml:"service_phone,omitempty"`
	// 服务名称
	ServiceName string `json:"service_name,omitempty" xml:"service_name,omitempty"`
	// 买家手机
	BuyerMobile string `json:"buyer_mobile,omitempty" xml:"buyer_mobile,omitempty"`
	// 买家地址
	BuyerAddress string `json:"buyer_address,omitempty" xml:"buyer_address,omitempty"`
	// 卖家nick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 服务反馈信息
	TpFeedbackInfo string `json:"tp_feedback_info,omitempty" xml:"tp_feedback_info,omitempty"`
	// 商品序列号
	AuctionSerialNum string `json:"auction_serial_num,omitempty" xml:"auction_serial_num,omitempty"`
	// 卖家电话
	SellerPhone string `json:"seller_phone,omitempty" xml:"seller_phone,omitempty"`
	// 收货日期
	ReceiveTime string `json:"receive_time,omitempty" xml:"receive_time,omitempty"`
	// 付款时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 合同内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 生效时间
	EffectDate string `json:"effect_date,omitempty" xml:"effect_date,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 类目
	Category string `json:"category,omitempty" xml:"category,omitempty"`
	// 供应商名称
	TpName string `json:"tp_name,omitempty" xml:"tp_name,omitempty"`
	// 服务取消备注
	CancelMemo string `json:"cancel_memo,omitempty" xml:"cancel_memo,omitempty"`
	// 电子合同url
	ContractUrl string `json:"contract_url,omitempty" xml:"contract_url,omitempty"`
	// 服务取消人
	Canceler string `json:"canceler,omitempty" xml:"canceler,omitempty"`
	// 服务产品
	ServiceProduct string `json:"service_product,omitempty" xml:"service_product,omitempty"`
	// 失效时间
	ExpireDate string `json:"expire_date,omitempty" xml:"expire_date,omitempty"`
	// 备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 属性
	Attribute string `json:"attribute,omitempty" xml:"attribute,omitempty"`
	// 买家邮编
	BuyerZipCode string `json:"buyer_zip_code,omitempty" xml:"buyer_zip_code,omitempty"`
	// 买家电话
	BuyerPhone string `json:"buyer_phone,omitempty" xml:"buyer_phone,omitempty"`
	// 修改时间
	GmtModify string `json:"gmt_modify,omitempty" xml:"gmt_modify,omitempty"`
	// 合同名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 商品名称
	AuctionName string `json:"auction_name,omitempty" xml:"auction_name,omitempty"`
	// 买家姓名
	BuyerName string `json:"buyer_name,omitempty" xml:"buyer_name,omitempty"`
	// 买家有限
	BuyerMail string `json:"buyer_mail,omitempty" xml:"buyer_mail,omitempty"`
	// 合同描述
	ContractMemo string `json:"contract_memo,omitempty" xml:"contract_memo,omitempty"`
	// 店铺名称
	ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"`
	// 型号
	ModelNumber string `json:"model_number,omitempty" xml:"model_number,omitempty"`
	// 卖家手机
	SellerMobile string `json:"seller_mobile,omitempty" xml:"seller_mobile,omitempty"`
	// 品牌
	Brand string `json:"brand,omitempty" xml:"brand,omitempty"`
	// 服务取消日期
	CancelDate string `json:"cancel_date,omitempty" xml:"cancel_date,omitempty"`
	// 合同状态
	ContractStatus int64 `json:"contract_status,omitempty" xml:"contract_status,omitempty"`
	// 服务次数
	ServiceCount int64 `json:"service_count,omitempty" xml:"service_count,omitempty"`
	// 购买数量
	BuyAmount int64 `json:"buy_amount,omitempty" xml:"buy_amount,omitempty"`
	// 商品价格
	ContractPrice int64 `json:"contract_price,omitempty" xml:"contract_price,omitempty"`
	// 商品价格
	AuctionPrice int64 `json:"auction_price,omitempty" xml:"auction_price,omitempty"`
	// 合同类型
	ContractType int64 `json:"contract_type,omitempty" xml:"contract_type,omitempty"`
	// 扩展价格
	ExtPrice int64 `json:"ext_price,omitempty" xml:"ext_price,omitempty"`
	// 付款时间
	PayTimeNumber int64 `json:"pay_time_number,omitempty" xml:"pay_time_number,omitempty"`
	// 异常标识
	Flag int64 `json:"flag,omitempty" xml:"flag,omitempty"`
	// 商品编号
	AuctionId int64 `json:"auction_id,omitempty" xml:"auction_id,omitempty"`
	// 卖家id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 电子合同编号
	ContractNo int64 `json:"contract_no,omitempty" xml:"contract_no,omitempty"`
	// 订购关系id
	OrderRelationId int64 `json:"order_relation_id,omitempty" xml:"order_relation_id,omitempty"`
	// 收货日期
	ReceiveTimeNumber int64 `json:"receive_time_number,omitempty" xml:"receive_time_number,omitempty"`
	// 合同id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 生效时间
	EffectDateNumber int64 `json:"effect_date_number,omitempty" xml:"effect_date_number,omitempty"`
	// 失效时间
	ExpireDateNumber int64 `json:"expire_date_number,omitempty" xml:"expire_date_number,omitempty"`
	// 有效期
	LifeCycle int64 `json:"life_cycle,omitempty" xml:"life_cycle,omitempty"`
	// 主交易订单编号
	ParentBizOrderId int64 `json:"parent_biz_order_id,omitempty" xml:"parent_biz_order_id,omitempty"`
	// 交易订单编号
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 服务订单编号
	ServiceOrderId int64 `json:"service_order_id,omitempty" xml:"service_order_id,omitempty"`
	// 服务商编号
	TpId int64 `json:"tp_id,omitempty" xml:"tp_id,omitempty"`
}

ServiceContractDo 结构体

type ServiceContractPacket

type ServiceContractPacket struct {
	// 合同类服务列表
	ServiceList []ServiceContractDo `json:"service_list,omitempty" xml:"service_list>service_contract_do,omitempty"`
	// 描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 服务名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

ServiceContractPacket 结构体

type ServiceDefinition

type ServiceDefinition struct {
	// 业务类型
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 服务类型
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
}

ServiceDefinition 结构体

type ServiceDefinitionDto

type ServiceDefinitionDto struct {
	// 服务编码
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 服务名称
	DisplayName string `json:"display_name,omitempty" xml:"display_name,omitempty"`
	// 业务编码
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
}

ServiceDefinitionDto 结构体

type ServiceMonitorMessage

type ServiceMonitorMessage struct {
	// 提醒文本
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 消息创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 规则类型
	RuleId string `json:"rule_id,omitempty" xml:"rule_id,omitempty"`
	// 服务类型
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 消息id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 预警消息级别 1、预警 2、警告 3、严重
	Level int64 `json:"level,omitempty" xml:"level,omitempty"`
	// 状态 0、已生成 1、已预警 2、已收到 3、已读
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// bizId的业务实体类型,如果为1,则bizId为工单id
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 业务实体id
	BizId int64 `json:"biz_id,omitempty" xml:"biz_id,omitempty"`
}

ServiceMonitorMessage 结构体

type ServiceProvider

type ServiceProvider struct {
	// 服务商昵称
	TpNick string `json:"tp_nick,omitempty" xml:"tp_nick,omitempty"`
	// 工人手机号
	WorkerMobile string `json:"worker_mobile,omitempty" xml:"worker_mobile,omitempty"`
	// 门店/网点编码
	ServiceStoreCode string `json:"service_store_code,omitempty" xml:"service_store_code,omitempty"`
	// 工人姓名
	WorkerName string `json:"worker_name,omitempty" xml:"worker_name,omitempty"`
	// 门店/网点名称
	ServiceStoreName string `json:"service_store_name,omitempty" xml:"service_store_name,omitempty"`
	// isv服务商
	IsvTpName string `json:"isv_tp_name,omitempty" xml:"isv_tp_name,omitempty"`
	// 服务商id
	TpId int64 `json:"tp_id,omitempty" xml:"tp_id,omitempty"`
	// 工人id
	WorkerId int64 `json:"worker_id,omitempty" xml:"worker_id,omitempty"`
	// 门店/网点id
	ServiceStoreId int64 `json:"service_store_id,omitempty" xml:"service_store_id,omitempty"`
	// isv服务商
	IsvTpId int64 `json:"isv_tp_id,omitempty" xml:"isv_tp_id,omitempty"`
}

ServiceProvider 结构体

type ServiceProviderDto

type ServiceProviderDto struct {
	// 网点编码
	ServiceStoreCode string `json:"service_store_code,omitempty" xml:"service_store_code,omitempty"`
	// 网点名称
	ServiceStoreName string `json:"service_store_name,omitempty" xml:"service_store_name,omitempty"`
	// 工人电话
	WorkerMobile string `json:"worker_mobile,omitempty" xml:"worker_mobile,omitempty"`
	// 工人姓名
	WorkerName string `json:"worker_name,omitempty" xml:"worker_name,omitempty"`
	// 服务商昵称
	TpNick string `json:"tp_nick,omitempty" xml:"tp_nick,omitempty"`
	// 商家网点名称
	SellerStoreName string `json:"seller_store_name,omitempty" xml:"seller_store_name,omitempty"`
	// 商家网点编号
	SellerStoreCode string `json:"seller_store_code,omitempty" xml:"seller_store_code,omitempty"`
	// 注意:provider_code和providerId至少填写一个
	ProviderCode string `json:"provider_code,omitempty" xml:"provider_code,omitempty"`
	// 上门类型
	FulfilType string `json:"fulfil_type,omitempty" xml:"fulfil_type,omitempty"`
	// 服务网络
	ProviderType string `json:"provider_type,omitempty" xml:"provider_type,omitempty"`
	// 网点id
	ServiceStoreId int64 `json:"service_store_id,omitempty" xml:"service_store_id,omitempty"`
	// 服务商id
	TpId int64 `json:"tp_id,omitempty" xml:"tp_id,omitempty"`
	// 商家网点id
	SellerStoreId int64 `json:"seller_store_id,omitempty" xml:"seller_store_id,omitempty"`
	// 注意:provider_code和providerId至少填写一个
	ProviderId int64 `json:"provider_id,omitempty" xml:"provider_id,omitempty"`
	// 服务商id值
	SupplierId int64 `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
}

ServiceProviderDto 结构体

type ServiceSkuDto added in v1.2.5

type ServiceSkuDto struct {
	// 服务技能code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
}

ServiceSkuDto 结构体

type ServiceSkuPriceList

type ServiceSkuPriceList struct {
	// 服务sku
	ServiceAbilityCode string `json:"service_ability_code,omitempty" xml:"service_ability_code,omitempty"`
	// 价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
}

ServiceSkuPriceList 结构体

type ServiceStoreCreateDto

type ServiceStoreCreateDto struct {
	// 秘钥--内嵌核销页面使用
	Secret string `json:"secret,omitempty" xml:"secret,omitempty"`
	// 网点id
	ServiceStoreId int64 `json:"service_store_id,omitempty" xml:"service_store_id,omitempty"`
}

ServiceStoreCreateDto 结构体

type ServiceStoreCreateResp

type ServiceStoreCreateResp struct {
	// 门店密钥
	Secret string `json:"secret,omitempty" xml:"secret,omitempty"`
	// 门店id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

ServiceStoreCreateResp 结构体

type ServiceStoreDto

type ServiceStoreDto struct {
	// 城市
	AddressCity string `json:"address_city,omitempty" xml:"address_city,omitempty"`
	// 详细地址
	AddressDetail string `json:"address_detail,omitempty" xml:"address_detail,omitempty"`
	// 地址-区
	AddressDistrict string `json:"address_district,omitempty" xml:"address_district,omitempty"`
	// 地址-省
	AddressProvince string `json:"address_province,omitempty" xml:"address_province,omitempty"`
	// 标准地址-街道
	AddressTown string `json:"address_town,omitempty" xml:"address_town,omitempty"`
	// 支付宝账号
	AlipayAccount string `json:"alipay_account,omitempty" xml:"alipay_account,omitempty"`
	// 支付宝账号姓名
	AlipayAccountName string `json:"alipay_account_name,omitempty" xml:"alipay_account_name,omitempty"`
	// 额外属性。json
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 业务身份。汽车传car_accessory_install
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 品牌认证资料url列表,英文逗号分隔
	BrandCertification string `json:"brand_certification,omitempty" xml:"brand_certification,omitempty"`
	// 每日营业时间。字符串
	BusinessHours string `json:"business_hours,omitempty" xml:"business_hours,omitempty"`
	// 认证的天猫品牌id列表
	CertificatedBrandIds string `json:"certificated_brand_ids,omitempty" xml:"certificated_brand_ids,omitempty"`
	// 公司名
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 法人身份证号
	LegalPersonIdNumber string `json:"legal_person_id_number,omitempty" xml:"legal_person_id_number,omitempty"`
	// 法人姓名
	LegalPersonName string `json:"legal_person_name,omitempty" xml:"legal_person_name,omitempty"`
	// 经理人/联系人姓名
	ManagerName string `json:"manager_name,omitempty" xml:"manager_name,omitempty"`
	// 经理人/联系人电话
	ManagerPhone string `json:"manager_phone,omitempty" xml:"manager_phone,omitempty"`
	// 对外服务座机号
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 对外服务手机号
	ServiceMobile string `json:"service_mobile,omitempty" xml:"service_mobile,omitempty"`
	// 网点/门店编码
	ServiceStoreCode string `json:"service_store_code,omitempty" xml:"service_store_code,omitempty"`
	// 网点名称
	ServiceStoreName string `json:"service_store_name,omitempty" xml:"service_store_name,omitempty"`
	// 统一社会信用代码
	SocialCreditCode string `json:"social_credit_code,omitempty" xml:"social_credit_code,omitempty"`
	// 别名
	ServiceStoreAlias string `json:"service_store_alias,omitempty" xml:"service_store_alias,omitempty"`
	// 支付宝账户身份证号
	AlipayAccountIdNumber string `json:"alipay_account_id_number,omitempty" xml:"alipay_account_id_number,omitempty"`
	// 法人身份证正面
	LegalPersonIdCardPic string `json:"legal_person_id_card_pic,omitempty" xml:"legal_person_id_card_pic,omitempty"`
	// 法人身份证反面
	LegalPersonIdCardPicBack string `json:"legal_person_id_card_pic_back,omitempty" xml:"legal_person_id_card_pic_back,omitempty"`
	// 门头照片
	FrontPhoto string `json:"front_photo,omitempty" xml:"front_photo,omitempty"`
	// 营业执照照片
	LicensePhoto string `json:"license_photo,omitempty" xml:"license_photo,omitempty"`
	// 支付宝账户id
	AlipayAccountId string `json:"alipay_account_id,omitempty" xml:"alipay_account_id,omitempty"`
	// 品牌认证有效期
	GmtBrandCertificationExpire string `json:"gmt_brand_certification_expire,omitempty" xml:"gmt_brand_certification_expire,omitempty"`
	// 照片集合
	PhotoCollections string `json:"photo_collections,omitempty" xml:"photo_collections,omitempty"`
	// 标准地址编码
	AddressCode int64 `json:"address_code,omitempty" xml:"address_code,omitempty"`
	// 纬度
	Latitude float64 `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 经度
	Longitude float64 `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 门店类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 门店id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

ServiceStoreDto 结构体

type ServiceStoreSaveForTopReqDto

type ServiceStoreSaveForTopReqDto struct {
	// 支付宝账号
	AlipayAccountIdNumber string `json:"alipay_account_id_number,omitempty" xml:"alipay_account_id_number,omitempty"`
	// 法人身份证反面l-使用阿里图片服务
	LegalPersonIdCardPicBack string `json:"legal_person_id_card_pic_back,omitempty" xml:"legal_person_id_card_pic_back,omitempty"`
	// 网点名称-唯一
	ServiceStoreName string `json:"service_store_name,omitempty" xml:"service_store_name,omitempty"`
	// 维度,必须是数字
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 公司名称
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 扩展属性,底层必须是map结构
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 法人身份证
	LegalPersonIdNumber string `json:"legal_person_id_number,omitempty" xml:"legal_person_id_number,omitempty"`
	// 网点负责人姓名
	ManagerName string `json:"manager_name,omitempty" xml:"manager_name,omitempty"`
	// 法人身份证照片l-使用阿里图片服务
	LegalPersonIdCardPic string `json:"legal_person_id_card_pic,omitempty" xml:"legal_person_id_card_pic,omitempty"`
	// 统一社会信用代码
	SocialCreditCode string `json:"social_credit_code,omitempty" xml:"social_credit_code,omitempty"`
	// 法人姓名
	LegalPersonName string `json:"legal_person_name,omitempty" xml:"legal_person_name,omitempty"`
	// 品牌认证图片url-使用阿里图片服务
	BrandCertification string `json:"brand_certification,omitempty" xml:"brand_certification,omitempty"`
	// 网点邮箱
	ServiceStoreMail string `json:"service_store_mail,omitempty" xml:"service_store_mail,omitempty"`
	// 网点负责人电话
	ManagerPhone string `json:"manager_phone,omitempty" xml:"manager_phone,omitempty"`
	// 精度,必须是数字
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 门头照片-使用阿里图片服务
	FrontPhoto string `json:"front_photo,omitempty" xml:"front_photo,omitempty"`
	// 详细地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 认证的天猫品牌id集合-找运营支持
	CertificatedBrandIds string `json:"certificated_brand_ids,omitempty" xml:"certificated_brand_ids,omitempty"`
	// 营业时间,小时维度
	BusinessHours string `json:"business_hours,omitempty" xml:"business_hours,omitempty"`
	// 支付宝账号id
	AlipayAccountId string `json:"alipay_account_id,omitempty" xml:"alipay_account_id,omitempty"`
	// 支付宝账号注册的信息--如用手机号或者邮箱
	AlipayAccount string `json:"alipay_account,omitempty" xml:"alipay_account,omitempty"`
	// 网点code和网点id选其一
	ServiceStoreCode string `json:"service_store_code,omitempty" xml:"service_store_code,omitempty"`
	// 营业执照照片-使用阿里图片服务
	LicensePhoto string `json:"license_photo,omitempty" xml:"license_photo,omitempty"`
	// 对外服务电话
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 支付宝账号真实姓名
	AlipayAccountName string `json:"alipay_account_name,omitempty" xml:"alipay_account_name,omitempty"`
	// 网点地址编码经纬度和详细地址id二选一
	AddressId int64 `json:"address_id,omitempty" xml:"address_id,omitempty"`
	// 网点id和网点code选其一
	ServiceStoreId int64 `json:"service_store_id,omitempty" xml:"service_store_id,omitempty"`
}

ServiceStoreSaveForTopReqDto 结构体

type ServiceTaskDo

type ServiceTaskDo struct {
	// 服务电话
	ServicePhone string `json:"service_phone,omitempty" xml:"service_phone,omitempty"`
	// 服务名称
	ServiceName string `json:"service_name,omitempty" xml:"service_name,omitempty"`
	// 买家电话
	BuyerMobile string `json:"buyer_mobile,omitempty" xml:"buyer_mobile,omitempty"`
	// 申请日期
	ApplyDate string `json:"apply_date,omitempty" xml:"apply_date,omitempty"`
	// 买家地址
	BuyerAddress string `json:"buyer_address,omitempty" xml:"buyer_address,omitempty"`
	// 卖家nick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 服务商反馈信息
	TpFeedbackInfo string `json:"tp_feedback_info,omitempty" xml:"tp_feedback_info,omitempty"`
	// 商品序列号
	AuctionSerialNum string `json:"auction_serial_num,omitempty" xml:"auction_serial_num,omitempty"`
	// 卖家电话
	SellerPhone string `json:"seller_phone,omitempty" xml:"seller_phone,omitempty"`
	// 收货日期
	ReceiveTime string `json:"receive_time,omitempty" xml:"receive_time,omitempty"`
	// 付款时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 生效日期
	EffectDate string `json:"effect_date,omitempty" xml:"effect_date,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 类目
	Category string `json:"category,omitempty" xml:"category,omitempty"`
	// 服务提供商名称
	TpName string `json:"tp_name,omitempty" xml:"tp_name,omitempty"`
	// 期望日期
	ExpectDate string `json:"expect_date,omitempty" xml:"expect_date,omitempty"`
	// 服务取消备注
	CancelMemo string `json:"cancel_memo,omitempty" xml:"cancel_memo,omitempty"`
	// 服务取消人
	Canceler string `json:"canceler,omitempty" xml:"canceler,omitempty"`
	// 服务产品
	ServiceProduct string `json:"service_product,omitempty" xml:"service_product,omitempty"`
	// 失效日期
	ExpireDate string `json:"expire_date,omitempty" xml:"expire_date,omitempty"`
	// 备注信息
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 属性
	Attribute string `json:"attribute,omitempty" xml:"attribute,omitempty"`
	// 买家邮编
	BuyerZipCode string `json:"buyer_zip_code,omitempty" xml:"buyer_zip_code,omitempty"`
	// 买家电话
	BuyerPhone string `json:"buyer_phone,omitempty" xml:"buyer_phone,omitempty"`
	// 修改时间
	GmtModify string `json:"gmt_modify,omitempty" xml:"gmt_modify,omitempty"`
	// 工单名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 工单描述
	TaskMemo string `json:"task_memo,omitempty" xml:"task_memo,omitempty"`
	// 商品名称
	AuctionName string `json:"auction_name,omitempty" xml:"auction_name,omitempty"`
	// 买家名称
	BuyerName string `json:"buyer_name,omitempty" xml:"buyer_name,omitempty"`
	// 买家邮箱
	BuyerMail string `json:"buyer_mail,omitempty" xml:"buyer_mail,omitempty"`
	// 店铺名称
	ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"`
	// 型号
	ModelNumber string `json:"model_number,omitempty" xml:"model_number,omitempty"`
	// 卖家手机
	SellerMobile string `json:"seller_mobile,omitempty" xml:"seller_mobile,omitempty"`
	// 品牌
	Brand string `json:"brand,omitempty" xml:"brand,omitempty"`
	// 服务取消时间
	CancelDate string `json:"cancel_date,omitempty" xml:"cancel_date,omitempty"`
	// auctionSkuProperties
	AuctionSkuProperties string `json:"auction_sku_properties,omitempty" xml:"auction_sku_properties,omitempty"`
	// 买家nick
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 服务次数
	ServiceCount int64 `json:"service_count,omitempty" xml:"service_count,omitempty"`
	// 购买的商品数量
	BuyAmount int64 `json:"buy_amount,omitempty" xml:"buy_amount,omitempty"`
	// 商品价格
	AuctionPrice int64 `json:"auction_price,omitempty" xml:"auction_price,omitempty"`
	// 扩展价格
	ExtPrice int64 `json:"ext_price,omitempty" xml:"ext_price,omitempty"`
	// 工单状态
	TaskStatus int64 `json:"task_status,omitempty" xml:"task_status,omitempty"`
	// 工单类型
	TaskType int64 `json:"task_type,omitempty" xml:"task_type,omitempty"`
	// 付款时间
	PayTimeNumber int64 `json:"pay_time_number,omitempty" xml:"pay_time_number,omitempty"`
	// 异常标识
	Flag int64 `json:"flag,omitempty" xml:"flag,omitempty"`
	// 商品编号
	AuctionId int64 `json:"auction_id,omitempty" xml:"auction_id,omitempty"`
	// 卖家id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 商品价格
	TaskPrice int64 `json:"task_price,omitempty" xml:"task_price,omitempty"`
	// 订购关系ID
	OrderRelationId int64 `json:"order_relation_id,omitempty" xml:"order_relation_id,omitempty"`
	// 收货日期
	ReceiveTimeNumber int64 `json:"receive_time_number,omitempty" xml:"receive_time_number,omitempty"`
	// 合同id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 生效日期
	EffectDateNumber int64 `json:"effect_date_number,omitempty" xml:"effect_date_number,omitempty"`
	// 失效日期
	ExpireDateNumber int64 `json:"expire_date_number,omitempty" xml:"expire_date_number,omitempty"`
	// 期望日期
	ExpectDateNumber int64 `json:"expect_date_number,omitempty" xml:"expect_date_number,omitempty"`
	// 申请日期
	ApplyDateNumber int64 `json:"apply_date_number,omitempty" xml:"apply_date_number,omitempty"`
	// 有效期
	LifeCycle int64 `json:"life_cycle,omitempty" xml:"life_cycle,omitempty"`
	// 合同id
	ContractId int64 `json:"contract_id,omitempty" xml:"contract_id,omitempty"`
	// 主交易订单编号
	ParentBizOrderId int64 `json:"parent_biz_order_id,omitempty" xml:"parent_biz_order_id,omitempty"`
	// 交易订单编号
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 服务订单编号
	ServiceOrderId int64 `json:"service_order_id,omitempty" xml:"service_order_id,omitempty"`
	// 供应商编号
	TpId int64 `json:"tp_id,omitempty" xml:"tp_id,omitempty"`
	// actualTotalFee
	ActualTotalFee int64 `json:"actual_total_fee,omitempty" xml:"actual_total_fee,omitempty"`
	// 买家location
	BuyerLocation int64 `json:"buyer_location,omitempty" xml:"buyer_location,omitempty"`
	// 买家id
	BuyerId int64 `json:"buyer_id,omitempty" xml:"buyer_id,omitempty"`
}

ServiceTaskDo 结构体

type ServiceTaskPacket

type ServiceTaskPacket struct {
	// 服务工单DO
	ServiceList []ServiceTaskDo `json:"service_list,omitempty" xml:"service_list>service_task_do,omitempty"`
	// 描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 服务名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

ServiceTaskPacket 结构体

type ServiceTradeOrder

type ServiceTradeOrder struct {
	// 服务商品的商家编码
	OuterIdSku string `json:"outer_id_sku,omitempty" xml:"outer_id_sku,omitempty"`
	// 服务商品的sku描述
	SkuDesc string `json:"sku_desc,omitempty" xml:"sku_desc,omitempty"`
	// 服务商品的卖家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 服务商品的店铺名
	ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"`
	// 服务商品的标题
	AuctionTitle string `json:"auction_title,omitempty" xml:"auction_title,omitempty"`
	// 服务商品额外属性
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 付款时间
	GmtPay string `json:"gmt_pay,omitempty" xml:"gmt_pay,omitempty"`
	// 商品图片
	AuctionPic string `json:"auction_pic,omitempty" xml:"auction_pic,omitempty"`
	// 商家编码
	OuterIdP string `json:"outer_id_p,omitempty" xml:"outer_id_p,omitempty"`
	// 服务商品的类目
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 服务商品的sku id
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 服务商品的id
	AuctionId int64 `json:"auction_id,omitempty" xml:"auction_id,omitempty"`
	// 服务商品的采购价。单位为分
	PurchasePriceUnit int64 `json:"purchase_price_unit,omitempty" xml:"purchase_price_unit,omitempty"`
	// 订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 购买数量
	BuyAmount int64 `json:"buy_amount,omitempty" xml:"buy_amount,omitempty"`
	// 服务的售卖价
	B2bPriceUnit int64 `json:"b2b_price_unit,omitempty" xml:"b2b_price_unit,omitempty"`
	// 主订单号
	ParentOrderId int64 `json:"parent_order_id,omitempty" xml:"parent_order_id,omitempty"`
	// 商品价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
}

ServiceTradeOrder 结构体

type ServiceTradeOrderDto

type ServiceTradeOrderDto struct {
	// 卖家名称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 商品名称
	AuctionTitle string `json:"auction_title,omitempty" xml:"auction_title,omitempty"`
	// 服务订单属性(json格式)
	Attribute string `json:"attribute,omitempty" xml:"attribute,omitempty"`
	// 卖家店铺名称
	ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"`
	// sku描述
	SkuDesc string `json:"sku_desc,omitempty" xml:"sku_desc,omitempty"`
	// 商家编码
	OuterIdSku string `json:"outer_id_sku,omitempty" xml:"outer_id_sku,omitempty"`
	// 商品id
	AuctionId int64 `json:"auction_id,omitempty" xml:"auction_id,omitempty"`
	// 服务子订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 商品价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 服务主订单id
	ParentBizOrderId int64 `json:"parent_biz_order_id,omitempty" xml:"parent_biz_order_id,omitempty"`
	// 类目id
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// sku_id
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 服务采购价
	PurchasePriceUnit int64 `json:"purchase_price_unit,omitempty" xml:"purchase_price_unit,omitempty"`
}

ServiceTradeOrderDto 结构体

type ServiceTypeDtOs

type ServiceTypeDtOs struct {
	// serviceTypeDTOs
	ServiceTypeDTOs []ServiceTypeDto `json:"service_type_d_t_os,omitempty" xml:"service_type_d_t_os>service_type_dto,omitempty"`
}

ServiceTypeDtOs 结构体

type ServiceTypeDto

type ServiceTypeDto struct {
	// serviceName
	ServiceName string `json:"service_name,omitempty" xml:"service_name,omitempty"`
}

ServiceTypeDto 结构体

type SettleAdjustmentRequest

type SettleAdjustmentRequest struct {
	// 计价因子,填写规则:1、有计价因子场景:{name:计价因子名称 ,value:数量}如示例;2、没有计价因子场景:填默认值:{name:计价因子,value:0}
	PriceFactors []SettlementPriceFactor `json:"price_factors,omitempty" xml:"price_factors>settlement_price_factor,omitempty"`
	// 调整原因描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 调整原因图片url,最后不用加分号,最多三条
	PictureUrls string `json:"picture_urls,omitempty" xml:"picture_urls,omitempty"`
	// 真实服务商nick,仅限isv服务商对接接口时使用,其余服务商勿使用此字段
	RealTpNick string `json:"real_tp_nick,omitempty" xml:"real_tp_nick,omitempty"`
	// 调整费用,必需是正数,单位分
	Cost int64 `json:"cost,omitempty" xml:"cost,omitempty"`
	// 工单ID
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
	// 调整单分类类型;1,配件费;2,不符单费;3,拆旧费;4,二次上门;5,胶费;6,打孔费;7,层高费;8,远程费;9,单外费;10,其他
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 服务商结算标记 1-服务商 2-商家
	TpSettleFlag int64 `json:"tp_settle_flag,omitempty" xml:"tp_settle_flag,omitempty"`
}

SettleAdjustmentRequest 结构体

type SettleAdjustmentResp

type SettleAdjustmentResp struct {
	// 结算调整单ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

SettleAdjustmentResp 结构体

type SettleAdjustmentResponse

type SettleAdjustmentResponse struct {
	// comments
	Comments string `json:"comments,omitempty" xml:"comments,omitempty"`
	// description
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// gmtCreate
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// gmtModified
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// pictureUrls,多条已冒号分隔
	PictureUrls string `json:"picture_urls,omitempty" xml:"picture_urls,omitempty"`
	// priceFactors
	PriceFactors string `json:"price_factors,omitempty" xml:"price_factors,omitempty"`
	// cost,单位分
	Cost int64 `json:"cost,omitempty" xml:"cost,omitempty"`
	// id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// serviceOrderId
	ServiceOrderId int64 `json:"service_order_id,omitempty" xml:"service_order_id,omitempty"`
	// 工单ID
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
	// 调整单状态 待商家确认:1, 商家已确认:2,  待小二判定:3,  小二判定有效:4,  小二判定无效:5,  小二无法判定:6, 服务商取消:7, 超时确认:8, 完成:9
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 调整单类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

SettleAdjustmentResponse 结构体

type SettlementPriceFactor

type SettlementPriceFactor struct {
	// 计价因子属性
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 计价因子说明
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 计价因子实际值
	Value int64 `json:"value,omitempty" xml:"value,omitempty"`
}

SettlementPriceFactor 结构体

type SimpleServiceSkuDtOs

type SimpleServiceSkuDtOs struct {
	// 服务skuCode
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 服务sku名称
	DisplayName string `json:"display_name,omitempty" xml:"display_name,omitempty"`
}

SimpleServiceSkuDtOs 结构体

type SpServiceOrderDto

type SpServiceOrderDto struct {
	// 费用信息
	FeeList []FeeInfo `json:"fee_list,omitempty" xml:"fee_list>fee_info,omitempty"`
	// 服务过期时间
	GmtExpire string `json:"gmt_expire,omitempty" xml:"gmt_expire,omitempty"`
	// 服务单修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 服务单创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 服务单有效期开始时间
	GmtEffect string `json:"gmt_effect,omitempty" xml:"gmt_effect,omitempty"`
	// 状态编码:create(创建)、effect(生效)、closed(关闭)、finish(完成)
	StatusCode string `json:"status_code,omitempty" xml:"status_code,omitempty"`
	// 履约类型:1, "到店"2, "到家"3, "寄送"
	FulfilTypeCode string `json:"fulfil_type_code,omitempty" xml:"fulfil_type_code,omitempty"`
	// 取消的份数
	RefundServiceCount int64 `json:"refund_service_count,omitempty" xml:"refund_service_count,omitempty"`
	// 实物子订单信息
	MasterTradeOrder *MasterTradeOrderDto `json:"master_trade_order,omitempty" xml:"master_trade_order,omitempty"`
	// 服务定义
	ServiceDefinition *ServiceDefinitionDto `json:"service_definition,omitempty" xml:"service_definition,omitempty"`
	// 买家信息
	Buyer *BuyerDto `json:"buyer,omitempty" xml:"buyer,omitempty"`
	// 已使用份数
	UsedServiceCount int64 `json:"used_service_count,omitempty" xml:"used_service_count,omitempty"`
	// 剩余的份数
	LeftServiceCount int64 `json:"left_service_count,omitempty" xml:"left_service_count,omitempty"`
	// 服务子订单信息
	ServiceTradeOrder *ServiceTradeOrderDto `json:"service_trade_order,omitempty" xml:"service_trade_order,omitempty"`
	// 服务的总份数
	ServiceCount int64 `json:"service_count,omitempty" xml:"service_count,omitempty"`
	// 服务单id
	SpServiceorderId int64 `json:"sp_serviceorder_id,omitempty" xml:"sp_serviceorder_id,omitempty"`
	// 正在使用中的次数
	UsingServiceCount int64 `json:"using_service_count,omitempty" xml:"using_service_count,omitempty"`
	// 服务定义
	ServiceDefinitionDTO *ServiceDefinitionDto `json:"service_definition_d_t_o,omitempty" xml:"service_definition_d_t_o,omitempty"`
	// 服务单id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 服务交易订单
	ServiceTradeOrderDTO *ServiceTradeOrderDto `json:"service_trade_order_d_t_o,omitempty" xml:"service_trade_order_d_t_o,omitempty"`
	// 服务单申请工单的幂等键
	ServiceSequence int64 `json:"service_sequence,omitempty" xml:"service_sequence,omitempty"`
	// 服务提供者
	ServiceProviderDTO *ServiceProviderDto `json:"service_provider_d_t_o,omitempty" xml:"service_provider_d_t_o,omitempty"`
}

SpServiceOrderDto 结构体

type Spb2bOderQuery

type Spb2bOderQuery struct {
	// 开始日期
	StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"`
	// 结束日期
	EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"`
	// 售卖商昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 服务code
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 服务状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 每页个数
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 最后条数
	EndRow int64 `json:"end_row,omitempty" xml:"end_row,omitempty"`
	// 开始条数
	StartRow int64 `json:"start_row,omitempty" xml:"start_row,omitempty"`
	// 售卖商id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 当前页
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 是否分页
	NeedByPage bool `json:"need_by_page,omitempty" xml:"need_by_page,omitempty"`
	// 是否查询新供给ssc订购数据
	NewSupplySubscriberData bool `json:"new_supply_subscriber_data,omitempty" xml:"new_supply_subscriber_data,omitempty"`
}

Spb2bOderQuery 结构体

type SscClaimInfoDto added in v1.2.9

type SscClaimInfoDto struct {
	// 保单号
	InsuranceOrderNo string `json:"insurance_order_no,omitempty" xml:"insurance_order_no,omitempty"`
	// 服务产品
	ServiceName string `json:"service_name,omitempty" xml:"service_name,omitempty"`
	// 商品名称
	AuctionName string `json:"auction_name,omitempty" xml:"auction_name,omitempty"`
	// 商品sku描述
	AuctionSkuDesc string `json:"auction_sku_desc,omitempty" xml:"auction_sku_desc,omitempty"`
	// 服务sku描述
	SkuDesc string `json:"sku_desc,omitempty" xml:"sku_desc,omitempty"`
	// 工单创建时间
	GmtCreateWorkcard string `json:"gmt_create_workcard,omitempty" xml:"gmt_create_workcard,omitempty"`
	// 工单完成时间
	CompletionDate string `json:"completion_date,omitempty" xml:"completion_date,omitempty"`
	// 问题描述、故障位置、故障判断
	ProblemDesc string `json:"problem_desc,omitempty" xml:"problem_desc,omitempty"`
	// 买家昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// sn
	Sn string `json:"sn,omitempty" xml:"sn,omitempty"`
	// 被保人
	Recognizee string `json:"recognizee,omitempty" xml:"recognizee,omitempty"`
	// 被保人社会统一号
	RecognizeeUnityNumber string `json:"recognizee_unity_number,omitempty" xml:"recognizee_unity_number,omitempty"`
	// 扩展属性 map的json格式
	TaskAttribute string `json:"task_attribute,omitempty" xml:"task_attribute,omitempty"`
	// 工单id
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
	// 淘宝交易实物子订单
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 服务订单编号
	ServiceOrderId int64 `json:"service_order_id,omitempty" xml:"service_order_id,omitempty"`
	// 商品id
	AuctionId int64 `json:"auction_id,omitempty" xml:"auction_id,omitempty"`
	// 服务单id
	SpServiceOrderId int64 `json:"sp_service_order_id,omitempty" xml:"sp_service_order_id,omitempty"`
	// 商品skuid
	AuctionSkuId int64 `json:"auction_sku_id,omitempty" xml:"auction_sku_id,omitempty"`
	// 理赔金额(分)
	ClaimFee int64 `json:"claim_fee,omitempty" xml:"claim_fee,omitempty"`
}

SscClaimInfoDto 结构体

type StoreOfferPriceDto

type StoreOfferPriceDto struct {
	// 服务code
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 服务skuCode
	ServiceSku string `json:"service_sku,omitempty" xml:"service_sku,omitempty"`
	// price
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 门店ID
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

StoreOfferPriceDto 结构体

type SubscribeMerchantDto

type SubscribeMerchantDto struct {
	// 技术电话
	TechPhone string `json:"tech_phone,omitempty" xml:"tech_phone,omitempty"`
	// 操作人电话
	OperatorPhone string `json:"operator_phone,omitempty" xml:"operator_phone,omitempty"`
	// 售后电话
	AfterSalePhone string `json:"after_sale_phone,omitempty" xml:"after_sale_phone,omitempty"`
	// 服务cide
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 订购者昵称
	SubscriberNick string `json:"subscriber_nick,omitempty" xml:"subscriber_nick,omitempty"`
	// 卖家类型
	SellerType string `json:"seller_type,omitempty" xml:"seller_type,omitempty"`
	// 订购单主键id
	SubscribeOrderId int64 `json:"subscribe_order_id,omitempty" xml:"subscribe_order_id,omitempty"`
	// spuid
	SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"`
}

SubscribeMerchantDto 结构体

type SupplyCategoryWorkerDto added in v1.2.9

type SupplyCategoryWorkerDto struct {
	// 工人身份证号
	IdNumber string `json:"id_number,omitempty" xml:"id_number,omitempty"`
	// 工人手机号
	WorkerMobile string `json:"worker_mobile,omitempty" xml:"worker_mobile,omitempty"`
	// 工人id
	WorkerId int64 `json:"worker_id,omitempty" xml:"worker_id,omitempty"`
}

SupplyCategoryWorkerDto 结构体

type SupplyConfigRuleDto added in v1.2.9

type SupplyConfigRuleDto struct {
	// 工人校验类型(高级工人/品牌品类工人)
	WorkerCheckTypeList []string `json:"worker_check_type_list,omitempty" xml:"worker_check_type_list>string,omitempty"`
	// 规则唯一编号
	UniqueNo string `json:"unique_no,omitempty" xml:"unique_no,omitempty"`
	// servicecode
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 店铺名称
	ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"`
	// 叶子类目�名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
}

SupplyConfigRuleDto 结构体

type SupplyLevelWorkerDto added in v1.2.9

type SupplyLevelWorkerDto struct {
	// serviceCode
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 工人身份证号
	IdNumber string `json:"id_number,omitempty" xml:"id_number,omitempty"`
	// 技能等级(中级、初级、试用、高级)
	WorkerLevel string `json:"worker_level,omitempty" xml:"worker_level,omitempty"`
	// 工人手机号
	WorkerMobile string `json:"worker_mobile,omitempty" xml:"worker_mobile,omitempty"`
	// 工人id
	WorkerId int64 `json:"worker_id,omitempty" xml:"worker_id,omitempty"`
}

SupplyLevelWorkerDto 结构体

type SuspendServiceDo

type SuspendServiceDo struct {
	// api调用者
	Updater string `json:"updater,omitempty" xml:"updater,omitempty"`
	// 扩展字段
	Extension string `json:"extension,omitempty" xml:"extension,omitempty"`
	// 无需安装的原因
	Comments string `json:"comments,omitempty" xml:"comments,omitempty"`
	// 工单类型,固定值1
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 买家user_id
	BuyerId int64 `json:"buyer_id,omitempty" xml:"buyer_id,omitempty"`
	// 更新时间得long值
	UpdateDate int64 `json:"update_date,omitempty" xml:"update_date,omitempty"`
	// 工单id
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
}

SuspendServiceDo 结构体

type TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIRequest added in v1.3.1

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

TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIRequest 基于规则查品牌品类工人接口 API请求 tmall.fuwu.homedecoration.supplyrule.categoryworkerlist

基于规则查品牌品类工人接口

func NewTmallfuwuhomedecorationsupplyrulecategoryworkerlistRequest added in v1.3.1

func NewTmallfuwuhomedecorationsupplyrulecategoryworkerlistRequest() *TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIRequest

NewTmallfuwuhomedecorationsupplyrulecategoryworkerlistRequest 初始化TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIRequest对象

func (TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIRequest) GetPageIndex added in v1.3.1

GetPageIndex PageIndex Getter

func (TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIRequest) GetUniqueNo added in v1.3.1

GetUniqueNo UniqueNo Getter

func (*TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIRequest) SetPageIndex added in v1.3.1

SetPageIndex is PageIndex Setter 当前页数

func (*TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIRequest) SetPageSize added in v1.3.1

SetPageSize is PageSize Setter 每页大小,不传默认只查20条,最大不能超过500

func (*TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIRequest) SetUniqueNo added in v1.3.1

SetUniqueNo is UniqueNo Setter 规则唯一编号

type TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIResponse added in v1.3.1

type TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIResponse struct {
	model.CommonResponse
	TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIResponseModel
}

TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIResponse 基于规则查品牌品类工人接口 API返回值 tmall.fuwu.homedecoration.supplyrule.categoryworkerlist

基于规则查品牌品类工人接口

type TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIResponseModel added in v1.3.1

type TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_fuwu_homedecoration_supplyrule_categoryworkerlist_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应结果
	Result *TmallfuwuhomedecorationsupplyrulecategoryworkerlistResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallfuwuhomedecorationsupplyrulecategoryworkerlistAPIResponseModel is 基于规则查品牌品类工人接口 成功返回结果

type TmallfuwuhomedecorationsupplyrulecategoryworkerlistResult added in v1.3.1

type TmallfuwuhomedecorationsupplyrulecategoryworkerlistResult struct {
	// 品牌品类工人数据
	DataList []SupplyCategoryWorkerDto `json:"data_list,omitempty" xml:"data_list>supply_category_worker_dto,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 当前页码
	PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"`
	// 每页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 总页数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallfuwuhomedecorationsupplyrulecategoryworkerlistResult 结构体

type TmallfuwuhomedecorationsupplyrulelistAPIRequest added in v1.3.1

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

TmallfuwuhomedecorationsupplyrulelistAPIRequest 查询供给规则接口 API请求 tmall.fuwu.homedecoration.supplyrule.list

查询供给规则接口

func NewTmallfuwuhomedecorationsupplyrulelistRequest added in v1.3.1

func NewTmallfuwuhomedecorationsupplyrulelistRequest() *TmallfuwuhomedecorationsupplyrulelistAPIRequest

NewTmallfuwuhomedecorationsupplyrulelistRequest 初始化TmallfuwuhomedecorationsupplyrulelistAPIRequest对象

func (TmallfuwuhomedecorationsupplyrulelistAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallfuwuhomedecorationsupplyrulelistAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallfuwuhomedecorationsupplyrulelistAPIRequest) GetPageIndex added in v1.3.1

GetPageIndex PageIndex Getter

func (TmallfuwuhomedecorationsupplyrulelistAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TmallfuwuhomedecorationsupplyrulelistAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallfuwuhomedecorationsupplyrulelistAPIRequest) GetUniqueNo added in v1.3.1

GetUniqueNo UniqueNo Getter

func (*TmallfuwuhomedecorationsupplyrulelistAPIRequest) SetPageIndex added in v1.3.1

func (r *TmallfuwuhomedecorationsupplyrulelistAPIRequest) SetPageIndex(_pageIndex int64) error

SetPageIndex is PageIndex Setter 当前页数

func (*TmallfuwuhomedecorationsupplyrulelistAPIRequest) SetPageSize added in v1.3.1

SetPageSize is PageSize Setter 每页大小,不传默认只查20条,最大不能超过500

func (*TmallfuwuhomedecorationsupplyrulelistAPIRequest) SetUniqueNo added in v1.3.1

SetUniqueNo is UniqueNo Setter 业务唯一编号

type TmallfuwuhomedecorationsupplyrulelistAPIResponse added in v1.3.1

type TmallfuwuhomedecorationsupplyrulelistAPIResponse struct {
	model.CommonResponse
	TmallfuwuhomedecorationsupplyrulelistAPIResponseModel
}

TmallfuwuhomedecorationsupplyrulelistAPIResponse 查询供给规则接口 API返回值 tmall.fuwu.homedecoration.supplyrule.list

查询供给规则接口

type TmallfuwuhomedecorationsupplyrulelistAPIResponseModel added in v1.3.1

type TmallfuwuhomedecorationsupplyrulelistAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_fuwu_homedecoration_supplyrule_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应结果
	Result *TmallfuwuhomedecorationsupplyrulelistResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallfuwuhomedecorationsupplyrulelistAPIResponseModel is 查询供给规则接口 成功返回结果

type TmallfuwuhomedecorationsupplyrulelistResult added in v1.3.1

type TmallfuwuhomedecorationsupplyrulelistResult struct {
	// 规则数据
	DataList []SupplyConfigRuleDto `json:"data_list,omitempty" xml:"data_list>supply_config_rule_dto,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 当前页码
	PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"`
	// 每页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 总页数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallfuwuhomedecorationsupplyrulelistResult 结构体

type TmallfuwuhomedecorationworkerlevellistAPIRequest added in v1.3.1

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

TmallfuwuhomedecorationworkerlevellistAPIRequest 查询工人分层数据接口 API请求 tmall.fuwu.homedecoration.workerlevel.list

查询工人分层数据接口

func NewTmallfuwuhomedecorationworkerlevellistRequest added in v1.3.1

func NewTmallfuwuhomedecorationworkerlevellistRequest() *TmallfuwuhomedecorationworkerlevellistAPIRequest

NewTmallfuwuhomedecorationworkerlevellistRequest 初始化TmallfuwuhomedecorationworkerlevellistAPIRequest对象

func (TmallfuwuhomedecorationworkerlevellistAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallfuwuhomedecorationworkerlevellistAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallfuwuhomedecorationworkerlevellistAPIRequest) GetPageIndex added in v1.3.1

GetPageIndex PageIndex Getter

func (TmallfuwuhomedecorationworkerlevellistAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TmallfuwuhomedecorationworkerlevellistAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallfuwuhomedecorationworkerlevellistAPIRequest) SetPageIndex added in v1.3.1

func (r *TmallfuwuhomedecorationworkerlevellistAPIRequest) SetPageIndex(_pageIndex int64) error

SetPageIndex is PageIndex Setter 当前页数

func (*TmallfuwuhomedecorationworkerlevellistAPIRequest) SetPageSize added in v1.3.1

SetPageSize is PageSize Setter 每页大小,不传默认只查20条,最大不能超过500

type TmallfuwuhomedecorationworkerlevellistAPIResponse added in v1.3.1

type TmallfuwuhomedecorationworkerlevellistAPIResponse struct {
	model.CommonResponse
	TmallfuwuhomedecorationworkerlevellistAPIResponseModel
}

TmallfuwuhomedecorationworkerlevellistAPIResponse 查询工人分层数据接口 API返回值 tmall.fuwu.homedecoration.workerlevel.list

查询工人分层数据接口

type TmallfuwuhomedecorationworkerlevellistAPIResponseModel added in v1.3.1

type TmallfuwuhomedecorationworkerlevellistAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_fuwu_homedecoration_workerlevel_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应结果
	Result *TmallfuwuhomedecorationworkerlevellistResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallfuwuhomedecorationworkerlevellistAPIResponseModel is 查询工人分层数据接口 成功返回结果

type TmallfuwuhomedecorationworkerlevellistResult added in v1.3.1

type TmallfuwuhomedecorationworkerlevellistResult struct {
	// 工人分层数据
	DataList []SupplyLevelWorkerDto `json:"data_list,omitempty" xml:"data_list>supply_level_worker_dto,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 当前页码
	PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"`
	// 每页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 总页数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallfuwuhomedecorationworkerlevellistResult 结构体

type TmallfuwuserviceitemlistAPIRequest added in v1.3.1

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

TmallfuwuserviceitemlistAPIRequest 获取服务商品扩展信息 API请求 tmall.fuwu.serviceitem.list

获取服务商品扩展信息

func NewTmallfuwuserviceitemlistRequest added in v1.3.1

func NewTmallfuwuserviceitemlistRequest() *TmallfuwuserviceitemlistAPIRequest

NewTmallfuwuserviceitemlistRequest 初始化TmallfuwuserviceitemlistAPIRequest对象

func (TmallfuwuserviceitemlistAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallfuwuserviceitemlistAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallfuwuserviceitemlistAPIRequest) GetApiParams added in v1.3.1

func (r TmallfuwuserviceitemlistAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallfuwuserviceitemlistAPIRequest) GetItemids added in v1.3.1

func (r TmallfuwuserviceitemlistAPIRequest) GetItemids() []string

GetItemids Itemids Getter

func (TmallfuwuserviceitemlistAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallfuwuserviceitemlistAPIRequest) GetSellerId added in v1.3.1

func (r TmallfuwuserviceitemlistAPIRequest) GetSellerId() int64

GetSellerId SellerId Getter

func (*TmallfuwuserviceitemlistAPIRequest) SetItemids added in v1.3.1

func (r *TmallfuwuserviceitemlistAPIRequest) SetItemids(_itemids []string) error

SetItemids is Itemids Setter 商品id列表,有数量限制

func (*TmallfuwuserviceitemlistAPIRequest) SetSellerId added in v1.3.1

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

SetSellerId is SellerId Setter 商品所属卖家账号id

type TmallfuwuserviceitemlistAPIResponse added in v1.3.1

type TmallfuwuserviceitemlistAPIResponse struct {
	model.CommonResponse
	TmallfuwuserviceitemlistAPIResponseModel
}

TmallfuwuserviceitemlistAPIResponse 获取服务商品扩展信息 API返回值 tmall.fuwu.serviceitem.list

获取服务商品扩展信息

type TmallfuwuserviceitemlistAPIResponseModel added in v1.3.1

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

TmallfuwuserviceitemlistAPIResponseModel is 获取服务商品扩展信息 成功返回结果

type TmallfuwuserviceitemlistResult added in v1.3.1

type TmallfuwuserviceitemlistResult struct {
	// 服务商品信息列表的json对象
	ResultData string `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorType
	ErrorType int64 `json:"error_type,omitempty" xml:"error_type,omitempty"`
	// isSuccess
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TmallfuwuserviceitemlistResult 结构体

type TmallmallitemcenterserviceproductqueryAPIRequest added in v1.3.1

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

TmallmallitemcenterserviceproductqueryAPIRequest 天猫服务商服务产品查询 API请求 tmall.mallitemcenter.serviceproduct.query

查询天猫服务的服务商发布的服务产品

func NewTmallmallitemcenterserviceproductqueryRequest added in v1.3.1

func NewTmallmallitemcenterserviceproductqueryRequest() *TmallmallitemcenterserviceproductqueryAPIRequest

NewTmallmallitemcenterserviceproductqueryRequest 初始化TmallmallitemcenterserviceproductqueryAPIRequest对象

func (TmallmallitemcenterserviceproductqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallmallitemcenterserviceproductqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallmallitemcenterserviceproductqueryAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (TmallmallitemcenterserviceproductqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallmallitemcenterserviceproductqueryAPIRequest) GetServiceCode added in v1.3.1

GetServiceCode ServiceCode Getter

func (TmallmallitemcenterserviceproductqueryAPIRequest) GetServiceProductType added in v1.3.1

func (r TmallmallitemcenterserviceproductqueryAPIRequest) GetServiceProductType() int64

GetServiceProductType ServiceProductType Getter

func (TmallmallitemcenterserviceproductqueryAPIRequest) GetStatus added in v1.3.1

GetStatus Status Getter

func (*TmallmallitemcenterserviceproductqueryAPIRequest) SetId added in v1.3.1

SetId is Id Setter 服务产品id

func (*TmallmallitemcenterserviceproductqueryAPIRequest) SetServiceCode added in v1.3.1

func (r *TmallmallitemcenterserviceproductqueryAPIRequest) SetServiceCode(_serviceCode string) error

SetServiceCode is ServiceCode Setter 服务名称

func (*TmallmallitemcenterserviceproductqueryAPIRequest) SetServiceProductType added in v1.3.1

func (r *TmallmallitemcenterserviceproductqueryAPIRequest) SetServiceProductType(_serviceProductType int64) error

SetServiceProductType is ServiceProductType Setter 产品类型

func (*TmallmallitemcenterserviceproductqueryAPIRequest) SetStatus added in v1.3.1

SetStatus is Status Setter 产品状态

type TmallmallitemcenterserviceproductqueryAPIResponse added in v1.3.1

type TmallmallitemcenterserviceproductqueryAPIResponse struct {
	model.CommonResponse
	TmallmallitemcenterserviceproductqueryAPIResponseModel
}

TmallmallitemcenterserviceproductqueryAPIResponse 天猫服务商服务产品查询 API返回值 tmall.mallitemcenter.serviceproduct.query

查询天猫服务的服务商发布的服务产品

type TmallmallitemcenterserviceproductqueryAPIResponseModel added in v1.3.1

type TmallmallitemcenterserviceproductqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_mallitemcenter_serviceproduct_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TmallmallitemcenterserviceproductqueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallmallitemcenterserviceproductqueryAPIResponseModel is 天猫服务商服务产品查询 成功返回结果

type TmallmallitemcenterserviceproductqueryResult added in v1.3.1

type TmallmallitemcenterserviceproductqueryResult struct {
	// 返回数据
	ResultDataList []ResultData `json:"result_data_list,omitempty" xml:"result_data_list>result_data,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 系统是否异常
	SystemError bool `json:"system_error,omitempty" xml:"system_error,omitempty"`
	// 业务校验是否正常
	BusinessCheckFail bool `json:"business_check_fail,omitempty" xml:"business_check_fail,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallmallitemcenterserviceproductqueryResult 结构体

type TmallmallitemcentersubscribequeryAPIRequest added in v1.3.1

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

TmallmallitemcentersubscribequeryAPIRequest 天猫服务订购信息查询接口 API请求 tmall.mallitemcenter.subscribe.query

查询商家服务订购信息

func NewTmallmallitemcentersubscribequeryRequest added in v1.3.1

func NewTmallmallitemcentersubscribequeryRequest() *TmallmallitemcentersubscribequeryAPIRequest

NewTmallmallitemcentersubscribequeryRequest 初始化TmallmallitemcentersubscribequeryAPIRequest对象

func (TmallmallitemcentersubscribequeryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallmallitemcentersubscribequeryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallmallitemcentersubscribequeryAPIRequest) GetQuery added in v1.3.1

GetQuery Query Getter

func (TmallmallitemcentersubscribequeryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallmallitemcentersubscribequeryAPIRequest) SetQuery added in v1.3.1

SetQuery is Query Setter 入参query

type TmallmallitemcentersubscribequeryAPIResponse added in v1.3.1

type TmallmallitemcentersubscribequeryAPIResponse struct {
	model.CommonResponse
	TmallmallitemcentersubscribequeryAPIResponseModel
}

TmallmallitemcentersubscribequeryAPIResponse 天猫服务订购信息查询接口 API返回值 tmall.mallitemcenter.subscribe.query

查询商家服务订购信息

type TmallmallitemcentersubscribequeryAPIResponseModel added in v1.3.1

type TmallmallitemcentersubscribequeryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_mallitemcenter_subscribe_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TmallmallitemcentersubscribequeryResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallmallitemcentersubscribequeryAPIResponseModel is 天猫服务订购信息查询接口 成功返回结果

type TmallmallitemcentersubscribequeryResult added in v1.3.1

type TmallmallitemcentersubscribequeryResult struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 返回结果model
	ResultData *ResultData `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// 错误类型
	ErrorType int64 `json:"error_type,omitempty" xml:"error_type,omitempty"`
	// 是否正常
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallmallitemcentersubscribequeryResult 结构体

type TmallmallitemcentersupplierabilityupdateAPIRequest added in v1.3.1

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

TmallmallitemcentersupplierabilityupdateAPIRequest 门店服务能力授权接口 API请求 tmall.mallitemcenter.supplier.ability.update

门店服务能力授权

func NewTmallmallitemcentersupplierabilityupdateRequest added in v1.3.1

func NewTmallmallitemcentersupplierabilityupdateRequest() *TmallmallitemcentersupplierabilityupdateAPIRequest

NewTmallmallitemcentersupplierabilityupdateRequest 初始化TmallmallitemcentersupplierabilityupdateAPIRequest对象

func (TmallmallitemcentersupplierabilityupdateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallmallitemcentersupplierabilityupdateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallmallitemcentersupplierabilityupdateAPIRequest) GetParam0 added in v1.3.1

GetParam0 Param0 Getter

func (TmallmallitemcentersupplierabilityupdateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallmallitemcentersupplierabilityupdateAPIRequest) SetParam0 added in v1.3.1

SetParam0 is Param0 Setter 入参

type TmallmallitemcentersupplierabilityupdateAPIResponse added in v1.3.1

type TmallmallitemcentersupplierabilityupdateAPIResponse struct {
	model.CommonResponse
	TmallmallitemcentersupplierabilityupdateAPIResponseModel
}

TmallmallitemcentersupplierabilityupdateAPIResponse 门店服务能力授权接口 API返回值 tmall.mallitemcenter.supplier.ability.update

门店服务能力授权

type TmallmallitemcentersupplierabilityupdateAPIResponseModel added in v1.3.1

type TmallmallitemcentersupplierabilityupdateAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_mallitemcenter_supplier_ability_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TmallmallitemcentersupplierabilityupdateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallmallitemcentersupplierabilityupdateAPIResponseModel is 门店服务能力授权接口 成功返回结果

type TmallmallitemcentersupplierabilityupdateResult added in v1.3.1

type TmallmallitemcentersupplierabilityupdateResult struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误类型
	ErrorType int64 `json:"error_type,omitempty" xml:"error_type,omitempty"`
	// 结果
	ResultData bool `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// true或false
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallmallitemcentersupplierabilityupdateResult 结构体

type TmallmallitemcentersupplierpriceuploadAPIRequest added in v1.3.1

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

TmallmallitemcentersupplierpriceuploadAPIRequest 天猫服务商服务报价上传 API请求 tmall.mallitemcenter.supplier.price.upload

天猫服务商上传服务价格

func NewTmallmallitemcentersupplierpriceuploadRequest added in v1.3.1

func NewTmallmallitemcentersupplierpriceuploadRequest() *TmallmallitemcentersupplierpriceuploadAPIRequest

NewTmallmallitemcentersupplierpriceuploadRequest 初始化TmallmallitemcentersupplierpriceuploadAPIRequest对象

func (TmallmallitemcentersupplierpriceuploadAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallmallitemcentersupplierpriceuploadAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallmallitemcentersupplierpriceuploadAPIRequest) GetProviderPriceList added in v1.3.1

GetProviderPriceList ProviderPriceList Getter

func (TmallmallitemcentersupplierpriceuploadAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallmallitemcentersupplierpriceuploadAPIRequest) GetServiceCode added in v1.3.1

GetServiceCode ServiceCode Getter

func (*TmallmallitemcentersupplierpriceuploadAPIRequest) SetProviderPriceList added in v1.3.1

func (r *TmallmallitemcentersupplierpriceuploadAPIRequest) SetProviderPriceList(_providerPriceList []StoreOfferPriceDto) error

SetProviderPriceList is ProviderPriceList Setter 服务商门店价格列表

func (*TmallmallitemcentersupplierpriceuploadAPIRequest) SetServiceCode added in v1.3.1

func (r *TmallmallitemcentersupplierpriceuploadAPIRequest) SetServiceCode(_serviceCode string) error

SetServiceCode is ServiceCode Setter 服务code

type TmallmallitemcentersupplierpriceuploadAPIResponse added in v1.3.1

type TmallmallitemcentersupplierpriceuploadAPIResponse struct {
	model.CommonResponse
	TmallmallitemcentersupplierpriceuploadAPIResponseModel
}

TmallmallitemcentersupplierpriceuploadAPIResponse 天猫服务商服务报价上传 API返回值 tmall.mallitemcenter.supplier.price.upload

天猫服务商上传服务价格

type TmallmallitemcentersupplierpriceuploadAPIResponseModel added in v1.3.1

type TmallmallitemcentersupplierpriceuploadAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_mallitemcenter_supplier_price_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TmallmallitemcentersupplierpriceuploadResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallmallitemcentersupplierpriceuploadAPIResponseModel is 天猫服务商服务报价上传 成功返回结果

type TmallmallitemcentersupplierpriceuploadResult added in v1.3.1

type TmallmallitemcentersupplierpriceuploadResult struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否成功
	ResultData *ResultData `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// 是否系统调用错误
	SystemError bool `json:"system_error,omitempty" xml:"system_error,omitempty"`
	// 是否校验出错
	BusinessCheckFail bool `json:"business_check_fail,omitempty" xml:"business_check_fail,omitempty"`
	// 接口是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallmallitemcentersupplierpriceuploadResult 结构体

type TmallmsdclaimqueryAPIRequest added in v1.3.1

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

TmallmsdclaimqueryAPIRequest 查询待理赔工单数据接口 API请求 tmall.msd.claim.query

查询待理赔工单数据接口

func NewTmallmsdclaimqueryRequest added in v1.3.1

func NewTmallmsdclaimqueryRequest() *TmallmsdclaimqueryAPIRequest

NewTmallmsdclaimqueryRequest 初始化TmallmsdclaimqueryAPIRequest对象

func (TmallmsdclaimqueryAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallmsdclaimqueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallmsdclaimqueryAPIRequest) GetApiParams added in v1.3.1

func (r TmallmsdclaimqueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallmsdclaimqueryAPIRequest) GetBizOrderId added in v1.3.1

func (r TmallmsdclaimqueryAPIRequest) GetBizOrderId() int64

GetBizOrderId BizOrderId Getter

func (TmallmsdclaimqueryAPIRequest) GetPageIndex added in v1.3.1

func (r TmallmsdclaimqueryAPIRequest) GetPageIndex() int64

GetPageIndex PageIndex Getter

func (TmallmsdclaimqueryAPIRequest) GetPageSize added in v1.3.1

func (r TmallmsdclaimqueryAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TmallmsdclaimqueryAPIRequest) GetRawParams added in v1.3.1

func (r TmallmsdclaimqueryAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallmsdclaimqueryAPIRequest) GetServiceOrderId added in v1.3.1

func (r TmallmsdclaimqueryAPIRequest) GetServiceOrderId() int64

GetServiceOrderId ServiceOrderId Getter

func (TmallmsdclaimqueryAPIRequest) GetWorkcardId added in v1.3.1

func (r TmallmsdclaimqueryAPIRequest) GetWorkcardId() int64

GetWorkcardId WorkcardId Getter

func (*TmallmsdclaimqueryAPIRequest) SetBizOrderId added in v1.3.1

func (r *TmallmsdclaimqueryAPIRequest) SetBizOrderId(_bizOrderId int64) error

SetBizOrderId is BizOrderId Setter 淘宝交易订单号,实物子订单

func (*TmallmsdclaimqueryAPIRequest) SetPageIndex added in v1.3.1

func (r *TmallmsdclaimqueryAPIRequest) SetPageIndex(_pageIndex int64) error

SetPageIndex is PageIndex Setter 当前页数

func (*TmallmsdclaimqueryAPIRequest) SetPageSize added in v1.3.1

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

SetPageSize is PageSize Setter 每页大小

func (*TmallmsdclaimqueryAPIRequest) SetServiceOrderId added in v1.3.1

func (r *TmallmsdclaimqueryAPIRequest) SetServiceOrderId(_serviceOrderId int64) error

SetServiceOrderId is ServiceOrderId Setter 交易服务订单号

func (*TmallmsdclaimqueryAPIRequest) SetWorkcardId added in v1.3.1

func (r *TmallmsdclaimqueryAPIRequest) SetWorkcardId(_workcardId int64) error

SetWorkcardId is WorkcardId Setter 工单id

type TmallmsdclaimqueryAPIResponse added in v1.3.1

type TmallmsdclaimqueryAPIResponse struct {
	model.CommonResponse
	TmallmsdclaimqueryAPIResponseModel
}

TmallmsdclaimqueryAPIResponse 查询待理赔工单数据接口 API返回值 tmall.msd.claim.query

查询待理赔工单数据接口

type TmallmsdclaimqueryAPIResponseModel added in v1.3.1

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

TmallmsdclaimqueryAPIResponseModel is 查询待理赔工单数据接口 成功返回结果

type TmallmsfidentifystatusqueryAPIRequest added in v1.3.1

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

TmallmsfidentifystatusqueryAPIRequest 喵师傅定案核销状态查询 API请求 tmall.msf.identify.status.query

喵师傅定案核销状态查询,供服务商erp系统调用

func NewTmallmsfidentifystatusqueryRequest added in v1.3.1

func NewTmallmsfidentifystatusqueryRequest() *TmallmsfidentifystatusqueryAPIRequest

NewTmallmsfidentifystatusqueryRequest 初始化TmallmsfidentifystatusqueryAPIRequest对象

func (TmallmsfidentifystatusqueryAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallmsfidentifystatusqueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallmsfidentifystatusqueryAPIRequest) GetApiParams added in v1.3.1

func (r TmallmsfidentifystatusqueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallmsfidentifystatusqueryAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (TmallmsfidentifystatusqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallmsfidentifystatusqueryAPIRequest) GetServiceType added in v1.3.1

func (r TmallmsfidentifystatusqueryAPIRequest) GetServiceType() int64

GetServiceType ServiceType Getter

func (*TmallmsfidentifystatusqueryAPIRequest) SetOrderId added in v1.3.1

func (r *TmallmsfidentifystatusqueryAPIRequest) SetOrderId(_orderId int64) error

SetOrderId is OrderId Setter 天猫订单号

func (*TmallmsfidentifystatusqueryAPIRequest) SetServiceType added in v1.3.1

func (r *TmallmsfidentifystatusqueryAPIRequest) SetServiceType(_serviceType int64) error

SetServiceType is ServiceType Setter 服务类型,0 家装的送货上门并安装 1 单向安装 2 建材的送货上门 3 建材的安装

type TmallmsfidentifystatusqueryAPIResponse added in v1.3.1

type TmallmsfidentifystatusqueryAPIResponse struct {
	model.CommonResponse
	TmallmsfidentifystatusqueryAPIResponseModel
}

TmallmsfidentifystatusqueryAPIResponse 喵师傅定案核销状态查询 API返回值 tmall.msf.identify.status.query

喵师傅定案核销状态查询,供服务商erp系统调用

type TmallmsfidentifystatusqueryAPIResponseModel added in v1.3.1

type TmallmsfidentifystatusqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_msf_identify_status_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果json串,其中identifyDate位核销日期,signTime为签到时间,identifyStatus位核销状态,1代表已经核销,identifyType为核销类型,取值为:0代表未核销,1代表10位核销码核销,2代表订单号核销,3代表手机号核销,4代表4位核销码核销,5代表通过poi核销
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

TmallmsfidentifystatusqueryAPIResponseModel is 喵师傅定案核销状态查询 成功返回结果

type TmallmsfreservationAPIRequest added in v1.3.1

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

TmallmsfreservationAPIRequest 喵师傅服务预约API API请求 tmall.msf.reservation

喵师傅预约api

func NewTmallmsfreservationRequest added in v1.3.1

func NewTmallmsfreservationRequest() *TmallmsfreservationAPIRequest

NewTmallmsfreservationRequest 初始化TmallmsfreservationAPIRequest对象

func (TmallmsfreservationAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallmsfreservationAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallmsfreservationAPIRequest) GetApiParams added in v1.3.1

func (r TmallmsfreservationAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallmsfreservationAPIRequest) GetRawParams added in v1.3.1

func (r TmallmsfreservationAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallmsfreservationAPIRequest) GetReservInfo added in v1.3.1

func (r TmallmsfreservationAPIRequest) GetReservInfo() *ReservationDto

GetReservInfo ReservInfo Getter

func (*TmallmsfreservationAPIRequest) SetReservInfo added in v1.3.1

func (r *TmallmsfreservationAPIRequest) SetReservInfo(_reservInfo *ReservationDto) error

SetReservInfo is ReservInfo Setter 预约内容

type TmallmsfreservationAPIResponse added in v1.3.1

type TmallmsfreservationAPIResponse struct {
	model.CommonResponse
	TmallmsfreservationAPIResponseModel
}

TmallmsfreservationAPIResponse 喵师傅服务预约API API返回值 tmall.msf.reservation

喵师傅预约api

type TmallmsfreservationAPIResponseModel added in v1.3.1

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

TmallmsfreservationAPIResponseModel is 喵师傅服务预约API 成功返回结果

type TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIRequest added in v1.3.1

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

TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIRequest 天猫服务平台服务商查询商家投诉单 API请求 tmall.servicecenter.anomalyrecourse.homedecoration.querybyid

天猫服务平台服务商查询商家投诉单

func NewTmallservicecenteranomalyrecoursehomedecorationquerybyidRequest added in v1.3.1

func NewTmallservicecenteranomalyrecoursehomedecorationquerybyidRequest() *TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIRequest

NewTmallservicecenteranomalyrecoursehomedecorationquerybyidRequest 初始化TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIRequest对象

func (TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIRequest) GetAnomalyRecourseId added in v1.3.1

GetAnomalyRecourseId AnomalyRecourseId Getter

func (TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIRequest) SetAnomalyRecourseId added in v1.3.1

func (r *TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIRequest) SetAnomalyRecourseId(_anomalyRecourseId int64) error

SetAnomalyRecourseId is AnomalyRecourseId Setter 投诉单id

type TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIResponse added in v1.3.1

type TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIResponse struct {
	model.CommonResponse
	TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIResponseModel
}

TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIResponse 天猫服务平台服务商查询商家投诉单 API返回值 tmall.servicecenter.anomalyrecourse.homedecoration.querybyid

天猫服务平台服务商查询商家投诉单

type TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIResponseModel added in v1.3.1

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

TmallservicecenteranomalyrecoursehomedecorationquerybyidAPIResponseModel is 天猫服务平台服务商查询商家投诉单 成功返回结果

type TmallservicecenteranomalyrecoursehomedecorationquerybyidResult added in v1.3.1

type TmallservicecenteranomalyrecoursehomedecorationquerybyidResult struct {
	// 投诉单对象的json字符串
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenteranomalyrecoursehomedecorationquerybyidResult 结构体

type TmallservicecenteranomalyrecoursequerybyidAPIRequest added in v1.3.1

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

TmallservicecenteranomalyrecoursequerybyidAPIRequest 根据一键求助id查询指定服务商的一键求助单 API请求 tmall.servicecenter.anomalyrecourse.querybyid

根据一键求助id查询指定服务商的一键求助单

func NewTmallservicecenteranomalyrecoursequerybyidRequest added in v1.3.1

func NewTmallservicecenteranomalyrecoursequerybyidRequest() *TmallservicecenteranomalyrecoursequerybyidAPIRequest

NewTmallservicecenteranomalyrecoursequerybyidRequest 初始化TmallservicecenteranomalyrecoursequerybyidAPIRequest对象

func (TmallservicecenteranomalyrecoursequerybyidAPIRequest) GetAnomalyRecourseId added in v1.3.1

GetAnomalyRecourseId AnomalyRecourseId Getter

func (TmallservicecenteranomalyrecoursequerybyidAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenteranomalyrecoursequerybyidAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenteranomalyrecoursequerybyidAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecenteranomalyrecoursequerybyidAPIRequest) SetAnomalyRecourseId added in v1.3.1

func (r *TmallservicecenteranomalyrecoursequerybyidAPIRequest) SetAnomalyRecourseId(_anomalyRecourseId int64) error

SetAnomalyRecourseId is AnomalyRecourseId Setter 一键求助的id

type TmallservicecenteranomalyrecoursequerybyidAPIResponse added in v1.3.1

type TmallservicecenteranomalyrecoursequerybyidAPIResponse struct {
	model.CommonResponse
	TmallservicecenteranomalyrecoursequerybyidAPIResponseModel
}

TmallservicecenteranomalyrecoursequerybyidAPIResponse 根据一键求助id查询指定服务商的一键求助单 API返回值 tmall.servicecenter.anomalyrecourse.querybyid

根据一键求助id查询指定服务商的一键求助单

type TmallservicecenteranomalyrecoursequerybyidAPIResponseModel added in v1.3.1

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

TmallservicecenteranomalyrecoursequerybyidAPIResponseModel is 根据一键求助id查询指定服务商的一键求助单 成功返回结果

type TmallservicecentercontractssearchAPIRequest added in v1.3.1

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

TmallservicecentercontractssearchAPIRequest 获取合同类的服务工单信息 API请求 tmall.servicecenter.contracts.search

获取合同类的服务工单信息

func NewTmallservicecentercontractssearchRequest added in v1.3.1

func NewTmallservicecentercontractssearchRequest() *TmallservicecentercontractssearchAPIRequest

NewTmallservicecentercontractssearchRequest 初始化TmallservicecentercontractssearchAPIRequest对象

func (TmallservicecentercontractssearchAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecentercontractssearchAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecentercontractssearchAPIRequest) GetEnd added in v1.3.1

GetEnd End Getter

func (TmallservicecentercontractssearchAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecentercontractssearchAPIRequest) GetStart added in v1.3.1

GetStart Start Getter

func (*TmallservicecentercontractssearchAPIRequest) SetEnd added in v1.3.1

SetEnd is End Setter 结束时间: 开始时间和结束时间不能超过15分钟

func (*TmallservicecentercontractssearchAPIRequest) SetStart added in v1.3.1

SetStart is Start Setter 开始时间: 开始时间和结束时间不能超过15分钟

type TmallservicecentercontractssearchAPIResponse added in v1.3.1

type TmallservicecentercontractssearchAPIResponse struct {
	model.CommonResponse
	TmallservicecentercontractssearchAPIResponseModel
}

TmallservicecentercontractssearchAPIResponse 获取合同类的服务工单信息 API返回值 tmall.servicecenter.contracts.search

获取合同类的服务工单信息

type TmallservicecentercontractssearchAPIResponseModel added in v1.3.1

type TmallservicecentercontractssearchAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_contracts_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 和同类服务包装类
	ServiceContractPacket *ServiceContractPacket `json:"service_contract_packet,omitempty" xml:"service_contract_packet,omitempty"`
}

TmallservicecentercontractssearchAPIResponseModel is 获取合同类的服务工单信息 成功返回结果

type TmallservicecenterfulfiltaskinsuranceactionAPIRequest added in v1.3.1

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

TmallservicecenterfulfiltaskinsuranceactionAPIRequest 供应链保险链路动作 API请求 tmall.servicecenter.fulfiltask.insurance.action

服务供应链履约链路 保险类业务履约接口

func NewTmallservicecenterfulfiltaskinsuranceactionRequest added in v1.3.1

func NewTmallservicecenterfulfiltaskinsuranceactionRequest() *TmallservicecenterfulfiltaskinsuranceactionAPIRequest

NewTmallservicecenterfulfiltaskinsuranceactionRequest 初始化TmallservicecenterfulfiltaskinsuranceactionAPIRequest对象

func (TmallservicecenterfulfiltaskinsuranceactionAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterfulfiltaskinsuranceactionAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterfulfiltaskinsuranceactionAPIRequest) GetFulfilTaskId added in v1.3.1

GetFulfilTaskId FulfilTaskId Getter

func (TmallservicecenterfulfiltaskinsuranceactionAPIRequest) GetOuterId added in v1.3.1

GetOuterId OuterId Getter

func (TmallservicecenterfulfiltaskinsuranceactionAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterfulfiltaskinsuranceactionAPIRequest) GetTaskAction added in v1.3.1

GetTaskAction TaskAction Getter

func (TmallservicecenterfulfiltaskinsuranceactionAPIRequest) GetTaskContextData added in v1.3.1

GetTaskContextData TaskContextData Getter

func (TmallservicecenterfulfiltaskinsuranceactionAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicecenterfulfiltaskinsuranceactionAPIRequest) SetFulfilTaskId added in v1.3.1

func (r *TmallservicecenterfulfiltaskinsuranceactionAPIRequest) SetFulfilTaskId(_fulfilTaskId int64) error

SetFulfilTaskId is FulfilTaskId Setter 履行单id

func (*TmallservicecenterfulfiltaskinsuranceactionAPIRequest) SetOuterId added in v1.3.1

SetOuterId is OuterId Setter 外部单号id

func (*TmallservicecenterfulfiltaskinsuranceactionAPIRequest) SetTaskAction added in v1.3.1

SetTaskAction is TaskAction Setter 履约动作,取值:send_goods, 上门取件;supplier_signed, 服务商签收;evaluate_report, 鉴定报告;insurance_claims, 保险理赔;send_back, 寄回;repair_finish, 维修完成;

func (*TmallservicecenterfulfiltaskinsuranceactionAPIRequest) SetTaskContextData added in v1.3.1

func (r *TmallservicecenterfulfiltaskinsuranceactionAPIRequest) SetTaskContextData(_taskContextData string) error

SetTaskContextData is TaskContextData Setter 履约动作数据,不同动作取值见api文档;

func (*TmallservicecenterfulfiltaskinsuranceactionAPIRequest) SetWorkcardId added in v1.3.1

SetWorkcardId is WorkcardId Setter 工单id

type TmallservicecenterfulfiltaskinsuranceactionAPIResponse added in v1.3.1

type TmallservicecenterfulfiltaskinsuranceactionAPIResponse struct {
	model.CommonResponse
	TmallservicecenterfulfiltaskinsuranceactionAPIResponseModel
}

TmallservicecenterfulfiltaskinsuranceactionAPIResponse 供应链保险链路动作 API返回值 tmall.servicecenter.fulfiltask.insurance.action

服务供应链履约链路 保险类业务履约接口

type TmallservicecenterfulfiltaskinsuranceactionAPIResponseModel added in v1.3.1

type TmallservicecenterfulfiltaskinsuranceactionAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_fulfiltask_insurance_action_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TmallservicecenterfulfiltaskinsuranceactionResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecenterfulfiltaskinsuranceactionAPIResponseModel is 供应链保险链路动作 成功返回结果

type TmallservicecenterfulfiltaskinsuranceactionResult added in v1.3.1

type TmallservicecenterfulfiltaskinsuranceactionResult struct {
	// 对外展示的错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 返回值对象
	Value *FulfilInsuranceTaskResponse `json:"value,omitempty" xml:"value,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterfulfiltaskinsuranceactionResult 结构体

type TmallservicecenteridentifytaskcreateAPIRequest added in v1.3.1

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

TmallservicecenteridentifytaskcreateAPIRequest 服务商创建核销单 API请求 tmall.servicecenter.identifytask.create

服务商调用该接口进行创建核销单操作

func NewTmallservicecenteridentifytaskcreateRequest added in v1.3.1

func NewTmallservicecenteridentifytaskcreateRequest() *TmallservicecenteridentifytaskcreateAPIRequest

NewTmallservicecenteridentifytaskcreateRequest 初始化TmallservicecenteridentifytaskcreateAPIRequest对象

func (TmallservicecenteridentifytaskcreateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenteridentifytaskcreateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenteridentifytaskcreateAPIRequest) GetOuterId added in v1.3.1

GetOuterId OuterId Getter

func (TmallservicecenteridentifytaskcreateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenteridentifytaskcreateAPIRequest) GetReassign added in v1.3.1

GetReassign Reassign Getter

func (TmallservicecenteridentifytaskcreateAPIRequest) GetWorkcardIds added in v1.3.1

GetWorkcardIds WorkcardIds Getter

func (*TmallservicecenteridentifytaskcreateAPIRequest) SetOuterId added in v1.3.1

SetOuterId is OuterId Setter 服务商自定义的外部核销单id

func (*TmallservicecenteridentifytaskcreateAPIRequest) SetReassign added in v1.3.1

func (r *TmallservicecenteridentifytaskcreateAPIRequest) SetReassign(_reassign bool) error

SetReassign is Reassign Setter 是否改派

func (*TmallservicecenteridentifytaskcreateAPIRequest) SetWorkcardIds added in v1.3.1

func (r *TmallservicecenteridentifytaskcreateAPIRequest) SetWorkcardIds(_workcardIds []int64) error

SetWorkcardIds is WorkcardIds Setter 工单列表

type TmallservicecenteridentifytaskcreateAPIResponse added in v1.3.1

type TmallservicecenteridentifytaskcreateAPIResponse struct {
	model.CommonResponse
	TmallservicecenteridentifytaskcreateAPIResponseModel
}

TmallservicecenteridentifytaskcreateAPIResponse 服务商创建核销单 API返回值 tmall.servicecenter.identifytask.create

服务商调用该接口进行创建核销单操作

type TmallservicecenteridentifytaskcreateAPIResponseModel added in v1.3.1

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

TmallservicecenteridentifytaskcreateAPIResponseModel is 服务商创建核销单 成功返回结果

type TmallservicecentermsftasksupdateAPIRequest added in v1.3.1

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

TmallservicecentermsftasksupdateAPIRequest 喵师傅工人任务批量完成接口 API请求 tmall.servicecenter.msf.tasks.update

喵师傅工人任务批量完成接口

func NewTmallservicecentermsftasksupdateRequest added in v1.3.1

func NewTmallservicecentermsftasksupdateRequest() *TmallservicecentermsftasksupdateAPIRequest

NewTmallservicecentermsftasksupdateRequest 初始化TmallservicecentermsftasksupdateAPIRequest对象

func (TmallservicecentermsftasksupdateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecentermsftasksupdateAPIRequest) GetApiParams added in v1.3.1

func (r TmallservicecentermsftasksupdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecentermsftasksupdateAPIRequest) GetBizOrderIds added in v1.3.1

GetBizOrderIds BizOrderIds Getter

func (TmallservicecentermsftasksupdateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecentermsftasksupdateAPIRequest) GetSeqs added in v1.3.1

GetSeqs Seqs Getter

func (TmallservicecentermsftasksupdateAPIRequest) GetServiceCode added in v1.3.1

GetServiceCode ServiceCode Getter

func (TmallservicecentermsftasksupdateAPIRequest) GetSource added in v1.3.1

GetSource Source Getter

func (TmallservicecentermsftasksupdateAPIRequest) GetWorkerMobile added in v1.3.1

GetWorkerMobile WorkerMobile Getter

func (*TmallservicecentermsftasksupdateAPIRequest) SetBizOrderIds added in v1.3.1

func (r *TmallservicecentermsftasksupdateAPIRequest) SetBizOrderIds(_bizOrderIds []string) error

SetBizOrderIds is BizOrderIds Setter 子订单号列表。最多100个

func (*TmallservicecentermsftasksupdateAPIRequest) SetSeqs added in v1.3.1

SetSeqs is Seqs Setter 周期序号。必须与子订单列表对应

func (*TmallservicecentermsftasksupdateAPIRequest) SetServiceCode added in v1.3.1

func (r *TmallservicecentermsftasksupdateAPIRequest) SetServiceCode(_serviceCode string) error

SetServiceCode is ServiceCode Setter 服务编码

func (*TmallservicecentermsftasksupdateAPIRequest) SetSource added in v1.3.1

SetSource is Source Setter 调用来源

func (*TmallservicecentermsftasksupdateAPIRequest) SetWorkerMobile added in v1.3.1

func (r *TmallservicecentermsftasksupdateAPIRequest) SetWorkerMobile(_workerMobile int64) error

SetWorkerMobile is WorkerMobile Setter 工人手机号

type TmallservicecentermsftasksupdateAPIResponse added in v1.3.1

type TmallservicecentermsftasksupdateAPIResponse struct {
	model.CommonResponse
	TmallservicecentermsftasksupdateAPIResponseModel
}

TmallservicecentermsftasksupdateAPIResponse 喵师傅工人任务批量完成接口 API返回值 tmall.servicecenter.msf.tasks.update

喵师傅工人任务批量完成接口

type TmallservicecentermsftasksupdateAPIResponseModel added in v1.3.1

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

TmallservicecentermsftasksupdateAPIResponseModel is 喵师傅工人任务批量完成接口 成功返回结果

type TmallservicecenterpictureuploadAPIRequest added in v1.3.1

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

TmallservicecenterpictureuploadAPIRequest 上传图片 API请求 tmall.servicecenter.picture.upload

给服务商ERP系统使用,用于上传图片保存在天猫,一般用于工单信息回传时候保存服务商的服务证明信息相关的图片。

func NewTmallservicecenterpictureuploadRequest added in v1.3.1

func NewTmallservicecenterpictureuploadRequest() *TmallservicecenterpictureuploadAPIRequest

NewTmallservicecenterpictureuploadRequest 初始化TmallservicecenterpictureuploadAPIRequest对象

func (TmallservicecenterpictureuploadAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterpictureuploadAPIRequest) GetApiParams added in v1.3.1

func (r TmallservicecenterpictureuploadAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterpictureuploadAPIRequest) GetImg added in v1.3.1

GetImg Img Getter

func (TmallservicecenterpictureuploadAPIRequest) GetIsHttps added in v1.3.1

GetIsHttps IsHttps Getter

func (TmallservicecenterpictureuploadAPIRequest) GetPictureName added in v1.3.1

GetPictureName PictureName Getter

func (TmallservicecenterpictureuploadAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecenterpictureuploadAPIRequest) SetImg added in v1.3.1

SetImg is Img Setter 图片文件二进制流

func (*TmallservicecenterpictureuploadAPIRequest) SetIsHttps added in v1.3.1

func (r *TmallservicecenterpictureuploadAPIRequest) SetIsHttps(_isHttps bool) error

SetIsHttps is IsHttps Setter true返回Https地址

func (*TmallservicecenterpictureuploadAPIRequest) SetPictureName added in v1.3.1

func (r *TmallservicecenterpictureuploadAPIRequest) SetPictureName(_pictureName string) error

SetPictureName is PictureName Setter 图片全称包括扩展名。目前支持 jpg jpeg png

type TmallservicecenterpictureuploadAPIResponse added in v1.3.1

type TmallservicecenterpictureuploadAPIResponse struct {
	model.CommonResponse
	TmallservicecenterpictureuploadAPIResponseModel
}

TmallservicecenterpictureuploadAPIResponse 上传图片 API返回值 tmall.servicecenter.picture.upload

给服务商ERP系统使用,用于上传图片保存在天猫,一般用于工单信息回传时候保存服务商的服务证明信息相关的图片。

type TmallservicecenterpictureuploadAPIResponseModel added in v1.3.1

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

TmallservicecenterpictureuploadAPIResponseModel is 上传图片 成功返回结果

type TmallservicecenterservicemonitormessageinfoAPIRequest added in v1.3.1

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

TmallservicecenterservicemonitormessageinfoAPIRequest 服务预警单查询接口 API请求 tmall.servicecenter.servicemonitormessage.info

服务预警单查询接口,用于查询预警单最新状态

func NewTmallservicecenterservicemonitormessageinfoRequest added in v1.3.1

func NewTmallservicecenterservicemonitormessageinfoRequest() *TmallservicecenterservicemonitormessageinfoAPIRequest

NewTmallservicecenterservicemonitormessageinfoRequest 初始化TmallservicecenterservicemonitormessageinfoAPIRequest对象

func (TmallservicecenterservicemonitormessageinfoAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterservicemonitormessageinfoAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterservicemonitormessageinfoAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (TmallservicecenterservicemonitormessageinfoAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecenterservicemonitormessageinfoAPIRequest) SetId added in v1.3.1

SetId is Id Setter 预警单ID

type TmallservicecenterservicemonitormessageinfoAPIResponse added in v1.3.1

type TmallservicecenterservicemonitormessageinfoAPIResponse struct {
	model.CommonResponse
	TmallservicecenterservicemonitormessageinfoAPIResponseModel
}

TmallservicecenterservicemonitormessageinfoAPIResponse 服务预警单查询接口 API返回值 tmall.servicecenter.servicemonitormessage.info

服务预警单查询接口,用于查询预警单最新状态

type TmallservicecenterservicemonitormessageinfoAPIResponseModel added in v1.3.1

type TmallservicecenterservicemonitormessageinfoAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_servicemonitormessage_info_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// biz_id的业务类型, 为1,则bizId为工单id biz_type=2 则表示预警单为运营动态配置的规则产生的预警,对应biz_id为工单id
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 预警级别,1、预警 2、警告 3、严重
	Level string `json:"level,omitempty" xml:"level,omitempty"`
	// 服务类型
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 处理备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 服务预警单创建时间,格式如:2021-11-06 13:12:11
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 预警规则id,对应一种业务触发的条件
	RuleId string `json:"rule_id,omitempty" xml:"rule_id,omitempty"`
	// 预警提示内容,如请及时处理即将超出6小时时未回传工人信息的服务工单,详情如下:父订单编号:XXX,服务子订单:XXX,服务工单号:XXX
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 预警状态 0、已生成 1、已预警 2、已收到 3、已读 4、处理中 5、已处理
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 业务实体id,参考 biz_type
	BizId int64 `json:"biz_id,omitempty" xml:"biz_id,omitempty"`
	// 预警单主键id ,反馈处理进度和备注时需要回传此ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

TmallservicecenterservicemonitormessageinfoAPIResponseModel is 服务预警单查询接口 成功返回结果

type TmallservicecenterservicemonitormessagesearchAPIRequest added in v1.3.1

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

TmallservicecenterservicemonitormessagesearchAPIRequest 根据时间段查询服务商的服务预警消息列表(15分钟内) API请求 tmall.servicecenter.servicemonitormessage.search

根据时间段查询服务商的服务预警消息列表(15分钟内)

func NewTmallservicecenterservicemonitormessagesearchRequest added in v1.3.1

func NewTmallservicecenterservicemonitormessagesearchRequest() *TmallservicecenterservicemonitormessagesearchAPIRequest

NewTmallservicecenterservicemonitormessagesearchRequest 初始化TmallservicecenterservicemonitormessagesearchAPIRequest对象

func (TmallservicecenterservicemonitormessagesearchAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterservicemonitormessagesearchAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterservicemonitormessagesearchAPIRequest) GetEnd added in v1.3.1

GetEnd End Getter

func (TmallservicecenterservicemonitormessagesearchAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterservicemonitormessagesearchAPIRequest) GetStart added in v1.3.1

GetStart Start Getter

func (*TmallservicecenterservicemonitormessagesearchAPIRequest) SetEnd added in v1.3.1

SetEnd is End Setter 结束时间long值,与start相差15分钟

func (*TmallservicecenterservicemonitormessagesearchAPIRequest) SetStart added in v1.3.1

SetStart is Start Setter 开始时间long值

type TmallservicecenterservicemonitormessagesearchAPIResponse added in v1.3.1

type TmallservicecenterservicemonitormessagesearchAPIResponse struct {
	model.CommonResponse
	TmallservicecenterservicemonitormessagesearchAPIResponseModel
}

TmallservicecenterservicemonitormessagesearchAPIResponse 根据时间段查询服务商的服务预警消息列表(15分钟内) API返回值 tmall.servicecenter.servicemonitormessage.search

根据时间段查询服务商的服务预警消息列表(15分钟内)

type TmallservicecenterservicemonitormessagesearchAPIResponseModel added in v1.3.1

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

TmallservicecenterservicemonitormessagesearchAPIResponseModel is 根据时间段查询服务商的服务预警消息列表(15分钟内) 成功返回结果

type TmallservicecenterservicemonitormessageupdateAPIRequest added in v1.3.1

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

TmallservicecenterservicemonitormessageupdateAPIRequest 服务商更新预警消息状态 API请求 tmall.servicecenter.servicemonitormessage.update

服务商收到预警后,需要进行回复已读状态,并可填写备注

func NewTmallservicecenterservicemonitormessageupdateRequest added in v1.3.1

func NewTmallservicecenterservicemonitormessageupdateRequest() *TmallservicecenterservicemonitormessageupdateAPIRequest

NewTmallservicecenterservicemonitormessageupdateRequest 初始化TmallservicecenterservicemonitormessageupdateAPIRequest对象

func (TmallservicecenterservicemonitormessageupdateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterservicemonitormessageupdateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterservicemonitormessageupdateAPIRequest) GetMemo added in v1.3.1

GetMemo Memo Getter

func (TmallservicecenterservicemonitormessageupdateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterservicemonitormessageupdateAPIRequest) GetServiceMonitorMessageId added in v1.3.1

func (r TmallservicecenterservicemonitormessageupdateAPIRequest) GetServiceMonitorMessageId() int64

GetServiceMonitorMessageId ServiceMonitorMessageId Getter

func (TmallservicecenterservicemonitormessageupdateAPIRequest) GetStatus added in v1.3.1

GetStatus Status Getter

func (*TmallservicecenterservicemonitormessageupdateAPIRequest) SetMemo added in v1.3.1

SetMemo is Memo Setter 预警处理备注

func (*TmallservicecenterservicemonitormessageupdateAPIRequest) SetServiceMonitorMessageId added in v1.3.1

func (r *TmallservicecenterservicemonitormessageupdateAPIRequest) SetServiceMonitorMessageId(_serviceMonitorMessageId int64) error

SetServiceMonitorMessageId is ServiceMonitorMessageId Setter 预警消息id

func (*TmallservicecenterservicemonitormessageupdateAPIRequest) SetStatus added in v1.3.1

SetStatus is Status Setter 可更新状态:3、已读

type TmallservicecenterservicemonitormessageupdateAPIResponse added in v1.3.1

type TmallservicecenterservicemonitormessageupdateAPIResponse struct {
	model.CommonResponse
	TmallservicecenterservicemonitormessageupdateAPIResponseModel
}

TmallservicecenterservicemonitormessageupdateAPIResponse 服务商更新预警消息状态 API返回值 tmall.servicecenter.servicemonitormessage.update

服务商收到预警后,需要进行回复已读状态,并可填写备注

type TmallservicecenterservicemonitormessageupdateAPIResponseModel added in v1.3.1

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

TmallservicecenterservicemonitormessageupdateAPIResponseModel is 服务商更新预警消息状态 成功返回结果

type TmallservicecenterservicestorecreateAPIRequest added in v1.3.1

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

TmallservicecenterservicestorecreateAPIRequest 创建门店 API请求 tmall.servicecenter.servicestore.create

用于创建门店/网点。多个业务共用

func NewTmallservicecenterservicestorecreateRequest added in v1.3.1

func NewTmallservicecenterservicestorecreateRequest() *TmallservicecenterservicestorecreateAPIRequest

NewTmallservicecenterservicestorecreateRequest 初始化TmallservicecenterservicestorecreateAPIRequest对象

func (TmallservicecenterservicestorecreateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterservicestorecreateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterservicestorecreateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterservicestorecreateAPIRequest) GetServiceStore added in v1.3.1

GetServiceStore ServiceStore Getter

func (*TmallservicecenterservicestorecreateAPIRequest) SetServiceStore added in v1.3.1

func (r *TmallservicecenterservicestorecreateAPIRequest) SetServiceStore(_serviceStore *ServiceStoreDto) error

SetServiceStore is ServiceStore Setter 网点/门店

type TmallservicecenterservicestorecreateAPIResponse added in v1.3.1

type TmallservicecenterservicestorecreateAPIResponse struct {
	model.CommonResponse
	TmallservicecenterservicestorecreateAPIResponseModel
}

TmallservicecenterservicestorecreateAPIResponse 创建门店 API返回值 tmall.servicecenter.servicestore.create

用于创建门店/网点。多个业务共用

type TmallservicecenterservicestorecreateAPIResponseModel added in v1.3.1

type TmallservicecenterservicestorecreateAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_servicestore_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 方法调用结果
	Result *TmallservicecenterservicestorecreateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecenterservicestorecreateAPIResponseModel is 创建门店 成功返回结果

type TmallservicecenterservicestorecreateResult added in v1.3.1

type TmallservicecenterservicestorecreateResult struct {
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 门店数据
	ResultData *ServiceStoreCreateResp `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterservicestorecreateResult 结构体

type TmallservicecenterservicestorecreateservicestoreAPIRequest added in v1.3.1

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

TmallservicecenterservicestorecreateservicestoreAPIRequest 服务网点创建 API请求 tmall.servicecenter.servicestore.createservicestore

创建网点信息。对于同一个服务商,通过 service_store_code 保证网点唯一性。需要保证网点不存在才能创建。地址信息:中文和编码二选一,都填则以编码address_code为准。 错误码 1, 服务商昵称无效 2, 缺少省份 3, 缺少城市 4, 缺少区域 5, 缺少详细地址 6, 传入地址不在标准地址库中,无法解析 7, 缺少网点编码 8, 缺少网点名称 9, 缺少网点电话 10, 网点已存在 11, 网点不存在 12, 系统错误

func NewTmallservicecenterservicestorecreateservicestoreRequest added in v1.3.1

func NewTmallservicecenterservicestorecreateservicestoreRequest() *TmallservicecenterservicestorecreateservicestoreAPIRequest

NewTmallservicecenterservicestorecreateservicestoreRequest 初始化TmallservicecenterservicestorecreateservicestoreAPIRequest对象

func (TmallservicecenterservicestorecreateservicestoreAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterservicestorecreateservicestoreAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterservicestorecreateservicestoreAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterservicestorecreateservicestoreAPIRequest) GetServiceStore added in v1.3.1

GetServiceStore ServiceStore Getter

func (*TmallservicecenterservicestorecreateservicestoreAPIRequest) SetServiceStore added in v1.3.1

SetServiceStore is ServiceStore Setter 网点

type TmallservicecenterservicestorecreateservicestoreAPIResponse added in v1.3.1

type TmallservicecenterservicestorecreateservicestoreAPIResponse struct {
	model.CommonResponse
	TmallservicecenterservicestorecreateservicestoreAPIResponseModel
}

TmallservicecenterservicestorecreateservicestoreAPIResponse 服务网点创建 API返回值 tmall.servicecenter.servicestore.createservicestore

创建网点信息。对于同一个服务商,通过 service_store_code 保证网点唯一性。需要保证网点不存在才能创建。地址信息:中文和编码二选一,都填则以编码address_code为准。 错误码 1, 服务商昵称无效 2, 缺少省份 3, 缺少城市 4, 缺少区域 5, 缺少详细地址 6, 传入地址不在标准地址库中,无法解析 7, 缺少网点编码 8, 缺少网点名称 9, 缺少网点电话 10, 网点已存在 11, 网点不存在 12, 系统错误

type TmallservicecenterservicestorecreateservicestoreAPIResponseModel added in v1.3.1

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

TmallservicecenterservicestorecreateservicestoreAPIResponseModel is 服务网点创建 成功返回结果

type TmallservicecenterservicestoredeleteservicestoreAPIRequest added in v1.3.1

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

TmallservicecenterservicestoredeleteservicestoreAPIRequest 删除网点 API请求 tmall.servicecenter.servicestore.deleteservicestore

删除网点信息。对于同一个服务商,通过 service_store_code 删除网点。 错误码 1, 服务商昵称无效 2, 缺少省份 3, 缺少城市 4, 缺少区域 5, 缺少详细地址 6, 传入地址不在标准地址库中,无法解析 7, 缺少网点编码 8, 缺少网点名称 9, 缺少网点电话 10, 网点已存在 11, 网点不存在 12, 系统错误

func NewTmallservicecenterservicestoredeleteservicestoreRequest added in v1.3.1

func NewTmallservicecenterservicestoredeleteservicestoreRequest() *TmallservicecenterservicestoredeleteservicestoreAPIRequest

NewTmallservicecenterservicestoredeleteservicestoreRequest 初始化TmallservicecenterservicestoredeleteservicestoreAPIRequest对象

func (TmallservicecenterservicestoredeleteservicestoreAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterservicestoredeleteservicestoreAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterservicestoredeleteservicestoreAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterservicestoredeleteservicestoreAPIRequest) GetServiceStoreCode added in v1.3.1

GetServiceStoreCode ServiceStoreCode Getter

func (*TmallservicecenterservicestoredeleteservicestoreAPIRequest) SetServiceStoreCode added in v1.3.1

func (r *TmallservicecenterservicestoredeleteservicestoreAPIRequest) SetServiceStoreCode(_serviceStoreCode string) error

SetServiceStoreCode is ServiceStoreCode Setter 网点名称

type TmallservicecenterservicestoredeleteservicestoreAPIResponse added in v1.3.1

type TmallservicecenterservicestoredeleteservicestoreAPIResponse struct {
	model.CommonResponse
	TmallservicecenterservicestoredeleteservicestoreAPIResponseModel
}

TmallservicecenterservicestoredeleteservicestoreAPIResponse 删除网点 API返回值 tmall.servicecenter.servicestore.deleteservicestore

删除网点信息。对于同一个服务商,通过 service_store_code 删除网点。 错误码 1, 服务商昵称无效 2, 缺少省份 3, 缺少城市 4, 缺少区域 5, 缺少详细地址 6, 传入地址不在标准地址库中,无法解析 7, 缺少网点编码 8, 缺少网点名称 9, 缺少网点电话 10, 网点已存在 11, 网点不存在 12, 系统错误

type TmallservicecenterservicestoredeleteservicestoreAPIResponseModel added in v1.3.1

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

TmallservicecenterservicestoredeleteservicestoreAPIResponseModel is 删除网点 成功返回结果

type TmallservicecenterservicestoredeleteservicestorecoverserviceAPIRequest added in v1.3.1

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

TmallservicecenterservicestoredeleteservicestorecoverserviceAPIRequest 删除网点覆盖的服务 API请求 tmall.servicecenter.servicestore.deleteservicestorecoverservice

天猫服务平台删除网点覆盖的服务, 必选字段:serviceStoreCode、bizType

func NewTmallservicecenterservicestoredeleteservicestorecoverserviceRequest added in v1.3.1

func NewTmallservicecenterservicestoredeleteservicestorecoverserviceRequest() *TmallservicecenterservicestoredeleteservicestorecoverserviceAPIRequest

NewTmallservicecenterservicestoredeleteservicestorecoverserviceRequest 初始化TmallservicecenterservicestoredeleteservicestorecoverserviceAPIRequest对象

func (TmallservicecenterservicestoredeleteservicestorecoverserviceAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterservicestoredeleteservicestorecoverserviceAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterservicestoredeleteservicestorecoverserviceAPIRequest) GetBizType added in v1.3.1

GetBizType BizType Getter

func (TmallservicecenterservicestoredeleteservicestorecoverserviceAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterservicestoredeleteservicestorecoverserviceAPIRequest) GetServiceStoreCode added in v1.3.1

GetServiceStoreCode ServiceStoreCode Getter

func (*TmallservicecenterservicestoredeleteservicestorecoverserviceAPIRequest) SetBizType added in v1.3.1

SetBizType is BizType Setter 业务类型

func (*TmallservicecenterservicestoredeleteservicestorecoverserviceAPIRequest) SetServiceStoreCode added in v1.3.1

SetServiceStoreCode is ServiceStoreCode Setter 网点编码

type TmallservicecenterservicestoredeleteservicestorecoverserviceAPIResponse added in v1.3.1

type TmallservicecenterservicestoredeleteservicestorecoverserviceAPIResponse struct {
	model.CommonResponse
	TmallservicecenterservicestoredeleteservicestorecoverserviceAPIResponseModel
}

TmallservicecenterservicestoredeleteservicestorecoverserviceAPIResponse 删除网点覆盖的服务 API返回值 tmall.servicecenter.servicestore.deleteservicestorecoverservice

天猫服务平台删除网点覆盖的服务, 必选字段:serviceStoreCode、bizType

type TmallservicecenterservicestoredeleteservicestorecoverserviceAPIResponseModel added in v1.3.1

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

TmallservicecenterservicestoredeleteservicestorecoverserviceAPIResponseModel is 删除网点覆盖的服务 成功返回结果

type TmallservicecenterservicestoreupdateAPIRequest added in v1.3.1

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

TmallservicecenterservicestoreupdateAPIRequest 修改门店信息 API请求 tmall.servicecenter.servicestore.update

用于修改门店/网点信息。多个业务共用

func NewTmallservicecenterservicestoreupdateRequest added in v1.3.1

func NewTmallservicecenterservicestoreupdateRequest() *TmallservicecenterservicestoreupdateAPIRequest

NewTmallservicecenterservicestoreupdateRequest 初始化TmallservicecenterservicestoreupdateAPIRequest对象

func (TmallservicecenterservicestoreupdateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterservicestoreupdateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterservicestoreupdateAPIRequest) GetParamServiceStoreDTO added in v1.3.1

GetParamServiceStoreDTO ParamServiceStoreDTO Getter

func (TmallservicecenterservicestoreupdateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecenterservicestoreupdateAPIRequest) SetParamServiceStoreDTO added in v1.3.1

func (r *TmallservicecenterservicestoreupdateAPIRequest) SetParamServiceStoreDTO(_paramServiceStoreDTO *ServiceStoreDto) error

SetParamServiceStoreDTO is ParamServiceStoreDTO Setter 网点/门店

type TmallservicecenterservicestoreupdateAPIResponse added in v1.3.1

type TmallservicecenterservicestoreupdateAPIResponse struct {
	model.CommonResponse
	TmallservicecenterservicestoreupdateAPIResponseModel
}

TmallservicecenterservicestoreupdateAPIResponse 修改门店信息 API返回值 tmall.servicecenter.servicestore.update

用于修改门店/网点信息。多个业务共用

type TmallservicecenterservicestoreupdateAPIResponseModel added in v1.3.1

type TmallservicecenterservicestoreupdateAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_servicestore_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 方法调用结果
	Result *TmallservicecenterservicestoreupdateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecenterservicestoreupdateAPIResponseModel is 修改门店信息 成功返回结果

type TmallservicecenterservicestoreupdateResult added in v1.3.1

type TmallservicecenterservicestoreupdateResult struct {
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterservicestoreupdateResult 结构体

type TmallservicecenterservicestoreupdateservicestoreAPIRequest added in v1.3.1

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

TmallservicecenterservicestoreupdateservicestoreAPIRequest 修改网点信息 API请求 tmall.servicecenter.servicestore.updateservicestore

修改网点信息。对于同一个服务商,通过 service_store_code 保证网点唯一性。需要保证网点存在才能修改。 错误码 1, 服务商昵称无效 2, 缺少省份 3, 缺少城市 4, 缺少区域 5, 缺少详细地址 6, 传入地址不在标准地址库中,无法解析 7, 缺少网点编码 8, 缺少网点名称 9, 缺少网点电话 10, 网点已存在 11, 网点不存在 12, 系统错误

func NewTmallservicecenterservicestoreupdateservicestoreRequest added in v1.3.1

func NewTmallservicecenterservicestoreupdateservicestoreRequest() *TmallservicecenterservicestoreupdateservicestoreAPIRequest

NewTmallservicecenterservicestoreupdateservicestoreRequest 初始化TmallservicecenterservicestoreupdateservicestoreAPIRequest对象

func (TmallservicecenterservicestoreupdateservicestoreAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterservicestoreupdateservicestoreAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterservicestoreupdateservicestoreAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterservicestoreupdateservicestoreAPIRequest) GetServiceStore added in v1.3.1

GetServiceStore ServiceStore Getter

func (*TmallservicecenterservicestoreupdateservicestoreAPIRequest) SetServiceStore added in v1.3.1

SetServiceStore is ServiceStore Setter 网点

type TmallservicecenterservicestoreupdateservicestoreAPIResponse added in v1.3.1

type TmallservicecenterservicestoreupdateservicestoreAPIResponse struct {
	model.CommonResponse
	TmallservicecenterservicestoreupdateservicestoreAPIResponseModel
}

TmallservicecenterservicestoreupdateservicestoreAPIResponse 修改网点信息 API返回值 tmall.servicecenter.servicestore.updateservicestore

修改网点信息。对于同一个服务商,通过 service_store_code 保证网点唯一性。需要保证网点存在才能修改。 错误码 1, 服务商昵称无效 2, 缺少省份 3, 缺少城市 4, 缺少区域 5, 缺少详细地址 6, 传入地址不在标准地址库中,无法解析 7, 缺少网点编码 8, 缺少网点名称 9, 缺少网点电话 10, 网点已存在 11, 网点不存在 12, 系统错误

type TmallservicecenterservicestoreupdateservicestoreAPIResponseModel added in v1.3.1

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

TmallservicecenterservicestoreupdateservicestoreAPIResponseModel is 修改网点信息 成功返回结果

type TmallservicecenterservicestoreupdatestatusAPIRequest added in v1.3.1

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

TmallservicecenterservicestoreupdatestatusAPIRequest 网点/门店状态修改 API请求 tmall.servicecenter.servicestore.updatestatus

修改网点/门店状态

func NewTmallservicecenterservicestoreupdatestatusRequest added in v1.3.1

func NewTmallservicecenterservicestoreupdatestatusRequest() *TmallservicecenterservicestoreupdatestatusAPIRequest

NewTmallservicecenterservicestoreupdatestatusRequest 初始化TmallservicecenterservicestoreupdatestatusAPIRequest对象

func (TmallservicecenterservicestoreupdatestatusAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterservicestoreupdatestatusAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterservicestoreupdatestatusAPIRequest) GetBizType added in v1.3.1

GetBizType BizType Getter

func (TmallservicecenterservicestoreupdatestatusAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (TmallservicecenterservicestoreupdatestatusAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterservicestoreupdatestatusAPIRequest) GetStatus added in v1.3.1

GetStatus Status Getter

func (*TmallservicecenterservicestoreupdatestatusAPIRequest) SetBizType added in v1.3.1

SetBizType is BizType Setter 业务类型。不同业务传不同的值

func (*TmallservicecenterservicestoreupdatestatusAPIRequest) SetId added in v1.3.1

SetId is Id Setter 门店id

func (*TmallservicecenterservicestoreupdatestatusAPIRequest) SetStatus added in v1.3.1

SetStatus is Status Setter 状态。1 营业,0歇业,-1彻底关店

type TmallservicecenterservicestoreupdatestatusAPIResponse added in v1.3.1

type TmallservicecenterservicestoreupdatestatusAPIResponse struct {
	model.CommonResponse
	TmallservicecenterservicestoreupdatestatusAPIResponseModel
}

TmallservicecenterservicestoreupdatestatusAPIResponse 网点/门店状态修改 API返回值 tmall.servicecenter.servicestore.updatestatus

修改网点/门店状态

type TmallservicecenterservicestoreupdatestatusAPIResponseModel added in v1.3.1

type TmallservicecenterservicestoreupdatestatusAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_servicestore_updatestatus_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 方法调用结果
	Result *TmallservicecenterservicestoreupdatestatusResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecenterservicestoreupdatestatusAPIResponseModel is 网点/门店状态修改 成功返回结果

type TmallservicecenterservicestoreupdatestatusResult added in v1.3.1

type TmallservicecenterservicestoreupdatestatusResult struct {
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 错误码
	MsgCode int64 `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterservicestoreupdatestatusResult 结构体

type TmallservicecenterservicetypequeryallAPIRequest added in v1.3.1

type TmallservicecenterservicetypequeryallAPIRequest struct {
	model.Params
}

TmallservicecenterservicetypequeryallAPIRequest 服务供应链服务类型 API请求 tmall.servicecenter.service.type.queryall

查询天猫服务类型列表

func NewTmallservicecenterservicetypequeryallRequest added in v1.3.1

func NewTmallservicecenterservicetypequeryallRequest() *TmallservicecenterservicetypequeryallAPIRequest

NewTmallservicecenterservicetypequeryallRequest 初始化TmallservicecenterservicetypequeryallAPIRequest对象

func (TmallservicecenterservicetypequeryallAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterservicetypequeryallAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterservicetypequeryallAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

type TmallservicecenterservicetypequeryallAPIResponse added in v1.3.1

type TmallservicecenterservicetypequeryallAPIResponse struct {
	model.CommonResponse
	TmallservicecenterservicetypequeryallAPIResponseModel
}

TmallservicecenterservicetypequeryallAPIResponse 服务供应链服务类型 API返回值 tmall.servicecenter.service.type.queryall

查询天猫服务类型列表

type TmallservicecenterservicetypequeryallAPIResponseModel added in v1.3.1

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

TmallservicecenterservicetypequeryallAPIResponseModel is 服务供应链服务类型 成功返回结果

type TmallservicecentersettlementstoretransferauditAPIRequest added in v1.3.1

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

TmallservicecentersettlementstoretransferauditAPIRequest 新康众审批门店分账 API请求 tmall.servicecenter.settlement.storetransfer.audit

新康众审批门店分账

func NewTmallservicecentersettlementstoretransferauditRequest added in v1.3.1

func NewTmallservicecentersettlementstoretransferauditRequest() *TmallservicecentersettlementstoretransferauditAPIRequest

NewTmallservicecentersettlementstoretransferauditRequest 初始化TmallservicecentersettlementstoretransferauditAPIRequest对象

func (TmallservicecentersettlementstoretransferauditAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecentersettlementstoretransferauditAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecentersettlementstoretransferauditAPIRequest) GetAuditPass added in v1.3.1

GetAuditPass AuditPass Getter

func (TmallservicecentersettlementstoretransferauditAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecentersettlementstoretransferauditAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicecentersettlementstoretransferauditAPIRequest) SetAuditPass added in v1.3.1

SetAuditPass is AuditPass Setter 审批通过

func (*TmallservicecentersettlementstoretransferauditAPIRequest) SetWorkcardId added in v1.3.1

SetWorkcardId is WorkcardId Setter 工单id

type TmallservicecentersettlementstoretransferauditAPIResponse added in v1.3.1

type TmallservicecentersettlementstoretransferauditAPIResponse struct {
	model.CommonResponse
	TmallservicecentersettlementstoretransferauditAPIResponseModel
}

TmallservicecentersettlementstoretransferauditAPIResponse 新康众审批门店分账 API返回值 tmall.servicecenter.settlement.storetransfer.audit

新康众审批门店分账

type TmallservicecentersettlementstoretransferauditAPIResponseModel added in v1.3.1

type TmallservicecentersettlementstoretransferauditAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_settlement_storetransfer_audit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 分账审批通知结果
	Result *FulfilplatformResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecentersettlementstoretransferauditAPIResponseModel is 新康众审批门店分账 成功返回结果

type TmallservicecenterspserviceordercreateAPIRequest added in v1.3.1

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

TmallservicecenterspserviceordercreateAPIRequest 服务单创建 API请求 tmall.servicecenter.spserviceorder.create

服务单创建

func NewTmallservicecenterspserviceordercreateRequest added in v1.3.1

func NewTmallservicecenterspserviceordercreateRequest() *TmallservicecenterspserviceordercreateAPIRequest

NewTmallservicecenterspserviceordercreateRequest 初始化TmallservicecenterspserviceordercreateAPIRequest对象

func (TmallservicecenterspserviceordercreateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterspserviceordercreateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterspserviceordercreateAPIRequest) GetBrandId added in v1.3.1

GetBrandId BrandId Getter

func (TmallservicecenterspserviceordercreateAPIRequest) GetBuyer added in v1.3.1

GetBuyer Buyer Getter

func (TmallservicecenterspserviceordercreateAPIRequest) GetExtJson added in v1.3.1

GetExtJson ExtJson Getter

func (TmallservicecenterspserviceordercreateAPIRequest) GetMemo added in v1.3.1

GetMemo Memo Getter

func (TmallservicecenterspserviceordercreateAPIRequest) GetOutOrderId added in v1.3.1

GetOutOrderId OutOrderId Getter

func (TmallservicecenterspserviceordercreateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterspserviceordercreateAPIRequest) GetReservation added in v1.3.1

GetReservation Reservation Getter

func (TmallservicecenterspserviceordercreateAPIRequest) GetServiceContent added in v1.3.1

GetServiceContent ServiceContent Getter

func (TmallservicecenterspserviceordercreateAPIRequest) GetServiceCount added in v1.3.1

GetServiceCount ServiceCount Getter

func (TmallservicecenterspserviceordercreateAPIRequest) GetServiceObjectName added in v1.3.1

GetServiceObjectName ServiceObjectName Getter

func (TmallservicecenterspserviceordercreateAPIRequest) GetServiceObjectType added in v1.3.1

GetServiceObjectType ServiceObjectType Getter

func (TmallservicecenterspserviceordercreateAPIRequest) GetServiceProductId added in v1.3.1

GetServiceProductId ServiceProductId Getter

func (TmallservicecenterspserviceordercreateAPIRequest) GetServiceProperties added in v1.3.1

GetServiceProperties ServiceProperties Getter

func (TmallservicecenterspserviceordercreateAPIRequest) GetSource added in v1.3.1

GetSource Source Getter

func (*TmallservicecenterspserviceordercreateAPIRequest) SetBrandId added in v1.3.1

SetBrandId is BrandId Setter 品牌id

func (*TmallservicecenterspserviceordercreateAPIRequest) SetBuyer added in v1.3.1

SetBuyer is Buyer Setter 消费者信息

func (*TmallservicecenterspserviceordercreateAPIRequest) SetExtJson added in v1.3.1

SetExtJson is ExtJson Setter 额外业务信息

func (*TmallservicecenterspserviceordercreateAPIRequest) SetMemo added in v1.3.1

SetMemo is Memo Setter 备注

func (*TmallservicecenterspserviceordercreateAPIRequest) SetOutOrderId added in v1.3.1

func (r *TmallservicecenterspserviceordercreateAPIRequest) SetOutOrderId(_outOrderId string) error

SetOutOrderId is OutOrderId Setter 外部单号

func (*TmallservicecenterspserviceordercreateAPIRequest) SetReservation added in v1.3.1

SetReservation is Reservation Setter 预约信息

func (*TmallservicecenterspserviceordercreateAPIRequest) SetServiceContent added in v1.3.1

func (r *TmallservicecenterspserviceordercreateAPIRequest) SetServiceContent(_serviceContent string) error

SetServiceContent is ServiceContent Setter 服务内容

func (*TmallservicecenterspserviceordercreateAPIRequest) SetServiceCount added in v1.3.1

func (r *TmallservicecenterspserviceordercreateAPIRequest) SetServiceCount(_serviceCount int64) error

SetServiceCount is ServiceCount Setter 数量

func (*TmallservicecenterspserviceordercreateAPIRequest) SetServiceObjectName added in v1.3.1

func (r *TmallservicecenterspserviceordercreateAPIRequest) SetServiceObjectName(_serviceObjectName string) error

SetServiceObjectName is ServiceObjectName Setter 服务对象类型名称

func (*TmallservicecenterspserviceordercreateAPIRequest) SetServiceObjectType added in v1.3.1

func (r *TmallservicecenterspserviceordercreateAPIRequest) SetServiceObjectType(_serviceObjectType string) error

SetServiceObjectType is ServiceObjectType Setter 服务对象类型

func (*TmallservicecenterspserviceordercreateAPIRequest) SetServiceProductId added in v1.3.1

func (r *TmallservicecenterspserviceordercreateAPIRequest) SetServiceProductId(_serviceProductId int64) error

SetServiceProductId is ServiceProductId Setter 服务产品id

func (*TmallservicecenterspserviceordercreateAPIRequest) SetServiceProperties added in v1.3.1

func (r *TmallservicecenterspserviceordercreateAPIRequest) SetServiceProperties(_serviceProperties string) error

SetServiceProperties is ServiceProperties Setter 服务计价json

func (*TmallservicecenterspserviceordercreateAPIRequest) SetSource added in v1.3.1

SetSource is Source Setter 外部渠道

type TmallservicecenterspserviceordercreateAPIResponse added in v1.3.1

type TmallservicecenterspserviceordercreateAPIResponse struct {
	model.CommonResponse
	TmallservicecenterspserviceordercreateAPIResponseModel
}

TmallservicecenterspserviceordercreateAPIResponse 服务单创建 API返回值 tmall.servicecenter.spserviceorder.create

服务单创建

type TmallservicecenterspserviceordercreateAPIResponseModel added in v1.3.1

type TmallservicecenterspserviceordercreateAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_spserviceorder_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 工单id列表
	WorkcardIds []int64 `json:"workcard_ids,omitempty" xml:"workcard_ids>int64,omitempty"`
	// 错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 服务单id
	ServiceOrderId int64 `json:"service_order_id,omitempty" xml:"service_order_id,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TmallservicecenterspserviceordercreateAPIResponseModel is 服务单创建 成功返回结果

type TmallservicecenterspserviceorderepocreceiveAPIRequest added in v1.3.1

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

TmallservicecenterspserviceorderepocreceiveAPIRequest 电子保单数据接口 API请求 tmall.servicecenter.spserviceorder.epoc.receive

电子保单数据回传接口

func NewTmallservicecenterspserviceorderepocreceiveRequest added in v1.3.1

func NewTmallservicecenterspserviceorderepocreceiveRequest() *TmallservicecenterspserviceorderepocreceiveAPIRequest

NewTmallservicecenterspserviceorderepocreceiveRequest 初始化TmallservicecenterspserviceorderepocreceiveAPIRequest对象

func (TmallservicecenterspserviceorderepocreceiveAPIRequest) GetAgreementNumber added in v1.3.1

GetAgreementNumber AgreementNumber Getter

func (TmallservicecenterspserviceorderepocreceiveAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterspserviceorderepocreceiveAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterspserviceorderepocreceiveAPIRequest) GetBizOrderId added in v1.3.1

GetBizOrderId BizOrderId Getter

func (TmallservicecenterspserviceorderepocreceiveAPIRequest) GetDeviceSerialNumber added in v1.3.1

GetDeviceSerialNumber DeviceSerialNumber Getter

func (TmallservicecenterspserviceorderepocreceiveAPIRequest) GetExpirationTime added in v1.3.1

GetExpirationTime ExpirationTime Getter

func (TmallservicecenterspserviceorderepocreceiveAPIRequest) GetProductModel added in v1.3.1

GetProductModel ProductModel Getter

func (TmallservicecenterspserviceorderepocreceiveAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecenterspserviceorderepocreceiveAPIRequest) SetAgreementNumber added in v1.3.1

func (r *TmallservicecenterspserviceorderepocreceiveAPIRequest) SetAgreementNumber(_agreementNumber string) error

SetAgreementNumber is AgreementNumber Setter 电子保单协议号

func (*TmallservicecenterspserviceorderepocreceiveAPIRequest) SetBizOrderId added in v1.3.1

SetBizOrderId is BizOrderId Setter 服务交易订单号

func (*TmallservicecenterspserviceorderepocreceiveAPIRequest) SetDeviceSerialNumber added in v1.3.1

func (r *TmallservicecenterspserviceorderepocreceiveAPIRequest) SetDeviceSerialNumber(_deviceSerialNumber string) error

SetDeviceSerialNumber is DeviceSerialNumber Setter 设备序列号

func (*TmallservicecenterspserviceorderepocreceiveAPIRequest) SetExpirationTime added in v1.3.1

func (r *TmallservicecenterspserviceorderepocreceiveAPIRequest) SetExpirationTime(_expirationTime string) error

SetExpirationTime is ExpirationTime Setter 电子保单到期时间(包含时分秒)

func (*TmallservicecenterspserviceorderepocreceiveAPIRequest) SetProductModel added in v1.3.1

func (r *TmallservicecenterspserviceorderepocreceiveAPIRequest) SetProductModel(_productModel string) error

SetProductModel is ProductModel Setter 产品型号

type TmallservicecenterspserviceorderepocreceiveAPIResponse added in v1.3.1

type TmallservicecenterspserviceorderepocreceiveAPIResponse struct {
	model.CommonResponse
	TmallservicecenterspserviceorderepocreceiveAPIResponseModel
}

TmallservicecenterspserviceorderepocreceiveAPIResponse 电子保单数据接口 API返回值 tmall.servicecenter.spserviceorder.epoc.receive

电子保单数据回传接口

type TmallservicecenterspserviceorderepocreceiveAPIResponseModel added in v1.3.1

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

TmallservicecenterspserviceorderepocreceiveAPIResponseModel is 电子保单数据接口 成功返回结果

type TmallservicecenterspserviceorderepoctransferAPIRequest added in v1.3.1

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

TmallservicecenterspserviceorderepoctransferAPIRequest 电子保单受保人转移 API请求 tmall.servicecenter.spserviceorder.epoc.transfer

电子保单受保人转移

func NewTmallservicecenterspserviceorderepoctransferRequest added in v1.3.1

func NewTmallservicecenterspserviceorderepoctransferRequest() *TmallservicecenterspserviceorderepoctransferAPIRequest

NewTmallservicecenterspserviceorderepoctransferRequest 初始化TmallservicecenterspserviceorderepoctransferAPIRequest对象

func (TmallservicecenterspserviceorderepoctransferAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterspserviceorderepoctransferAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterspserviceorderepoctransferAPIRequest) GetBizOrderId added in v1.3.1

GetBizOrderId BizOrderId Getter

func (TmallservicecenterspserviceorderepoctransferAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecenterspserviceorderepoctransferAPIRequest) SetBizOrderId added in v1.3.1

SetBizOrderId is BizOrderId Setter 服务交易订单号

type TmallservicecenterspserviceorderepoctransferAPIResponse added in v1.3.1

type TmallservicecenterspserviceorderepoctransferAPIResponse struct {
	model.CommonResponse
	TmallservicecenterspserviceorderepoctransferAPIResponseModel
}

TmallservicecenterspserviceorderepoctransferAPIResponse 电子保单受保人转移 API返回值 tmall.servicecenter.spserviceorder.epoc.transfer

电子保单受保人转移

type TmallservicecenterspserviceorderepoctransferAPIResponseModel added in v1.3.1

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

TmallservicecenterspserviceorderepoctransferAPIResponseModel is 电子保单受保人转移 成功返回结果

type TmallservicecenterspserviceorderepocuploadAPIRequest added in v1.3.1

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

TmallservicecenterspserviceorderepocuploadAPIRequest 电子保单文件上传接口 API请求 tmall.servicecenter.spserviceorder.epoc.upload

电子保单文件上传接口

func NewTmallservicecenterspserviceorderepocuploadRequest added in v1.3.1

func NewTmallservicecenterspserviceorderepocuploadRequest() *TmallservicecenterspserviceorderepocuploadAPIRequest

NewTmallservicecenterspserviceorderepocuploadRequest 初始化TmallservicecenterspserviceorderepocuploadAPIRequest对象

func (TmallservicecenterspserviceorderepocuploadAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterspserviceorderepocuploadAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterspserviceorderepocuploadAPIRequest) GetBizOrderId added in v1.3.1

GetBizOrderId BizOrderId Getter

func (TmallservicecenterspserviceorderepocuploadAPIRequest) GetEpocFileData added in v1.3.1

GetEpocFileData EpocFileData Getter

func (TmallservicecenterspserviceorderepocuploadAPIRequest) GetEpocFileName added in v1.3.1

GetEpocFileName EpocFileName Getter

func (TmallservicecenterspserviceorderepocuploadAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterspserviceorderepocuploadAPIRequest) GetTcFileData added in v1.3.1

GetTcFileData TcFileData Getter

func (TmallservicecenterspserviceorderepocuploadAPIRequest) GetTcFileName added in v1.3.1

GetTcFileName TcFileName Getter

func (*TmallservicecenterspserviceorderepocuploadAPIRequest) SetBizOrderId added in v1.3.1

SetBizOrderId is BizOrderId Setter 服务交易订单号

func (*TmallservicecenterspserviceorderepocuploadAPIRequest) SetEpocFileData added in v1.3.1

func (r *TmallservicecenterspserviceorderepocuploadAPIRequest) SetEpocFileData(_epocFileData string) error

SetEpocFileData is EpocFileData Setter 电子保单文件数据

func (*TmallservicecenterspserviceorderepocuploadAPIRequest) SetEpocFileName added in v1.3.1

func (r *TmallservicecenterspserviceorderepocuploadAPIRequest) SetEpocFileName(_epocFileName string) error

SetEpocFileName is EpocFileName Setter 电子保单文件名

func (*TmallservicecenterspserviceorderepocuploadAPIRequest) SetTcFileData added in v1.3.1

SetTcFileData is TcFileData Setter t&c文件数据

func (*TmallservicecenterspserviceorderepocuploadAPIRequest) SetTcFileName added in v1.3.1

SetTcFileName is TcFileName Setter t&c文件名

type TmallservicecenterspserviceorderepocuploadAPIResponse added in v1.3.1

type TmallservicecenterspserviceorderepocuploadAPIResponse struct {
	model.CommonResponse
	TmallservicecenterspserviceorderepocuploadAPIResponseModel
}

TmallservicecenterspserviceorderepocuploadAPIResponse 电子保单文件上传接口 API返回值 tmall.servicecenter.spserviceorder.epoc.upload

电子保单文件上传接口

type TmallservicecenterspserviceorderepocuploadAPIResponseModel added in v1.3.1

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

TmallservicecenterspserviceorderepocuploadAPIResponseModel is 电子保单文件上传接口 成功返回结果

type TmallservicecenterspserviceorderqueryAPIRequest added in v1.3.1

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

TmallservicecenterspserviceorderqueryAPIRequest 服务单列表查询 API请求 tmall.servicecenter.spserviceorder.query

查询服务单列表

func NewTmallservicecenterspserviceorderqueryRequest added in v1.3.1

func NewTmallservicecenterspserviceorderqueryRequest() *TmallservicecenterspserviceorderqueryAPIRequest

NewTmallservicecenterspserviceorderqueryRequest 初始化TmallservicecenterspserviceorderqueryAPIRequest对象

func (TmallservicecenterspserviceorderqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterspserviceorderqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterspserviceorderqueryAPIRequest) GetParentBizOrderId added in v1.3.1

GetParentBizOrderId ParentBizOrderId Getter

func (TmallservicecenterspserviceorderqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecenterspserviceorderqueryAPIRequest) SetParentBizOrderId added in v1.3.1

func (r *TmallservicecenterspserviceorderqueryAPIRequest) SetParentBizOrderId(_parentBizOrderId int64) error

SetParentBizOrderId is ParentBizOrderId Setter 交易主订单id

type TmallservicecenterspserviceorderqueryAPIResponse added in v1.3.1

type TmallservicecenterspserviceorderqueryAPIResponse struct {
	model.CommonResponse
	TmallservicecenterspserviceorderqueryAPIResponseModel
}

TmallservicecenterspserviceorderqueryAPIResponse 服务单列表查询 API返回值 tmall.servicecenter.spserviceorder.query

查询服务单列表

type TmallservicecenterspserviceorderqueryAPIResponseModel added in v1.3.1

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

TmallservicecenterspserviceorderqueryAPIResponseModel is 服务单列表查询 成功返回结果

type TmallservicecentertaskfeedbacknoneedserviceAPIRequest added in v1.3.1

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

TmallservicecentertaskfeedbacknoneedserviceAPIRequest 服务商反馈无需安装工单接口 API请求 tmall.servicecenter.task.feedbacknoneedservice

服务商反馈无需安装工单接口

func NewTmallservicecentertaskfeedbacknoneedserviceRequest added in v1.3.1

func NewTmallservicecentertaskfeedbacknoneedserviceRequest() *TmallservicecentertaskfeedbacknoneedserviceAPIRequest

NewTmallservicecentertaskfeedbacknoneedserviceRequest 初始化TmallservicecentertaskfeedbacknoneedserviceAPIRequest对象

func (TmallservicecentertaskfeedbacknoneedserviceAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecentertaskfeedbacknoneedserviceAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecentertaskfeedbacknoneedserviceAPIRequest) GetParam added in v1.3.1

GetParam Param Getter

func (TmallservicecentertaskfeedbacknoneedserviceAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecentertaskfeedbacknoneedserviceAPIRequest) SetParam added in v1.3.1

SetParam is Param Setter 入参对象

type TmallservicecentertaskfeedbacknoneedserviceAPIResponse added in v1.3.1

type TmallservicecentertaskfeedbacknoneedserviceAPIResponse struct {
	model.CommonResponse
	TmallservicecentertaskfeedbacknoneedserviceAPIResponseModel
}

TmallservicecentertaskfeedbacknoneedserviceAPIResponse 服务商反馈无需安装工单接口 API返回值 tmall.servicecenter.task.feedbacknoneedservice

服务商反馈无需安装工单接口

type TmallservicecentertaskfeedbacknoneedserviceAPIResponseModel added in v1.3.1

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

TmallservicecentertaskfeedbacknoneedserviceAPIResponseModel is 服务商反馈无需安装工单接口 成功返回结果

type TmallservicecentertaskgetAPIRequest added in v1.3.1

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

TmallservicecentertaskgetAPIRequest 服务工单拉取 API请求 tmall.servicecenter.task.get

接口供服务供应商通过交易主订单查询其未拉取的任务类工单

func NewTmallservicecentertaskgetRequest added in v1.3.1

func NewTmallservicecentertaskgetRequest() *TmallservicecentertaskgetAPIRequest

NewTmallservicecentertaskgetRequest 初始化TmallservicecentertaskgetAPIRequest对象

func (TmallservicecentertaskgetAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallservicecentertaskgetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecentertaskgetAPIRequest) GetApiParams added in v1.3.1

func (r TmallservicecentertaskgetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecentertaskgetAPIRequest) GetParentBizOrderId added in v1.3.1

func (r TmallservicecentertaskgetAPIRequest) GetParentBizOrderId() int64

GetParentBizOrderId ParentBizOrderId Getter

func (TmallservicecentertaskgetAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecentertaskgetAPIRequest) SetParentBizOrderId added in v1.3.1

func (r *TmallservicecentertaskgetAPIRequest) SetParentBizOrderId(_parentBizOrderId int64) error

SetParentBizOrderId is ParentBizOrderId Setter Taobao主交易订单ID

type TmallservicecentertaskgetAPIResponse added in v1.3.1

type TmallservicecentertaskgetAPIResponse struct {
	model.CommonResponse
	TmallservicecentertaskgetAPIResponseModel
}

TmallservicecentertaskgetAPIResponse 服务工单拉取 API返回值 tmall.servicecenter.task.get

接口供服务供应商通过交易主订单查询其未拉取的任务类工单

type TmallservicecentertaskgetAPIResponseModel added in v1.3.1

type TmallservicecentertaskgetAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_task_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// ServicePacket<ServiceTaskDO>
	ServiceTaskPacket *ServiceTaskPacket `json:"service_task_packet,omitempty" xml:"service_task_packet,omitempty"`
}

TmallservicecentertaskgetAPIResponseModel is 服务工单拉取 成功返回结果

type TmallservicecentertaskqueryrefundAPIRequest added in v1.3.1

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

TmallservicecentertaskqueryrefundAPIRequest 查询任务类工单是否退款 API请求 tmall.servicecenter.task.queryrefund

查询任务类工单是否退款

func NewTmallservicecentertaskqueryrefundRequest added in v1.3.1

func NewTmallservicecentertaskqueryrefundRequest() *TmallservicecentertaskqueryrefundAPIRequest

NewTmallservicecentertaskqueryrefundRequest 初始化TmallservicecentertaskqueryrefundAPIRequest对象

func (TmallservicecentertaskqueryrefundAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecentertaskqueryrefundAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecentertaskqueryrefundAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecentertaskqueryrefundAPIRequest) GetWorkcardList added in v1.3.1

GetWorkcardList WorkcardList Getter

func (*TmallservicecentertaskqueryrefundAPIRequest) SetWorkcardList added in v1.3.1

func (r *TmallservicecentertaskqueryrefundAPIRequest) SetWorkcardList(_workcardList []string) error

SetWorkcardList is WorkcardList Setter 工单id列表

type TmallservicecentertaskqueryrefundAPIResponse added in v1.3.1

type TmallservicecentertaskqueryrefundAPIResponse struct {
	model.CommonResponse
	TmallservicecentertaskqueryrefundAPIResponseModel
}

TmallservicecentertaskqueryrefundAPIResponse 查询任务类工单是否退款 API返回值 tmall.servicecenter.task.queryrefund

查询任务类工单是否退款

type TmallservicecentertaskqueryrefundAPIResponseModel added in v1.3.1

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

TmallservicecentertaskqueryrefundAPIResponseModel is 查询任务类工单是否退款 成功返回结果

type TmallservicecentertaskssearchAPIRequest added in v1.3.1

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

TmallservicecentertaskssearchAPIRequest 查询任务类工单信息 API请求 tmall.servicecenter.tasks.search

查询任务类工单信息

func NewTmallservicecentertaskssearchRequest added in v1.3.1

func NewTmallservicecentertaskssearchRequest() *TmallservicecentertaskssearchAPIRequest

NewTmallservicecentertaskssearchRequest 初始化TmallservicecentertaskssearchAPIRequest对象

func (TmallservicecentertaskssearchAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallservicecentertaskssearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecentertaskssearchAPIRequest) GetApiParams added in v1.3.1

func (r TmallservicecentertaskssearchAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecentertaskssearchAPIRequest) GetEnd added in v1.3.1

GetEnd End Getter

func (TmallservicecentertaskssearchAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecentertaskssearchAPIRequest) GetStart added in v1.3.1

GetStart Start Getter

func (*TmallservicecentertaskssearchAPIRequest) SetEnd added in v1.3.1

SetEnd is End Setter 结束时间: 开始时间和结束时间不能超过15分钟

func (*TmallservicecentertaskssearchAPIRequest) SetStart added in v1.3.1

SetStart is Start Setter 开始时间: 开始时间和结束时间不能超过15分钟

type TmallservicecentertaskssearchAPIResponse added in v1.3.1

type TmallservicecentertaskssearchAPIResponse struct {
	model.CommonResponse
	TmallservicecentertaskssearchAPIResponseModel
}

TmallservicecentertaskssearchAPIResponse 查询任务类工单信息 API返回值 tmall.servicecenter.tasks.search

查询任务类工单信息

type TmallservicecentertaskssearchAPIResponseModel added in v1.3.1

type TmallservicecentertaskssearchAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_tasks_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// ServicePacket<ServiceTaskDO>
	ServiceTaskPacket *ServiceTaskPacket `json:"service_task_packet,omitempty" xml:"service_task_packet,omitempty"`
}

TmallservicecentertaskssearchAPIResponseModel is 查询任务类工单信息 成功返回结果

type TmallservicecenterworkcardassignworkerAPIRequest added in v1.3.1

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

TmallservicecenterworkcardassignworkerAPIRequest 服务商分派工人 API请求 tmall.servicecenter.workcard.assignworker

服务商调用该接口分派工人给具体的工单

func NewTmallservicecenterworkcardassignworkerRequest added in v1.3.1

func NewTmallservicecenterworkcardassignworkerRequest() *TmallservicecenterworkcardassignworkerAPIRequest

NewTmallservicecenterworkcardassignworkerRequest 初始化TmallservicecenterworkcardassignworkerAPIRequest对象

func (TmallservicecenterworkcardassignworkerAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardassignworkerAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardassignworkerAPIRequest) GetExtJson added in v1.3.1

GetExtJson ExtJson Getter

func (TmallservicecenterworkcardassignworkerAPIRequest) GetFulfilTaskId added in v1.3.1

GetFulfilTaskId FulfilTaskId Getter

func (TmallservicecenterworkcardassignworkerAPIRequest) GetOuterId added in v1.3.1

GetOuterId OuterId Getter

func (TmallservicecenterworkcardassignworkerAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardassignworkerAPIRequest) GetStopOrderTypeCheckReason added in v1.3.1

func (r TmallservicecenterworkcardassignworkerAPIRequest) GetStopOrderTypeCheckReason() int64

GetStopOrderTypeCheckReason StopOrderTypeCheckReason Getter

func (TmallservicecenterworkcardassignworkerAPIRequest) GetTargetWorkerId added in v1.3.1

GetTargetWorkerId TargetWorkerId Getter

func (TmallservicecenterworkcardassignworkerAPIRequest) GetTargetWorkerMobile added in v1.3.1

func (r TmallservicecenterworkcardassignworkerAPIRequest) GetTargetWorkerMobile() string

GetTargetWorkerMobile TargetWorkerMobile Getter

func (TmallservicecenterworkcardassignworkerAPIRequest) GetTargetWorkerName added in v1.3.1

GetTargetWorkerName TargetWorkerName Getter

func (TmallservicecenterworkcardassignworkerAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicecenterworkcardassignworkerAPIRequest) SetExtJson added in v1.3.1

SetExtJson is ExtJson Setter 扩展信息

func (*TmallservicecenterworkcardassignworkerAPIRequest) SetFulfilTaskId added in v1.3.1

func (r *TmallservicecenterworkcardassignworkerAPIRequest) SetFulfilTaskId(_fulfilTaskId int64) error

SetFulfilTaskId is FulfilTaskId Setter 核销单id

func (*TmallservicecenterworkcardassignworkerAPIRequest) SetOuterId added in v1.3.1

SetOuterId is OuterId Setter 核销单外部id

func (*TmallservicecenterworkcardassignworkerAPIRequest) SetStopOrderTypeCheckReason added in v1.3.1

func (r *TmallservicecenterworkcardassignworkerAPIRequest) SetStopOrderTypeCheckReason(_stopOrderTypeCheckReason int64) error

SetStopOrderTypeCheckReason is StopOrderTypeCheckReason Setter 不检查订单类型的原因ID由运营提供,服务商不可自由传

func (*TmallservicecenterworkcardassignworkerAPIRequest) SetTargetWorkerId added in v1.3.1

func (r *TmallservicecenterworkcardassignworkerAPIRequest) SetTargetWorkerId(_targetWorkerId int64) error

SetTargetWorkerId is TargetWorkerId Setter 需要指派的工人id

func (*TmallservicecenterworkcardassignworkerAPIRequest) SetTargetWorkerMobile added in v1.3.1

func (r *TmallservicecenterworkcardassignworkerAPIRequest) SetTargetWorkerMobile(_targetWorkerMobile string) error

SetTargetWorkerMobile is TargetWorkerMobile Setter 需要指派的工人手机

func (*TmallservicecenterworkcardassignworkerAPIRequest) SetTargetWorkerName added in v1.3.1

func (r *TmallservicecenterworkcardassignworkerAPIRequest) SetTargetWorkerName(_targetWorkerName string) error

SetTargetWorkerName is TargetWorkerName Setter 需要指派的工人姓名

func (*TmallservicecenterworkcardassignworkerAPIRequest) SetWorkcardId added in v1.3.1

func (r *TmallservicecenterworkcardassignworkerAPIRequest) SetWorkcardId(_workcardId int64) error

SetWorkcardId is WorkcardId Setter 需要派工人的工单id

type TmallservicecenterworkcardassignworkerAPIResponse added in v1.3.1

type TmallservicecenterworkcardassignworkerAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardassignworkerAPIResponseModel
}

TmallservicecenterworkcardassignworkerAPIResponse 服务商分派工人 API返回值 tmall.servicecenter.workcard.assignworker

服务商调用该接口分派工人给具体的工单

type TmallservicecenterworkcardassignworkerAPIResponseModel added in v1.3.1

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

TmallservicecenterworkcardassignworkerAPIResponseModel is 服务商分派工人 成功返回结果

type TmallservicecenterworkcardassignworkerResult added in v1.3.1

type TmallservicecenterworkcardassignworkerResult struct {
	// 用于对外展示的信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 消息代码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 系统级错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterworkcardassignworkerResult 结构体

type TmallservicecenterworkcardcallrecordAPIRequest added in v1.3.1

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

TmallservicecenterworkcardcallrecordAPIRequest 回访记录回传API API请求 tmall.servicecenter.workcard.call.record

客满回访信息登记

func NewTmallservicecenterworkcardcallrecordRequest added in v1.3.1

func NewTmallservicecenterworkcardcallrecordRequest() *TmallservicecenterworkcardcallrecordAPIRequest

NewTmallservicecenterworkcardcallrecordRequest 初始化TmallservicecenterworkcardcallrecordAPIRequest对象

func (TmallservicecenterworkcardcallrecordAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardcallrecordAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardcallrecordAPIRequest) GetBusiRequest added in v1.3.1

GetBusiRequest BusiRequest Getter

func (TmallservicecenterworkcardcallrecordAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecenterworkcardcallrecordAPIRequest) SetBusiRequest added in v1.3.1

SetBusiRequest is BusiRequest Setter 请求入参

type TmallservicecenterworkcardcallrecordAPIResponse added in v1.3.1

type TmallservicecenterworkcardcallrecordAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardcallrecordAPIResponseModel
}

TmallservicecenterworkcardcallrecordAPIResponse 回访记录回传API API返回值 tmall.servicecenter.workcard.call.record

客满回访信息登记

type TmallservicecenterworkcardcallrecordAPIResponseModel added in v1.3.1

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

TmallservicecenterworkcardcallrecordAPIResponseModel is 回访记录回传API 成功返回结果

type TmallservicecenterworkcardcollectAPIRequest added in v1.3.1

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

TmallservicecenterworkcardcollectAPIRequest 工单揽件 API请求 tmall.servicecenter.workcard.collect

服务工单揽件接口

func NewTmallservicecenterworkcardcollectRequest added in v1.3.1

func NewTmallservicecenterworkcardcollectRequest() *TmallservicecenterworkcardcollectAPIRequest

NewTmallservicecenterworkcardcollectRequest 初始化TmallservicecenterworkcardcollectAPIRequest对象

func (TmallservicecenterworkcardcollectAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardcollectAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardcollectAPIRequest) GetAttributes added in v1.3.1

GetAttributes Attributes Getter

func (TmallservicecenterworkcardcollectAPIRequest) GetBuyerId added in v1.3.1

GetBuyerId BuyerId Getter

func (TmallservicecenterworkcardcollectAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardcollectAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicecenterworkcardcollectAPIRequest) SetAttributes added in v1.3.1

func (r *TmallservicecenterworkcardcollectAPIRequest) SetAttributes(_attributes string) error

SetAttributes is Attributes Setter 扩展信息

func (*TmallservicecenterworkcardcollectAPIRequest) SetBuyerId added in v1.3.1

SetBuyerId is BuyerId Setter 买家id

func (*TmallservicecenterworkcardcollectAPIRequest) SetWorkcardId added in v1.3.1

func (r *TmallservicecenterworkcardcollectAPIRequest) SetWorkcardId(_workcardId int64) error

SetWorkcardId is WorkcardId Setter 工单id

type TmallservicecenterworkcardcollectAPIResponse added in v1.3.1

type TmallservicecenterworkcardcollectAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardcollectAPIResponseModel
}

TmallservicecenterworkcardcollectAPIResponse 工单揽件 API返回值 tmall.servicecenter.workcard.collect

服务工单揽件接口

type TmallservicecenterworkcardcollectAPIResponseModel added in v1.3.1

type TmallservicecenterworkcardcollectAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_workcard_collect_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应结果
	Result *FulfilplatformResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecenterworkcardcollectAPIResponseModel is 工单揽件 成功返回结果

type TmallservicecenterworkcardcompleteAPIRequest added in v1.3.1

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

TmallservicecenterworkcardcompleteAPIRequest 工单完结 API请求 tmall.servicecenter.workcard.complete

工单完结

func NewTmallservicecenterworkcardcompleteRequest added in v1.3.1

func NewTmallservicecenterworkcardcompleteRequest() *TmallservicecenterworkcardcompleteAPIRequest

NewTmallservicecenterworkcardcompleteRequest 初始化TmallservicecenterworkcardcompleteAPIRequest对象

func (TmallservicecenterworkcardcompleteAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardcompleteAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardcompleteAPIRequest) GetCompleteCount added in v1.3.1

GetCompleteCount CompleteCount Getter

func (TmallservicecenterworkcardcompleteAPIRequest) GetExtJson added in v1.3.1

GetExtJson ExtJson Getter

func (TmallservicecenterworkcardcompleteAPIRequest) GetLatitude added in v1.3.1

GetLatitude Latitude Getter

func (TmallservicecenterworkcardcompleteAPIRequest) GetLongitude added in v1.3.1

GetLongitude Longitude Getter

func (TmallservicecenterworkcardcompleteAPIRequest) GetPicUrls added in v1.3.1

GetPicUrls PicUrls Getter

func (TmallservicecenterworkcardcompleteAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardcompleteAPIRequest) GetSequence added in v1.3.1

GetSequence Sequence Getter

func (TmallservicecenterworkcardcompleteAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicecenterworkcardcompleteAPIRequest) SetCompleteCount added in v1.3.1

func (r *TmallservicecenterworkcardcompleteAPIRequest) SetCompleteCount(_completeCount int64) error

SetCompleteCount is CompleteCount Setter 完结次数

func (*TmallservicecenterworkcardcompleteAPIRequest) SetExtJson added in v1.3.1

SetExtJson is ExtJson Setter 扩展信息

func (*TmallservicecenterworkcardcompleteAPIRequest) SetLatitude added in v1.3.1

func (r *TmallservicecenterworkcardcompleteAPIRequest) SetLatitude(_latitude string) error

SetLatitude is Latitude Setter 核销地纬度

func (*TmallservicecenterworkcardcompleteAPIRequest) SetLongitude added in v1.3.1

func (r *TmallservicecenterworkcardcompleteAPIRequest) SetLongitude(_longitude string) error

SetLongitude is Longitude Setter 核销地经度

func (*TmallservicecenterworkcardcompleteAPIRequest) SetPicUrls added in v1.3.1

SetPicUrls is PicUrls Setter 图片地址回传集合

func (*TmallservicecenterworkcardcompleteAPIRequest) SetSequence added in v1.3.1

func (r *TmallservicecenterworkcardcompleteAPIRequest) SetSequence(_sequence int64) error

SetSequence is Sequence Setter 工单完结号

func (*TmallservicecenterworkcardcompleteAPIRequest) SetWorkcardId added in v1.3.1

func (r *TmallservicecenterworkcardcompleteAPIRequest) SetWorkcardId(_workcardId int64) error

SetWorkcardId is WorkcardId Setter 工单id

type TmallservicecenterworkcardcompleteAPIResponse added in v1.3.1

type TmallservicecenterworkcardcompleteAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardcompleteAPIResponseModel
}

TmallservicecenterworkcardcompleteAPIResponse 工单完结 API返回值 tmall.servicecenter.workcard.complete

工单完结

type TmallservicecenterworkcardcompleteAPIResponseModel added in v1.3.1

type TmallservicecenterworkcardcompleteAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_workcard_complete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应结果
	Result *FulfilplatformResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecenterworkcardcompleteAPIResponseModel is 工单完结 成功返回结果

type TmallservicecenterworkcardconfirmAPIRequest added in v1.3.1

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

TmallservicecenterworkcardconfirmAPIRequest 服务商确认服务完成 API请求 tmall.servicecenter.workcard.confirm

提供给外部合作服务商,用于通知天猫,告知寄修服务厂内操作全部完成

func NewTmallservicecenterworkcardconfirmRequest added in v1.3.1

func NewTmallservicecenterworkcardconfirmRequest() *TmallservicecenterworkcardconfirmAPIRequest

NewTmallservicecenterworkcardconfirmRequest 初始化TmallservicecenterworkcardconfirmAPIRequest对象

func (TmallservicecenterworkcardconfirmAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardconfirmAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardconfirmAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardconfirmAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicecenterworkcardconfirmAPIRequest) SetWorkcardId added in v1.3.1

func (r *TmallservicecenterworkcardconfirmAPIRequest) SetWorkcardId(_workcardId int64) error

SetWorkcardId is WorkcardId Setter 工单id

type TmallservicecenterworkcardconfirmAPIResponse added in v1.3.1

type TmallservicecenterworkcardconfirmAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardconfirmAPIResponseModel
}

TmallservicecenterworkcardconfirmAPIResponse 服务商确认服务完成 API返回值 tmall.servicecenter.workcard.confirm

提供给外部合作服务商,用于通知天猫,告知寄修服务厂内操作全部完成

type TmallservicecenterworkcardconfirmAPIResponseModel added in v1.3.1

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

TmallservicecenterworkcardconfirmAPIResponseModel is 服务商确认服务完成 成功返回结果

type TmallservicecenterworkcarddesensitizationqueryAPIRequest added in v1.3.1

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

TmallservicecenterworkcarddesensitizationqueryAPIRequest 工单查询接口 API请求 tmall.servicecenter.workcard.desensitization.query

工单查询接口

func NewTmallservicecenterworkcarddesensitizationqueryRequest added in v1.3.1

func NewTmallservicecenterworkcarddesensitizationqueryRequest() *TmallservicecenterworkcarddesensitizationqueryAPIRequest

NewTmallservicecenterworkcarddesensitizationqueryRequest 初始化TmallservicecenterworkcarddesensitizationqueryAPIRequest对象

func (TmallservicecenterworkcarddesensitizationqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcarddesensitizationqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcarddesensitizationqueryAPIRequest) GetBizOrderId added in v1.3.1

GetBizOrderId BizOrderId Getter

func (TmallservicecenterworkcarddesensitizationqueryAPIRequest) GetCurrentPage added in v1.3.1

GetCurrentPage CurrentPage Getter

func (TmallservicecenterworkcarddesensitizationqueryAPIRequest) GetGmtCreateEnd added in v1.3.1

GetGmtCreateEnd GmtCreateEnd Getter

func (TmallservicecenterworkcarddesensitizationqueryAPIRequest) GetGmtCreateStart added in v1.3.1

GetGmtCreateStart GmtCreateStart Getter

func (TmallservicecenterworkcarddesensitizationqueryAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (TmallservicecenterworkcarddesensitizationqueryAPIRequest) GetIdentifyCode added in v1.3.1

GetIdentifyCode IdentifyCode Getter

func (TmallservicecenterworkcarddesensitizationqueryAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TmallservicecenterworkcarddesensitizationqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcarddesensitizationqueryAPIRequest) GetRequestSourceType added in v1.3.1

GetRequestSourceType RequestSourceType Getter

func (TmallservicecenterworkcarddesensitizationqueryAPIRequest) GetServiceStoreId added in v1.3.1

GetServiceStoreId ServiceStoreId Getter

func (*TmallservicecenterworkcarddesensitizationqueryAPIRequest) SetBizOrderId added in v1.3.1

SetBizOrderId is BizOrderId Setter 淘宝交易订单号。主订单或子订单均可

func (*TmallservicecenterworkcarddesensitizationqueryAPIRequest) SetCurrentPage added in v1.3.1

SetCurrentPage is CurrentPage Setter 当前页数

func (*TmallservicecenterworkcarddesensitizationqueryAPIRequest) SetGmtCreateEnd added in v1.3.1

func (r *TmallservicecenterworkcarddesensitizationqueryAPIRequest) SetGmtCreateEnd(_gmtCreateEnd string) error

SetGmtCreateEnd is GmtCreateEnd Setter 工单创建结束时间,必须与工单创建开始时间一起传入,且间隔不超过15分钟

func (*TmallservicecenterworkcarddesensitizationqueryAPIRequest) SetGmtCreateStart added in v1.3.1

func (r *TmallservicecenterworkcarddesensitizationqueryAPIRequest) SetGmtCreateStart(_gmtCreateStart string) error

SetGmtCreateStart is GmtCreateStart Setter 工单创建开始时间

func (*TmallservicecenterworkcarddesensitizationqueryAPIRequest) SetId added in v1.3.1

SetId is Id Setter 工单id

func (*TmallservicecenterworkcarddesensitizationqueryAPIRequest) SetIdentifyCode added in v1.3.1

func (r *TmallservicecenterworkcarddesensitizationqueryAPIRequest) SetIdentifyCode(_identifyCode string) error

SetIdentifyCode is IdentifyCode Setter 核销码

func (*TmallservicecenterworkcarddesensitizationqueryAPIRequest) SetPageSize added in v1.3.1

SetPageSize is PageSize Setter 每页大小

func (*TmallservicecenterworkcarddesensitizationqueryAPIRequest) SetRequestSourceType added in v1.3.1

func (r *TmallservicecenterworkcarddesensitizationqueryAPIRequest) SetRequestSourceType(_requestSourceType int64) error

SetRequestSourceType is RequestSourceType Setter 请求来源类型

func (*TmallservicecenterworkcarddesensitizationqueryAPIRequest) SetServiceStoreId added in v1.3.1

func (r *TmallservicecenterworkcarddesensitizationqueryAPIRequest) SetServiceStoreId(_serviceStoreId int64) error

SetServiceStoreId is ServiceStoreId Setter 门店/网点id

type TmallservicecenterworkcarddesensitizationqueryAPIResponse added in v1.3.1

type TmallservicecenterworkcarddesensitizationqueryAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcarddesensitizationqueryAPIResponseModel
}

TmallservicecenterworkcarddesensitizationqueryAPIResponse 工单查询接口 API返回值 tmall.servicecenter.workcard.desensitization.query

工单查询接口

type TmallservicecenterworkcarddesensitizationqueryAPIResponseModel added in v1.3.1

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

TmallservicecenterworkcarddesensitizationqueryAPIResponseModel is 工单查询接口 成功返回结果

type TmallservicecenterworkcarddesensitizationqueryResult added in v1.3.1

type TmallservicecenterworkcarddesensitizationqueryResult struct {
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 分页数据
	ResultData *Paged `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterworkcarddesensitizationqueryResult 结构体

type TmallservicecenterworkcardevaluateAPIRequest added in v1.3.1

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

TmallservicecenterworkcardevaluateAPIRequest 服务商反馈鉴定结果 API请求 tmall.servicecenter.workcard.evaluate

服务商反馈鉴定结果

func NewTmallservicecenterworkcardevaluateRequest added in v1.3.1

func NewTmallservicecenterworkcardevaluateRequest() *TmallservicecenterworkcardevaluateAPIRequest

NewTmallservicecenterworkcardevaluateRequest 初始化TmallservicecenterworkcardevaluateAPIRequest对象

func (TmallservicecenterworkcardevaluateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardevaluateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardevaluateAPIRequest) GetFailCode added in v1.3.1

GetFailCode FailCode Getter

func (TmallservicecenterworkcardevaluateAPIRequest) GetPassEvaluation added in v1.3.1

func (r TmallservicecenterworkcardevaluateAPIRequest) GetPassEvaluation() bool

GetPassEvaluation PassEvaluation Getter

func (TmallservicecenterworkcardevaluateAPIRequest) GetPicUrlList added in v1.3.1

GetPicUrlList PicUrlList Getter

func (TmallservicecenterworkcardevaluateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardevaluateAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicecenterworkcardevaluateAPIRequest) SetFailCode added in v1.3.1

func (r *TmallservicecenterworkcardevaluateAPIRequest) SetFailCode(_failCode int64) error

SetFailCode is FailCode Setter 鉴定不通过时的原因编码

func (*TmallservicecenterworkcardevaluateAPIRequest) SetPassEvaluation added in v1.3.1

func (r *TmallservicecenterworkcardevaluateAPIRequest) SetPassEvaluation(_passEvaluation bool) error

SetPassEvaluation is PassEvaluation Setter 是否鉴定通过

func (*TmallservicecenterworkcardevaluateAPIRequest) SetPicUrlList added in v1.3.1

func (r *TmallservicecenterworkcardevaluateAPIRequest) SetPicUrlList(_picUrlList []string) error

SetPicUrlList is PicUrlList Setter 鉴定结果图片列表

func (*TmallservicecenterworkcardevaluateAPIRequest) SetWorkcardId added in v1.3.1

func (r *TmallservicecenterworkcardevaluateAPIRequest) SetWorkcardId(_workcardId int64) error

SetWorkcardId is WorkcardId Setter 工单id

type TmallservicecenterworkcardevaluateAPIResponse added in v1.3.1

type TmallservicecenterworkcardevaluateAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardevaluateAPIResponseModel
}

TmallservicecenterworkcardevaluateAPIResponse 服务商反馈鉴定结果 API返回值 tmall.servicecenter.workcard.evaluate

服务商反馈鉴定结果

type TmallservicecenterworkcardevaluateAPIResponseModel added in v1.3.1

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

TmallservicecenterworkcardevaluateAPIResponseModel is 服务商反馈鉴定结果 成功返回结果

type TmallservicecenterworkcardevaluateResult added in v1.3.1

type TmallservicecenterworkcardevaluateResult struct {
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 是否调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterworkcardevaluateResult 结构体

type TmallservicecenterworkcardexpressorderconsignAPIRequest added in v1.3.1

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

TmallservicecenterworkcardexpressorderconsignAPIRequest 物流订单呼叫运力 API请求 tmall.servicecenter.workcard.expressorder.consign

天猫服务寄送类业务,服务商履约完成后进行寄回操作呼叫运力

func NewTmallservicecenterworkcardexpressorderconsignRequest added in v1.3.1

func NewTmallservicecenterworkcardexpressorderconsignRequest() *TmallservicecenterworkcardexpressorderconsignAPIRequest

NewTmallservicecenterworkcardexpressorderconsignRequest 初始化TmallservicecenterworkcardexpressorderconsignAPIRequest对象

func (TmallservicecenterworkcardexpressorderconsignAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardexpressorderconsignAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardexpressorderconsignAPIRequest) GetExpressOrderId added in v1.3.1

GetExpressOrderId ExpressOrderId Getter

func (TmallservicecenterworkcardexpressorderconsignAPIRequest) GetLogisticsOrderId added in v1.3.1

GetLogisticsOrderId LogisticsOrderId Getter

func (TmallservicecenterworkcardexpressorderconsignAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardexpressorderconsignAPIRequest) GetRealTpNick added in v1.3.1

GetRealTpNick RealTpNick Getter

func (TmallservicecenterworkcardexpressorderconsignAPIRequest) GetWorkcardIdList added in v1.3.1

GetWorkcardIdList WorkcardIdList Getter

func (*TmallservicecenterworkcardexpressorderconsignAPIRequest) SetExpressOrderId added in v1.3.1

func (r *TmallservicecenterworkcardexpressorderconsignAPIRequest) SetExpressOrderId(_expressOrderId int64) error

SetExpressOrderId is ExpressOrderId Setter 物流寄件单号(废弃)

func (*TmallservicecenterworkcardexpressorderconsignAPIRequest) SetLogisticsOrderId added in v1.3.1

func (r *TmallservicecenterworkcardexpressorderconsignAPIRequest) SetLogisticsOrderId(_logisticsOrderId int64) error

SetLogisticsOrderId is LogisticsOrderId Setter 物流订单号

func (*TmallservicecenterworkcardexpressorderconsignAPIRequest) SetRealTpNick added in v1.3.1

SetRealTpNick is RealTpNick Setter 真实接单服务商

func (*TmallservicecenterworkcardexpressorderconsignAPIRequest) SetWorkcardIdList added in v1.3.1

func (r *TmallservicecenterworkcardexpressorderconsignAPIRequest) SetWorkcardIdList(_workcardIdList []int64) error

SetWorkcardIdList is WorkcardIdList Setter 工单List

type TmallservicecenterworkcardexpressorderconsignAPIResponse added in v1.3.1

type TmallservicecenterworkcardexpressorderconsignAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardexpressorderconsignAPIResponseModel
}

TmallservicecenterworkcardexpressorderconsignAPIResponse 物流订单呼叫运力 API返回值 tmall.servicecenter.workcard.expressorder.consign

天猫服务寄送类业务,服务商履约完成后进行寄回操作呼叫运力

type TmallservicecenterworkcardexpressorderconsignAPIResponseModel added in v1.3.1

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

TmallservicecenterworkcardexpressorderconsignAPIResponseModel is 物流订单呼叫运力 成功返回结果

type TmallservicecenterworkcardexpressordercreateAPIRequest added in v1.3.1

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

TmallservicecenterworkcardexpressordercreateAPIRequest 物流订单创建API API请求 tmall.servicecenter.workcard.expressorder.create

天猫服务寄送类业务,服务商履约完成后寄回操作时,提供的物流寄件单创建API

func NewTmallservicecenterworkcardexpressordercreateRequest added in v1.3.1

func NewTmallservicecenterworkcardexpressordercreateRequest() *TmallservicecenterworkcardexpressordercreateAPIRequest

NewTmallservicecenterworkcardexpressordercreateRequest 初始化TmallservicecenterworkcardexpressordercreateAPIRequest对象

func (TmallservicecenterworkcardexpressordercreateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardexpressordercreateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardexpressordercreateAPIRequest) GetExternalLogisticsOrderId added in v1.3.1

func (r TmallservicecenterworkcardexpressordercreateAPIRequest) GetExternalLogisticsOrderId() string

GetExternalLogisticsOrderId ExternalLogisticsOrderId Getter

func (TmallservicecenterworkcardexpressordercreateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardexpressordercreateAPIRequest) GetRealTpNick added in v1.3.1

GetRealTpNick RealTpNick Getter

func (TmallservicecenterworkcardexpressordercreateAPIRequest) GetWorkcardIdList added in v1.3.1

GetWorkcardIdList WorkcardIdList Getter

func (*TmallservicecenterworkcardexpressordercreateAPIRequest) SetExternalLogisticsOrderId added in v1.3.1

func (r *TmallservicecenterworkcardexpressordercreateAPIRequest) SetExternalLogisticsOrderId(_externalLogisticsOrderId string) error

SetExternalLogisticsOrderId is ExternalLogisticsOrderId Setter erp外部物流订单号

func (*TmallservicecenterworkcardexpressordercreateAPIRequest) SetRealTpNick added in v1.3.1

SetRealTpNick is RealTpNick Setter 真实履约服务商Nick(非ERP系统不要填写)

func (*TmallservicecenterworkcardexpressordercreateAPIRequest) SetWorkcardIdList added in v1.3.1

func (r *TmallservicecenterworkcardexpressordercreateAPIRequest) SetWorkcardIdList(_workcardIdList []int64) error

SetWorkcardIdList is WorkcardIdList Setter 物流单关联的工单List

type TmallservicecenterworkcardexpressordercreateAPIResponse added in v1.3.1

type TmallservicecenterworkcardexpressordercreateAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardexpressordercreateAPIResponseModel
}

TmallservicecenterworkcardexpressordercreateAPIResponse 物流订单创建API API返回值 tmall.servicecenter.workcard.expressorder.create

天猫服务寄送类业务,服务商履约完成后寄回操作时,提供的物流寄件单创建API

type TmallservicecenterworkcardexpressordercreateAPIResponseModel added in v1.3.1

type TmallservicecenterworkcardexpressordercreateAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_workcard_expressorder_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 创建结果
	Result *FulfilplatformResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecenterworkcardexpressordercreateAPIResponseModel is 物流订单创建API 成功返回结果

type TmallservicecenterworkcardextrachargecreateAPIRequest added in v1.3.1

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

TmallservicecenterworkcardextrachargecreateAPIRequest 创建工单额外收费项 API请求 tmall.servicecenter.workcard.extracharge.create

创建额外收费项

func NewTmallservicecenterworkcardextrachargecreateRequest added in v1.3.1

func NewTmallservicecenterworkcardextrachargecreateRequest() *TmallservicecenterworkcardextrachargecreateAPIRequest

NewTmallservicecenterworkcardextrachargecreateRequest 初始化TmallservicecenterworkcardextrachargecreateAPIRequest对象

func (TmallservicecenterworkcardextrachargecreateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardextrachargecreateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardextrachargecreateAPIRequest) GetExtraChargeItemList added in v1.3.1

GetExtraChargeItemList ExtraChargeItemList Getter

func (TmallservicecenterworkcardextrachargecreateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardextrachargecreateAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicecenterworkcardextrachargecreateAPIRequest) SetExtraChargeItemList added in v1.3.1

func (r *TmallservicecenterworkcardextrachargecreateAPIRequest) SetExtraChargeItemList(_extraChargeItemList *WorkcardExtraChargeCreateTuple) error

SetExtraChargeItemList is ExtraChargeItemList Setter 额外收费项列表

func (*TmallservicecenterworkcardextrachargecreateAPIRequest) SetWorkcardId added in v1.3.1

SetWorkcardId is WorkcardId Setter 工单id

type TmallservicecenterworkcardextrachargecreateAPIResponse added in v1.3.1

type TmallservicecenterworkcardextrachargecreateAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardextrachargecreateAPIResponseModel
}

TmallservicecenterworkcardextrachargecreateAPIResponse 创建工单额外收费项 API返回值 tmall.servicecenter.workcard.extracharge.create

创建额外收费项

type TmallservicecenterworkcardextrachargecreateAPIResponseModel added in v1.3.1

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

TmallservicecenterworkcardextrachargecreateAPIResponseModel is 创建工单额外收费项 成功返回结果

type TmallservicecenterworkcardlogisticsorderqueryAPIRequest added in v1.3.1

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

TmallservicecenterworkcardlogisticsorderqueryAPIRequest 物流单信息查询 API请求 tmall.servicecenter.workcard.logisticsorder.query

物流订单信息查询API

func NewTmallservicecenterworkcardlogisticsorderqueryRequest added in v1.3.1

func NewTmallservicecenterworkcardlogisticsorderqueryRequest() *TmallservicecenterworkcardlogisticsorderqueryAPIRequest

NewTmallservicecenterworkcardlogisticsorderqueryRequest 初始化TmallservicecenterworkcardlogisticsorderqueryAPIRequest对象

func (TmallservicecenterworkcardlogisticsorderqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardlogisticsorderqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardlogisticsorderqueryAPIRequest) GetLogisticsOrderId added in v1.3.1

GetLogisticsOrderId LogisticsOrderId Getter

func (TmallservicecenterworkcardlogisticsorderqueryAPIRequest) GetNewLogistics added in v1.3.1

GetNewLogistics NewLogistics Getter

func (TmallservicecenterworkcardlogisticsorderqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecenterworkcardlogisticsorderqueryAPIRequest) SetLogisticsOrderId added in v1.3.1

func (r *TmallservicecenterworkcardlogisticsorderqueryAPIRequest) SetLogisticsOrderId(_logisticsOrderId int64) error

SetLogisticsOrderId is LogisticsOrderId Setter 物流单号

func (*TmallservicecenterworkcardlogisticsorderqueryAPIRequest) SetNewLogistics added in v1.3.1

func (r *TmallservicecenterworkcardlogisticsorderqueryAPIRequest) SetNewLogistics(_newLogistics bool) error

SetNewLogistics is NewLogistics Setter 是否查询新物流,不填默认查原有物流

type TmallservicecenterworkcardlogisticsorderqueryAPIResponse added in v1.3.1

type TmallservicecenterworkcardlogisticsorderqueryAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardlogisticsorderqueryAPIResponseModel
}

TmallservicecenterworkcardlogisticsorderqueryAPIResponse 物流单信息查询 API返回值 tmall.servicecenter.workcard.logisticsorder.query

物流订单信息查询API

type TmallservicecenterworkcardlogisticsorderqueryAPIResponseModel added in v1.3.1

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

TmallservicecenterworkcardlogisticsorderqueryAPIResponseModel is 物流单信息查询 成功返回结果

type TmallservicecenterworkcardlogisticsordertpcancelAPIRequest added in v1.3.1

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

TmallservicecenterworkcardlogisticsordertpcancelAPIRequest tp更新物流进度信息 API请求 tmall.servicecenter.workcard.logisticsorder.tpcancel

tp更新物流进度信息

func NewTmallservicecenterworkcardlogisticsordertpcancelRequest added in v1.3.1

func NewTmallservicecenterworkcardlogisticsordertpcancelRequest() *TmallservicecenterworkcardlogisticsordertpcancelAPIRequest

NewTmallservicecenterworkcardlogisticsordertpcancelRequest 初始化TmallservicecenterworkcardlogisticsordertpcancelAPIRequest对象

func (TmallservicecenterworkcardlogisticsordertpcancelAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardlogisticsordertpcancelAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardlogisticsordertpcancelAPIRequest) GetComment added in v1.3.1

GetComment Comment Getter

func (TmallservicecenterworkcardlogisticsordertpcancelAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardlogisticsordertpcancelAPIRequest) GetRealTpNick added in v1.3.1

GetRealTpNick RealTpNick Getter

func (TmallservicecenterworkcardlogisticsordertpcancelAPIRequest) GetWorkcardIdList added in v1.3.1

GetWorkcardIdList WorkcardIdList Getter

func (*TmallservicecenterworkcardlogisticsordertpcancelAPIRequest) SetComment added in v1.3.1

SetComment is Comment Setter 取消原因

func (*TmallservicecenterworkcardlogisticsordertpcancelAPIRequest) SetRealTpNick added in v1.3.1

SetRealTpNick is RealTpNick Setter 实际履行服务商nick

func (*TmallservicecenterworkcardlogisticsordertpcancelAPIRequest) SetWorkcardIdList added in v1.3.1

func (r *TmallservicecenterworkcardlogisticsordertpcancelAPIRequest) SetWorkcardIdList(_workcardIdList int64) error

SetWorkcardIdList is WorkcardIdList Setter 工单IdList

type TmallservicecenterworkcardlogisticsordertpcancelAPIResponse added in v1.3.1

type TmallservicecenterworkcardlogisticsordertpcancelAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardlogisticsordertpcancelAPIResponseModel
}

TmallservicecenterworkcardlogisticsordertpcancelAPIResponse tp更新物流进度信息 API返回值 tmall.servicecenter.workcard.logisticsorder.tpcancel

tp更新物流进度信息

type TmallservicecenterworkcardlogisticsordertpcancelAPIResponseModel added in v1.3.1

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

TmallservicecenterworkcardlogisticsordertpcancelAPIResponseModel is tp更新物流进度信息 成功返回结果

type TmallservicecenterworkcardlogisticsorderupdateAPIRequest added in v1.3.1

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

TmallservicecenterworkcardlogisticsorderupdateAPIRequest 物流工单履约状态更新 API请求 tmall.servicecenter.workcard.logisticsorder.update

天猫寄送类服务对接外部物流服务商回传物流状态信息

func NewTmallservicecenterworkcardlogisticsorderupdateRequest added in v1.3.1

func NewTmallservicecenterworkcardlogisticsorderupdateRequest() *TmallservicecenterworkcardlogisticsorderupdateAPIRequest

NewTmallservicecenterworkcardlogisticsorderupdateRequest 初始化TmallservicecenterworkcardlogisticsorderupdateAPIRequest对象

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetComment added in v1.3.1

GetComment Comment Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetCost added in v1.3.1

GetCost Cost Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetCourierMobile added in v1.3.1

GetCourierMobile CourierMobile Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetCourierName added in v1.3.1

GetCourierName CourierName Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetDeliveryTime added in v1.3.1

GetDeliveryTime DeliveryTime Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetExpressCode added in v1.3.1

GetExpressCode ExpressCode Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetExpressCompany added in v1.3.1

GetExpressCompany ExpressCompany Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetExtendInfo added in v1.3.1

GetExtendInfo ExtendInfo Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetGoodsInfo added in v1.3.1

GetGoodsInfo GoodsInfo Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetGotCode added in v1.3.1

GetGotCode GotCode Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetLogisticsOrderId added in v1.3.1

GetLogisticsOrderId LogisticsOrderId Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetNewLogistics added in v1.3.1

GetNewLogistics NewLogistics Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetPickupDoorTime added in v1.3.1

GetPickupDoorTime PickupDoorTime Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetPickupFinishTime added in v1.3.1

GetPickupFinishTime PickupFinishTime Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetSignTime added in v1.3.1

GetSignTime SignTime Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetStatusCode added in v1.3.1

GetStatusCode StatusCode Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetSubExpressCodes added in v1.3.1

GetSubExpressCodes SubExpressCodes Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetVolume added in v1.3.1

GetVolume Volume Getter

func (TmallservicecenterworkcardlogisticsorderupdateAPIRequest) GetWeight added in v1.3.1

GetWeight Weight Getter

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetComment added in v1.3.1

SetComment is Comment Setter 备注说明

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetCost added in v1.3.1

SetCost is Cost Setter 金额 单位分

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetCourierMobile added in v1.3.1

func (r *TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetCourierMobile(_courierMobile string) error

SetCourierMobile is CourierMobile Setter 小件员手机号码

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetCourierName added in v1.3.1

SetCourierName is CourierName Setter 小件员姓名

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetDeliveryTime added in v1.3.1

func (r *TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetDeliveryTime(_deliveryTime string) error

SetDeliveryTime is DeliveryTime Setter 预计送达时间 dispatching节点时必填

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetExpressCode added in v1.3.1

SetExpressCode is ExpressCode Setter 物流单号(展示给消费者)

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetExpressCompany added in v1.3.1

func (r *TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetExpressCompany(_expressCompany string) error

SetExpressCompany is ExpressCompany Setter 物流公司名词(展示给消费者)

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetExtendInfo added in v1.3.1

SetExtendInfo is ExtendInfo Setter 扩展属性

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetGoodsInfo added in v1.3.1

SetGoodsInfo is GoodsInfo Setter 1、以下状态时必填: 包裹已揽收完成 2、字符串格式为:json 串 例子: [{ "name": "上衣", "count": 1 }, { "name": "裤子", "count": 2 }]

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetGotCode added in v1.3.1

SetGotCode is GotCode Setter 取件码

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetLogisticsOrderId added in v1.3.1

func (r *TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetLogisticsOrderId(_logisticsOrderId int64) error

SetLogisticsOrderId is LogisticsOrderId Setter 物流订单号

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetNewLogistics added in v1.3.1

func (r *TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetNewLogistics(_newLogistics bool) error

SetNewLogistics is NewLogistics Setter 是否更新新物流数据

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetPickupDoorTime added in v1.3.1

func (r *TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetPickupDoorTime(_pickupDoorTime string) error

SetPickupDoorTime is PickupDoorTime Setter 上门揽收时间 pickup_door节点时必填

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetPickupFinishTime added in v1.3.1

func (r *TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetPickupFinishTime(_pickupFinishTime string) error

SetPickupFinishTime is PickupFinishTime Setter 揽收完成时间 pickup_finished节点时必填

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetSignTime added in v1.3.1

SetSignTime is SignTime Setter 签收时间 signed节点时必填

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetStatusCode added in v1.3.1

SetStatusCode is StatusCode Setter 物流创建 :create 物流取消 :cancel 分派小件员:assign 已经分派小件员: assigned 包裹上门揽收: pickup_door 包裹已揽收完成: pickup_finished 包裹派送中: dispatching 包裹已签收: signed

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetSubExpressCodes added in v1.3.1

func (r *TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetSubExpressCodes(_subExpressCodes []string) error

SetSubExpressCodes is SubExpressCodes Setter 物流子单号

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetVolume added in v1.3.1

SetVolume is Volume Setter 体积 单位 立方毫米

func (*TmallservicecenterworkcardlogisticsorderupdateAPIRequest) SetWeight added in v1.3.1

SetWeight is Weight Setter 重量 单位 克

type TmallservicecenterworkcardlogisticsorderupdateAPIResponse added in v1.3.1

type TmallservicecenterworkcardlogisticsorderupdateAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardlogisticsorderupdateAPIResponseModel
}

TmallservicecenterworkcardlogisticsorderupdateAPIResponse 物流工单履约状态更新 API返回值 tmall.servicecenter.workcard.logisticsorder.update

天猫寄送类服务对接外部物流服务商回传物流状态信息

type TmallservicecenterworkcardlogisticsorderupdateAPIResponseModel added in v1.3.1

type TmallservicecenterworkcardlogisticsorderupdateAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_workcard_logisticsorder_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *FulfilplatformResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecenterworkcardlogisticsorderupdateAPIResponseModel is 物流工单履约状态更新 成功返回结果

type TmallservicecenterworkcardpushAPIRequest added in v1.3.1

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

TmallservicecenterworkcardpushAPIRequest 推送服务工单信息 API请求 tmall.servicecenter.workcard.push

服务商家推送工单信息到天猫。

func NewTmallservicecenterworkcardpushRequest added in v1.3.1

func NewTmallservicecenterworkcardpushRequest() *TmallservicecenterworkcardpushAPIRequest

NewTmallservicecenterworkcardpushRequest 初始化TmallservicecenterworkcardpushAPIRequest对象

func (TmallservicecenterworkcardpushAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallservicecenterworkcardpushAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardpushAPIRequest) GetApiParams added in v1.3.1

func (r TmallservicecenterworkcardpushAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardpushAPIRequest) GetAttributes added in v1.3.1

GetAttributes Attributes Getter

func (TmallservicecenterworkcardpushAPIRequest) GetBizOrderId added in v1.3.1

GetBizOrderId BizOrderId Getter

func (TmallservicecenterworkcardpushAPIRequest) GetDesc added in v1.3.1

GetDesc Desc Getter

func (TmallservicecenterworkcardpushAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardpushAPIRequest) GetServiceReserveAddress added in v1.3.1

func (r TmallservicecenterworkcardpushAPIRequest) GetServiceReserveAddress() string

GetServiceReserveAddress ServiceReserveAddress Getter

func (TmallservicecenterworkcardpushAPIRequest) GetServiceReserveTime added in v1.3.1

func (r TmallservicecenterworkcardpushAPIRequest) GetServiceReserveTime() string

GetServiceReserveTime ServiceReserveTime Getter

func (TmallservicecenterworkcardpushAPIRequest) GetStatus added in v1.3.1

GetStatus Status Getter

func (*TmallservicecenterworkcardpushAPIRequest) SetAttributes added in v1.3.1

func (r *TmallservicecenterworkcardpushAPIRequest) SetAttributes(_attributes string) error

SetAttributes is Attributes Setter 属性列表。使用半角分号隔开,字符串前后都需要有半角分号

func (*TmallservicecenterworkcardpushAPIRequest) SetBizOrderId added in v1.3.1

func (r *TmallservicecenterworkcardpushAPIRequest) SetBizOrderId(_bizOrderId int64) error

SetBizOrderId is BizOrderId Setter 淘宝交易订单号

func (*TmallservicecenterworkcardpushAPIRequest) SetDesc added in v1.3.1

SetDesc is Desc Setter 描述

func (*TmallservicecenterworkcardpushAPIRequest) SetServiceReserveAddress added in v1.3.1

func (r *TmallservicecenterworkcardpushAPIRequest) SetServiceReserveAddress(_serviceReserveAddress string) error

SetServiceReserveAddress is ServiceReserveAddress Setter 服务预约安装地址。四级地址与街道地址用空格隔开

func (*TmallservicecenterworkcardpushAPIRequest) SetServiceReserveTime added in v1.3.1

func (r *TmallservicecenterworkcardpushAPIRequest) SetServiceReserveTime(_serviceReserveTime string) error

SetServiceReserveTime is ServiceReserveTime Setter 服务预约安装时间

func (*TmallservicecenterworkcardpushAPIRequest) SetStatus added in v1.3.1

SetStatus is Status Setter 0=初始化, 3=授理, 10=拒绝 ,4=执行 ,5=成功,11=失败

type TmallservicecenterworkcardpushAPIResponse added in v1.3.1

type TmallservicecenterworkcardpushAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardpushAPIResponseModel
}

TmallservicecenterworkcardpushAPIResponse 推送服务工单信息 API返回值 tmall.servicecenter.workcard.push

服务商家推送工单信息到天猫。

type TmallservicecenterworkcardpushAPIResponseModel added in v1.3.1

type TmallservicecenterworkcardpushAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_workcard_push_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	WorkcardResult *ResultBase `json:"workcard_result,omitempty" xml:"workcard_result,omitempty"`
}

TmallservicecenterworkcardpushAPIResponseModel is 推送服务工单信息 成功返回结果

type TmallservicecenterworkcardqueryAPIRequest added in v1.3.1

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

TmallservicecenterworkcardqueryAPIRequest 工单查询接口 API请求 tmall.servicecenter.workcard.query

工单查询接口

func NewTmallservicecenterworkcardqueryRequest added in v1.3.1

func NewTmallservicecenterworkcardqueryRequest() *TmallservicecenterworkcardqueryAPIRequest

NewTmallservicecenterworkcardqueryRequest 初始化TmallservicecenterworkcardqueryAPIRequest对象

func (TmallservicecenterworkcardqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardqueryAPIRequest) GetApiParams added in v1.3.1

func (r TmallservicecenterworkcardqueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardqueryAPIRequest) GetBizOrderId added in v1.3.1

GetBizOrderId BizOrderId Getter

func (TmallservicecenterworkcardqueryAPIRequest) GetCurrentPage added in v1.3.1

GetCurrentPage CurrentPage Getter

func (TmallservicecenterworkcardqueryAPIRequest) GetGmtCreateEnd added in v1.3.1

GetGmtCreateEnd GmtCreateEnd Getter

func (TmallservicecenterworkcardqueryAPIRequest) GetGmtCreateStart added in v1.3.1

func (r TmallservicecenterworkcardqueryAPIRequest) GetGmtCreateStart() string

GetGmtCreateStart GmtCreateStart Getter

func (TmallservicecenterworkcardqueryAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (TmallservicecenterworkcardqueryAPIRequest) GetIdentifyCode added in v1.3.1

GetIdentifyCode IdentifyCode Getter

func (TmallservicecenterworkcardqueryAPIRequest) GetNeedWorkcardOperation added in v1.3.1

func (r TmallservicecenterworkcardqueryAPIRequest) GetNeedWorkcardOperation() bool

GetNeedWorkcardOperation NeedWorkcardOperation Getter

func (TmallservicecenterworkcardqueryAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TmallservicecenterworkcardqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardqueryAPIRequest) GetServiceStoreId added in v1.3.1

func (r TmallservicecenterworkcardqueryAPIRequest) GetServiceStoreId() int64

GetServiceStoreId ServiceStoreId Getter

func (*TmallservicecenterworkcardqueryAPIRequest) SetBizOrderId added in v1.3.1

func (r *TmallservicecenterworkcardqueryAPIRequest) SetBizOrderId(_bizOrderId int64) error

SetBizOrderId is BizOrderId Setter 淘宝交易订单号。主订单或子订单均可

func (*TmallservicecenterworkcardqueryAPIRequest) SetCurrentPage added in v1.3.1

func (r *TmallservicecenterworkcardqueryAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 当前页数

func (*TmallservicecenterworkcardqueryAPIRequest) SetGmtCreateEnd added in v1.3.1

func (r *TmallservicecenterworkcardqueryAPIRequest) SetGmtCreateEnd(_gmtCreateEnd string) error

SetGmtCreateEnd is GmtCreateEnd Setter 工单创建结束时间,必须与工单创建开始时间一起传入,且间隔不超过15分钟

func (*TmallservicecenterworkcardqueryAPIRequest) SetGmtCreateStart added in v1.3.1

func (r *TmallservicecenterworkcardqueryAPIRequest) SetGmtCreateStart(_gmtCreateStart string) error

SetGmtCreateStart is GmtCreateStart Setter 工单创建开始时间

func (*TmallservicecenterworkcardqueryAPIRequest) SetId added in v1.3.1

SetId is Id Setter 工单id

func (*TmallservicecenterworkcardqueryAPIRequest) SetIdentifyCode added in v1.3.1

func (r *TmallservicecenterworkcardqueryAPIRequest) SetIdentifyCode(_identifyCode string) error

SetIdentifyCode is IdentifyCode Setter 核销码

func (*TmallservicecenterworkcardqueryAPIRequest) SetNeedWorkcardOperation added in v1.3.1

func (r *TmallservicecenterworkcardqueryAPIRequest) SetNeedWorkcardOperation(_needWorkcardOperation bool) error

SetNeedWorkcardOperation is NeedWorkcardOperation Setter 是否查询操作记录信息

func (*TmallservicecenterworkcardqueryAPIRequest) SetPageSize added in v1.3.1

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

SetPageSize is PageSize Setter 每页大小

func (*TmallservicecenterworkcardqueryAPIRequest) SetServiceStoreId added in v1.3.1

func (r *TmallservicecenterworkcardqueryAPIRequest) SetServiceStoreId(_serviceStoreId int64) error

SetServiceStoreId is ServiceStoreId Setter 门店/网点id

type TmallservicecenterworkcardqueryAPIResponse added in v1.3.1

type TmallservicecenterworkcardqueryAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardqueryAPIResponseModel
}

TmallservicecenterworkcardqueryAPIResponse 工单查询接口 API返回值 tmall.servicecenter.workcard.query

工单查询接口

type TmallservicecenterworkcardqueryAPIResponseModel added in v1.3.1

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

TmallservicecenterworkcardqueryAPIResponseModel is 工单查询接口 成功返回结果

type TmallservicecenterworkcardqueryResult added in v1.3.1

type TmallservicecenterworkcardqueryResult struct {
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 分页数据
	ResultData *Paged `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterworkcardqueryResult 结构体

type TmallservicecenterworkcardquerybysellerAPIRequest added in v1.3.1

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

TmallservicecenterworkcardquerybysellerAPIRequest 工单查询接口(面向商家) API请求 tmall.servicecenter.workcard.querybyseller

查询工单

func NewTmallservicecenterworkcardquerybysellerRequest added in v1.3.1

func NewTmallservicecenterworkcardquerybysellerRequest() *TmallservicecenterworkcardquerybysellerAPIRequest

NewTmallservicecenterworkcardquerybysellerRequest 初始化TmallservicecenterworkcardquerybysellerAPIRequest对象

func (TmallservicecenterworkcardquerybysellerAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardquerybysellerAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardquerybysellerAPIRequest) GetBizOrderId added in v1.3.1

GetBizOrderId BizOrderId Getter

func (TmallservicecenterworkcardquerybysellerAPIRequest) GetCurrentPage added in v1.3.1

GetCurrentPage CurrentPage Getter

func (TmallservicecenterworkcardquerybysellerAPIRequest) GetGmtCreateEnd added in v1.3.1

GetGmtCreateEnd GmtCreateEnd Getter

func (TmallservicecenterworkcardquerybysellerAPIRequest) GetGmtCreateStart added in v1.3.1

GetGmtCreateStart GmtCreateStart Getter

func (TmallservicecenterworkcardquerybysellerAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (TmallservicecenterworkcardquerybysellerAPIRequest) GetIdentifyCode added in v1.3.1

GetIdentifyCode IdentifyCode Getter

func (TmallservicecenterworkcardquerybysellerAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TmallservicecenterworkcardquerybysellerAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardquerybysellerAPIRequest) GetServiceStoreId added in v1.3.1

GetServiceStoreId ServiceStoreId Getter

func (*TmallservicecenterworkcardquerybysellerAPIRequest) SetBizOrderId added in v1.3.1

func (r *TmallservicecenterworkcardquerybysellerAPIRequest) SetBizOrderId(_bizOrderId int64) error

SetBizOrderId is BizOrderId Setter 淘宝交易订单号。主订单或子订单均可

func (*TmallservicecenterworkcardquerybysellerAPIRequest) SetCurrentPage added in v1.3.1

func (r *TmallservicecenterworkcardquerybysellerAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 当前页数

func (*TmallservicecenterworkcardquerybysellerAPIRequest) SetGmtCreateEnd added in v1.3.1

func (r *TmallservicecenterworkcardquerybysellerAPIRequest) SetGmtCreateEnd(_gmtCreateEnd string) error

SetGmtCreateEnd is GmtCreateEnd Setter 工单创建结束时间,必须与工单创建开始时间一起传入,且间隔不超过15分钟

func (*TmallservicecenterworkcardquerybysellerAPIRequest) SetGmtCreateStart added in v1.3.1

func (r *TmallservicecenterworkcardquerybysellerAPIRequest) SetGmtCreateStart(_gmtCreateStart string) error

SetGmtCreateStart is GmtCreateStart Setter 工单创建开始时间

func (*TmallservicecenterworkcardquerybysellerAPIRequest) SetId added in v1.3.1

SetId is Id Setter 工单id

func (*TmallservicecenterworkcardquerybysellerAPIRequest) SetIdentifyCode added in v1.3.1

func (r *TmallservicecenterworkcardquerybysellerAPIRequest) SetIdentifyCode(_identifyCode string) error

SetIdentifyCode is IdentifyCode Setter 核销码

func (*TmallservicecenterworkcardquerybysellerAPIRequest) SetPageSize added in v1.3.1

SetPageSize is PageSize Setter 每页大小

func (*TmallservicecenterworkcardquerybysellerAPIRequest) SetServiceStoreId added in v1.3.1

func (r *TmallservicecenterworkcardquerybysellerAPIRequest) SetServiceStoreId(_serviceStoreId int64) error

SetServiceStoreId is ServiceStoreId Setter 门店/网点id

type TmallservicecenterworkcardquerybysellerAPIResponse added in v1.3.1

type TmallservicecenterworkcardquerybysellerAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardquerybysellerAPIResponseModel
}

TmallservicecenterworkcardquerybysellerAPIResponse 工单查询接口(面向商家) API返回值 tmall.servicecenter.workcard.querybyseller

查询工单

type TmallservicecenterworkcardquerybysellerAPIResponseModel added in v1.3.1

type TmallservicecenterworkcardquerybysellerAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_workcard_querybyseller_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TmallservicecenterworkcardquerybysellerResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecenterworkcardquerybysellerAPIResponseModel is 工单查询接口(面向商家) 成功返回结果

type TmallservicecenterworkcardquerybysellerResult added in v1.3.1

type TmallservicecenterworkcardquerybysellerResult struct {
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 分页数据
	ResultData *PagedResult `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterworkcardquerybysellerResult 结构体

type TmallservicecenterworkcardreassignAPIRequest added in v1.3.1

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

TmallservicecenterworkcardreassignAPIRequest 工单改派门店 API请求 tmall.servicecenter.workcard.reassign

工单改派门店

func NewTmallservicecenterworkcardreassignRequest added in v1.3.1

func NewTmallservicecenterworkcardreassignRequest() *TmallservicecenterworkcardreassignAPIRequest

NewTmallservicecenterworkcardreassignRequest 初始化TmallservicecenterworkcardreassignAPIRequest对象

func (TmallservicecenterworkcardreassignAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardreassignAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardreassignAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardreassignAPIRequest) GetReassignStoreRequest added in v1.3.1

GetReassignStoreRequest ReassignStoreRequest Getter

func (*TmallservicecenterworkcardreassignAPIRequest) SetReassignStoreRequest added in v1.3.1

func (r *TmallservicecenterworkcardreassignAPIRequest) SetReassignStoreRequest(_reassignStoreRequest *ReassignStoreRequest) error

SetReassignStoreRequest is ReassignStoreRequest Setter 请求入参

type TmallservicecenterworkcardreassignAPIResponse added in v1.3.1

type TmallservicecenterworkcardreassignAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardreassignAPIResponseModel
}

TmallservicecenterworkcardreassignAPIResponse 工单改派门店 API返回值 tmall.servicecenter.workcard.reassign

工单改派门店

type TmallservicecenterworkcardreassignAPIResponseModel added in v1.3.1

type TmallservicecenterworkcardreassignAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_workcard_reassign_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用结果
	Result *TmallservicecenterworkcardreassignResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecenterworkcardreassignAPIResponseModel is 工单改派门店 成功返回结果

type TmallservicecenterworkcardreassignResult added in v1.3.1

type TmallservicecenterworkcardreassignResult struct {
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 改派后的新的工单id
	ResultData int64 `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterworkcardreassignResult 结构体

type TmallservicecenterworkcardrepairprogressupdateAPIRequest added in v1.3.1

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

TmallservicecenterworkcardrepairprogressupdateAPIRequest 更新维修进度 API请求 tmall.servicecenter.workcard.repairprogress.update

提供给外部合作服务商的维修进度更改接口

func NewTmallservicecenterworkcardrepairprogressupdateRequest added in v1.3.1

func NewTmallservicecenterworkcardrepairprogressupdateRequest() *TmallservicecenterworkcardrepairprogressupdateAPIRequest

NewTmallservicecenterworkcardrepairprogressupdateRequest 初始化TmallservicecenterworkcardrepairprogressupdateAPIRequest对象

func (TmallservicecenterworkcardrepairprogressupdateAPIRequest) GetAction added in v1.3.1

GetAction Action Getter

func (TmallservicecenterworkcardrepairprogressupdateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardrepairprogressupdateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardrepairprogressupdateAPIRequest) GetPicUrlList added in v1.3.1

GetPicUrlList PicUrlList Getter

func (TmallservicecenterworkcardrepairprogressupdateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardrepairprogressupdateAPIRequest) GetRealTpNick added in v1.3.1

GetRealTpNick RealTpNick Getter

func (TmallservicecenterworkcardrepairprogressupdateAPIRequest) GetReceivedGoods added in v1.3.1

GetReceivedGoods ReceivedGoods Getter

func (TmallservicecenterworkcardrepairprogressupdateAPIRequest) GetTargetGoodsDefects added in v1.3.1

GetTargetGoodsDefects TargetGoodsDefects Getter

func (TmallservicecenterworkcardrepairprogressupdateAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicecenterworkcardrepairprogressupdateAPIRequest) SetAction added in v1.3.1

SetAction is Action Setter 请求节点的动作描述,唯一标识一个节点

func (*TmallservicecenterworkcardrepairprogressupdateAPIRequest) SetPicUrlList added in v1.3.1

SetPicUrlList is PicUrlList Setter 图片列表

func (*TmallservicecenterworkcardrepairprogressupdateAPIRequest) SetRealTpNick added in v1.3.1

SetRealTpNick is RealTpNick Setter 真实接单服务商账号Nick

func (*TmallservicecenterworkcardrepairprogressupdateAPIRequest) SetReceivedGoods added in v1.3.1

func (r *TmallservicecenterworkcardrepairprogressupdateAPIRequest) SetReceivedGoods(_receivedGoods string) error

SetReceivedGoods is ReceivedGoods Setter 衣服,鞋子

func (*TmallservicecenterworkcardrepairprogressupdateAPIRequest) SetTargetGoodsDefects added in v1.3.1

func (r *TmallservicecenterworkcardrepairprogressupdateAPIRequest) SetTargetGoodsDefects(_targetGoodsDefects string) error

SetTargetGoodsDefects is TargetGoodsDefects Setter 服务目标物瑕疵信息

func (*TmallservicecenterworkcardrepairprogressupdateAPIRequest) SetWorkcardId added in v1.3.1

SetWorkcardId is WorkcardId Setter 工单id

type TmallservicecenterworkcardrepairprogressupdateAPIResponse added in v1.3.1

type TmallservicecenterworkcardrepairprogressupdateAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardrepairprogressupdateAPIResponseModel
}

TmallservicecenterworkcardrepairprogressupdateAPIResponse 更新维修进度 API返回值 tmall.servicecenter.workcard.repairprogress.update

提供给外部合作服务商的维修进度更改接口

type TmallservicecenterworkcardrepairprogressupdateAPIResponseModel added in v1.3.1

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

TmallservicecenterworkcardrepairprogressupdateAPIResponseModel is 更新维修进度 成功返回结果

type TmallservicecenterworkcardrepairprogressupdateResult added in v1.3.1

type TmallservicecenterworkcardrepairprogressupdateResult struct {
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterworkcardrepairprogressupdateResult 结构体

type TmallservicecenterworkcardreserveAPIRequest added in v1.3.1

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

TmallservicecenterworkcardreserveAPIRequest 工单预约 API请求 tmall.servicecenter.workcard.reserve

服务工单更新通用接口

func NewTmallservicecenterworkcardreserveRequest added in v1.3.1

func NewTmallservicecenterworkcardreserveRequest() *TmallservicecenterworkcardreserveAPIRequest

NewTmallservicecenterworkcardreserveRequest 初始化TmallservicecenterworkcardreserveAPIRequest对象

func (TmallservicecenterworkcardreserveAPIRequest) GetAction added in v1.3.1

GetAction Action Getter

func (TmallservicecenterworkcardreserveAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardreserveAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardreserveAPIRequest) GetAttributes added in v1.3.1

GetAttributes Attributes Getter

func (TmallservicecenterworkcardreserveAPIRequest) GetFulfilTaskId added in v1.3.1

GetFulfilTaskId FulfilTaskId Getter

func (TmallservicecenterworkcardreserveAPIRequest) GetFulfilType added in v1.3.1

GetFulfilType FulfilType Getter

func (TmallservicecenterworkcardreserveAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardreserveAPIRequest) GetReasonCode added in v1.3.1

GetReasonCode ReasonCode Getter

func (TmallservicecenterworkcardreserveAPIRequest) GetReasonDesc added in v1.3.1

GetReasonDesc ReasonDesc Getter

func (TmallservicecenterworkcardreserveAPIRequest) GetReserveRemark added in v1.3.1

GetReserveRemark ReserveRemark Getter

func (TmallservicecenterworkcardreserveAPIRequest) GetReserveTimeEnd added in v1.3.1

GetReserveTimeEnd ReserveTimeEnd Getter

func (TmallservicecenterworkcardreserveAPIRequest) GetReserveTimeStart added in v1.3.1

func (r TmallservicecenterworkcardreserveAPIRequest) GetReserveTimeStart() string

GetReserveTimeStart ReserveTimeStart Getter

func (TmallservicecenterworkcardreserveAPIRequest) GetServiceStoreCode added in v1.3.1

func (r TmallservicecenterworkcardreserveAPIRequest) GetServiceStoreCode() string

GetServiceStoreCode ServiceStoreCode Getter

func (TmallservicecenterworkcardreserveAPIRequest) GetServiceStoreName added in v1.3.1

func (r TmallservicecenterworkcardreserveAPIRequest) GetServiceStoreName() string

GetServiceStoreName ServiceStoreName Getter

func (TmallservicecenterworkcardreserveAPIRequest) GetType added in v1.3.1

GetType Type Getter

func (TmallservicecenterworkcardreserveAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (TmallservicecenterworkcardreserveAPIRequest) GetWorkerMobile added in v1.3.1

GetWorkerMobile WorkerMobile Getter

func (TmallservicecenterworkcardreserveAPIRequest) GetWorkerName added in v1.3.1

GetWorkerName WorkerName Getter

func (*TmallservicecenterworkcardreserveAPIRequest) SetAction added in v1.3.1

SetAction is Action Setter 存在多个不同预约节点时需要回传。用于区分具体是哪个预约节点,例如预约上门鉴定和预约上门取件

func (*TmallservicecenterworkcardreserveAPIRequest) SetAttributes added in v1.3.1

func (r *TmallservicecenterworkcardreserveAPIRequest) SetAttributes(_attributes string) error

SetAttributes is Attributes Setter 扩展信息

func (*TmallservicecenterworkcardreserveAPIRequest) SetFulfilTaskId added in v1.3.1

func (r *TmallservicecenterworkcardreserveAPIRequest) SetFulfilTaskId(_fulfilTaskId int64) error

SetFulfilTaskId is FulfilTaskId Setter 核销单id

func (*TmallservicecenterworkcardreserveAPIRequest) SetFulfilType added in v1.3.1

func (r *TmallservicecenterworkcardreserveAPIRequest) SetFulfilType(_fulfilType string) error

SetFulfilType is FulfilType Setter 履约类型,上门或者到店

func (*TmallservicecenterworkcardreserveAPIRequest) SetReasonCode added in v1.3.1

func (r *TmallservicecenterworkcardreserveAPIRequest) SetReasonCode(_reasonCode int64) error

SetReasonCode is ReasonCode Setter 原因code

func (*TmallservicecenterworkcardreserveAPIRequest) SetReasonDesc added in v1.3.1

func (r *TmallservicecenterworkcardreserveAPIRequest) SetReasonDesc(_reasonDesc string) error

SetReasonDesc is ReasonDesc Setter 原因desc

func (*TmallservicecenterworkcardreserveAPIRequest) SetReserveRemark added in v1.3.1

func (r *TmallservicecenterworkcardreserveAPIRequest) SetReserveRemark(_reserveRemark string) error

SetReserveRemark is ReserveRemark Setter 预约备注信息

func (*TmallservicecenterworkcardreserveAPIRequest) SetReserveTimeEnd added in v1.3.1

func (r *TmallservicecenterworkcardreserveAPIRequest) SetReserveTimeEnd(_reserveTimeEnd string) error

SetReserveTimeEnd is ReserveTimeEnd Setter 服务结束时间

func (*TmallservicecenterworkcardreserveAPIRequest) SetReserveTimeStart added in v1.3.1

func (r *TmallservicecenterworkcardreserveAPIRequest) SetReserveTimeStart(_reserveTimeStart string) error

SetReserveTimeStart is ReserveTimeStart Setter 服务开始时间

func (*TmallservicecenterworkcardreserveAPIRequest) SetServiceStoreCode added in v1.3.1

func (r *TmallservicecenterworkcardreserveAPIRequest) SetServiceStoreCode(_serviceStoreCode string) error

SetServiceStoreCode is ServiceStoreCode Setter 门店编码

func (*TmallservicecenterworkcardreserveAPIRequest) SetServiceStoreName added in v1.3.1

func (r *TmallservicecenterworkcardreserveAPIRequest) SetServiceStoreName(_serviceStoreName string) error

SetServiceStoreName is ServiceStoreName Setter 门店名称

func (*TmallservicecenterworkcardreserveAPIRequest) SetType added in v1.3.1

SetType is Type Setter 请求来源类型

func (*TmallservicecenterworkcardreserveAPIRequest) SetWorkcardId added in v1.3.1

func (r *TmallservicecenterworkcardreserveAPIRequest) SetWorkcardId(_workcardId int64) error

SetWorkcardId is WorkcardId Setter 工单id

func (*TmallservicecenterworkcardreserveAPIRequest) SetWorkerMobile added in v1.3.1

func (r *TmallservicecenterworkcardreserveAPIRequest) SetWorkerMobile(_workerMobile string) error

SetWorkerMobile is WorkerMobile Setter 工人手机号

func (*TmallservicecenterworkcardreserveAPIRequest) SetWorkerName added in v1.3.1

func (r *TmallservicecenterworkcardreserveAPIRequest) SetWorkerName(_workerName string) error

SetWorkerName is WorkerName Setter 工人姓名

type TmallservicecenterworkcardreserveAPIResponse added in v1.3.1

type TmallservicecenterworkcardreserveAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardreserveAPIResponseModel
}

TmallservicecenterworkcardreserveAPIResponse 工单预约 API返回值 tmall.servicecenter.workcard.reserve

服务工单更新通用接口

type TmallservicecenterworkcardreserveAPIResponseModel added in v1.3.1

type TmallservicecenterworkcardreserveAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_workcard_reserve_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用结果
	Result *TmallservicecenterworkcardreserveResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecenterworkcardreserveAPIResponseModel is 工单预约 成功返回结果

type TmallservicecenterworkcardreserveResult added in v1.3.1

type TmallservicecenterworkcardreserveResult struct {
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterworkcardreserveResult 结构体

type TmallservicecenterworkcardreservefailAPIRequest added in v1.3.1

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

TmallservicecenterworkcardreservefailAPIRequest 预约失败 API请求 tmall.servicecenter.workcard.reservefail

服务商调用该接口回传工单预约失败

func NewTmallservicecenterworkcardreservefailRequest added in v1.3.1

func NewTmallservicecenterworkcardreservefailRequest() *TmallservicecenterworkcardreservefailAPIRequest

NewTmallservicecenterworkcardreservefailRequest 初始化TmallservicecenterworkcardreservefailAPIRequest对象

func (TmallservicecenterworkcardreservefailAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardreservefailAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardreservefailAPIRequest) GetFailCode added in v1.3.1

GetFailCode FailCode Getter

func (TmallservicecenterworkcardreservefailAPIRequest) GetFailDesc added in v1.3.1

GetFailDesc FailDesc Getter

func (TmallservicecenterworkcardreservefailAPIRequest) GetGmtNextContact added in v1.3.1

GetGmtNextContact GmtNextContact Getter

func (TmallservicecenterworkcardreservefailAPIRequest) GetIdentifyTaskId added in v1.3.1

GetIdentifyTaskId IdentifyTaskId Getter

func (TmallservicecenterworkcardreservefailAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardreservefailAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicecenterworkcardreservefailAPIRequest) SetFailCode added in v1.3.1

SetFailCode is FailCode Setter 预约失败原因码

func (*TmallservicecenterworkcardreservefailAPIRequest) SetFailDesc added in v1.3.1

SetFailDesc is FailDesc Setter 预约失败原因描述

func (*TmallservicecenterworkcardreservefailAPIRequest) SetGmtNextContact added in v1.3.1

func (r *TmallservicecenterworkcardreservefailAPIRequest) SetGmtNextContact(_gmtNextContact string) error

SetGmtNextContact is GmtNextContact Setter 下次联系时间

func (*TmallservicecenterworkcardreservefailAPIRequest) SetIdentifyTaskId added in v1.3.1

func (r *TmallservicecenterworkcardreservefailAPIRequest) SetIdentifyTaskId(_identifyTaskId int64) error

SetIdentifyTaskId is IdentifyTaskId Setter 核销单外部id

func (*TmallservicecenterworkcardreservefailAPIRequest) SetWorkcardId added in v1.3.1

func (r *TmallservicecenterworkcardreservefailAPIRequest) SetWorkcardId(_workcardId int64) error

SetWorkcardId is WorkcardId Setter 工单id

type TmallservicecenterworkcardreservefailAPIResponse added in v1.3.1

type TmallservicecenterworkcardreservefailAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardreservefailAPIResponseModel
}

TmallservicecenterworkcardreservefailAPIResponse 预约失败 API返回值 tmall.servicecenter.workcard.reservefail

服务商调用该接口回传工单预约失败

type TmallservicecenterworkcardreservefailAPIResponseModel added in v1.3.1

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

TmallservicecenterworkcardreservefailAPIResponseModel is 预约失败 成功返回结果

type TmallservicecenterworkcardreservefailResult added in v1.3.1

type TmallservicecenterworkcardreservefailResult struct {
	// 用于对外展示的错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 消息代码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 系统级错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterworkcardreservefailResult 结构体

type TmallservicecenterworkcardsigninAPIRequest added in v1.3.1

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

TmallservicecenterworkcardsigninAPIRequest 服务商确认工人签到成功 API请求 tmall.servicecenter.workcard.signin

服务商确认工人签到成功。需要服务商自己保证工人是在现场服务中。否则虚假回传签到而引起的后续问题全部由服务商自己承担

func NewTmallservicecenterworkcardsigninRequest added in v1.3.1

func NewTmallservicecenterworkcardsigninRequest() *TmallservicecenterworkcardsigninAPIRequest

NewTmallservicecenterworkcardsigninRequest 初始化TmallservicecenterworkcardsigninAPIRequest对象

func (TmallservicecenterworkcardsigninAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardsigninAPIRequest) GetApiParams added in v1.3.1

func (r TmallservicecenterworkcardsigninAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardsigninAPIRequest) GetFulfilTaskId added in v1.3.1

GetFulfilTaskId FulfilTaskId Getter

func (TmallservicecenterworkcardsigninAPIRequest) GetOuterId added in v1.3.1

GetOuterId OuterId Getter

func (TmallservicecenterworkcardsigninAPIRequest) GetPicUrls added in v1.3.1

GetPicUrls PicUrls Getter

func (TmallservicecenterworkcardsigninAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardsigninAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicecenterworkcardsigninAPIRequest) SetFulfilTaskId added in v1.3.1

func (r *TmallservicecenterworkcardsigninAPIRequest) SetFulfilTaskId(_fulfilTaskId int64) error

SetFulfilTaskId is FulfilTaskId Setter 核销单id

func (*TmallservicecenterworkcardsigninAPIRequest) SetOuterId added in v1.3.1

SetOuterId is OuterId Setter 核销单外部id

func (*TmallservicecenterworkcardsigninAPIRequest) SetPicUrls added in v1.3.1

SetPicUrls is PicUrls Setter 图片地址回传集合

func (*TmallservicecenterworkcardsigninAPIRequest) SetWorkcardId added in v1.3.1

func (r *TmallservicecenterworkcardsigninAPIRequest) SetWorkcardId(_workcardId int64) error

SetWorkcardId is WorkcardId Setter 工单id

type TmallservicecenterworkcardsigninAPIResponse added in v1.3.1

type TmallservicecenterworkcardsigninAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardsigninAPIResponseModel
}

TmallservicecenterworkcardsigninAPIResponse 服务商确认工人签到成功 API返回值 tmall.servicecenter.workcard.signin

服务商确认工人签到成功。需要服务商自己保证工人是在现场服务中。否则虚假回传签到而引起的后续问题全部由服务商自己承担

type TmallservicecenterworkcardsigninAPIResponseModel added in v1.3.1

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

TmallservicecenterworkcardsigninAPIResponseModel is 服务商确认工人签到成功 成功返回结果

type TmallservicecenterworkcardsigninResult added in v1.3.1

type TmallservicecenterworkcardsigninResult struct {
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 请求是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterworkcardsigninResult 结构体

type TmallservicecenterworkcardstatusupdateAPIRequest added in v1.3.1

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

TmallservicecenterworkcardstatusupdateAPIRequest 服务商反馈服务的执行情况 API请求 tmall.servicecenter.workcard.status.update

1 如果服务商受理了此服务,修改合同状态为:已受理=3<br/>2 如果服务商没有受理此服务,修改合同状态为:已拒绝=10<br/>3 如果服务商执行了此服务,修改合同状态为:已执行=4<br/>4 如果服务商执行服务成功,修改合同状态为:已完成=5<br/>5 如果此工单为合同类型的工单,当服务商受理了此服务后,会进行分账

func NewTmallservicecenterworkcardstatusupdateRequest added in v1.3.1

func NewTmallservicecenterworkcardstatusupdateRequest() *TmallservicecenterworkcardstatusupdateAPIRequest

NewTmallservicecenterworkcardstatusupdateRequest 初始化TmallservicecenterworkcardstatusupdateAPIRequest对象

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetAddress added in v1.3.1

GetAddress Address Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetAfterServiceMemo added in v1.3.1

GetAfterServiceMemo AfterServiceMemo Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetAttribute added in v1.3.1

GetAttribute Attribute Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetBeforeServiceMemo added in v1.3.1

GetBeforeServiceMemo BeforeServiceMemo Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetBuyerId added in v1.3.1

GetBuyerId BuyerId Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetComments added in v1.3.1

GetComments Comments Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetCompleteDate added in v1.3.1

GetCompleteDate CompleteDate Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetContactName added in v1.3.1

GetContactName ContactName Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetContactPhone added in v1.3.1

GetContactPhone ContactPhone Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetEffectDate added in v1.3.1

GetEffectDate EffectDate Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetExpireDate added in v1.3.1

GetExpireDate ExpireDate Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetExpressCode added in v1.3.1

GetExpressCode ExpressCode Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetExpressCompany added in v1.3.1

GetExpressCompany ExpressCompany Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetIsVisit added in v1.3.1

GetIsVisit IsVisit Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetPhoneImei added in v1.3.1

GetPhoneImei PhoneImei Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetServiceCenterAddress added in v1.3.1

func (r TmallservicecenterworkcardstatusupdateAPIRequest) GetServiceCenterAddress() string

GetServiceCenterAddress ServiceCenterAddress Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetServiceCenterCode added in v1.3.1

GetServiceCenterCode ServiceCenterCode Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetServiceCenterManagerName added in v1.3.1

func (r TmallservicecenterworkcardstatusupdateAPIRequest) GetServiceCenterManagerName() string

GetServiceCenterManagerName ServiceCenterManagerName Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetServiceCenterManagerPhone added in v1.3.1

func (r TmallservicecenterworkcardstatusupdateAPIRequest) GetServiceCenterManagerPhone() string

GetServiceCenterManagerPhone ServiceCenterManagerPhone Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetServiceCenterName added in v1.3.1

GetServiceCenterName ServiceCenterName Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetServiceDate added in v1.3.1

GetServiceDate ServiceDate Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetServiceFee added in v1.3.1

GetServiceFee ServiceFee Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetServiceFeeDetail added in v1.3.1

GetServiceFeeDetail ServiceFeeDetail Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetServiceVoucherPics added in v1.3.1

func (r TmallservicecenterworkcardstatusupdateAPIRequest) GetServiceVoucherPics() string

GetServiceVoucherPics ServiceVoucherPics Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetStatus added in v1.3.1

GetStatus Status Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetSubStatus added in v1.3.1

GetSubStatus SubStatus Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetType added in v1.3.1

GetType Type Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetUpdateDate added in v1.3.1

GetUpdateDate UpdateDate Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetUpdater added in v1.3.1

GetUpdater Updater Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetWorkCardInstallDetailList added in v1.3.1

GetWorkCardInstallDetailList WorkCardInstallDetailList Getter

func (TmallservicecenterworkcardstatusupdateAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetAddress added in v1.3.1

SetAddress is Address Setter 任务类工单,预约或者上门地址

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetAfterServiceMemo added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetAfterServiceMemo(_afterServiceMemo string) error

SetAfterServiceMemo is AfterServiceMemo Setter 说明

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetAttribute added in v1.3.1

SetAttribute is Attribute Setter 属性定义。例如无忧退货服务,K-V对定义,每对KV用“;”分割,“:”号左边是key右边是value,value如果有多个则以“,”分割。 reasons : 原因,可能有多个 succeedCount : 取件成功个数 failedCount : 取件失败个数 cancelCount : 取件取消个数 totalCount : 总取件个数,totalCount= succeedCount + failedCount + cancelCount

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetBeforeServiceMemo added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetBeforeServiceMemo(_beforeServiceMemo string) error

SetBeforeServiceMemo is BeforeServiceMemo Setter 说明

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetBuyerId added in v1.3.1

SetBuyerId is BuyerId Setter 买家id

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetComments added in v1.3.1

SetComments is Comments Setter 备注,256个字符以内

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetCompleteDate added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetCompleteDate(_completeDate int64) error

SetCompleteDate is CompleteDate Setter 服务完成时间

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetContactName added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetContactName(_contactName string) error

SetContactName is ContactName Setter 任务执行,预约联系人

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetContactPhone added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetContactPhone(_contactPhone string) error

SetContactPhone is ContactPhone Setter 任务执行,预约联系人电话

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetEffectDate added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetEffectDate(_effectDate int64) error

SetEffectDate is EffectDate Setter 服务生效时间 :工单类型为合同工单时,必选!

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetExpireDate added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetExpireDate(_expireDate int64) error

SetExpireDate is ExpireDate Setter 服务失效时间 :工单类型为合同工单时,必选!

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetExpressCode added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetExpressCode(_expressCode string) error

SetExpressCode is ExpressCode Setter 物流单号

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetExpressCompany added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetExpressCompany(_expressCompany string) error

SetExpressCompany is ExpressCompany Setter 物流公司名字

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetIsVisit added in v1.3.1

SetIsVisit is IsVisit Setter 是否上门

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetPhoneImei added in v1.3.1

SetPhoneImei is PhoneImei Setter 手机号码

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceCenterAddress added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceCenterAddress(_serviceCenterAddress string) error

SetServiceCenterAddress is ServiceCenterAddress Setter 网点地址

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceCenterCode added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceCenterCode(_serviceCenterCode string) error

SetServiceCenterCode is ServiceCenterCode Setter 服务商网点内部编码

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceCenterManagerName added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceCenterManagerName(_serviceCenterManagerName string) error

SetServiceCenterManagerName is ServiceCenterManagerName Setter 网点负责人

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceCenterManagerPhone added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceCenterManagerPhone(_serviceCenterManagerPhone string) error

SetServiceCenterManagerPhone is ServiceCenterManagerPhone Setter 网点负责人联系电话

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceCenterName added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceCenterName(_serviceCenterName string) error

SetServiceCenterName is ServiceCenterName Setter 服务商网点名字

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceDate added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceDate(_serviceDate int64) error

SetServiceDate is ServiceDate Setter 服务预约时间

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceFee added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceFee(_serviceFee int64) error

SetServiceFee is ServiceFee Setter 单元是分

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceFeeDetail added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceFeeDetail(_serviceFeeDetail string) error

SetServiceFeeDetail is ServiceFeeDetail Setter json string。费用单位为分

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceVoucherPics added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetServiceVoucherPics(_serviceVoucherPics string) error

SetServiceVoucherPics is ServiceVoucherPics Setter 服务凭证上传的图片URL链接,多个以;隔开

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetStatus added in v1.3.1

SetStatus is Status Setter 目前仅支持5种状态的反馈:3=授理, 10=拒绝 ,4=执行 ,5=成功,11=失败。(所有状态列表: -1: 初始化 0: 生成 1: 生效 2: 申请 3: 受理 4: 执行 5: 成功 9: 结算 10: 拒绝 11: 失败 12 : 撤销 13: 暂停 19: 终止)

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetSubStatus added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetSubStatus(_subStatus int64) error

SetSubStatus is SubStatus Setter 服务子状态:30 表示“服务已申请(上门)” 31表示“服务改约(上门)” 400表示“服务结果(待件上门)” 410表示“服务结果(拖机维修)” 411表示“服务结果(换机)” 420表示“服务结果(上门不可维修)”

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetType added in v1.3.1

SetType is Type Setter 工单类型: 2(合同) 或者 1(任务)

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetUpdateDate added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetUpdateDate(_updateDate int64) error

SetUpdateDate is UpdateDate Setter 更新时间

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetUpdater added in v1.3.1

SetUpdater is Updater Setter api调用者

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetWorkCardInstallDetailList added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetWorkCardInstallDetailList(_workCardInstallDetailList []WorkCardInstallDetail) error

SetWorkCardInstallDetailList is WorkCardInstallDetailList Setter 一个工单可能包含多件商品,比如空调可能有两台,录入每天机器的安装情况

func (*TmallservicecenterworkcardstatusupdateAPIRequest) SetWorkcardId added in v1.3.1

func (r *TmallservicecenterworkcardstatusupdateAPIRequest) SetWorkcardId(_workcardId int64) error

SetWorkcardId is WorkcardId Setter 工单id

type TmallservicecenterworkcardstatusupdateAPIResponse added in v1.3.1

type TmallservicecenterworkcardstatusupdateAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardstatusupdateAPIResponseModel
}

TmallservicecenterworkcardstatusupdateAPIResponse 服务商反馈服务的执行情况 API返回值 tmall.servicecenter.workcard.status.update

1 如果服务商受理了此服务,修改合同状态为:已受理=3<br/>2 如果服务商没有受理此服务,修改合同状态为:已拒绝=10<br/>3 如果服务商执行了此服务,修改合同状态为:已执行=4<br/>4 如果服务商执行服务成功,修改合同状态为:已完成=5<br/>5 如果此工单为合同类型的工单,当服务商受理了此服务后,会进行分账

type TmallservicecenterworkcardstatusupdateAPIResponseModel added in v1.3.1

type TmallservicecenterworkcardstatusupdateAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_workcard_status_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	ErrorMsgInfo string `json:"error_msg_info,omitempty" xml:"error_msg_info,omitempty"`
	// 错误码
	ErrorCodeValue string `json:"error_code_value,omitempty" xml:"error_code_value,omitempty"`
	// 是否执行成功
	Value bool `json:"value,omitempty" xml:"value,omitempty"`
	// 返回结果
	Rs bool `json:"rs,omitempty" xml:"rs,omitempty"`
}

TmallservicecenterworkcardstatusupdateAPIResponseModel is 服务商反馈服务的执行情况 成功返回结果

type TmallservicecenterworkcardsuspendAPIRequest added in v1.3.1

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

TmallservicecenterworkcardsuspendAPIRequest 工单挂起 API请求 tmall.servicecenter.workcard.suspend

工单挂起

func NewTmallservicecenterworkcardsuspendRequest added in v1.3.1

func NewTmallservicecenterworkcardsuspendRequest() *TmallservicecenterworkcardsuspendAPIRequest

NewTmallservicecenterworkcardsuspendRequest 初始化TmallservicecenterworkcardsuspendAPIRequest对象

func (TmallservicecenterworkcardsuspendAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardsuspendAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardsuspendAPIRequest) GetFailCode added in v1.3.1

GetFailCode FailCode Getter

func (TmallservicecenterworkcardsuspendAPIRequest) GetFailDesc added in v1.3.1

GetFailDesc FailDesc Getter

func (TmallservicecenterworkcardsuspendAPIRequest) GetGmtNextContact added in v1.3.1

GetGmtNextContact GmtNextContact Getter

func (TmallservicecenterworkcardsuspendAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardsuspendAPIRequest) GetReserveServiceDate added in v1.3.1

func (r TmallservicecenterworkcardsuspendAPIRequest) GetReserveServiceDate() string

GetReserveServiceDate ReserveServiceDate Getter

func (TmallservicecenterworkcardsuspendAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicecenterworkcardsuspendAPIRequest) SetFailCode added in v1.3.1

func (r *TmallservicecenterworkcardsuspendAPIRequest) SetFailCode(_failCode int64) error

SetFailCode is FailCode Setter 挂起原因类型code

func (*TmallservicecenterworkcardsuspendAPIRequest) SetFailDesc added in v1.3.1

func (r *TmallservicecenterworkcardsuspendAPIRequest) SetFailDesc(_failDesc string) error

SetFailDesc is FailDesc Setter 挂起原因描述

func (*TmallservicecenterworkcardsuspendAPIRequest) SetGmtNextContact added in v1.3.1

func (r *TmallservicecenterworkcardsuspendAPIRequest) SetGmtNextContact(_gmtNextContact string) error

SetGmtNextContact is GmtNextContact Setter 下次联系时间(与预约时间二选一填入)

func (*TmallservicecenterworkcardsuspendAPIRequest) SetReserveServiceDate added in v1.3.1

func (r *TmallservicecenterworkcardsuspendAPIRequest) SetReserveServiceDate(_reserveServiceDate string) error

SetReserveServiceDate is ReserveServiceDate Setter 预约时间(与下次联系时间二选一填入)

func (*TmallservicecenterworkcardsuspendAPIRequest) SetWorkcardId added in v1.3.1

func (r *TmallservicecenterworkcardsuspendAPIRequest) SetWorkcardId(_workcardId int64) error

SetWorkcardId is WorkcardId Setter 工单id

type TmallservicecenterworkcardsuspendAPIResponse added in v1.3.1

type TmallservicecenterworkcardsuspendAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardsuspendAPIResponseModel
}

TmallservicecenterworkcardsuspendAPIResponse 工单挂起 API返回值 tmall.servicecenter.workcard.suspend

工单挂起

type TmallservicecenterworkcardsuspendAPIResponseModel added in v1.3.1

type TmallservicecenterworkcardsuspendAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_workcard_suspend_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *TmallservicecenterworkcardsuspendResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecenterworkcardsuspendAPIResponseModel is 工单挂起 成功返回结果

type TmallservicecenterworkcardsuspendResult added in v1.3.1

type TmallservicecenterworkcardsuspendResult struct {
	// 错误原因描述
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 是否失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterworkcardsuspendResult 结构体

type TmallservicecenterworkcardupdatelogisticsAPIRequest added in v1.3.1

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

TmallservicecenterworkcardupdatelogisticsAPIRequest 更新物流进度 API请求 tmall.servicecenter.workcard.updatelogistics

提供给外部合作服务商的物流进度更改接口

func NewTmallservicecenterworkcardupdatelogisticsRequest added in v1.3.1

func NewTmallservicecenterworkcardupdatelogisticsRequest() *TmallservicecenterworkcardupdatelogisticsAPIRequest

NewTmallservicecenterworkcardupdatelogisticsRequest 初始化TmallservicecenterworkcardupdatelogisticsAPIRequest对象

func (TmallservicecenterworkcardupdatelogisticsAPIRequest) GetAction added in v1.3.1

GetAction Action Getter

func (TmallservicecenterworkcardupdatelogisticsAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardupdatelogisticsAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardupdatelogisticsAPIRequest) GetExpressCode added in v1.3.1

GetExpressCode ExpressCode Getter

func (TmallservicecenterworkcardupdatelogisticsAPIRequest) GetExpressCompany added in v1.3.1

GetExpressCompany ExpressCompany Getter

func (TmallservicecenterworkcardupdatelogisticsAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardupdatelogisticsAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicecenterworkcardupdatelogisticsAPIRequest) SetAction added in v1.3.1

SetAction is Action Setter 工单操作

func (*TmallservicecenterworkcardupdatelogisticsAPIRequest) SetExpressCode added in v1.3.1

func (r *TmallservicecenterworkcardupdatelogisticsAPIRequest) SetExpressCode(_expressCode string) error

SetExpressCode is ExpressCode Setter 快递号

func (*TmallservicecenterworkcardupdatelogisticsAPIRequest) SetExpressCompany added in v1.3.1

func (r *TmallservicecenterworkcardupdatelogisticsAPIRequest) SetExpressCompany(_expressCompany string) error

SetExpressCompany is ExpressCompany Setter 快递公司

func (*TmallservicecenterworkcardupdatelogisticsAPIRequest) SetWorkcardId added in v1.3.1

func (r *TmallservicecenterworkcardupdatelogisticsAPIRequest) SetWorkcardId(_workcardId int64) error

SetWorkcardId is WorkcardId Setter 工单号

type TmallservicecenterworkcardupdatelogisticsAPIResponse added in v1.3.1

type TmallservicecenterworkcardupdatelogisticsAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardupdatelogisticsAPIResponseModel
}

TmallservicecenterworkcardupdatelogisticsAPIResponse 更新物流进度 API返回值 tmall.servicecenter.workcard.updatelogistics

提供给外部合作服务商的物流进度更改接口

type TmallservicecenterworkcardupdatelogisticsAPIResponseModel added in v1.3.1

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

TmallservicecenterworkcardupdatelogisticsAPIResponseModel is 更新物流进度 成功返回结果

type TmallservicecenterworkcardverifycoderesendAPIRequest added in v1.3.1

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

TmallservicecenterworkcardverifycoderesendAPIRequest 重发核销码 API请求 tmall.servicecenter.workcard.verifycode.resend

重发核销码

func NewTmallservicecenterworkcardverifycoderesendRequest added in v1.3.1

func NewTmallservicecenterworkcardverifycoderesendRequest() *TmallservicecenterworkcardverifycoderesendAPIRequest

NewTmallservicecenterworkcardverifycoderesendRequest 初始化TmallservicecenterworkcardverifycoderesendAPIRequest对象

func (TmallservicecenterworkcardverifycoderesendAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardverifycoderesendAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardverifycoderesendAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardverifycoderesendAPIRequest) GetServiceStoreId added in v1.3.1

GetServiceStoreId ServiceStoreId Getter

func (TmallservicecenterworkcardverifycoderesendAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicecenterworkcardverifycoderesendAPIRequest) SetServiceStoreId added in v1.3.1

func (r *TmallservicecenterworkcardverifycoderesendAPIRequest) SetServiceStoreId(_serviceStoreId int64) error

SetServiceStoreId is ServiceStoreId Setter 门店/网点id

func (*TmallservicecenterworkcardverifycoderesendAPIRequest) SetWorkcardId added in v1.3.1

SetWorkcardId is WorkcardId Setter 工单id

type TmallservicecenterworkcardverifycoderesendAPIResponse added in v1.3.1

type TmallservicecenterworkcardverifycoderesendAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardverifycoderesendAPIResponseModel
}

TmallservicecenterworkcardverifycoderesendAPIResponse 重发核销码 API返回值 tmall.servicecenter.workcard.verifycode.resend

重发核销码

type TmallservicecenterworkcardverifycoderesendAPIResponseModel added in v1.3.1

type TmallservicecenterworkcardverifycoderesendAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_workcard_verifycode_resend_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用结果
	Result *TmallservicecenterworkcardverifycoderesendResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecenterworkcardverifycoderesendAPIResponseModel is 重发核销码 成功返回结果

type TmallservicecenterworkcardverifycoderesendResult added in v1.3.1

type TmallservicecenterworkcardverifycoderesendResult struct {
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicecenterworkcardverifycoderesendResult 结构体

type TmallservicecenterworkcardvirtualphonebindAPIRequest added in v1.3.1

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

TmallservicecenterworkcardvirtualphonebindAPIRequest 工单维度虚拟中间号绑定 API请求 tmall.servicecenter.workcard.virtualphone.bind

服务供应链洗护服务ERP项目中,客服呼叫消费者的功能。 叫消费者的手机号虚拟号码给到客服。

func NewTmallservicecenterworkcardvirtualphonebindRequest added in v1.3.1

func NewTmallservicecenterworkcardvirtualphonebindRequest() *TmallservicecenterworkcardvirtualphonebindAPIRequest

NewTmallservicecenterworkcardvirtualphonebindRequest 初始化TmallservicecenterworkcardvirtualphonebindAPIRequest对象

func (TmallservicecenterworkcardvirtualphonebindAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkcardvirtualphonebindAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkcardvirtualphonebindAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkcardvirtualphonebindAPIRequest) GetWorkcardRequest added in v1.3.1

GetWorkcardRequest WorkcardRequest Getter

func (*TmallservicecenterworkcardvirtualphonebindAPIRequest) SetWorkcardRequest added in v1.3.1

func (r *TmallservicecenterworkcardvirtualphonebindAPIRequest) SetWorkcardRequest(_workcardRequest *WorkcardBaseRequest) error

SetWorkcardRequest is WorkcardRequest Setter 绑定阿里通讯号入参

type TmallservicecenterworkcardvirtualphonebindAPIResponse added in v1.3.1

type TmallservicecenterworkcardvirtualphonebindAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkcardvirtualphonebindAPIResponseModel
}

TmallservicecenterworkcardvirtualphonebindAPIResponse 工单维度虚拟中间号绑定 API返回值 tmall.servicecenter.workcard.virtualphone.bind

服务供应链洗护服务ERP项目中,客服呼叫消费者的功能。 叫消费者的手机号虚拟号码给到客服。

type TmallservicecenterworkcardvirtualphonebindAPIResponseModel added in v1.3.1

type TmallservicecenterworkcardvirtualphonebindAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_workcard_virtualphone_bind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *FulfilplatformResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecenterworkcardvirtualphonebindAPIResponseModel is 工单维度虚拟中间号绑定 成功返回结果

type TmallservicecenterworkercreateAPIRequest added in v1.3.1

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

TmallservicecenterworkercreateAPIRequest 服务商工人信息创建 API请求 tmall.servicecenter.worker.create

服务商工人信息创建

func NewTmallservicecenterworkercreateRequest added in v1.3.1

func NewTmallservicecenterworkercreateRequest() *TmallservicecenterworkercreateAPIRequest

NewTmallservicecenterworkercreateRequest 初始化TmallservicecenterworkercreateAPIRequest对象

func (TmallservicecenterworkercreateAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallservicecenterworkercreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkercreateAPIRequest) GetApiParams added in v1.3.1

func (r TmallservicecenterworkercreateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkercreateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkercreateAPIRequest) GetWorkerDto added in v1.3.1

GetWorkerDto WorkerDto Getter

func (*TmallservicecenterworkercreateAPIRequest) SetWorkerDto added in v1.3.1

func (r *TmallservicecenterworkercreateAPIRequest) SetWorkerDto(_workerDto *WorkerDto) error

SetWorkerDto is WorkerDto Setter 11

type TmallservicecenterworkercreateAPIResponse added in v1.3.1

type TmallservicecenterworkercreateAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkercreateAPIResponseModel
}

TmallservicecenterworkercreateAPIResponse 服务商工人信息创建 API返回值 tmall.servicecenter.worker.create

服务商工人信息创建

type TmallservicecenterworkercreateAPIResponseModel added in v1.3.1

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

TmallservicecenterworkercreateAPIResponseModel is 服务商工人信息创建 成功返回结果

type TmallservicecenterworkerdeleteAPIRequest added in v1.3.1

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

TmallservicecenterworkerdeleteAPIRequest 删除工人 API请求 tmall.servicecenter.worker.delete

删除工人信息。该接口为多个业务公用,部分字段可忽略。对于电器预约安装业务,同一个服务商,通过工人姓名+手机号+biz_type 保证唯一性。工人已存在才可以删除。 错误码如下 100000, 系统错误 100001, 工人信息校验失败 100002, 用户校验失败 100003, 操作失败 10004,工人信息为空 10005,服务商id为空或者服务商名称为空 10006, 工人不存在 10007, 工人已存在 10008, 缺少工人姓名 10009, 缺少工人电话 10010, 网点不存在 11000, category_id 无效 11001, biz_type 无效 20001,已查询到最后一页

func NewTmallservicecenterworkerdeleteRequest added in v1.3.1

func NewTmallservicecenterworkerdeleteRequest() *TmallservicecenterworkerdeleteAPIRequest

NewTmallservicecenterworkerdeleteRequest 初始化TmallservicecenterworkerdeleteAPIRequest对象

func (TmallservicecenterworkerdeleteAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallservicecenterworkerdeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkerdeleteAPIRequest) GetApiParams added in v1.3.1

func (r TmallservicecenterworkerdeleteAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkerdeleteAPIRequest) GetBizType added in v1.3.1

GetBizType BizType Getter

func (TmallservicecenterworkerdeleteAPIRequest) GetName added in v1.3.1

GetName Name Getter

func (TmallservicecenterworkerdeleteAPIRequest) GetPhone added in v1.3.1

GetPhone Phone Getter

func (TmallservicecenterworkerdeleteAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecenterworkerdeleteAPIRequest) SetBizType added in v1.3.1

func (r *TmallservicecenterworkerdeleteAPIRequest) SetBizType(_bizType string) error

SetBizType is BizType Setter 业务类型,电器预约安装业务填appliance_install

func (*TmallservicecenterworkerdeleteAPIRequest) SetName added in v1.3.1

SetName is Name Setter 工人姓名

func (*TmallservicecenterworkerdeleteAPIRequest) SetPhone added in v1.3.1

SetPhone is Phone Setter 工人手机号

type TmallservicecenterworkerdeleteAPIResponse added in v1.3.1

type TmallservicecenterworkerdeleteAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkerdeleteAPIResponseModel
}

TmallservicecenterworkerdeleteAPIResponse 删除工人 API返回值 tmall.servicecenter.worker.delete

删除工人信息。该接口为多个业务公用,部分字段可忽略。对于电器预约安装业务,同一个服务商,通过工人姓名+手机号+biz_type 保证唯一性。工人已存在才可以删除。 错误码如下 100000, 系统错误 100001, 工人信息校验失败 100002, 用户校验失败 100003, 操作失败 10004,工人信息为空 10005,服务商id为空或者服务商名称为空 10006, 工人不存在 10007, 工人已存在 10008, 缺少工人姓名 10009, 缺少工人电话 10010, 网点不存在 11000, category_id 无效 11001, biz_type 无效 20001,已查询到最后一页

type TmallservicecenterworkerdeleteAPIResponseModel added in v1.3.1

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

TmallservicecenterworkerdeleteAPIResponseModel is 删除工人 成功返回结果

type TmallservicecenterworkerqueryAPIRequest added in v1.3.1

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

TmallservicecenterworkerqueryAPIRequest 工人信息查询 API请求 tmall.servicecenter.worker.query

查询服务商对应的工人信息

func NewTmallservicecenterworkerqueryRequest added in v1.3.1

func NewTmallservicecenterworkerqueryRequest() *TmallservicecenterworkerqueryAPIRequest

NewTmallservicecenterworkerqueryRequest 初始化TmallservicecenterworkerqueryAPIRequest对象

func (TmallservicecenterworkerqueryAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallservicecenterworkerqueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkerqueryAPIRequest) GetApiParams added in v1.3.1

func (r TmallservicecenterworkerqueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkerqueryAPIRequest) GetIdentityId added in v1.3.1

GetIdentityId IdentityId Getter

func (TmallservicecenterworkerqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecenterworkerqueryAPIRequest) SetIdentityId added in v1.3.1

func (r *TmallservicecenterworkerqueryAPIRequest) SetIdentityId(_identityId string) error

SetIdentityId is IdentityId Setter 身份证号

type TmallservicecenterworkerqueryAPIResponse added in v1.3.1

type TmallservicecenterworkerqueryAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkerqueryAPIResponseModel
}

TmallservicecenterworkerqueryAPIResponse 工人信息查询 API返回值 tmall.servicecenter.worker.query

查询服务商对应的工人信息

type TmallservicecenterworkerqueryAPIResponseModel added in v1.3.1

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

TmallservicecenterworkerqueryAPIResponseModel is 工人信息查询 成功返回结果

type TmallservicecenterworkerquerycapacitytaskAPIRequest added in v1.3.1

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

TmallservicecenterworkerquerycapacitytaskAPIRequest 查询需求容量 API请求 tmall.servicecenter.worker.querycapacitytask

查询需求容量

func NewTmallservicecenterworkerquerycapacitytaskRequest added in v1.3.1

func NewTmallservicecenterworkerquerycapacitytaskRequest() *TmallservicecenterworkerquerycapacitytaskAPIRequest

NewTmallservicecenterworkerquerycapacitytaskRequest 初始化TmallservicecenterworkerquerycapacitytaskAPIRequest对象

func (TmallservicecenterworkerquerycapacitytaskAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkerquerycapacitytaskAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkerquerycapacitytaskAPIRequest) GetQuery added in v1.3.1

GetQuery Query Getter

func (TmallservicecenterworkerquerycapacitytaskAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecenterworkerquerycapacitytaskAPIRequest) SetQuery added in v1.3.1

SetQuery is Query Setter 查询对象

type TmallservicecenterworkerquerycapacitytaskAPIResponse added in v1.3.1

type TmallservicecenterworkerquerycapacitytaskAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkerquerycapacitytaskAPIResponseModel
}

TmallservicecenterworkerquerycapacitytaskAPIResponse 查询需求容量 API返回值 tmall.servicecenter.worker.querycapacitytask

查询需求容量

type TmallservicecenterworkerquerycapacitytaskAPIResponseModel added in v1.3.1

type TmallservicecenterworkerquerycapacitytaskAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_worker_querycapacitytask_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// ResultBase
	ResultBase *ResultBase `json:"result_base,omitempty" xml:"result_base,omitempty"`
}

TmallservicecenterworkerquerycapacitytaskAPIResponseModel is 查询需求容量 成功返回结果

type TmallservicecenterworkerquerypageAPIRequest added in v1.3.1

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

TmallservicecenterworkerquerypageAPIRequest 查询工人列表 API请求 tmall.servicecenter.worker.querypage

服务商查询工人列表

func NewTmallservicecenterworkerquerypageRequest added in v1.3.1

func NewTmallservicecenterworkerquerypageRequest() *TmallservicecenterworkerquerypageAPIRequest

NewTmallservicecenterworkerquerypageRequest 初始化TmallservicecenterworkerquerypageAPIRequest对象

func (TmallservicecenterworkerquerypageAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkerquerypageAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkerquerypageAPIRequest) GetPageIndex added in v1.3.1

GetPageIndex PageIndex Getter

func (TmallservicecenterworkerquerypageAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecenterworkerquerypageAPIRequest) SetPageIndex added in v1.3.1

func (r *TmallservicecenterworkerquerypageAPIRequest) SetPageIndex(_pageIndex int64) error

SetPageIndex is PageIndex Setter 页码

type TmallservicecenterworkerquerypageAPIResponse added in v1.3.1

type TmallservicecenterworkerquerypageAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkerquerypageAPIResponseModel
}

TmallservicecenterworkerquerypageAPIResponse 查询工人列表 API返回值 tmall.servicecenter.worker.querypage

服务商查询工人列表

type TmallservicecenterworkerquerypageAPIResponseModel added in v1.3.1

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

TmallservicecenterworkerquerypageAPIResponseModel is 查询工人列表 成功返回结果

type TmallservicecenterworkertaglistgetAPIRequest added in v1.3.1

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

TmallservicecenterworkertaglistgetAPIRequest 获取工人标签 API请求 tmall.servicecenter.worker.taglist.get

服务商获取对应工人的标签

func NewTmallservicecenterworkertaglistgetRequest added in v1.3.1

func NewTmallservicecenterworkertaglistgetRequest() *TmallservicecenterworkertaglistgetAPIRequest

NewTmallservicecenterworkertaglistgetRequest 初始化TmallservicecenterworkertaglistgetAPIRequest对象

func (TmallservicecenterworkertaglistgetAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkertaglistgetAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkertaglistgetAPIRequest) GetIdNumber added in v1.3.1

GetIdNumber IdNumber Getter

func (TmallservicecenterworkertaglistgetAPIRequest) GetMobile added in v1.3.1

GetMobile Mobile Getter

func (TmallservicecenterworkertaglistgetAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicecenterworkertaglistgetAPIRequest) SetIdNumber added in v1.3.1

func (r *TmallservicecenterworkertaglistgetAPIRequest) SetIdNumber(_idNumber string) error

SetIdNumber is IdNumber Setter 工人注册勤鸽时的身份证

func (*TmallservicecenterworkertaglistgetAPIRequest) SetMobile added in v1.3.1

SetMobile is Mobile Setter 工人注册勤鸽时的手机号码

type TmallservicecenterworkertaglistgetAPIResponse added in v1.3.1

type TmallservicecenterworkertaglistgetAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkertaglistgetAPIResponseModel
}

TmallservicecenterworkertaglistgetAPIResponse 获取工人标签 API返回值 tmall.servicecenter.worker.taglist.get

服务商获取对应工人的标签

type TmallservicecenterworkertaglistgetAPIResponseModel added in v1.3.1

type TmallservicecenterworkertaglistgetAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_worker_taglist_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 工人的能力标签
	Result *WorkerTag `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecenterworkertaglistgetAPIResponseModel is 获取工人标签 成功返回结果

type TmallservicecenterworkerupdateAPIRequest added in v1.3.1

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

TmallservicecenterworkerupdateAPIRequest 修改工人信息 API请求 tmall.servicecenter.worker.update

修改工人信息。该接口为多个业务公用,部分字段可忽略。对于电器预约安装业务,同一个服务商,通过工人姓名+手机号+biz_type 保证唯一性。工人已存在才可以修改。 错误码如下 100000, 系统错误 100001, 工人信息校验失败 100002, 用户校验失败 100003, 操作失败 10004,工人信息为空 10005,服务商id为空或者服务商名称为空 10006, 工人不存在 10007, 工人已存在 10008, 缺少工人姓名 10009, 缺少工人电话 10010, 网点不存在 11000, category_id 无效 11001, biz_type 无效 20001,已查询到最后一页

func NewTmallservicecenterworkerupdateRequest added in v1.3.1

func NewTmallservicecenterworkerupdateRequest() *TmallservicecenterworkerupdateAPIRequest

NewTmallservicecenterworkerupdateRequest 初始化TmallservicecenterworkerupdateAPIRequest对象

func (TmallservicecenterworkerupdateAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallservicecenterworkerupdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecenterworkerupdateAPIRequest) GetApiParams added in v1.3.1

func (r TmallservicecenterworkerupdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecenterworkerupdateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecenterworkerupdateAPIRequest) GetWorker added in v1.3.1

GetWorker Worker Getter

func (*TmallservicecenterworkerupdateAPIRequest) SetWorker added in v1.3.1

SetWorker is Worker Setter 工人信息

type TmallservicecenterworkerupdateAPIResponse added in v1.3.1

type TmallservicecenterworkerupdateAPIResponse struct {
	model.CommonResponse
	TmallservicecenterworkerupdateAPIResponseModel
}

TmallservicecenterworkerupdateAPIResponse 修改工人信息 API返回值 tmall.servicecenter.worker.update

修改工人信息。该接口为多个业务公用,部分字段可忽略。对于电器预约安装业务,同一个服务商,通过工人姓名+手机号+biz_type 保证唯一性。工人已存在才可以修改。 错误码如下 100000, 系统错误 100001, 工人信息校验失败 100002, 用户校验失败 100003, 操作失败 10004,工人信息为空 10005,服务商id为空或者服务商名称为空 10006, 工人不存在 10007, 工人已存在 10008, 缺少工人姓名 10009, 缺少工人电话 10010, 网点不存在 11000, category_id 无效 11001, biz_type 无效 20001,已查询到最后一页

type TmallservicecenterworkerupdateAPIResponseModel added in v1.3.1

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

TmallservicecenterworkerupdateAPIResponseModel is 修改工人信息 成功返回结果

type TmallservicecodeconsumeAPIRequest added in v1.3.1

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

TmallservicecodeconsumeAPIRequest 天猫服务平台服务核销 API请求 tmall.service.code.consume

天猫服务平台-服务核销

func NewTmallservicecodeconsumeRequest added in v1.3.1

func NewTmallservicecodeconsumeRequest() *TmallservicecodeconsumeAPIRequest

NewTmallservicecodeconsumeRequest 初始化TmallservicecodeconsumeAPIRequest对象

func (TmallservicecodeconsumeAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallservicecodeconsumeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecodeconsumeAPIRequest) GetApiParams added in v1.3.1

func (r TmallservicecodeconsumeAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecodeconsumeAPIRequest) GetConsumeCode added in v1.3.1

func (r TmallservicecodeconsumeAPIRequest) GetConsumeCode() string

GetConsumeCode ConsumeCode Getter

func (TmallservicecodeconsumeAPIRequest) GetOperatorNick added in v1.3.1

func (r TmallservicecodeconsumeAPIRequest) GetOperatorNick() string

GetOperatorNick OperatorNick Getter

func (TmallservicecodeconsumeAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicecodeconsumeAPIRequest) GetShopId added in v1.3.1

GetShopId ShopId Getter

func (*TmallservicecodeconsumeAPIRequest) SetConsumeCode added in v1.3.1

func (r *TmallservicecodeconsumeAPIRequest) SetConsumeCode(_consumeCode string) error

SetConsumeCode is ConsumeCode Setter 核销码

func (*TmallservicecodeconsumeAPIRequest) SetOperatorNick added in v1.3.1

func (r *TmallservicecodeconsumeAPIRequest) SetOperatorNick(_operatorNick string) error

SetOperatorNick is OperatorNick Setter 核销帐号

func (*TmallservicecodeconsumeAPIRequest) SetShopId added in v1.3.1

func (r *TmallservicecodeconsumeAPIRequest) SetShopId(_shopId string) error

SetShopId is ShopId Setter 门店id

type TmallservicecodeconsumeAPIResponse added in v1.3.1

type TmallservicecodeconsumeAPIResponse struct {
	model.CommonResponse
	TmallservicecodeconsumeAPIResponseModel
}

TmallservicecodeconsumeAPIResponse 天猫服务平台服务核销 API返回值 tmall.service.code.consume

天猫服务平台-服务核销

type TmallservicecodeconsumeAPIResponseModel added in v1.3.1

type TmallservicecodeconsumeAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_service_code_consume_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 服务工单ID
	Result int64 `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicecodeconsumeAPIResponseModel is 天猫服务平台服务核销 成功返回结果

type TmallservicesettleadjustmentcancelAPIRequest added in v1.3.1

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

TmallservicesettleadjustmentcancelAPIRequest 取消结算调整单 API请求 tmall.service.settleadjustment.cancel

提供给服务商在对取消已经发起的结算调整单。 通过说明调整单ID进行结算调整单取消。

func NewTmallservicesettleadjustmentcancelRequest added in v1.3.1

func NewTmallservicesettleadjustmentcancelRequest() *TmallservicesettleadjustmentcancelAPIRequest

NewTmallservicesettleadjustmentcancelRequest 初始化TmallservicesettleadjustmentcancelAPIRequest对象

func (TmallservicesettleadjustmentcancelAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicesettleadjustmentcancelAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicesettleadjustmentcancelAPIRequest) GetComments added in v1.3.1

GetComments Comments Getter

func (TmallservicesettleadjustmentcancelAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (TmallservicesettleadjustmentcancelAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicesettleadjustmentcancelAPIRequest) SetComments added in v1.3.1

func (r *TmallservicesettleadjustmentcancelAPIRequest) SetComments(_comments string) error

SetComments is Comments Setter 取消原因说明

func (*TmallservicesettleadjustmentcancelAPIRequest) SetId added in v1.3.1

SetId is Id Setter 结算调整单ID

type TmallservicesettleadjustmentcancelAPIResponse added in v1.3.1

type TmallservicesettleadjustmentcancelAPIResponse struct {
	model.CommonResponse
	TmallservicesettleadjustmentcancelAPIResponseModel
}

TmallservicesettleadjustmentcancelAPIResponse 取消结算调整单 API返回值 tmall.service.settleadjustment.cancel

提供给服务商在对取消已经发起的结算调整单。 通过说明调整单ID进行结算调整单取消。

type TmallservicesettleadjustmentcancelAPIResponseModel added in v1.3.1

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

TmallservicesettleadjustmentcancelAPIResponseModel is 取消结算调整单 成功返回结果

type TmallservicesettleadjustmentcancelResult added in v1.3.1

type TmallservicesettleadjustmentcancelResult struct {
	// errorMessage
	ErrorMessage *ErrorMessage `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicesettleadjustmentcancelResult 结构体

type TmallservicesettleadjustmentgetAPIRequest added in v1.3.1

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

TmallservicesettleadjustmentgetAPIRequest 查询结算调整单单条记录 API请求 tmall.service.settleadjustment.get

提供给服务商通过结算调整单id获取结算调整单信息

func NewTmallservicesettleadjustmentgetRequest added in v1.3.1

func NewTmallservicesettleadjustmentgetRequest() *TmallservicesettleadjustmentgetAPIRequest

NewTmallservicesettleadjustmentgetRequest 初始化TmallservicesettleadjustmentgetAPIRequest对象

func (TmallservicesettleadjustmentgetAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicesettleadjustmentgetAPIRequest) GetApiParams added in v1.3.1

func (r TmallservicesettleadjustmentgetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicesettleadjustmentgetAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (TmallservicesettleadjustmentgetAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicesettleadjustmentgetAPIRequest) SetId added in v1.3.1

SetId is Id Setter 结算调整单ID

type TmallservicesettleadjustmentgetAPIResponse added in v1.3.1

type TmallservicesettleadjustmentgetAPIResponse struct {
	model.CommonResponse
	TmallservicesettleadjustmentgetAPIResponseModel
}

TmallservicesettleadjustmentgetAPIResponse 查询结算调整单单条记录 API返回值 tmall.service.settleadjustment.get

提供给服务商通过结算调整单id获取结算调整单信息

type TmallservicesettleadjustmentgetAPIResponseModel added in v1.3.1

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

TmallservicesettleadjustmentgetAPIResponseModel is 查询结算调整单单条记录 成功返回结果

type TmallservicesettleadjustmentgetResult added in v1.3.1

type TmallservicesettleadjustmentgetResult struct {
	// dataModule
	DataModule *SettleAdjustmentResponse `json:"data_module,omitempty" xml:"data_module,omitempty"`
	// errorMessage
	ErrorMessage *ErrorMessage `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// success,成功true,失败false
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicesettleadjustmentgetResult 结构体

type TmallservicesettleadjustmentoperateAPIRequest added in v1.3.1

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

TmallservicesettleadjustmentoperateAPIRequest 天猫服务调整单操作 API请求 tmall.service.settleadjustment.operate

提供给服务商在对结算有异议时,发起结算调整单。 通过说明调整单ID,调整费用值,调整原因进行结算调整单修改。

func NewTmallservicesettleadjustmentoperateRequest added in v1.3.1

func NewTmallservicesettleadjustmentoperateRequest() *TmallservicesettleadjustmentoperateAPIRequest

NewTmallservicesettleadjustmentoperateRequest 初始化TmallservicesettleadjustmentoperateAPIRequest对象

func (TmallservicesettleadjustmentoperateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicesettleadjustmentoperateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicesettleadjustmentoperateAPIRequest) GetMemo added in v1.3.1

GetMemo Memo Getter

func (TmallservicesettleadjustmentoperateAPIRequest) GetOperateCode added in v1.3.1

GetOperateCode OperateCode Getter

func (TmallservicesettleadjustmentoperateAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicesettleadjustmentoperateAPIRequest) GetSettlementAdjustmentOrderId added in v1.3.1

func (r TmallservicesettleadjustmentoperateAPIRequest) GetSettlementAdjustmentOrderId() int64

GetSettlementAdjustmentOrderId SettlementAdjustmentOrderId Getter

func (*TmallservicesettleadjustmentoperateAPIRequest) SetMemo added in v1.3.1

SetMemo is Memo Setter 审批备注

func (*TmallservicesettleadjustmentoperateAPIRequest) SetOperateCode added in v1.3.1

func (r *TmallservicesettleadjustmentoperateAPIRequest) SetOperateCode(_operateCode string) error

SetOperateCode is OperateCode Setter 操作动作

func (*TmallservicesettleadjustmentoperateAPIRequest) SetSettlementAdjustmentOrderId added in v1.3.1

func (r *TmallservicesettleadjustmentoperateAPIRequest) SetSettlementAdjustmentOrderId(_settlementAdjustmentOrderId int64) error

SetSettlementAdjustmentOrderId is SettlementAdjustmentOrderId Setter 调整单ID(也即退款单ID)

type TmallservicesettleadjustmentoperateAPIResponse added in v1.3.1

type TmallservicesettleadjustmentoperateAPIResponse struct {
	model.CommonResponse
	TmallservicesettleadjustmentoperateAPIResponseModel
}

TmallservicesettleadjustmentoperateAPIResponse 天猫服务调整单操作 API返回值 tmall.service.settleadjustment.operate

提供给服务商在对结算有异议时,发起结算调整单。 通过说明调整单ID,调整费用值,调整原因进行结算调整单修改。

type TmallservicesettleadjustmentoperateAPIResponseModel added in v1.3.1

type TmallservicesettleadjustmentoperateAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_service_settleadjustment_operate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应结果
	Result *TmallservicesettleadjustmentoperateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicesettleadjustmentoperateAPIResponseModel is 天猫服务调整单操作 成功返回结果

type TmallservicesettleadjustmentoperateResult added in v1.3.1

type TmallservicesettleadjustmentoperateResult struct {
	// 错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误提示
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicesettleadjustmentoperateResult 结构体

type TmallservicesettleadjustmentrequestAPIRequest added in v1.3.1

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

TmallservicesettleadjustmentrequestAPIRequest 创建结算调整单 API请求 tmall.service.settleadjustment.request

提供给服务商在对结算有异议时,发起结算调整单。 通过说明工单ID,调整费用值,调整原因进行新建结算调整单。

func NewTmallservicesettleadjustmentrequestRequest added in v1.3.1

func NewTmallservicesettleadjustmentrequestRequest() *TmallservicesettleadjustmentrequestAPIRequest

NewTmallservicesettleadjustmentrequestRequest 初始化TmallservicesettleadjustmentrequestAPIRequest对象

func (TmallservicesettleadjustmentrequestAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicesettleadjustmentrequestAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicesettleadjustmentrequestAPIRequest) GetParamSettleAdjustmentRequest added in v1.3.1

func (r TmallservicesettleadjustmentrequestAPIRequest) GetParamSettleAdjustmentRequest() *SettleAdjustmentRequest

GetParamSettleAdjustmentRequest ParamSettleAdjustmentRequest Getter

func (TmallservicesettleadjustmentrequestAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicesettleadjustmentrequestAPIRequest) SetParamSettleAdjustmentRequest added in v1.3.1

func (r *TmallservicesettleadjustmentrequestAPIRequest) SetParamSettleAdjustmentRequest(_paramSettleAdjustmentRequest *SettleAdjustmentRequest) error

SetParamSettleAdjustmentRequest is ParamSettleAdjustmentRequest Setter 父节点

type TmallservicesettleadjustmentrequestAPIResponse added in v1.3.1

type TmallservicesettleadjustmentrequestAPIResponse struct {
	model.CommonResponse
	TmallservicesettleadjustmentrequestAPIResponseModel
}

TmallservicesettleadjustmentrequestAPIResponse 创建结算调整单 API返回值 tmall.service.settleadjustment.request

提供给服务商在对结算有异议时,发起结算调整单。 通过说明工单ID,调整费用值,调整原因进行新建结算调整单。

type TmallservicesettleadjustmentrequestAPIResponseModel added in v1.3.1

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

TmallservicesettleadjustmentrequestAPIResponseModel is 创建结算调整单 成功返回结果

type TmallservicesettleadjustmentrequestResult added in v1.3.1

type TmallservicesettleadjustmentrequestResult struct {
	// dataModule
	DataModule *SettleAdjustmentResp `json:"data_module,omitempty" xml:"data_module,omitempty"`
	// errorMessage
	ErrorMessage *ErrorMessage `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// true:查询成功,false:失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicesettleadjustmentrequestResult 结构体

type TmallservicesettlementbillinfoqueryAPIRequest added in v1.3.1

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

TmallservicesettlementbillinfoqueryAPIRequest 查询工单结算信息 API请求 tmall.service.settlement.billinfo.query

提供给服务商查询工单结算信息,包含结算的分成金额以及结算的收款明细,平台抽佣比例。用于服务商进行对账

func NewTmallservicesettlementbillinfoqueryRequest added in v1.3.1

func NewTmallservicesettlementbillinfoqueryRequest() *TmallservicesettlementbillinfoqueryAPIRequest

NewTmallservicesettlementbillinfoqueryRequest 初始化TmallservicesettlementbillinfoqueryAPIRequest对象

func (TmallservicesettlementbillinfoqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicesettlementbillinfoqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicesettlementbillinfoqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallservicesettlementbillinfoqueryAPIRequest) GetWorkcardId added in v1.3.1

GetWorkcardId WorkcardId Getter

func (*TmallservicesettlementbillinfoqueryAPIRequest) SetWorkcardId added in v1.3.1

func (r *TmallservicesettlementbillinfoqueryAPIRequest) SetWorkcardId(_workcardId int64) error

SetWorkcardId is WorkcardId Setter 已经结算的工单ID

type TmallservicesettlementbillinfoqueryAPIResponse added in v1.3.1

type TmallservicesettlementbillinfoqueryAPIResponse struct {
	model.CommonResponse
	TmallservicesettlementbillinfoqueryAPIResponseModel
}

TmallservicesettlementbillinfoqueryAPIResponse 查询工单结算信息 API返回值 tmall.service.settlement.billinfo.query

提供给服务商查询工单结算信息,包含结算的分成金额以及结算的收款明细,平台抽佣比例。用于服务商进行对账

type TmallservicesettlementbillinfoqueryAPIResponseModel added in v1.3.1

type TmallservicesettlementbillinfoqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_service_settlement_billinfo_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口响应
	Result *TmallservicesettlementbillinfoqueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallservicesettlementbillinfoqueryAPIResponseModel is 查询工单结算信息 成功返回结果

type TmallservicesettlementbillinfoqueryResult added in v1.3.1

type TmallservicesettlementbillinfoqueryResult struct {
	// 错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误提示
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 工单结算信息
	Value *WorkcardBillInfoDto `json:"value,omitempty" xml:"value,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallservicesettlementbillinfoqueryResult 结构体

type TmallservicesettlementfbbilldetailqueryAPIRequest added in v1.3.1

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

TmallservicesettlementfbbilldetailqueryAPIRequest 服务商工单结算对账查询-流水查询 API请求 tmall.service.settlement.fb.bill.detail.query

服务商工单结算对账查询-流水查询,用于查询服务工单费用流水,含服务费、退款、分成、提现等。

func NewTmallservicesettlementfbbilldetailqueryRequest added in v1.3.1

func NewTmallservicesettlementfbbilldetailqueryRequest() *TmallservicesettlementfbbilldetailqueryAPIRequest

NewTmallservicesettlementfbbilldetailqueryRequest 初始化TmallservicesettlementfbbilldetailqueryAPIRequest对象

func (TmallservicesettlementfbbilldetailqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicesettlementfbbilldetailqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicesettlementfbbilldetailqueryAPIRequest) GetBillTimeEnd added in v1.3.1

GetBillTimeEnd BillTimeEnd Getter

func (TmallservicesettlementfbbilldetailqueryAPIRequest) GetBillTimeStart added in v1.3.1

GetBillTimeStart BillTimeStart Getter

func (TmallservicesettlementfbbilldetailqueryAPIRequest) GetPageNum added in v1.3.1

GetPageNum PageNum Getter

func (TmallservicesettlementfbbilldetailqueryAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TmallservicesettlementfbbilldetailqueryAPIRequest) GetPayTimeEnd added in v1.3.1

GetPayTimeEnd PayTimeEnd Getter

func (TmallservicesettlementfbbilldetailqueryAPIRequest) GetPayTimeStart added in v1.3.1

GetPayTimeStart PayTimeStart Getter

func (TmallservicesettlementfbbilldetailqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicesettlementfbbilldetailqueryAPIRequest) SetBillTimeEnd added in v1.3.1

func (r *TmallservicesettlementfbbilldetailqueryAPIRequest) SetBillTimeEnd(_billTimeEnd string) error

SetBillTimeEnd is BillTimeEnd Setter 流水截止时间

func (*TmallservicesettlementfbbilldetailqueryAPIRequest) SetBillTimeStart added in v1.3.1

func (r *TmallservicesettlementfbbilldetailqueryAPIRequest) SetBillTimeStart(_billTimeStart string) error

SetBillTimeStart is BillTimeStart Setter 流水开始时间(如果设置了开始时间,需要同时设置截止时间)

func (*TmallservicesettlementfbbilldetailqueryAPIRequest) SetPageNum added in v1.3.1

SetPageNum is PageNum Setter 分页页码

func (*TmallservicesettlementfbbilldetailqueryAPIRequest) SetPageSize added in v1.3.1

SetPageSize is PageSize Setter 分页大小

func (*TmallservicesettlementfbbilldetailqueryAPIRequest) SetPayTimeEnd added in v1.3.1

func (r *TmallservicesettlementfbbilldetailqueryAPIRequest) SetPayTimeEnd(_payTimeEnd string) error

SetPayTimeEnd is PayTimeEnd Setter 提现截止时间

func (*TmallservicesettlementfbbilldetailqueryAPIRequest) SetPayTimeStart added in v1.3.1

func (r *TmallservicesettlementfbbilldetailqueryAPIRequest) SetPayTimeStart(_payTimeStart string) error

SetPayTimeStart is PayTimeStart Setter 提现开始时间(如果设置了开始时间,需要同时设置截止时间)

type TmallservicesettlementfbbilldetailqueryAPIResponse added in v1.3.1

type TmallservicesettlementfbbilldetailqueryAPIResponse struct {
	model.CommonResponse
	TmallservicesettlementfbbilldetailqueryAPIResponseModel
}

TmallservicesettlementfbbilldetailqueryAPIResponse 服务商工单结算对账查询-流水查询 API返回值 tmall.service.settlement.fb.bill.detail.query

服务商工单结算对账查询-流水查询,用于查询服务工单费用流水,含服务费、退款、分成、提现等。

type TmallservicesettlementfbbilldetailqueryAPIResponseModel added in v1.3.1

type TmallservicesettlementfbbilldetailqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_service_settlement_fb_bill_detail_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误提示
	RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"`
	// 错误码
	RetCode string `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 分页数据
	Obj *PagedResult `json:"obj,omitempty" xml:"obj,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TmallservicesettlementfbbilldetailqueryAPIResponseModel is 服务商工单结算对账查询-流水查询 成功返回结果

type TmallservicesettlementfbbillqueryAPIRequest added in v1.3.1

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

TmallservicesettlementfbbillqueryAPIRequest 服务商工单结算对账查询 API请求 tmall.service.settlement.fb.bill.query

服务商工单结算对账查询,用于查询服务工单对应的结算费用情况,含工单对应的服务费、退款、增加费用、分成费用、提现流水

func NewTmallservicesettlementfbbillqueryRequest added in v1.3.1

func NewTmallservicesettlementfbbillqueryRequest() *TmallservicesettlementfbbillqueryAPIRequest

NewTmallservicesettlementfbbillqueryRequest 初始化TmallservicesettlementfbbillqueryAPIRequest对象

func (TmallservicesettlementfbbillqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicesettlementfbbillqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicesettlementfbbillqueryAPIRequest) GetBillTimeEnd added in v1.3.1

GetBillTimeEnd BillTimeEnd Getter

func (TmallservicesettlementfbbillqueryAPIRequest) GetBillTimeStart added in v1.3.1

GetBillTimeStart BillTimeStart Getter

func (TmallservicesettlementfbbillqueryAPIRequest) GetPageNum added in v1.3.1

GetPageNum PageNum Getter

func (TmallservicesettlementfbbillqueryAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TmallservicesettlementfbbillqueryAPIRequest) GetPayTimeEnd added in v1.3.1

GetPayTimeEnd PayTimeEnd Getter

func (TmallservicesettlementfbbillqueryAPIRequest) GetPayTimeStart added in v1.3.1

GetPayTimeStart PayTimeStart Getter

func (TmallservicesettlementfbbillqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallservicesettlementfbbillqueryAPIRequest) SetBillTimeEnd added in v1.3.1

func (r *TmallservicesettlementfbbillqueryAPIRequest) SetBillTimeEnd(_billTimeEnd string) error

SetBillTimeEnd is BillTimeEnd Setter 流水截止时间

func (*TmallservicesettlementfbbillqueryAPIRequest) SetBillTimeStart added in v1.3.1

func (r *TmallservicesettlementfbbillqueryAPIRequest) SetBillTimeStart(_billTimeStart string) error

SetBillTimeStart is BillTimeStart Setter 流水开始时间(与截止时间配对使用)

func (*TmallservicesettlementfbbillqueryAPIRequest) SetPageNum added in v1.3.1

SetPageNum is PageNum Setter 分页页码

func (*TmallservicesettlementfbbillqueryAPIRequest) SetPageSize added in v1.3.1

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

SetPageSize is PageSize Setter 分页大小

func (*TmallservicesettlementfbbillqueryAPIRequest) SetPayTimeEnd added in v1.3.1

func (r *TmallservicesettlementfbbillqueryAPIRequest) SetPayTimeEnd(_payTimeEnd string) error

SetPayTimeEnd is PayTimeEnd Setter 提现截止时间

func (*TmallservicesettlementfbbillqueryAPIRequest) SetPayTimeStart added in v1.3.1

func (r *TmallservicesettlementfbbillqueryAPIRequest) SetPayTimeStart(_payTimeStart string) error

SetPayTimeStart is PayTimeStart Setter 提现开始时间(与截止时间成对使用)

type TmallservicesettlementfbbillqueryAPIResponse added in v1.3.1

type TmallservicesettlementfbbillqueryAPIResponse struct {
	model.CommonResponse
	TmallservicesettlementfbbillqueryAPIResponseModel
}

TmallservicesettlementfbbillqueryAPIResponse 服务商工单结算对账查询 API返回值 tmall.service.settlement.fb.bill.query

服务商工单结算对账查询,用于查询服务工单对应的结算费用情况,含工单对应的服务费、退款、增加费用、分成费用、提现流水

type TmallservicesettlementfbbillqueryAPIResponseModel added in v1.3.1

type TmallservicesettlementfbbillqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_service_settlement_fb_bill_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"`
	// 错误码
	RetCode string `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 分页数据
	Obj *PagedResult `json:"obj,omitempty" xml:"obj,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TmallservicesettlementfbbillqueryAPIResponseModel is 服务商工单结算对账查询 成功返回结果

type TmallsscsupplyplatformcapacityeditAPIRequest added in v1.3.1

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

TmallsscsupplyplatformcapacityeditAPIRequest 容量编辑 API请求 tmall.ssc.supplyplatform.capacity.edit

容量编辑

func NewTmallsscsupplyplatformcapacityeditRequest added in v1.3.1

func NewTmallsscsupplyplatformcapacityeditRequest() *TmallsscsupplyplatformcapacityeditAPIRequest

NewTmallsscsupplyplatformcapacityeditRequest 初始化TmallsscsupplyplatformcapacityeditAPIRequest对象

func (TmallsscsupplyplatformcapacityeditAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallsscsupplyplatformcapacityeditAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallsscsupplyplatformcapacityeditAPIRequest) GetParamServiceCapacityAdjustReqDto added in v1.3.1

func (r TmallsscsupplyplatformcapacityeditAPIRequest) GetParamServiceCapacityAdjustReqDto() *ServiceCapacityAdjustReqDto

GetParamServiceCapacityAdjustReqDto ParamServiceCapacityAdjustReqDto Getter

func (TmallsscsupplyplatformcapacityeditAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallsscsupplyplatformcapacityeditAPIRequest) SetParamServiceCapacityAdjustReqDto added in v1.3.1

func (r *TmallsscsupplyplatformcapacityeditAPIRequest) SetParamServiceCapacityAdjustReqDto(_paramServiceCapacityAdjustReqDto *ServiceCapacityAdjustReqDto) error

SetParamServiceCapacityAdjustReqDto is ParamServiceCapacityAdjustReqDto Setter 容量调整

type TmallsscsupplyplatformcapacityeditAPIResponse added in v1.3.1

type TmallsscsupplyplatformcapacityeditAPIResponse struct {
	model.CommonResponse
	TmallsscsupplyplatformcapacityeditAPIResponseModel
}

TmallsscsupplyplatformcapacityeditAPIResponse 容量编辑 API返回值 tmall.ssc.supplyplatform.capacity.edit

容量编辑

type TmallsscsupplyplatformcapacityeditAPIResponseModel added in v1.3.1

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

TmallsscsupplyplatformcapacityeditAPIResponseModel is 容量编辑 成功返回结果

type TmallsscsupplyplatformcapacityeditResult added in v1.3.1

type TmallsscsupplyplatformcapacityeditResult struct {
	// 对外展示的错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success string `json:"success,omitempty" xml:"success,omitempty"`
}

TmallsscsupplyplatformcapacityeditResult 结构体

type TmallsscworkcardacceptAPIRequest added in v1.3.1

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

TmallsscworkcardacceptAPIRequest 服务商接单完成 API请求 tmall.ssc.workcard.accept

工单完结

func NewTmallsscworkcardacceptRequest added in v1.3.1

func NewTmallsscworkcardacceptRequest() *TmallsscworkcardacceptAPIRequest

NewTmallsscworkcardacceptRequest 初始化TmallsscworkcardacceptAPIRequest对象

func (TmallsscworkcardacceptAPIRequest) GetAcceptWorkcardRequest added in v1.3.1

func (r TmallsscworkcardacceptAPIRequest) GetAcceptWorkcardRequest() *AcceptWorkcardRequest

GetAcceptWorkcardRequest AcceptWorkcardRequest Getter

func (TmallsscworkcardacceptAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallsscworkcardacceptAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallsscworkcardacceptAPIRequest) GetApiParams added in v1.3.1

func (r TmallsscworkcardacceptAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallsscworkcardacceptAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TmallsscworkcardacceptAPIRequest) SetAcceptWorkcardRequest added in v1.3.1

func (r *TmallsscworkcardacceptAPIRequest) SetAcceptWorkcardRequest(_acceptWorkcardRequest *AcceptWorkcardRequest) error

SetAcceptWorkcardRequest is AcceptWorkcardRequest Setter 服务商接单入参

type TmallsscworkcardacceptAPIResponse added in v1.3.1

type TmallsscworkcardacceptAPIResponse struct {
	model.CommonResponse
	TmallsscworkcardacceptAPIResponseModel
}

TmallsscworkcardacceptAPIResponse 服务商接单完成 API返回值 tmall.ssc.workcard.accept

工单完结

type TmallsscworkcardacceptAPIResponseModel added in v1.3.1

type TmallsscworkcardacceptAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_ssc_workcard_accept_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接单结果
	Result *TmallsscworkcardacceptResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallsscworkcardacceptAPIResponseModel is 服务商接单完成 成功返回结果

type TmallsscworkcardacceptResult added in v1.3.1

type TmallsscworkcardacceptResult struct {
	// 错误提示
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 未使用
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// 错误消息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallsscworkcardacceptResult 结构体

type UpdateAttributeRequest

type UpdateAttributeRequest struct {
	// 服务回访记录信息
	CallRecord string `json:"call_record,omitempty" xml:"call_record,omitempty"`
	// 请求来源
	RequestSource *WorkcardRequestSource `json:"request_source,omitempty" xml:"request_source,omitempty"`
	// 工单ID
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
}

UpdateAttributeRequest 结构体

type Value

type Value struct {
	// 工单id列表
	WorkcardIdList []int64 `json:"workcard_id_list,omitempty" xml:"workcard_id_list>int64,omitempty"`
	// 履约方式
	FulfilTypeCode string `json:"fulfil_type_code,omitempty" xml:"fulfil_type_code,omitempty"`
	// 修改时间
	GmtModify string `json:"gmt_modify,omitempty" xml:"gmt_modify,omitempty"`
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 下次联系时间
	GmtNextContact string `json:"gmt_next_contact,omitempty" xml:"gmt_next_contact,omitempty"`
	// 备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 核销单外部单号
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 原因描述
	ReasonDesc string `json:"reason_desc,omitempty" xml:"reason_desc,omitempty"`
	// 状态编码
	StatusCode string `json:"status_code,omitempty" xml:"status_code,omitempty"`
	// 预约信息
	Reservation *ReservationDto `json:"reservation,omitempty" xml:"reservation,omitempty"`
	// 原因编码
	ReasonCode int64 `json:"reason_code,omitempty" xml:"reason_code,omitempty"`
	// 核销单id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 买家信息
	Buyer *BuyerDto `json:"buyer,omitempty" xml:"buyer,omitempty"`
	// 服务提供者信息
	ServiceProvider *ServiceProviderDto `json:"service_provider,omitempty" xml:"service_provider,omitempty"`
}

Value 结构体

type WorkCardInstallDetail

type WorkCardInstallDetail struct {
	// 机器条码,如果有多个机器码,用英文逗号","隔开
	Sn string `json:"sn,omitempty" xml:"sn,omitempty"`
	// 安装图片,多个图片链接用英文逗号","隔开
	ImgUrls string `json:"img_urls,omitempty" xml:"img_urls,omitempty"`
	// 备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 辅材项目
	AccessoryInfo string `json:"accessory_info,omitempty" xml:"accessory_info,omitempty"`
	// 收费金额
	InstallFee string `json:"install_fee,omitempty" xml:"install_fee,omitempty"`
	// 机器安装状态(1未完成;20暂不安装;5完成;12取消)
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

WorkCardInstallDetail 结构体

type Workcard

type Workcard struct {
	// 签到时间
	GmtSignIn string `json:"gmt_sign_in,omitempty" xml:"gmt_sign_in,omitempty"`
	// 工单状态编码
	StatusCode string `json:"status_code,omitempty" xml:"status_code,omitempty"`
	// 核销时间
	GmtIdentify string `json:"gmt_identify,omitempty" xml:"gmt_identify,omitempty"`
	// 预约时间开始
	GmtReserveStart string `json:"gmt_reserve_start,omitempty" xml:"gmt_reserve_start,omitempty"`
	// 买家期望服务时间
	BuyerExpectDate string `json:"buyer_expect_date,omitempty" xml:"buyer_expect_date,omitempty"`
	// 分配工人时间
	GmtAssignWorker string `json:"gmt_assign_worker,omitempty" xml:"gmt_assign_worker,omitempty"`
	// 预约结束时间
	GmtReserveEnd string `json:"gmt_reserve_end,omitempty" xml:"gmt_reserve_end,omitempty"`
	// 工单创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 额外属性,包含:{   servPrice: 服务采购价,   newService: 切服务化之后的服务单标识,   lbxNo: 淘宝的物流订单号,   discountFee: 优惠金额,   reserveSource: 预约来源,   serviceDate: 预约时间,   gmtExpire: 过期时间,   bizCode: 业务身份,   型号: IKEA00000237S,   serviceAuctionTitle: 服务商品标题,   reserveTimeEnd: 预约时间段的结束时间,   reassign: 是否是改派工单,   masterSkuId: 实物sku id,   serviceSkuDesc: 服务sku描述,   operator: 工单预约操作者 1表示消费者主动预约,2表示服务回传预约时间,   settlement: 是否进行线上结算,   mainServiceOrder: 双主服务主订单key,   signedTime: 签收时间,   masterAuctionTitle: 实物商品标题,   msfRervDate: 瞄师傅预约日期,   类目: 书架,   品牌: IKEA/宜家,   auctionImageUrl: 实物图片链接,   masterSkuDesc: 实物sku描述,   af: 交易订单实付金额,   auto_dispatch_order: 是否智能派单,   usedServiceCount: "工单总使用次数",   reserveTimeStart: 预约时间段的开始时间,   masterParentOrderId: 实物订单主订单,   address_city: 买家城市,   reserveRemark: 预约备注,   父类目: 架类,   arrivalTimeNum: 物品签收时间,   outerIdSKU: 商家编码 }
	AttributeMap string `json:"attribute_map,omitempty" xml:"attribute_map,omitempty"`
	// 已使用的次数
	UsedServiceCount int64 `json:"used_service_count,omitempty" xml:"used_service_count,omitempty"`
	// 服务订单数据
	ServiceTradeOrder *ServiceTradeOrder `json:"service_trade_order,omitempty" xml:"service_trade_order,omitempty"`
	// 工单服务总次数
	ServiceCount int64 `json:"service_count,omitempty" xml:"service_count,omitempty"`
	// 工单id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 剩余次数
	LeftServiceCount int64 `json:"left_service_count,omitempty" xml:"left_service_count,omitempty"`
	// 主订单号
	ParentBizOrderId int64 `json:"parent_biz_order_id,omitempty" xml:"parent_biz_order_id,omitempty"`
	// 服务提供者
	ServiceProvider *ServiceProvider `json:"service_provider,omitempty" xml:"service_provider,omitempty"`
	// 实物订单信息
	MasterTradeOrder *MasterTradeOrder `json:"master_trade_order,omitempty" xml:"master_trade_order,omitempty"`
	// 服务定义
	ServiceDefinition *ServiceDefinition `json:"service_definition,omitempty" xml:"service_definition,omitempty"`
	// 核销/工单完结请求中直接带回该字段
	Sequence int64 `json:"sequence,omitempty" xml:"sequence,omitempty"`
	// 服务单id
	SpServiceOrderId int64 `json:"sp_service_order_id,omitempty" xml:"sp_service_order_id,omitempty"`
}

Workcard 结构体

type WorkcardBaseRequest

type WorkcardBaseRequest struct {
	// 请求来源账号
	RequestSource *WorkcardRequestSource `json:"request_source,omitempty" xml:"request_source,omitempty"`
	// 工单ID
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
}

WorkcardBaseRequest 结构体

type WorkcardBillInfoDto added in v1.2.9

type WorkcardBillInfoDto struct {
	// 费用明细
	Details []Double `json:"details,omitempty" xml:"details>double,omitempty"`
	// 工单ID
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
	// 分成金额(分)
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 平台抽佣比例 0.0 ~ 1.0
	PlatformCommissionRate int64 `json:"platform_commission_rate,omitempty" xml:"platform_commission_rate,omitempty"`
}

WorkcardBillInfoDto 结构体

type WorkcardDto

type WorkcardDto struct {
	// 费用信息
	FeeList []FeeInfo `json:"fee_list,omitempty" xml:"fee_list>fee_info,omitempty"`
	// 工单备注
	MemoList []MemoDto `json:"memo_list,omitempty" xml:"memo_list>memo_dto,omitempty"`
	// 操作记录信息
	WorkcardOperationInfo []WorkcardOperationDto `json:"workcard_operation_info,omitempty" xml:"workcard_operation_info>workcard_operation_dto,omitempty"`
	// 额外属性
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 签到时间
	GmtSignIn string `json:"gmt_sign_in,omitempty" xml:"gmt_sign_in,omitempty"`
	// 预约结束时间
	GmtReserveEnd string `json:"gmt_reserve_end,omitempty" xml:"gmt_reserve_end,omitempty"`
	// 修改时间
	GmtModify string `json:"gmt_modify,omitempty" xml:"gmt_modify,omitempty"`
	// 取消时间
	GmtCancel string `json:"gmt_cancel,omitempty" xml:"gmt_cancel,omitempty"`
	// 工单状态编码
	StatusCode string `json:"status_code,omitempty" xml:"status_code,omitempty"`
	// 预约失败描述
	ReserveFailDesc string `json:"reserve_fail_desc,omitempty" xml:"reserve_fail_desc,omitempty"`
	// 服务履约类型
	FulfilTypeCode string `json:"fulfil_type_code,omitempty" xml:"fulfil_type_code,omitempty"`
	// 核销时间
	GmtIdentify string `json:"gmt_identify,omitempty" xml:"gmt_identify,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 预约时间开始
	GmtReserveStart string `json:"gmt_reserve_start,omitempty" xml:"gmt_reserve_start,omitempty"`
	// 买家期望服务时间
	BuyerExpectDate string `json:"buyer_expect_date,omitempty" xml:"buyer_expect_date,omitempty"`
	// 使用次数
	UsedServiceCount int64 `json:"used_service_count,omitempty" xml:"used_service_count,omitempty"`
	// 服务订单数据
	ServiceTradeOrder *ServiceTradeOrder `json:"service_trade_order,omitempty" xml:"service_trade_order,omitempty"`
	// 工单服务总次数
	ServiceCount int64 `json:"service_count,omitempty" xml:"service_count,omitempty"`
	// 工单id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 剩余次数
	LeftServiceCount int64 `json:"left_service_count,omitempty" xml:"left_service_count,omitempty"`
	// 主订单号
	ParentBizOrderId int64 `json:"parent_biz_order_id,omitempty" xml:"parent_biz_order_id,omitempty"`
	// 预约失败编码
	ReserveFailCode int64 `json:"reserve_fail_code,omitempty" xml:"reserve_fail_code,omitempty"`
	// 买家信息
	Buyer *Buyer `json:"buyer,omitempty" xml:"buyer,omitempty"`
	// 服务提供者
	ServiceProvider *ServiceProvider `json:"service_provider,omitempty" xml:"service_provider,omitempty"`
	// 实物订单信息
	MasterTradeOrder *MasterTradeOrder `json:"master_trade_order,omitempty" xml:"master_trade_order,omitempty"`
	// 服务定义
	ServiceDefinition *ServiceDefinition `json:"service_definition,omitempty" xml:"service_definition,omitempty"`
	// 核销/工单完结请求中直接带回该字段
	Sequence int64 `json:"sequence,omitempty" xml:"sequence,omitempty"`
	// 服务单id
	SpServiceOrderId int64 `json:"sp_service_order_id,omitempty" xml:"sp_service_order_id,omitempty"`
}

WorkcardDto 结构体

type WorkcardExtraChargeCreateTuple added in v1.2.5

type WorkcardExtraChargeCreateTuple struct {
	// 图片地址回传集合
	PicUrls []string `json:"pic_urls,omitempty" xml:"pic_urls>string,omitempty"`
	// 费用项名称
	ChargeItemName string `json:"charge_item_name,omitempty" xml:"charge_item_name,omitempty"`
	// 扩展字段
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 费用项单价(分)
	UnitPrice int64 `json:"unit_price,omitempty" xml:"unit_price,omitempty"`
	// 购买数量
	BuyAmount int64 `json:"buy_amount,omitempty" xml:"buy_amount,omitempty"`
}

WorkcardExtraChargeCreateTuple 结构体

type WorkcardOperationDto added in v1.2.9

type WorkcardOperationDto struct {
	// 修改时间
	GmtModify string `json:"gmt_modify,omitempty" xml:"gmt_modify,omitempty"`
	// 操作属性扩展字段
	AttributeMap string `json:"attribute_map,omitempty" xml:"attribute_map,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 操作人
	Operator string `json:"operator,omitempty" xml:"operator,omitempty"`
	// 动作描述
	Action string `json:"action,omitempty" xml:"action,omitempty"`
	// 操作人类型,1:买家,2:服务商,3:网点
	OperatorType int64 `json:"operator_type,omitempty" xml:"operator_type,omitempty"`
}

WorkcardOperationDto 结构体

type WorkcardRequestSource

type WorkcardRequestSource struct {
	// 入驻服务平台淘宝账号
	RealTpNick string `json:"real_tp_nick,omitempty" xml:"real_tp_nick,omitempty"`
	// 门店Code
	ServiceStoreCode string `json:"service_store_code,omitempty" xml:"service_store_code,omitempty"`
}

WorkcardRequestSource 结构体

type WorkerCreateDto added in v1.2.5

type WorkerCreateDto struct {
	// 工人ID
	WorkerId int64 `json:"worker_id,omitempty" xml:"worker_id,omitempty"`
}

WorkerCreateDto 结构体

type WorkerDto

type WorkerDto struct {
	// 1111
	ServiceAreas []DivisionDto `json:"service_areas,omitempty" xml:"service_areas>division_dto,omitempty"`
	// 11
	ServiceTypes []string `json:"service_types,omitempty" xml:"service_types>string,omitempty"`
	// 工人姓名
	RealName string `json:"real_name,omitempty" xml:"real_name,omitempty"`
	// 昵称
	NickName string `json:"nick_name,omitempty" xml:"nick_name,omitempty"`
	// 手机号码
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 省
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 区
	District string `json:"district,omitempty" xml:"district,omitempty"`
	// 镇
	Town string `json:"town,omitempty" xml:"town,omitempty"`
	// 详细地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 头像图片url
	ProfilePictureUrl string `json:"profile_picture_url,omitempty" xml:"profile_picture_url,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 111
	IdentityId string `json:"identity_id,omitempty" xml:"identity_id,omitempty"`
	// 11
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 1111
	ProviderName string `json:"provider_name,omitempty" xml:"provider_name,omitempty"`
	// 111
	RegisterTime string `json:"register_time,omitempty" xml:"register_time,omitempty"`
	// 1111
	WorkType string `json:"work_type,omitempty" xml:"work_type,omitempty"`
	// 111
	HandheldCardPic string `json:"handheld_card_pic,omitempty" xml:"handheld_card_pic,omitempty"`
	// 111
	Photo string `json:"photo,omitempty" xml:"photo,omitempty"`
	// 11
	IdCardPicBack string `json:"id_card_pic_back,omitempty" xml:"id_card_pic_back,omitempty"`
	// 11
	IdCardPic string `json:"id_card_pic,omitempty" xml:"id_card_pic,omitempty"`
	// 工人所属行业类型
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 覆盖的service_code列表,|隔开
	ServiceCodes string `json:"service_codes,omitempty" xml:"service_codes,omitempty"`
	// 工人支持的商品类目,格式:类目id1|类目id2
	CoverCategoryIds string `json:"cover_category_ids,omitempty" xml:"cover_category_ids,omitempty"`
	// 网点编码
	ServiceStoreCode string `json:"service_store_code,omitempty" xml:"service_store_code,omitempty"`
	// 工人ID
	WorkerId int64 `json:"worker_id,omitempty" xml:"worker_id,omitempty"`
	// 111
	ProviderId int64 `json:"provider_id,omitempty" xml:"provider_id,omitempty"`
}

WorkerDto 结构体

type WorkerQuitServiceStoreForTopReqDto added in v1.2.5

type WorkerQuitServiceStoreForTopReqDto struct {
	// 退出网点的工人身份证列表
	IdNumberList []string `json:"id_number_list,omitempty" xml:"id_number_list>string,omitempty"`
	// 网点编码
	ServiceStoreCode string `json:"service_store_code,omitempty" xml:"service_store_code,omitempty"`
}

WorkerQuitServiceStoreForTopReqDto 结构体

type WorkerRegisterForTopReqDto added in v1.2.5

type WorkerRegisterForTopReqDto struct {
	// 身份证
	IdNumber string `json:"id_number,omitempty" xml:"id_number,omitempty"`
	// 工人图像
	ProfilePictureUrl string `json:"profile_picture_url,omitempty" xml:"profile_picture_url,omitempty"`
	// 姓名
	RealName string `json:"real_name,omitempty" xml:"real_name,omitempty"`
	// 支付宝账号
	AlipayAccount string `json:"alipay_account,omitempty" xml:"alipay_account,omitempty"`
	// 详细地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 工人手机号
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 详细地址编码
	AddressId int64 `json:"address_id,omitempty" xml:"address_id,omitempty"`
	// 工人能力model
	WorkerServiceAbility *WorkerServiceAbility `json:"worker_service_ability,omitempty" xml:"worker_service_ability,omitempty"`
	// 工人加入网点model
	JoinedStore *JoinedStore `json:"joined_store,omitempty" xml:"joined_store,omitempty"`
}

WorkerRegisterForTopReqDto 结构体

type WorkerSaveForTopReqDto

type WorkerSaveForTopReqDto struct {
	// 身份证号码
	IdNumber string `json:"id_number,omitempty" xml:"id_number,omitempty"`
	// 用户地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 真实姓名
	RealName string `json:"real_name,omitempty" xml:"real_name,omitempty"`
	// 手机号
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 用户地址编码
	AddressId int64 `json:"address_id,omitempty" xml:"address_id,omitempty"`
	// 工人技能参数
	WorkerServiceAbility *WorkerServiceAbility `json:"worker_service_ability,omitempty" xml:"worker_service_ability,omitempty"`
	// 加入的网点参数
	JoinedStore *JoinedStore `json:"joined_store,omitempty" xml:"joined_store,omitempty"`
}

WorkerSaveForTopReqDto 结构体

type WorkerServiceAbility

type WorkerServiceAbility struct {
	// 服务区域
	AreaCodeList []int64 `json:"area_code_list,omitempty" xml:"area_code_list>int64,omitempty"`
	// 技能
	ServiceSkillList []string `json:"service_skill_list,omitempty" xml:"service_skill_list>string,omitempty"`
	// 身份证
	WorkerId int64 `json:"worker_id,omitempty" xml:"worker_id,omitempty"`
}

WorkerServiceAbility 结构体

type WorkerTag

type WorkerTag struct {
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 能力列表 key为能力,value则是对应能力的详细描述.  effective: 当前能力是否已经激活。  serviceCode: 工人具备的能力。  abilityLevel:  0: 没有等级,1: 初级工人  2: 中级工人  3:高级工人 4:特级工人
	AbilityMap string `json:"ability_map,omitempty" xml:"ability_map,omitempty"`
	// 工人能力
	ResultData *WorkerTag `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 黑名单状态
	BlackList bool `json:"black_list,omitempty" xml:"black_list,omitempty"`
	// 飞单状态
	Degradation bool `json:"degradation,omitempty" xml:"degradation,omitempty"`
	// vip工人
	Vip bool `json:"vip,omitempty" xml:"vip,omitempty"`
	// 大促工人
	BigPromotion bool `json:"big_promotion,omitempty" xml:"big_promotion,omitempty"`
}

WorkerTag 结构体

Source Files

Jump to

Keyboard shortcuts

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