tmallsc

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package tmallsc 包含天猫服务数据API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaDchainMiaoshifuCustomerComplaintsPutAPIRequest added in v1.2.0

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

AlibabaDchainMiaoshifuCustomerComplaintsPutAPIRequest 服务商工人客诉数据上传 API请求 alibaba.dchain.miaoshifu.customer.complaints.put

数字服务供应链平台提供给服务商上传工人客诉数据

func NewAlibabaDchainMiaoshifuCustomerComplaintsPutRequest

func NewAlibabaDchainMiaoshifuCustomerComplaintsPutRequest() *AlibabaDchainMiaoshifuCustomerComplaintsPutAPIRequest

NewAlibabaDchainMiaoshifuCustomerComplaintsPutRequest 初始化AlibabaDchainMiaoshifuCustomerComplaintsPutAPIRequest对象

func (AlibabaDchainMiaoshifuCustomerComplaintsPutAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaDchainMiaoshifuCustomerComplaintsPutAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaDchainMiaoshifuCustomerComplaintsPutAPIRequest) GetWorkerCustomerComplaintSaveCmd added in v1.2.0

GetWorkerCustomerComplaintSaveCmd WorkerCustomerComplaintSaveCmd Getter

func (*AlibabaDchainMiaoshifuCustomerComplaintsPutAPIRequest) SetWorkerCustomerComplaintSaveCmd added in v1.2.0

func (r *AlibabaDchainMiaoshifuCustomerComplaintsPutAPIRequest) SetWorkerCustomerComplaintSaveCmd(_workerCustomerComplaintSaveCmd *WorkerCustomerComplaintSaveCmd) error

SetWorkerCustomerComplaintSaveCmd is WorkerCustomerComplaintSaveCmd Setter 服务工人客诉对象

type AlibabaDchainMiaoshifuCustomerComplaintsPutAPIResponse

type AlibabaDchainMiaoshifuCustomerComplaintsPutAPIResponse struct {
	model.CommonResponse
	AlibabaDchainMiaoshifuCustomerComplaintsPutAPIResponseModel
}

AlibabaDchainMiaoshifuCustomerComplaintsPutAPIResponse 服务商工人客诉数据上传 API返回值 alibaba.dchain.miaoshifu.customer.complaints.put

数字服务供应链平台提供给服务商上传工人客诉数据

type AlibabaDchainMiaoshifuCustomerComplaintsPutAPIResponseModel added in v1.2.0

type AlibabaDchainMiaoshifuCustomerComplaintsPutAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_dchain_miaoshifu_customer_complaints_put_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 对外展示的错误信息
	DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
	// 错误码,异常返回码
	ResultErrorCode string `json:"result_error_code,omitempty" xml:"result_error_code,omitempty"`
	// 错误信息
	ResultErrorMsg string `json:"result_error_msg,omitempty" xml:"result_error_msg,omitempty"`
	// 客诉记录唯一标识ID
	ResultValue int64 `json:"result_value,omitempty" xml:"result_value,omitempty"`
	// 是否成功,true:成功,false失败,当未false时,result_value为null
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

AlibabaDchainMiaoshifuCustomerComplaintsPutAPIResponseModel is 服务商工人客诉数据上传 成功返回结果

type AlibabaServiceBillingQueryAPIRequest added in v1.2.0

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

AlibabaServiceBillingQueryAPIRequest 服务平台结算出账信息 API请求 alibaba.service.billing.query

服务平台结算单明细查询服务

func NewAlibabaServiceBillingQueryRequest

func NewAlibabaServiceBillingQueryRequest() *AlibabaServiceBillingQueryAPIRequest

NewAlibabaServiceBillingQueryRequest 初始化AlibabaServiceBillingQueryAPIRequest对象

func (AlibabaServiceBillingQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaServiceBillingQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaServiceBillingQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaServiceBillingQueryAPIRequest) GetGmtCreateEnd added in v1.2.0

func (r AlibabaServiceBillingQueryAPIRequest) GetGmtCreateEnd() string

GetGmtCreateEnd GmtCreateEnd Getter

func (AlibabaServiceBillingQueryAPIRequest) GetGmtCreateStart added in v1.2.0

func (r AlibabaServiceBillingQueryAPIRequest) GetGmtCreateStart() string

GetGmtCreateStart GmtCreateStart Getter

func (*AlibabaServiceBillingQueryAPIRequest) SetGmtCreateEnd added in v1.2.0

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

SetGmtCreateEnd is GmtCreateEnd Setter 账单查询结束时间,时间区间限制未15分钟。 格式示例 2019-03-26 17:15:28

func (*AlibabaServiceBillingQueryAPIRequest) SetGmtCreateStart added in v1.2.0

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

SetGmtCreateStart is GmtCreateStart Setter 账单查询开始时间。格式示例 2019-03-26 17:15:28

type AlibabaServiceBillingQueryAPIResponse

type AlibabaServiceBillingQueryAPIResponse struct {
	model.CommonResponse
	AlibabaServiceBillingQueryAPIResponseModel
}

AlibabaServiceBillingQueryAPIResponse 服务平台结算出账信息 API返回值 alibaba.service.billing.query

服务平台结算单明细查询服务

type AlibabaServiceBillingQueryAPIResponseModel added in v1.2.0

type AlibabaServiceBillingQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_service_billing_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结算明细查询结果
	SettlementDetailQueryResult *FulfilplatformResult `json:"settlement_detail_query_result,omitempty" xml:"settlement_detail_query_result,omitempty"`
}

AlibabaServiceBillingQueryAPIResponseModel is 服务平台结算出账信息 成功返回结果

type AlibabaServiceSettlementQueryAPIRequest added in v1.2.0

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

AlibabaServiceSettlementQueryAPIRequest 服务平台结算单明细查询服务 API请求 alibaba.service.settlement.query

给服务商提供结算单明细查询功能

func NewAlibabaServiceSettlementQueryRequest

func NewAlibabaServiceSettlementQueryRequest() *AlibabaServiceSettlementQueryAPIRequest

NewAlibabaServiceSettlementQueryRequest 初始化AlibabaServiceSettlementQueryAPIRequest对象

func (AlibabaServiceSettlementQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaServiceSettlementQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaServiceSettlementQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaServiceSettlementQueryAPIRequest) GetCurrentPage added in v1.2.0

GetCurrentPage CurrentPage Getter

func (AlibabaServiceSettlementQueryAPIRequest) GetGmtCreateEnd added in v1.2.0

func (r AlibabaServiceSettlementQueryAPIRequest) GetGmtCreateEnd() string

GetGmtCreateEnd GmtCreateEnd Getter

func (AlibabaServiceSettlementQueryAPIRequest) GetGmtCreateStart added in v1.2.0

func (r AlibabaServiceSettlementQueryAPIRequest) GetGmtCreateStart() string

GetGmtCreateStart GmtCreateStart Getter

func (AlibabaServiceSettlementQueryAPIRequest) GetGmtModifiedEnd added in v1.2.0

func (r AlibabaServiceSettlementQueryAPIRequest) GetGmtModifiedEnd() string

GetGmtModifiedEnd GmtModifiedEnd Getter

func (AlibabaServiceSettlementQueryAPIRequest) GetGmtModifiedStart added in v1.2.0

func (r AlibabaServiceSettlementQueryAPIRequest) GetGmtModifiedStart() string

GetGmtModifiedStart GmtModifiedStart Getter

func (AlibabaServiceSettlementQueryAPIRequest) GetMasterTradeOrderId added in v1.2.0

func (r AlibabaServiceSettlementQueryAPIRequest) GetMasterTradeOrderId() int64

GetMasterTradeOrderId MasterTradeOrderId Getter

func (AlibabaServiceSettlementQueryAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (AlibabaServiceSettlementQueryAPIRequest) GetParentTradeOrderId added in v1.2.0

func (r AlibabaServiceSettlementQueryAPIRequest) GetParentTradeOrderId() int64

GetParentTradeOrderId ParentTradeOrderId Getter

func (AlibabaServiceSettlementQueryAPIRequest) GetServiceOrderId added in v1.2.0

func (r AlibabaServiceSettlementQueryAPIRequest) GetServiceOrderId() int64

GetServiceOrderId ServiceOrderId Getter

func (AlibabaServiceSettlementQueryAPIRequest) GetServiceTradeOrderId added in v1.2.0

func (r AlibabaServiceSettlementQueryAPIRequest) GetServiceTradeOrderId() int64

GetServiceTradeOrderId ServiceTradeOrderId Getter

func (AlibabaServiceSettlementQueryAPIRequest) GetWorkcardId added in v1.2.0

GetWorkcardId WorkcardId Getter

func (*AlibabaServiceSettlementQueryAPIRequest) SetCurrentPage added in v1.2.0

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

SetCurrentPage is CurrentPage Setter 当前页面,开始值为1

func (*AlibabaServiceSettlementQueryAPIRequest) SetGmtCreateEnd added in v1.2.0

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

SetGmtCreateEnd is GmtCreateEnd Setter 账单查询结束时间,时间区间限制未15分钟。 格式示例 2019-03-26 17:15:28

func (*AlibabaServiceSettlementQueryAPIRequest) SetGmtCreateStart added in v1.2.0

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

SetGmtCreateStart is GmtCreateStart Setter 账单查询开始时间。格式示例 2019-03-26 17:15:28

func (*AlibabaServiceSettlementQueryAPIRequest) SetGmtModifiedEnd added in v1.2.0

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

SetGmtModifiedEnd is GmtModifiedEnd Setter 账单修改开始时间。

func (*AlibabaServiceSettlementQueryAPIRequest) SetGmtModifiedStart added in v1.2.0

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

SetGmtModifiedStart is GmtModifiedStart Setter 账单修改结束时间,时间区间限制未15分钟。

func (*AlibabaServiceSettlementQueryAPIRequest) SetMasterTradeOrderId added in v1.2.0

func (r *AlibabaServiceSettlementQueryAPIRequest) SetMasterTradeOrderId(_masterTradeOrderId int64) error

SetMasterTradeOrderId is MasterTradeOrderId Setter 交易实物订单号

func (*AlibabaServiceSettlementQueryAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 页面展示条数大小

func (*AlibabaServiceSettlementQueryAPIRequest) SetParentTradeOrderId added in v1.2.0

func (r *AlibabaServiceSettlementQueryAPIRequest) SetParentTradeOrderId(_parentTradeOrderId int64) error

SetParentTradeOrderId is ParentTradeOrderId Setter 交易主订单号码

func (*AlibabaServiceSettlementQueryAPIRequest) SetServiceOrderId added in v1.2.0

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

SetServiceOrderId is ServiceOrderId Setter 服务单号

func (*AlibabaServiceSettlementQueryAPIRequest) SetServiceTradeOrderId added in v1.2.0

func (r *AlibabaServiceSettlementQueryAPIRequest) SetServiceTradeOrderId(_serviceTradeOrderId int64) error

SetServiceTradeOrderId is ServiceTradeOrderId Setter 交易服务订单号

func (*AlibabaServiceSettlementQueryAPIRequest) SetWorkcardId added in v1.2.0

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

SetWorkcardId is WorkcardId Setter 工单ID

type AlibabaServiceSettlementQueryAPIResponse

type AlibabaServiceSettlementQueryAPIResponse struct {
	model.CommonResponse
	AlibabaServiceSettlementQueryAPIResponseModel
}

AlibabaServiceSettlementQueryAPIResponse 服务平台结算单明细查询服务 API返回值 alibaba.service.settlement.query

给服务商提供结算单明细查询功能

type AlibabaServiceSettlementQueryAPIResponseModel added in v1.2.0

type AlibabaServiceSettlementQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_service_settlement_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结算明细查询结果
	SettlementDetailQueryResult *FulfilplatformResult `json:"settlement_detail_query_result,omitempty" xml:"settlement_detail_query_result,omitempty"`
}

AlibabaServiceSettlementQueryAPIResponseModel is 服务平台结算单明细查询服务 成功返回结果

type BuyerRefuseAcceptRequest

type BuyerRefuseAcceptRequest struct {
	// 拒收备注
	RefuseMemo string `json:"refuse_memo,omitempty" xml:"refuse_memo,omitempty"`
	// 工单ID
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
}

BuyerRefuseAcceptRequest 结构体

type Datalist

type Datalist struct {
	// 入款方支付宝账号
	InUserAlipayAccountId string `json:"in_user_alipay_account_id,omitempty" xml:"in_user_alipay_account_id,omitempty"`
	// 货币类型 人民币(CNY)
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 账单ID
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 出款方nick
	OutUserNick string `json:"out_user_nick,omitempty" xml:"out_user_nick,omitempty"`
	// 触发本次打款的动作类型。serviceOrder-tradeSuccess: 商家扣款到中间账户;serviceOrder-cancel: 退款;huijin-commision: 门店抽佣;huijin-store-transfer: 转账给门店
	Action string `json:"action,omitempty" xml:"action,omitempty"`
	// 出款方支付宝账号
	OutUserAlipayAccountId string `json:"out_user_alipay_account_id,omitempty" xml:"out_user_alipay_account_id,omitempty"`
	// 入款方nick
	InUserNick string `json:"in_user_nick,omitempty" xml:"in_user_nick,omitempty"`
	// 卖家nick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 出款方用户角色 BUYER:买家 SELLER:卖家, STORE:门店, TP:服务商, PLATFORM:平台
	OutUserRole string `json:"out_user_role,omitempty" xml:"out_user_role,omitempty"`
	// 状态;销帐:FINISH ;未销账:ONGOING
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 门店Code
	ServiceStoreCode string `json:"service_store_code,omitempty" xml:"service_store_code,omitempty"`
	// 支付宝交易订单号
	AlipayOrderId string `json:"alipay_order_id,omitempty" xml:"alipay_order_id,omitempty"`
	// 入款方用户角色 BUYER:买家 SELLER:卖家, STORE:门店, TP:服务商, PLATFORM:平台
	InUserRole string `json:"in_user_role,omitempty" xml:"in_user_role,omitempty"`
	// 门店名称
	ServiceStoreName string `json:"service_store_name,omitempty" xml:"service_store_name,omitempty"`
	// 扩展信息;json格式
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 打款备注
	Comment string `json:"comment,omitempty" xml:"comment,omitempty"`
	// 工单ID
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
	// 工单多次作业时的批次号
	WorkcardSequence int64 `json:"workcard_sequence,omitempty" xml:"workcard_sequence,omitempty"`
	// 转帐金额,单位分
	TransferAmount int64 `json:"transfer_amount,omitempty" xml:"transfer_amount,omitempty"`
	// 交易服务子订单ID
	ServiceTradeOrderId int64 `json:"service_trade_order_id,omitempty" xml:"service_trade_order_id,omitempty"`
	// 交易实物订单号
	MasterTradeOrderId int64 `json:"master_trade_order_id,omitempty" xml:"master_trade_order_id,omitempty"`
	// 交易主订单号
	ParentTradeOrderId int64 `json:"parent_trade_order_id,omitempty" xml:"parent_trade_order_id,omitempty"`
	// 创建时间,单位毫秒
	PayTime int64 `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 创建时间,单位毫秒
	CreateTime int64 `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 服务单号
	ServiceOrderId int64 `json:"service_order_id,omitempty" xml:"service_order_id,omitempty"`
	// 门店Id
	ServiceStoreId int64 `json:"service_store_id,omitempty" xml:"service_store_id,omitempty"`
}

Datalist 结构体

type FulfilplatformResult

type FulfilplatformResult struct {
	// 结算明细list
	ResultDatas []Resultdata `json:"result_datas,omitempty" xml:"result_datas>resultdata,omitempty"`
	// 错误描述
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 每页数据信息
	ResultData *PagedResult `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// true:成功;false:失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

FulfilplatformResult 结构体

type IdentifyTaskDeliveryRequest

type IdentifyTaskDeliveryRequest struct {
	// 配送地纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 配送地经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 工单ID
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
}

IdentifyTaskDeliveryRequest 结构体

type PagedResult

type PagedResult struct {
	// 结算明细list
	DataList []Datalist `json:"data_list,omitempty" xml:"data_list>datalist,omitempty"`
	// 总条数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 每页条数
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

PagedResult 结构体

type ReserveOpenConditionDelDto

type ReserveOpenConditionDelDto struct {
	// 服务code
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 区域集合ids
	AreaIds string `json:"area_ids,omitempty" xml:"area_ids,omitempty"`
	// 城市id
	CityId int64 `json:"city_id,omitempty" xml:"city_id,omitempty"`
	// 类目id
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 品牌id
	BrandId int64 `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 省份id
	ProvinceId int64 `json:"province_id,omitempty" xml:"province_id,omitempty"`
}

ReserveOpenConditionDelDto 结构体

type ReserveOpenConditionDto added in v1.2.0

type ReserveOpenConditionDto struct {
	// 服务code
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 排除的区域id
	ExcludeAreaIds string `json:"exclude_area_ids,omitempty" xml:"exclude_area_ids,omitempty"`
	// 区域ids集合
	AreaIds string `json:"area_ids,omitempty" xml:"area_ids,omitempty"`
	// 类目id
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 品牌id
	BrandId int64 `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 城市id
	CityId int64 `json:"city_id,omitempty" xml:"city_id,omitempty"`
	// 身份id
	ProvinceId int64 `json:"province_id,omitempty" xml:"province_id,omitempty"`
}

ReserveOpenConditionDto 结构体

type ResultBase

type ResultBase struct {
	// gmtModified
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// gmtCreate
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// value
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,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 {
	// 账单ID
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 卖家nick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 支付宝交易订单号
	AlipayOrderId string `json:"alipay_order_id,omitempty" xml:"alipay_order_id,omitempty"`
	// 门店Code
	ServiceStoreCode string `json:"service_store_code,omitempty" xml:"service_store_code,omitempty"`
	// 门店名称
	ServiceStoreName string `json:"service_store_name,omitempty" xml:"service_store_name,omitempty"`
	// 打款备注
	Comment string `json:"comment,omitempty" xml:"comment,omitempty"`
	// 货币类型 人民币(CNY)
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 入款方支付宝账号
	InUserAlipayAccountId string `json:"in_user_alipay_account_id,omitempty" xml:"in_user_alipay_account_id,omitempty"`
	// 状态;销帐:FINISH ;未销账:ONGOING
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 入款方nick
	InUserNick string `json:"in_user_nick,omitempty" xml:"in_user_nick,omitempty"`
	// 入款方用户角色 BUYER:买家 SELLER:卖家, STORE:门店, TP:服务商, PLATFORM:平台
	InUserRole string `json:"in_user_role,omitempty" xml:"in_user_role,omitempty"`
	// 出款方支付宝账号
	OutUserAlipayAccountId string `json:"out_user_alipay_account_id,omitempty" xml:"out_user_alipay_account_id,omitempty"`
	// 出款方nick
	OutUserNick string `json:"out_user_nick,omitempty" xml:"out_user_nick,omitempty"`
	// 入款方用户角色 BUYER:买家 SELLER:卖家, STORE:门店, TP:服务商, PLATFORM:平台
	OutUserRole string `json:"out_user_role,omitempty" xml:"out_user_role,omitempty"`
	// 扩展信息;json格式
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 触发本次打款的动作类型。serviceOrder-tradeSuccess: 商家扣款到中间账户;serviceOrder-cancel: 退款;huijin-commision: 门店抽佣;huijin-store-transfer: 转账给门店
	Action string `json:"action,omitempty" xml:"action,omitempty"`
	// 服务单号
	ServiceOrderId int64 `json:"service_order_id,omitempty" xml:"service_order_id,omitempty"`
	// 工单ID
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
	// 工单多次作业时的批次号
	WorkcardSequence int64 `json:"workcard_sequence,omitempty" xml:"workcard_sequence,omitempty"`
	// 交易主订单号
	ParentTradeOrderId int64 `json:"parent_trade_order_id,omitempty" xml:"parent_trade_order_id,omitempty"`
	// 交易实物订单号
	MasterTradeOrderId int64 `json:"master_trade_order_id,omitempty" xml:"master_trade_order_id,omitempty"`
	// 交易服务订单号
	ServiceTradeOrderId int64 `json:"service_trade_order_id,omitempty" xml:"service_trade_order_id,omitempty"`
	// 门店id
	ServiceStoreId int64 `json:"service_store_id,omitempty" xml:"service_store_id,omitempty"`
	// 转帐金额,单位分
	TransferAmount int64 `json:"transfer_amount,omitempty" xml:"transfer_amount,omitempty"`
	// 创建时间,单位毫秒
	CreateTime int64 `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 打款时间,单位毫秒
	PayTime int64 `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
}

Resultdata 结构体

type TmallServicecenterAnomalyrecourseRemarkUpdateAPIRequest added in v1.2.0

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

TmallServicecenterAnomalyrecourseRemarkUpdateAPIRequest 天猫服务平台一键求助单服务商备注更新接口 API请求 tmall.servicecenter.anomalyrecourse.remark.update

一键求助服务商可以回传备注

func NewTmallServicecenterAnomalyrecourseRemarkUpdateRequest

func NewTmallServicecenterAnomalyrecourseRemarkUpdateRequest() *TmallServicecenterAnomalyrecourseRemarkUpdateAPIRequest

NewTmallServicecenterAnomalyrecourseRemarkUpdateRequest 初始化TmallServicecenterAnomalyrecourseRemarkUpdateAPIRequest对象

func (TmallServicecenterAnomalyrecourseRemarkUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServicecenterAnomalyrecourseRemarkUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServicecenterAnomalyrecourseRemarkUpdateAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (TmallServicecenterAnomalyrecourseRemarkUpdateAPIRequest) GetRemark added in v1.2.0

GetRemark Remark Getter

func (*TmallServicecenterAnomalyrecourseRemarkUpdateAPIRequest) SetId added in v1.2.0

SetId is Id Setter 需要更新的一键求助单id

func (*TmallServicecenterAnomalyrecourseRemarkUpdateAPIRequest) SetRemark added in v1.2.0

SetRemark is Remark Setter 需要更新的服务商备注

type TmallServicecenterAnomalyrecourseRemarkUpdateAPIResponse

type TmallServicecenterAnomalyrecourseRemarkUpdateAPIResponse struct {
	model.CommonResponse
	TmallServicecenterAnomalyrecourseRemarkUpdateAPIResponseModel
}

TmallServicecenterAnomalyrecourseRemarkUpdateAPIResponse 天猫服务平台一键求助单服务商备注更新接口 API返回值 tmall.servicecenter.anomalyrecourse.remark.update

一键求助服务商可以回传备注

type TmallServicecenterAnomalyrecourseRemarkUpdateAPIResponseModel added in v1.2.0

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

TmallServicecenterAnomalyrecourseRemarkUpdateAPIResponseModel is 天猫服务平台一键求助单服务商备注更新接口 成功返回结果

type TmallServicecenterAnomalyrecourseSearchAPIRequest added in v1.2.0

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

TmallServicecenterAnomalyrecourseSearchAPIRequest 天猫服务平台服务商一键求助单查询 API请求 tmall.servicecenter.anomalyrecourse.search

天猫服务平台服务商一键求助单查询

func NewTmallServicecenterAnomalyrecourseSearchRequest

func NewTmallServicecenterAnomalyrecourseSearchRequest() *TmallServicecenterAnomalyrecourseSearchAPIRequest

NewTmallServicecenterAnomalyrecourseSearchRequest 初始化TmallServicecenterAnomalyrecourseSearchAPIRequest对象

func (TmallServicecenterAnomalyrecourseSearchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServicecenterAnomalyrecourseSearchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServicecenterAnomalyrecourseSearchAPIRequest) GetEnd added in v1.2.0

GetEnd End Getter

func (TmallServicecenterAnomalyrecourseSearchAPIRequest) GetStart added in v1.2.0

GetStart Start Getter

func (*TmallServicecenterAnomalyrecourseSearchAPIRequest) SetEnd added in v1.2.0

SetEnd is End Setter 结束时间

func (*TmallServicecenterAnomalyrecourseSearchAPIRequest) SetStart added in v1.2.0

SetStart is Start Setter 开始时间

type TmallServicecenterAnomalyrecourseSearchAPIResponse

type TmallServicecenterAnomalyrecourseSearchAPIResponse struct {
	model.CommonResponse
	TmallServicecenterAnomalyrecourseSearchAPIResponseModel
}

TmallServicecenterAnomalyrecourseSearchAPIResponse 天猫服务平台服务商一键求助单查询 API返回值 tmall.servicecenter.anomalyrecourse.search

天猫服务平台服务商一键求助单查询

type TmallServicecenterAnomalyrecourseSearchAPIResponseModel added in v1.2.0

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

TmallServicecenterAnomalyrecourseSearchAPIResponseModel is 天猫服务平台服务商一键求助单查询 成功返回结果

type TmallServicecenterReservecondCreateAPIRequest added in v1.2.0

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

TmallServicecenterReservecondCreateAPIRequest 创建主动预约开通条件 API请求 tmall.servicecenter.reservecond.create

1、设置主动预约开通条件

func NewTmallServicecenterReservecondCreateRequest

func NewTmallServicecenterReservecondCreateRequest() *TmallServicecenterReservecondCreateAPIRequest

NewTmallServicecenterReservecondCreateRequest 初始化TmallServicecenterReservecondCreateAPIRequest对象

func (TmallServicecenterReservecondCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServicecenterReservecondCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServicecenterReservecondCreateAPIRequest) GetRocList added in v1.2.0

GetRocList RocList Getter

func (*TmallServicecenterReservecondCreateAPIRequest) SetRocList added in v1.2.0

SetRocList is RocList Setter 主动预约开通条件

type TmallServicecenterReservecondCreateAPIResponse

type TmallServicecenterReservecondCreateAPIResponse struct {
	model.CommonResponse
	TmallServicecenterReservecondCreateAPIResponseModel
}

TmallServicecenterReservecondCreateAPIResponse 创建主动预约开通条件 API返回值 tmall.servicecenter.reservecond.create

1、设置主动预约开通条件

type TmallServicecenterReservecondCreateAPIResponseModel added in v1.2.0

type TmallServicecenterReservecondCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_reservecond_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 返回code
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 是否成功
	MsgSuccess bool `json:"msg_success,omitempty" xml:"msg_success,omitempty"`
}

TmallServicecenterReservecondCreateAPIResponseModel is 创建主动预约开通条件 成功返回结果

type TmallServicecenterReservecondDeleteAPIRequest added in v1.2.0

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

TmallServicecenterReservecondDeleteAPIRequest 删除主动预约开通条件 API请求 tmall.servicecenter.reservecond.delete

删除主动预约开通条件

func NewTmallServicecenterReservecondDeleteRequest

func NewTmallServicecenterReservecondDeleteRequest() *TmallServicecenterReservecondDeleteAPIRequest

NewTmallServicecenterReservecondDeleteRequest 初始化TmallServicecenterReservecondDeleteAPIRequest对象

func (TmallServicecenterReservecondDeleteAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServicecenterReservecondDeleteAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServicecenterReservecondDeleteAPIRequest) GetReserveOpenConditionDelDto added in v1.2.0

GetReserveOpenConditionDelDto ReserveOpenConditionDelDto Getter

func (*TmallServicecenterReservecondDeleteAPIRequest) SetReserveOpenConditionDelDto added in v1.2.0

func (r *TmallServicecenterReservecondDeleteAPIRequest) SetReserveOpenConditionDelDto(_reserveOpenConditionDelDto *ReserveOpenConditionDelDto) error

SetReserveOpenConditionDelDto is ReserveOpenConditionDelDto Setter 主动预约条件删除

type TmallServicecenterReservecondDeleteAPIResponse

type TmallServicecenterReservecondDeleteAPIResponse struct {
	model.CommonResponse
	TmallServicecenterReservecondDeleteAPIResponseModel
}

TmallServicecenterReservecondDeleteAPIResponse 删除主动预约开通条件 API返回值 tmall.servicecenter.reservecond.delete

删除主动预约开通条件

type TmallServicecenterReservecondDeleteAPIResponseModel added in v1.2.0

type TmallServicecenterReservecondDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_reservecond_delete_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"`
	// 是否成功
	MsgSuccess bool `json:"msg_success,omitempty" xml:"msg_success,omitempty"`
}

TmallServicecenterReservecondDeleteAPIResponseModel is 删除主动预约开通条件 成功返回结果

type TmallServicecenterReservecondUpdateAPIRequest added in v1.2.0

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

TmallServicecenterReservecondUpdateAPIRequest 主动预约条件更新 API请求 tmall.servicecenter.reservecond.update

1、设置主动预约开通条件

func NewTmallServicecenterReservecondUpdateRequest

func NewTmallServicecenterReservecondUpdateRequest() *TmallServicecenterReservecondUpdateAPIRequest

NewTmallServicecenterReservecondUpdateRequest 初始化TmallServicecenterReservecondUpdateAPIRequest对象

func (TmallServicecenterReservecondUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServicecenterReservecondUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServicecenterReservecondUpdateAPIRequest) GetRocList added in v1.2.0

GetRocList RocList Getter

func (*TmallServicecenterReservecondUpdateAPIRequest) SetRocList added in v1.2.0

SetRocList is RocList Setter 主动预约开通条件

type TmallServicecenterReservecondUpdateAPIResponse

type TmallServicecenterReservecondUpdateAPIResponse struct {
	model.CommonResponse
	TmallServicecenterReservecondUpdateAPIResponseModel
}

TmallServicecenterReservecondUpdateAPIResponse 主动预约条件更新 API返回值 tmall.servicecenter.reservecond.update

1、设置主动预约开通条件

type TmallServicecenterReservecondUpdateAPIResponseModel added in v1.2.0

type TmallServicecenterReservecondUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_reservecond_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 返回code
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 是否成功
	MsgSuccess bool `json:"msg_success,omitempty" xml:"msg_success,omitempty"`
}

TmallServicecenterReservecondUpdateAPIResponseModel is 主动预约条件更新 成功返回结果

type TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest added in v1.2.0

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

TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest 新增网点容量 API请求 tmall.servicecenter.servicestore.createservicestorecapacity

新增网点容量,唯一性校验:服务商淘宝账号+网点编码+biz_type 前提是网点要存在, 如果需要新增的网点容量已存在,会新增失败。 网点容量包含了业务类型(比如电器预约安装)、天猫服务的servicecode列表、类目区域和容量

func NewTmallServicecenterServicestoreCreateservicestorecapacityRequest

func NewTmallServicecenterServicestoreCreateservicestorecapacityRequest() *TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest

NewTmallServicecenterServicestoreCreateservicestorecapacityRequest 初始化TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest对象

func (TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest) GetBizType added in v1.2.0

GetBizType BizType Getter

func (TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest) GetCategoryIdsAndAreaCodesAndCapacity added in v1.2.0

func (r TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest) GetCategoryIdsAndAreaCodesAndCapacity() string

GetCategoryIdsAndAreaCodesAndCapacity CategoryIdsAndAreaCodesAndCapacity Getter

func (TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest) GetServiceCodes added in v1.2.0

GetServiceCodes ServiceCodes Getter

func (TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest) GetServiceStoreCode added in v1.2.0

GetServiceStoreCode ServiceStoreCode Getter

func (*TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest) SetBizType added in v1.2.0

SetBizType is BizType Setter 业务类型

func (*TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest) SetCategoryIdsAndAreaCodesAndCapacity added in v1.2.0

func (r *TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest) SetCategoryIdsAndAreaCodesAndCapacity(_categoryIdsAndAreaCodesAndCapacity string) error

SetCategoryIdsAndAreaCodesAndCapacity is CategoryIdsAndAreaCodesAndCapacity Setter json格式,在某个业务类型(biz_type)下,类目所覆盖区域对应的容量。一个网点承接了空调和热水器的安装, 空调覆盖的区域是杭州市上城区和下城区,容量是10; 热水器覆盖的区域是杭州市下城区和江干区,容量是18;洗衣机和冰箱覆盖区域一样都是杭州市上城区和西湖区,合并计算容量30

func (*TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest) SetServiceCodes added in v1.2.0

SetServiceCodes is ServiceCodes Setter serviceCodes列表,|分隔

func (*TmallServicecenterServicestoreCreateservicestorecapacityAPIRequest) SetServiceStoreCode added in v1.2.0

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

SetServiceStoreCode is ServiceStoreCode Setter 网点编码

type TmallServicecenterServicestoreCreateservicestorecapacityAPIResponse

type TmallServicecenterServicestoreCreateservicestorecapacityAPIResponse struct {
	model.CommonResponse
	TmallServicecenterServicestoreCreateservicestorecapacityAPIResponseModel
}

TmallServicecenterServicestoreCreateservicestorecapacityAPIResponse 新增网点容量 API返回值 tmall.servicecenter.servicestore.createservicestorecapacity

新增网点容量,唯一性校验:服务商淘宝账号+网点编码+biz_type 前提是网点要存在, 如果需要新增的网点容量已存在,会新增失败。 网点容量包含了业务类型(比如电器预约安装)、天猫服务的servicecode列表、类目区域和容量

type TmallServicecenterServicestoreCreateservicestorecapacityAPIResponseModel added in v1.2.0

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

TmallServicecenterServicestoreCreateservicestorecapacityAPIResponseModel is 新增网点容量 成功返回结果

type TmallServicecenterServicestoreCreateservicestorecoverserviceAPIRequest added in v1.2.0

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

TmallServicecenterServicestoreCreateservicestorecoverserviceAPIRequest 新增网点覆盖的服务 API请求 tmall.servicecenter.servicestore.createservicestorecoverservice

新增网点覆盖的服务,唯一性校验:服务商淘宝账号+网点编码+biz_type 前提是网点要存在, 如果需要新增的网点覆盖的服务已存在,会新增失败。 网点覆盖的服务包含了业务类型(比如电器预约安装)、天猫服务的servicecode列表、授权的类目和品牌

func NewTmallServicecenterServicestoreCreateservicestorecoverserviceRequest

func NewTmallServicecenterServicestoreCreateservicestorecoverserviceRequest() *TmallServicecenterServicestoreCreateservicestorecoverserviceAPIRequest

NewTmallServicecenterServicestoreCreateservicestorecoverserviceRequest 初始化TmallServicecenterServicestoreCreateservicestorecoverserviceAPIRequest对象

func (TmallServicecenterServicestoreCreateservicestorecoverserviceAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServicecenterServicestoreCreateservicestorecoverserviceAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServicecenterServicestoreCreateservicestorecoverserviceAPIRequest) GetBizType added in v1.2.0

GetBizType BizType Getter

func (TmallServicecenterServicestoreCreateservicestorecoverserviceAPIRequest) GetCategoryIdsAndBrandIds added in v1.2.0

GetCategoryIdsAndBrandIds CategoryIdsAndBrandIds Getter

func (TmallServicecenterServicestoreCreateservicestorecoverserviceAPIRequest) GetServiceCodes added in v1.2.0

GetServiceCodes ServiceCodes Getter

func (TmallServicecenterServicestoreCreateservicestorecoverserviceAPIRequest) GetServiceStoreCode added in v1.2.0

GetServiceStoreCode ServiceStoreCode Getter

func (*TmallServicecenterServicestoreCreateservicestorecoverserviceAPIRequest) SetBizType added in v1.2.0

SetBizType is BizType Setter 业务类型

func (*TmallServicecenterServicestoreCreateservicestorecoverserviceAPIRequest) SetCategoryIdsAndBrandIds added in v1.2.0

func (r *TmallServicecenterServicestoreCreateservicestorecoverserviceAPIRequest) SetCategoryIdsAndBrandIds(_categoryIdsAndBrandIds string) error

SetCategoryIdsAndBrandIds is CategoryIdsAndBrandIds Setter json格式,在某个业务类型(biz_type)下类目和品牌的授权关系,比如空调授权了格力和美的,热水器授权了美的和林内,洗衣机和冰箱都授权了美的和松下

func (*TmallServicecenterServicestoreCreateservicestorecoverserviceAPIRequest) SetServiceCodes added in v1.2.0

SetServiceCodes is ServiceCodes Setter serviceCodes列表,|分隔

func (*TmallServicecenterServicestoreCreateservicestorecoverserviceAPIRequest) SetServiceStoreCode added in v1.2.0

SetServiceStoreCode is ServiceStoreCode Setter 网点编码

type TmallServicecenterServicestoreCreateservicestorecoverserviceAPIResponse

type TmallServicecenterServicestoreCreateservicestorecoverserviceAPIResponse struct {
	model.CommonResponse
	TmallServicecenterServicestoreCreateservicestorecoverserviceAPIResponseModel
}

TmallServicecenterServicestoreCreateservicestorecoverserviceAPIResponse 新增网点覆盖的服务 API返回值 tmall.servicecenter.servicestore.createservicestorecoverservice

新增网点覆盖的服务,唯一性校验:服务商淘宝账号+网点编码+biz_type 前提是网点要存在, 如果需要新增的网点覆盖的服务已存在,会新增失败。 网点覆盖的服务包含了业务类型(比如电器预约安装)、天猫服务的servicecode列表、授权的类目和品牌

type TmallServicecenterServicestoreCreateservicestorecoverserviceAPIResponseModel added in v1.2.0

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

TmallServicecenterServicestoreCreateservicestorecoverserviceAPIResponseModel is 新增网点覆盖的服务 成功返回结果

type TmallServicecenterServicestoreDeleteservicestorecapacityAPIRequest added in v1.2.0

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

TmallServicecenterServicestoreDeleteservicestorecapacityAPIRequest 删除网点容量 API请求 tmall.servicecenter.servicestore.deleteservicestorecapacity

删除网点覆盖的服务,无法恢复,如果只是暂时屏蔽网点的某个能力,可以将此能力对应的网点容量的capacity字段更新为0 必选字段:serviceStoreCode、bizType

func NewTmallServicecenterServicestoreDeleteservicestorecapacityRequest

func NewTmallServicecenterServicestoreDeleteservicestorecapacityRequest() *TmallServicecenterServicestoreDeleteservicestorecapacityAPIRequest

NewTmallServicecenterServicestoreDeleteservicestorecapacityRequest 初始化TmallServicecenterServicestoreDeleteservicestorecapacityAPIRequest对象

func (TmallServicecenterServicestoreDeleteservicestorecapacityAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServicecenterServicestoreDeleteservicestorecapacityAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServicecenterServicestoreDeleteservicestorecapacityAPIRequest) GetBizType added in v1.2.0

GetBizType BizType Getter

func (TmallServicecenterServicestoreDeleteservicestorecapacityAPIRequest) GetServiceStoreCode added in v1.2.0

GetServiceStoreCode ServiceStoreCode Getter

func (*TmallServicecenterServicestoreDeleteservicestorecapacityAPIRequest) SetBizType added in v1.2.0

SetBizType is BizType Setter 业务类型

func (*TmallServicecenterServicestoreDeleteservicestorecapacityAPIRequest) SetServiceStoreCode added in v1.2.0

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

SetServiceStoreCode is ServiceStoreCode Setter 网点编码

type TmallServicecenterServicestoreDeleteservicestorecapacityAPIResponse

type TmallServicecenterServicestoreDeleteservicestorecapacityAPIResponse struct {
	model.CommonResponse
	TmallServicecenterServicestoreDeleteservicestorecapacityAPIResponseModel
}

TmallServicecenterServicestoreDeleteservicestorecapacityAPIResponse 删除网点容量 API返回值 tmall.servicecenter.servicestore.deleteservicestorecapacity

删除网点覆盖的服务,无法恢复,如果只是暂时屏蔽网点的某个能力,可以将此能力对应的网点容量的capacity字段更新为0 必选字段:serviceStoreCode、bizType

type TmallServicecenterServicestoreDeleteservicestorecapacityAPIResponseModel added in v1.2.0

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

TmallServicecenterServicestoreDeleteservicestorecapacityAPIResponseModel is 删除网点容量 成功返回结果

type TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest added in v1.2.0

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

TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest 更新网点容量 API请求 tmall.servicecenter.servicestore.updateservicestorecapacity

更新网点容量,唯一性校验:服务商淘宝账号+网点编码+biz_type 前提是网点要存在, 如果需要更新的网点容量不存在,会更新失败。 网点容量包含了业务类型(比如电器预约安装)、天猫服务的servicecode列表、类目区域和容量

func NewTmallServicecenterServicestoreUpdateservicestorecapacityRequest

func NewTmallServicecenterServicestoreUpdateservicestorecapacityRequest() *TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest

NewTmallServicecenterServicestoreUpdateservicestorecapacityRequest 初始化TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest对象

func (TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest) GetBizType added in v1.2.0

GetBizType BizType Getter

func (TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest) GetCategoryIdsAndAreaCodesAndCapacity added in v1.2.0

func (r TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest) GetCategoryIdsAndAreaCodesAndCapacity() string

GetCategoryIdsAndAreaCodesAndCapacity CategoryIdsAndAreaCodesAndCapacity Getter

func (TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest) GetServiceCodes added in v1.2.0

GetServiceCodes ServiceCodes Getter

func (TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest) GetServiceStoreCode added in v1.2.0

GetServiceStoreCode ServiceStoreCode Getter

func (*TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest) SetBizType added in v1.2.0

SetBizType is BizType Setter 业务类型

func (*TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest) SetCategoryIdsAndAreaCodesAndCapacity added in v1.2.0

func (r *TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest) SetCategoryIdsAndAreaCodesAndCapacity(_categoryIdsAndAreaCodesAndCapacity string) error

SetCategoryIdsAndAreaCodesAndCapacity is CategoryIdsAndAreaCodesAndCapacity Setter json格式,在某个业务类型(biz_type)下,类目所覆盖区域对应的容量。一个网点承接了空调和热水器的安装, 空调覆盖的区域是杭州市上城区和下城区,容量是10; 热水器覆盖的区域是杭州市下城区和江干区,容量是18;洗衣机和冰箱覆盖区域一样都是杭州市上城区和西湖区,合并计算容量30

func (*TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest) SetServiceCodes added in v1.2.0

SetServiceCodes is ServiceCodes Setter serviceCodes列表,|分隔

func (*TmallServicecenterServicestoreUpdateservicestorecapacityAPIRequest) SetServiceStoreCode added in v1.2.0

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

SetServiceStoreCode is ServiceStoreCode Setter 网点编码

type TmallServicecenterServicestoreUpdateservicestorecapacityAPIResponse

type TmallServicecenterServicestoreUpdateservicestorecapacityAPIResponse struct {
	model.CommonResponse
	TmallServicecenterServicestoreUpdateservicestorecapacityAPIResponseModel
}

TmallServicecenterServicestoreUpdateservicestorecapacityAPIResponse 更新网点容量 API返回值 tmall.servicecenter.servicestore.updateservicestorecapacity

更新网点容量,唯一性校验:服务商淘宝账号+网点编码+biz_type 前提是网点要存在, 如果需要更新的网点容量不存在,会更新失败。 网点容量包含了业务类型(比如电器预约安装)、天猫服务的servicecode列表、类目区域和容量

type TmallServicecenterServicestoreUpdateservicestorecapacityAPIResponseModel added in v1.2.0

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

TmallServicecenterServicestoreUpdateservicestorecapacityAPIResponseModel is 更新网点容量 成功返回结果

type TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIRequest added in v1.2.0

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

TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIRequest 更新网点覆盖的服务 API请求 tmall.servicecenter.servicestore.updateservicestorecoverservice

更新网点覆盖的服务,唯一性校验:服务商淘宝账号+网点编码+biz_type 前提是网点要存在, 如果需要新增的网点覆盖的服务不存在,会更新失败。 网点覆盖的服务包含了业务类型(比如电器预约安装)、天猫服务的servicecode列表、授权的类目和品牌

func NewTmallServicecenterServicestoreUpdateservicestorecoverserviceRequest

func NewTmallServicecenterServicestoreUpdateservicestorecoverserviceRequest() *TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIRequest

NewTmallServicecenterServicestoreUpdateservicestorecoverserviceRequest 初始化TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIRequest对象

func (TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIRequest) GetBizType added in v1.2.0

GetBizType BizType Getter

func (TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIRequest) GetCategoryIdsAndBrandIds added in v1.2.0

GetCategoryIdsAndBrandIds CategoryIdsAndBrandIds Getter

func (TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIRequest) GetServiceCodes added in v1.2.0

GetServiceCodes ServiceCodes Getter

func (TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIRequest) GetServiceStoreCode added in v1.2.0

GetServiceStoreCode ServiceStoreCode Getter

func (*TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIRequest) SetBizType added in v1.2.0

SetBizType is BizType Setter 业务类型

func (*TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIRequest) SetCategoryIdsAndBrandIds added in v1.2.0

func (r *TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIRequest) SetCategoryIdsAndBrandIds(_categoryIdsAndBrandIds string) error

SetCategoryIdsAndBrandIds is CategoryIdsAndBrandIds Setter json格式,在某个业务类型(biz_type)下类目和品牌的授权关系,比如空调授权了格力和美的,热水器授权了美的和林内,洗衣机和冰箱都授权了美的和松下

func (*TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIRequest) SetServiceCodes added in v1.2.0

SetServiceCodes is ServiceCodes Setter serviceCodes列表,|分隔

func (*TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIRequest) SetServiceStoreCode added in v1.2.0

SetServiceStoreCode is ServiceStoreCode Setter 网点编码

type TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIResponse

type TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIResponse struct {
	model.CommonResponse
	TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIResponseModel
}

TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIResponse 更新网点覆盖的服务 API返回值 tmall.servicecenter.servicestore.updateservicestorecoverservice

更新网点覆盖的服务,唯一性校验:服务商淘宝账号+网点编码+biz_type 前提是网点要存在, 如果需要新增的网点覆盖的服务不存在,会更新失败。 网点覆盖的服务包含了业务类型(比如电器预约安装)、天猫服务的servicecode列表、授权的类目和品牌

type TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIResponseModel added in v1.2.0

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

TmallServicecenterServicestoreUpdateservicestorecoverserviceAPIResponseModel is 更新网点覆盖的服务 成功返回结果

type TmallServicecenterWorkcardDeliveryAPIRequest added in v1.2.0

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

TmallServicecenterWorkcardDeliveryAPIRequest 开始配送工单 API请求 tmall.servicecenter.workcard.delivery

服务商调用该接口通知天猫服务平台服务商工人已开始配送工单

func NewTmallServicecenterWorkcardDeliveryRequest

func NewTmallServicecenterWorkcardDeliveryRequest() *TmallServicecenterWorkcardDeliveryAPIRequest

NewTmallServicecenterWorkcardDeliveryRequest 初始化TmallServicecenterWorkcardDeliveryAPIRequest对象

func (TmallServicecenterWorkcardDeliveryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServicecenterWorkcardDeliveryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServicecenterWorkcardDeliveryAPIRequest) GetIdentifyTaskDeliveryRequest added in v1.2.0

GetIdentifyTaskDeliveryRequest IdentifyTaskDeliveryRequest Getter

func (*TmallServicecenterWorkcardDeliveryAPIRequest) SetIdentifyTaskDeliveryRequest added in v1.2.0

func (r *TmallServicecenterWorkcardDeliveryAPIRequest) SetIdentifyTaskDeliveryRequest(_identifyTaskDeliveryRequest *IdentifyTaskDeliveryRequest) error

SetIdentifyTaskDeliveryRequest is IdentifyTaskDeliveryRequest Setter 工单配送请求参数

type TmallServicecenterWorkcardDeliveryAPIResponse

type TmallServicecenterWorkcardDeliveryAPIResponse struct {
	model.CommonResponse
	TmallServicecenterWorkcardDeliveryAPIResponseModel
}

TmallServicecenterWorkcardDeliveryAPIResponse 开始配送工单 API返回值 tmall.servicecenter.workcard.delivery

服务商调用该接口通知天猫服务平台服务商工人已开始配送工单

type TmallServicecenterWorkcardDeliveryAPIResponseModel added in v1.2.0

type TmallServicecenterWorkcardDeliveryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_workcard_delivery_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回信息
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 返回code
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 是否成功
	MsgSuccess bool `json:"msg_success,omitempty" xml:"msg_success,omitempty"`
}

TmallServicecenterWorkcardDeliveryAPIResponseModel is 开始配送工单 成功返回结果

type TmallServicecenterWorkcardRefuseAPIRequest added in v1.2.0

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

TmallServicecenterWorkcardRefuseAPIRequest 买家拒收 API请求 tmall.servicecenter.workcard.refuse

买家拒收通知接口

func NewTmallServicecenterWorkcardRefuseRequest

func NewTmallServicecenterWorkcardRefuseRequest() *TmallServicecenterWorkcardRefuseAPIRequest

NewTmallServicecenterWorkcardRefuseRequest 初始化TmallServicecenterWorkcardRefuseAPIRequest对象

func (TmallServicecenterWorkcardRefuseAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServicecenterWorkcardRefuseAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServicecenterWorkcardRefuseAPIRequest) GetBuyerRefuseAcceptRequest added in v1.2.0

GetBuyerRefuseAcceptRequest BuyerRefuseAcceptRequest Getter

func (*TmallServicecenterWorkcardRefuseAPIRequest) SetBuyerRefuseAcceptRequest added in v1.2.0

func (r *TmallServicecenterWorkcardRefuseAPIRequest) SetBuyerRefuseAcceptRequest(_buyerRefuseAcceptRequest *BuyerRefuseAcceptRequest) error

SetBuyerRefuseAcceptRequest is BuyerRefuseAcceptRequest Setter 买家拒收信息

type TmallServicecenterWorkcardRefuseAPIResponse

type TmallServicecenterWorkcardRefuseAPIResponse struct {
	model.CommonResponse
	TmallServicecenterWorkcardRefuseAPIResponseModel
}

TmallServicecenterWorkcardRefuseAPIResponse 买家拒收 API返回值 tmall.servicecenter.workcard.refuse

买家拒收通知接口

type TmallServicecenterWorkcardRefuseAPIResponseModel added in v1.2.0

type TmallServicecenterWorkcardRefuseAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_servicecenter_workcard_refuse_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 返回code
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 是否成功
	MsgSuccess bool `json:"msg_success,omitempty" xml:"msg_success,omitempty"`
}

TmallServicecenterWorkcardRefuseAPIResponseModel is 买家拒收 成功返回结果

type TmallWorkcardIdentifyAPIRequest added in v1.2.0

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

TmallWorkcardIdentifyAPIRequest 工单核销 API请求 tmall.workcard.identify

工单核销,当工单完成以后,通过调用此接口核销 可以按照多维度核销工单, 电器预约安装按照工单维度核销,必选字段workcard_id,buyer_id,identify_code,可选字段attrs,通过扩展字段attrs回传机器码,格式{sn:'机器码'}

func NewTmallWorkcardIdentifyRequest

func NewTmallWorkcardIdentifyRequest() *TmallWorkcardIdentifyAPIRequest

NewTmallWorkcardIdentifyRequest 初始化TmallWorkcardIdentifyAPIRequest对象

func (TmallWorkcardIdentifyAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallWorkcardIdentifyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallWorkcardIdentifyAPIRequest) GetApiParams added in v1.2.0

func (r TmallWorkcardIdentifyAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallWorkcardIdentifyAPIRequest) GetVerifyRequestDTO added in v1.2.0

func (r TmallWorkcardIdentifyAPIRequest) GetVerifyRequestDTO() *VerifyRequestDto

GetVerifyRequestDTO VerifyRequestDTO Getter

func (*TmallWorkcardIdentifyAPIRequest) SetVerifyRequestDTO added in v1.2.0

func (r *TmallWorkcardIdentifyAPIRequest) SetVerifyRequestDTO(_verifyRequestDTO *VerifyRequestDto) error

SetVerifyRequestDTO is VerifyRequestDTO Setter 核销dto

type TmallWorkcardIdentifyAPIResponse

type TmallWorkcardIdentifyAPIResponse struct {
	model.CommonResponse
	TmallWorkcardIdentifyAPIResponseModel
}

TmallWorkcardIdentifyAPIResponse 工单核销 API返回值 tmall.workcard.identify

工单核销,当工单完成以后,通过调用此接口核销 可以按照多维度核销工单, 电器预约安装按照工单维度核销,必选字段workcard_id,buyer_id,identify_code,可选字段attrs,通过扩展字段attrs回传机器码,格式{sn:'机器码'}

type TmallWorkcardIdentifyAPIResponseModel added in v1.2.0

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

TmallWorkcardIdentifyAPIResponseModel is 工单核销 成功返回结果

type TmallWorkcardIdentifyResult

type TmallWorkcardIdentifyResult struct {
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 返回void
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// gmtModified
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// gmtCreate
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// errorCode
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallWorkcardIdentifyResult 结构体

type VerifyRequestDto

type VerifyRequestDto struct {
	// 核销来源
	VerifySource string `json:"verify_source,omitempty" xml:"verify_source,omitempty"`
	// 核销附加信息
	Attrs string `json:"attrs,omitempty" xml:"attrs,omitempty"`
	// 业务类型
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 核销码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 主订单id
	ParentOrderId int64 `json:"parent_order_id,omitempty" xml:"parent_order_id,omitempty"`
	// 服务商id
	TpId int64 `json:"tp_id,omitempty" xml:"tp_id,omitempty"`
	// 买家id
	BuyerId int64 `json:"buyer_id,omitempty" xml:"buyer_id,omitempty"`
	// 工单id
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
	// 子订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

VerifyRequestDto 结构体

type WorkerCustomerComplaintSaveCmd

type WorkerCustomerComplaintSaveCmd struct {
	// 商家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 外部单号
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 工人身份证号码
	IdNumber string `json:"id_number,omitempty" xml:"id_number,omitempty"`
	// 处理措施,解决方案文字描述
	TreatmentMeasures string `json:"treatment_measures,omitempty" xml:"treatment_measures,omitempty"`
	// 幂等键,请求唯一标识
	IdempotentId string `json:"idempotent_id,omitempty" xml:"idempotent_id,omitempty"`
	// 客诉发起时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 整改完成时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 扩展字段,json对象字符串,如:{"serviceCode":"浴霸安装"}
	ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"`
	// 工单号
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
	// 外部单号类型,1:服务商系统工单号,2:CCO系统工单号
	OutType int64 `json:"out_type,omitempty" xml:"out_type,omitempty"`
	// 客诉类型:1:服务态度,2:服务质量,3:服务时效,4:服务乱收费,5:服务不规范
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 客诉来源:1:服务商  2:消费者 3:商家
	Source int64 `json:"source,omitempty" xml:"source,omitempty"`
	// 是否成立:1:成立,0:不成立
	Established int64 `json:"established,omitempty" xml:"established,omitempty"`
}

WorkerCustomerComplaintSaveCmd 结构体

Source Files

Jump to

Keyboard shortcuts

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