servicecenter

package
v1.3.3 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 servicecenter 包含服务平台API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivitySummaryDto added in v1.2.8

type ActivitySummaryDto struct {
	// 开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 结束时间(设置)
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 中止时间
	TerminateTime string `json:"terminate_time,omitempty" xml:"terminate_time,omitempty"`
}

ActivitySummaryDto 结构体

type ArticleBizOrder

type ArticleBizOrder struct {
	// 淘宝会员名
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
	// 应用名称
	ArticleName string `json:"article_name,omitempty" xml:"article_name,omitempty"`
	// 应用收费代码,从合作伙伴后台(my.open.taobao.com)-收费管理-收费项目列表 能够获得该应用的收费代码
	ArticleCode string `json:"article_code,omitempty" xml:"article_code,omitempty"`
	// 商品模型名称
	ArticleItemName string `json:"article_item_name,omitempty" xml:"article_item_name,omitempty"`
	// 收费项目代码,从合作伙伴后台(my.open.taobao.com)-收费管理-收费项目列表 能够获得收费项目代码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 订单创建时间(订购时间)
	Create string `json:"create,omitempty" xml:"create,omitempty"`
	// 订购周期  1表示年 ,2表示月,3表示天。
	OrderCycle string `json:"order_cycle,omitempty" xml:"order_cycle,omitempty"`
	// 原价(单位为分)
	Fee string `json:"fee,omitempty" xml:"fee,omitempty"`
	// 优惠(单位为分)
	PromFee string `json:"prom_fee,omitempty" xml:"prom_fee,omitempty"`
	// 实付(单位为分)
	TotalPayFee string `json:"total_pay_fee,omitempty" xml:"total_pay_fee,omitempty"`
	// 订购周期开始时间
	OrderCycleStart string `json:"order_cycle_start,omitempty" xml:"order_cycle_start,omitempty"`
	// 订购周期结束时间
	OrderCycleEnd string `json:"order_cycle_end,omitempty" xml:"order_cycle_end,omitempty"`
	// 退款(单位为分;升级时,系统会将升级前老版本按照剩余订购天数退还剩余金额)
	RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// activityCode
	ActivityCode string `json:"activity_code,omitempty" xml:"activity_code,omitempty"`
	// 业务订单状态
	OrderBizStatus string `json:"order_biz_status,omitempty" xml:"order_biz_status,omitempty"`
	// 订单类型,1=新订 2=续订 3=升级 4=后台赠送 5=后台自动续订 6=订单审核后生成订购关系(暂时用不到)
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 子订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 订单号
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
}

ArticleBizOrder 结构体

type ArticleItemViewUnit

type ArticleItemViewUnit struct {
	// 需要支付的价格,单位:元
	ActualPrice string `json:"actual_price,omitempty" xml:"actual_price,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误文案
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 收费项目code
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 收费项目名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 原价,单位:元
	OriginPrice string `json:"origin_price,omitempty" xml:"origin_price,omitempty"`
	// 优惠,单位:元
	PromPrice string `json:"prom_price,omitempty" xml:"prom_price,omitempty"`
	// 周期数,如1,3,6,12。对于周期型和周期计量型返回。
	CycNum int64 `json:"cyc_num,omitempty" xml:"cyc_num,omitempty"`
	// 1-年,2-月,3-日。对于周期型和周期计量型返回。
	CycUnit int64 `json:"cyc_unit,omitempty" xml:"cyc_unit,omitempty"`
	// 数量。对于周期计量型返回计量数。
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 用户是否可以购买
	CanSub bool `json:"can_sub,omitempty" xml:"can_sub,omitempty"`
}

ArticleItemViewUnit 结构体

type ArticleSub

type ArticleSub struct {
	// 淘宝会员名
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
	// 应用名称
	ArticleName string `json:"article_name,omitempty" xml:"article_name,omitempty"`
	// 应用收费代码,从合作伙伴后台(my.open.taobao.com)-收费管理-收费项目列表 能够获得该应用的收费代码
	ArticleCode string `json:"article_code,omitempty" xml:"article_code,omitempty"`
	// 收费项目名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 收费项目代码,从合作伙伴后台(my.open.taobao.com)-收费管理-收费项目列表 能够获得收费项目代码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 订购关系到期时间
	Deadline string `json:"deadline,omitempty" xml:"deadline,omitempty"`
	// 状态,1=有效 2=过期
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 是否自动续费
	Autosub bool `json:"autosub,omitempty" xml:"autosub,omitempty"`
	// 是否到期提醒
	ExpireNotice bool `json:"expire_notice,omitempty" xml:"expire_notice,omitempty"`
}

ArticleSub 结构体

type ArticleUserSubscribe

type ArticleUserSubscribe struct {
	// 收费项目代码,从合作伙伴后台(my.open.taobao.com)-收费管理-收费项目列表 能够获得收费项目代码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 订购关系到期时间
	Deadline string `json:"deadline,omitempty" xml:"deadline,omitempty"`
}

ArticleUserSubscribe 结构体

type ArticleViewResult

type ArticleViewResult struct {
	// sku详情列表
	ArticleItemViewUnits []ArticleItemViewUnit `json:"article_item_view_units,omitempty" xml:"article_item_view_units>article_item_view_unit,omitempty"`
	// 服务code
	ArticleCode string `json:"article_code,omitempty" xml:"article_code,omitempty"`
	// 服务简介
	ArticleCommment string `json:"article_commment,omitempty" xml:"article_commment,omitempty"`
	// 服务名称
	ArticleName string `json:"article_name,omitempty" xml:"article_name,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误消息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 用户淘宝nick
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
	// 服务图片地址
	PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"`
}

ArticleViewResult 结构体

type AuthorizedAccountWrapper

type AuthorizedAccountWrapper struct {
	// 商家子账号列表
	SubUsers []SubUser `json:"sub_users,omitempty" xml:"sub_users>sub_user,omitempty"`
	// 商家子账号记录数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

AuthorizedAccountWrapper 结构体

type BillRecordDto

type BillRecordDto struct {
	// appkey
	Appkey string `json:"appkey,omitempty" xml:"appkey,omitempty"`
	// 备用字段
	Extend1 string `json:"extend1,omitempty" xml:"extend1,omitempty"`
	// 备用字段
	Extend10 string `json:"extend10,omitempty" xml:"extend10,omitempty"`
	// 备用字段
	Extend2 string `json:"extend2,omitempty" xml:"extend2,omitempty"`
	// 备用字段
	Extend3 string `json:"extend3,omitempty" xml:"extend3,omitempty"`
	// 备用字段
	Extend4 string `json:"extend4,omitempty" xml:"extend4,omitempty"`
	// 备用字段
	Extend5 string `json:"extend5,omitempty" xml:"extend5,omitempty"`
	// 备用字段
	Extend6 string `json:"extend6,omitempty" xml:"extend6,omitempty"`
	// 备用字段
	Extend7 string `json:"extend7,omitempty" xml:"extend7,omitempty"`
	// 备用字段
	Extend8 string `json:"extend8,omitempty" xml:"extend8,omitempty"`
	// 备用字段
	Extend9 string `json:"extend9,omitempty" xml:"extend9,omitempty"`
	// 卖家nick
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
	// 外部确认账单ID
	OutConfirmId string `json:"out_confirm_id,omitempty" xml:"out_confirm_id,omitempty"`
	// 外部订单ID
	OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"`
	// 记录产生时间
	StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"`
	// 目标号码
	TargetNo string `json:"target_no,omitempty" xml:"target_no,omitempty"`
	// 金额
	Fee int64 `json:"fee,omitempty" xml:"fee,omitempty"`
	// 服务市场有效订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 状态:1成功、2失败
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 账单分类:1短信
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

BillRecordDto 结构体

type CarItemInfoDto

type CarItemInfoDto struct {
	// 品牌
	Brand string `json:"brand,omitempty" xml:"brand,omitempty"`
	// 车系
	Line string `json:"line,omitempty" xml:"line,omitempty"`
	// 型号
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// 不会返回
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 年款
	Year string `json:"year,omitempty" xml:"year,omitempty"`
	// 商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 不会返回
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// skuId不会返回
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

CarItemInfoDto 结构体

type CosumeCodeReqDto

type CosumeCodeReqDto struct {
	// 业务id
	BizId string `json:"biz_id,omitempty" xml:"biz_id,omitempty"`
	// 业务类型,整车租赁传入:car_lease
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 车牌号
	CarNo string `json:"car_no,omitempty" xml:"car_no,omitempty"`
	// 核销码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 身份证
	IdentityNo string `json:"identity_no,omitempty" xml:"identity_no,omitempty"`
	// 门店名字
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 车架号
	Vin string `json:"vin,omitempty" xml:"vin,omitempty"`
	// 门店id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

CosumeCodeReqDto 结构体

type CreditInfoTopDto

type CreditInfoTopDto struct {
	// 身份证
	IdentityNo string `json:"identity_no,omitempty" xml:"identity_no,omitempty"`
	// 名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 被拒原因,只支持传入1,2,3,4.其中1代表综合评分不足;2代表黑名单客群;3代表信用不良;4代表其他
	RejectMsg string `json:"reject_msg,omitempty" xml:"reject_msg,omitempty"`
	// 唯一id
	Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"`
	// 手机号
	Mobile int64 `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 额度,单位分,假设离线通过的不用给额度
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 0代表已经完成,1代表还需要进一步评估处理
	Flag int64 `json:"flag,omitempty" xml:"flag,omitempty"`
	// 是否通过
	Pass bool `json:"pass,omitempty" xml:"pass,omitempty"`
}

CreditInfoTopDto 结构体

type CsScheduling

type CsScheduling struct {
	// 一天内排班信息
	Schedulings []Scheduling `json:"schedulings,omitempty" xml:"schedulings>scheduling,omitempty"`
	// 排班日期
	Date string `json:"date,omitempty" xml:"date,omitempty"`
	// 排班日期字符串
	StringDate string `json:"string_date,omitempty" xml:"string_date,omitempty"`
	// 排班记录更新时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

CsScheduling 结构体

type CsSchedulingWrapper

type CsSchedulingWrapper struct {
	// 按天排班信息
	CsSchedulings []CsScheduling `json:"cs_schedulings,omitempty" xml:"cs_schedulings>cs_scheduling,omitempty"`
	// 排班记录条数(按天计算)
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

CsSchedulingWrapper 结构体

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 ExternalEndRedPacketDto added in v1.2.8

type ExternalEndRedPacketDto struct {
	// 红包支付状态
	PayStatus string `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 红包状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 发放总金额,单位:分
	TotalFee int64 `json:"total_fee,omitempty" xml:"total_fee,omitempty"`
	// 已打款金额,单位:分
	DisburseFee int64 `json:"disburse_fee,omitempty" xml:"disburse_fee,omitempty"`
	// 退回金额,单位:分
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 已冻结金额,单位:分
	FreezeFee int64 `json:"freeze_fee,omitempty" xml:"freeze_fee,omitempty"`
	// 可用金额,单位:分
	AvailableFee int64 `json:"available_fee,omitempty" xml:"available_fee,omitempty"`
}

ExternalEndRedPacketDto 结构体

type ExternalPreRedPacketDto added in v1.2.8

type ExternalPreRedPacketDto struct {
	// 红包支付状态
	PayStatus string `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 红包状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 发放总金额,单位:分
	TotalFee int64 `json:"total_fee,omitempty" xml:"total_fee,omitempty"`
	// 已打款金额,单位:分
	DisburseFee int64 `json:"disburse_fee,omitempty" xml:"disburse_fee,omitempty"`
	// 退回金额,单位:分
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 已冻结金额,单位:分
	FreezeFee int64 `json:"freeze_fee,omitempty" xml:"freeze_fee,omitempty"`
	// 可用金额,单位:分
	AvailableFee int64 `json:"available_fee,omitempty" xml:"available_fee,omitempty"`
}

ExternalPreRedPacketDto 结构体

type ExternalRedPacketDto added in v1.2.8

type ExternalRedPacketDto struct {
	// 红包支付状态
	PayStatus string `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 红包状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 发放总金额,单位:分
	TotalFee int64 `json:"total_fee,omitempty" xml:"total_fee,omitempty"`
	// 已打款金额,单位:分
	DisburseFee int64 `json:"disburse_fee,omitempty" xml:"disburse_fee,omitempty"`
	// 退回金额,单位:分
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 已冻结金额,单位:分
	FreezeFee int64 `json:"freeze_fee,omitempty" xml:"freeze_fee,omitempty"`
	// 可用金额,单位:分
	AvailableFee int64 `json:"available_fee,omitempty" xml:"available_fee,omitempty"`
}

ExternalRedPacketDto 结构体

type IncomeConfirmDto

type IncomeConfirmDto struct {
	// appkey
	Appkey string `json:"appkey,omitempty" xml:"appkey,omitempty"`
	// 确认扩展信息
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 卖家nick
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
	// 外部确认账单ID
	OutConfirmId string `json:"out_confirm_id,omitempty" xml:"out_confirm_id,omitempty"`
	// 外部订单ID
	OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"`
	// 确认金额
	Fee int64 `json:"fee,omitempty" xml:"fee,omitempty"`
	// 服务市场有效订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

IncomeConfirmDto 结构体

type LeaseOrderInfoDto

type LeaseOrderInfoDto struct {
	// 网商申请号
	ApplyNo string `json:"apply_no,omitempty" xml:"apply_no,omitempty"`
	// 单状态(请关注此状态,如果为TRADE_CLOSED_BY_TAOBAO状态,则不要对此订单进行发货,切记啊!)。可选值: TRADE_NO_CREATE_PAY(没有创建支付宝交易) WAIT_BUYER_PAY(等待买家付款) WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款) WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货) TRADE_BUYER_SIGNED(买家已签收,货到付款专用) TRADE_FINISHED(交易成功) TRADE_CLOSED(付款以后用户退款成功,交易自动关闭) TRADE_CLOSED_BY_TAOBAO(付款以前,卖家或买家主动关闭交易)PAY_PENDING(国际信用卡支付付款确认中)
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 门店自定义编码
	StoreOutId string `json:"store_out_id,omitempty" xml:"store_out_id,omitempty"`
	// 订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

LeaseOrderInfoDto 结构体

type OfnPreRedPacketActionDto added in v1.1.1

type OfnPreRedPacketActionDto struct {
	// 资金池的记录
	AfterFundRecordList []OfnPreRedPacketFundRecordDto `json:"after_fund_record_list,omitempty" xml:"after_fund_record_list>ofn_pre_red_packet_fund_record_dto,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 主键
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 操作类型。1=天猫发预付红包;2=天猫发尾款红包;3=天猫扣回红包;4=回收商扣回红包
	ActionType int64 `json:"action_type,omitempty" xml:"action_type,omitempty"`
	// 状态。初始化=1,重试中=2,失败=3,成功=4
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

OfnPreRedPacketActionDto 结构体

type OfnPreRedPacketDto added in v1.2.0

type OfnPreRedPacketDto struct {
	// 操作列表
	ActionList []OfnPreRedPacketActionDto `json:"action_list,omitempty" xml:"action_list>ofn_pre_red_packet_action_dto,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 活动id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 信用额度,单位分
	CreditPayLimit int64 `json:"credit_pay_limit,omitempty" xml:"credit_pay_limit,omitempty"`
	// 尾款部分-已经发放的金额,单位分
	EndAlreadySendAmount int64 `json:"end_already_send_amount,omitempty" xml:"end_already_send_amount,omitempty"`
	// 尾款部分-计划发放的金额,单位分
	EndPlanSendAmount int64 `json:"end_plan_send_amount,omitempty" xml:"end_plan_send_amount,omitempty"`
	// 尾款部分-等待发放的金额,单位分
	EndWaitSendAmount int64 `json:"end_wait_send_amount,omitempty" xml:"end_wait_send_amount,omitempty"`
	// 主键
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 新机优惠价
	NewItemCouponPrice int64 `json:"new_item_coupon_price,omitempty" xml:"new_item_coupon_price,omitempty"`
	// 新机id
	NewItemId int64 `json:"new_item_id,omitempty" xml:"new_item_id,omitempty"`
	// 新机订单id
	NewOrderId int64 `json:"new_order_id,omitempty" xml:"new_order_id,omitempty"`
	// 旧机质检价
	OldItemActualPrice int64 `json:"old_item_actual_price,omitempty" xml:"old_item_actual_price,omitempty"`
	// 旧机评估价
	OldItemApprizePrice int64 `json:"old_item_apprize_price,omitempty" xml:"old_item_apprize_price,omitempty"`
	// 旧机id
	OldItemSpuId int64 `json:"old_item_spu_id,omitempty" xml:"old_item_spu_id,omitempty"`
	// 旧机单id
	OldOrderId int64 `json:"old_order_id,omitempty" xml:"old_order_id,omitempty"`
	// 计划发放的金额,单位分
	PlanSendAmount int64 `json:"plan_send_amount,omitempty" xml:"plan_send_amount,omitempty"`
	// 预发部分-已经发放的金额,单位分
	PreAlreadySendAmount int64 `json:"pre_already_send_amount,omitempty" xml:"pre_already_send_amount,omitempty"`
	// 预发部分-计划发放的金额,单位分
	PrePlanSendAmount int64 `json:"pre_plan_send_amount,omitempty" xml:"pre_plan_send_amount,omitempty"`
	// 预发部分-等待发放的金额,单位分
	PreWaitSendAmount int64 `json:"pre_wait_send_amount,omitempty" xml:"pre_wait_send_amount,omitempty"`
	// 状态。初始化=1,重试中=2,失败=3,成功=4
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 由回收商已经扣回的金额,单位分
	TmallAlreadyDeductAmount int64 `json:"tmall_already_deduct_amount,omitempty" xml:"tmall_already_deduct_amount,omitempty"`
	// 等待回收商扣回的金额,单位分
	TmallWaitDeductAmount int64 `json:"tmall_wait_deduct_amount,omitempty" xml:"tmall_wait_deduct_amount,omitempty"`
	// 由天猫已经扣回的金额,单位分
	TpAlreadyDeductAmount int64 `json:"tp_already_deduct_amount,omitempty" xml:"tp_already_deduct_amount,omitempty"`
	// 等待天猫扣回的金额,单位分
	TpWaitDeductAmount int64 `json:"tp_wait_deduct_amount,omitempty" xml:"tp_wait_deduct_amount,omitempty"`
	// 乐观锁
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
	// 1=前置补贴,2=后置补贴
	Mode int64 `json:"mode,omitempty" xml:"mode,omitempty"`
	// 是否信用单
	CreditPay bool `json:"credit_pay,omitempty" xml:"credit_pay,omitempty"`
}

OfnPreRedPacketDto 结构体

type OfnPreRedPacketFundRecordDto

type OfnPreRedPacketFundRecordDto struct {
	// 资产编号
	FundId int64 `json:"fund_id,omitempty" xml:"fund_id,omitempty"`
	// 变化金额
	ChangeAmount int64 `json:"change_amount,omitempty" xml:"change_amount,omitempty"`
}

OfnPreRedPacketFundRecordDto 结构体

type OfnRecycleOrderPreDeductDetailDto added in v1.2.9

type OfnRecycleOrderPreDeductDetailDto struct {
	// 数据更新时间
	UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"`
	// 前置抵扣红包发放总金额,单位 分
	PreDeductTotalFee int64 `json:"pre_deduct_total_fee,omitempty" xml:"pre_deduct_total_fee,omitempty"`
	// 前置抵扣红包使用金额,单位 分
	PreDeductUsedFee int64 `json:"pre_deduct_used_fee,omitempty" xml:"pre_deduct_used_fee,omitempty"`
	// 前置抵扣红包退回金额,单位 分
	PreDeductRefundFee int64 `json:"pre_deduct_refund_fee,omitempty" xml:"pre_deduct_refund_fee,omitempty"`
	// 前置抵扣红包 ID
	PreDeductFundId int64 `json:"pre_deduct_fund_id,omitempty" xml:"pre_deduct_fund_id,omitempty"`
	// 线下已结算金额,单位 分【正数表示服务商已给用户的钱,为负表示用户已给服务商的钱】
	OfflineSettleFee int64 `json:"offline_settle_fee,omitempty" xml:"offline_settle_fee,omitempty"`
	// 质检价,单位 分
	QaAmount int64 `json:"qa_amount,omitempty" xml:"qa_amount,omitempty"`
}

OfnRecycleOrderPreDeductDetailDto 结构体

type OfnRecycleOrderSubsidyDto added in v1.2.8

type OfnRecycleOrderSubsidyDto struct {
	// 旧品主订单号
	OldOrderId string `json:"old_order_id,omitempty" xml:"old_order_id,omitempty"`
	// 新品主订单号
	NewOrderId string `json:"new_order_id,omitempty" xml:"new_order_id,omitempty"`
	// 新品补贴状态
	SubsidyStatus string `json:"subsidy_status,omitempty" xml:"subsidy_status,omitempty"`
	// 关联的新机单状态
	NewOrderPayStatus string `json:"new_order_pay_status,omitempty" xml:"new_order_pay_status,omitempty"`
	// 关联新机单店铺名称
	NewOrderShopName string `json:"new_order_shop_name,omitempty" xml:"new_order_shop_name,omitempty"`
	// 拆机费结算使用的关联新机单ID
	KitchenApplianceSettleNewOrderId string `json:"kitchen_appliance_settle_new_order_id,omitempty" xml:"kitchen_appliance_settle_new_order_id,omitempty"`
	// 旧品款预付款
	OldItemPreRedPacket *ExternalPreRedPacketDto `json:"old_item_pre_red_packet,omitempty" xml:"old_item_pre_red_packet,omitempty"`
	// 旧品款尾款
	OldItemEndRedPacket *ExternalEndRedPacketDto `json:"old_item_end_red_packet,omitempty" xml:"old_item_end_red_packet,omitempty"`
	// 旧品补贴红包
	OldItemSubsidyRedPacket *ExternalRedPacketDto `json:"old_item_subsidy_red_packet,omitempty" xml:"old_item_subsidy_red_packet,omitempty"`
	// 回收商活动(限时活动)信息
	SupplyActivity *ActivitySummaryDto `json:"supply_activity,omitempty" xml:"supply_activity,omitempty"`
	// 新品卖家补贴金额,单位:分
	NewItemSellerBenefitAmount int64 `json:"new_item_seller_benefit_amount,omitempty" xml:"new_item_seller_benefit_amount,omitempty"`
	// 新品平台补贴金额,单位:分
	NewItemPlatformBenefitAmount int64 `json:"new_item_platform_benefit_amount,omitempty" xml:"new_item_platform_benefit_amount,omitempty"`
	// 新品回收商补贴金额,单位:分
	NewItemSupplyBenefitAmount int64 `json:"new_item_supply_benefit_amount,omitempty" xml:"new_item_supply_benefit_amount,omitempty"`
}

OfnRecycleOrderSubsidyDto 结构体

type OfnRecycleOrderSyncFulfillTypeDto added in v1.2.9

type OfnRecycleOrderSyncFulfillTypeDto struct {
	// 是否同步成功
	SyncSuccess bool `json:"sync_success,omitempty" xml:"sync_success,omitempty"`
}

OfnRecycleOrderSyncFulfillTypeDto 结构体

type OfnRecycleOrderSyncOfflineSettleInfoDto added in v1.2.9

type OfnRecycleOrderSyncOfflineSettleInfoDto struct {
	// 是否同步成功
	SyncSuccess bool `json:"sync_success,omitempty" xml:"sync_success,omitempty"`
}

OfnRecycleOrderSyncOfflineSettleInfoDto 结构体

type OfnRecyclerSyncBlackListDto added in v1.2.9

type OfnRecyclerSyncBlackListDto struct {
	// 是否同步成功
	SyncSuccess bool `json:"sync_success,omitempty" xml:"sync_success,omitempty"`
}

OfnRecyclerSyncBlackListDto 结构体

type Order

type Order struct {
	// 商家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 起始日期(订单未付款前可能为空)
	StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"`
	// 结束日期(订单未付款前可能为空)
	EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"`
	// 订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 订单是否可以排班
	SchedulingState bool `json:"scheduling_state,omitempty" xml:"scheduling_state,omitempty"`
}

Order 结构体

type OrderConfirmQueryDto

type OrderConfirmQueryDto struct {
	// APPKEY,必填
	AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"`
	// 内购服务的规格CODE,必填
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 周期单位(必选 数值1:年 2:月, 3:天),必填
	CycUnit string `json:"cyc_unit,omitempty" xml:"cyc_unit,omitempty"`
	// 周期数量,必填
	CycNum string `json:"cyc_num,omitempty" xml:"cyc_num,omitempty"`
	// 使用该参数完成查询订单等操作,可选
	OutTradeCode string `json:"out_trade_code,omitempty" xml:"out_trade_code,omitempty"`
	// 设备类型,目前只支持PC,可选
	DeviceType string `json:"device_type,omitempty" xml:"device_type,omitempty"`
	// 计量型服务的数量,如果是计量型内购服务,则必填
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

OrderConfirmQueryDto 结构体

type PerformanceInfoDto added in v1.2.0

type PerformanceInfoDto struct {
	// 首次相应时间
	FirstResponseTime string `json:"first_response_time,omitempty" xml:"first_response_time,omitempty"`
	// 平均最后在线时间
	AvgLastOnlineTime string `json:"avg_last_online_time,omitempty" xml:"avg_last_online_time,omitempty"`
	// 平均日在线时长
	AvgOnlineTimePerDay string `json:"avg_online_time_per_day,omitempty" xml:"avg_online_time_per_day,omitempty"`
	// 客服转化率
	ConversionRateOfSer string `json:"conversion_rate_of_ser,omitempty" xml:"conversion_rate_of_ser,omitempty"`
	// 销售量
	SalesQuantity string `json:"sales_quantity,omitempty" xml:"sales_quantity,omitempty"`
	// 销售额
	SalesAmount string `json:"sales_amount,omitempty" xml:"sales_amount,omitempty"`
	// 在线总时长
	TotalOnlineTime string `json:"total_online_time,omitempty" xml:"total_online_time,omitempty"`
	// 上班天数
	OnlineDays string `json:"online_days,omitempty" xml:"online_days,omitempty"`
	// 客服客单价
	UnitPriceOfSer string `json:"unit_price_of_ser,omitempty" xml:"unit_price_of_ser,omitempty"`
	// 回复率
	ResponseRate string `json:"response_rate,omitempty" xml:"response_rate,omitempty"`
	// 子账号名字
	SubAccountName string `json:"sub_account_name,omitempty" xml:"sub_account_name,omitempty"`
	// 平均上线时间
	AvgOnlineTime string `json:"avg_online_time,omitempty" xml:"avg_online_time,omitempty"`
	// 销售提成
	SalesBonus string `json:"sales_bonus,omitempty" xml:"sales_bonus,omitempty"`
	// 平均响应时间
	AvgResponseTime string `json:"avg_response_time,omitempty" xml:"avg_response_time,omitempty"`
}

PerformanceInfoDto 结构体

type PerformanceInfoWrapper

type PerformanceInfoWrapper struct {
	// 绩效数据列表
	PerformanceInfoList []PerformanceInfoDto `json:"performance_info_list,omitempty" xml:"performance_info_list>performance_info_dto,omitempty"`
	// 统计结束时间
	StatisticsEndTime string `json:"statistics_end_time,omitempty" xml:"statistics_end_time,omitempty"`
	// 统计开始时间
	StatisticsStartTime string `json:"statistics_start_time,omitempty" xml:"statistics_start_time,omitempty"`
	// 是否有提成配置
	HasBonusConfig bool `json:"has_bonus_config,omitempty" xml:"has_bonus_config,omitempty"`
	// 是否有授权
	HasAuthorize bool `json:"has_authorize,omitempty" xml:"has_authorize,omitempty"`
}

PerformanceInfoWrapper 结构体

type ResultBase

type ResultBase struct {
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// value
	Value *TpFundsRecoverResultDo `json:"value,omitempty" xml:"value,omitempty"`
	// errorCode
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 查询接口是否OK
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ResultBase 结构体

type ResultVo

type ResultVo struct {
	// 异常代码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 异常消息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 消耗时间
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// 当前时间
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// 真正返回对象
	Object *LeaseOrderInfoDto `json:"object,omitempty" xml:"object,omitempty"`
	// 成功与否
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ResultVo 结构体

type Scheduling

type Scheduling struct {
	// 排班起始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 排班结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 商家子账号
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 服务商子账号
	SpNick string `json:"sp_nick,omitempty" xml:"sp_nick,omitempty"`
	// 排班记录状态描述
	StateDes string `json:"state_des,omitempty" xml:"state_des,omitempty"`
	// 排班记录状态,1表示生效,-1表示失效
	State int64 `json:"state,omitempty" xml:"state,omitempty"`
}

Scheduling 结构体

type ScoreResult

type ScoreResult struct {
	// 稳定性评分
	StabilityScore string `json:"stability_score,omitempty" xml:"stability_score,omitempty"`
	// 交片速度
	RapidScore string `json:"rapid_score,omitempty" xml:"rapid_score,omitempty"`
	// 平均分
	AvgScore string `json:"avg_score,omitempty" xml:"avg_score,omitempty"`
	// 专业性评分
	ProfScore string `json:"prof_score,omitempty" xml:"prof_score,omitempty"`
	// 评价时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 服务规格code
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 服务规格名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 服务态度评分
	AttitudeScore string `json:"attitude_score,omitempty" xml:"attitude_score,omitempty"`
	// 描述相符
	MatchedScore string `json:"matched_score,omitempty" xml:"matched_score,omitempty"`
	// 评论内容
	Suggestion string `json:"suggestion,omitempty" xml:"suggestion,omitempty"`
	// 服务code
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// 评价人用户昵称
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
	// 易用性评分
	EasyuseScore string `json:"easyuse_score,omitempty" xml:"easyuse_score,omitempty"`
	// 是否实际付费 1-实际付费 2-实际未付费
	IsPay int64 `json:"is_pay,omitempty" xml:"is_pay,omitempty"`
	// 是否为有效评分 1-有效评分 2-无效评分
	IsValid int64 `json:"is_valid,omitempty" xml:"is_valid,omitempty"`
	// 评价id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

ScoreResult 结构体

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"`
	// serviceCode
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// bizOrderId
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 费用,单位分
	Cost int64 `json:"cost,omitempty" xml:"cost,omitempty"`
	// id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// parentBizOrderId
	ParentBizOrderId int64 `json:"parent_biz_order_id,omitempty" xml:"parent_biz_order_id,omitempty"`
	// serviceOrderId
	ServiceOrderId int64 `json:"service_order_id,omitempty" xml:"service_order_id,omitempty"`
	// workcardId
	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
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

SettleAdjustmentResponse 结构体

type SubUser

type SubUser struct {
	// 授权状态描述
	StateDes string `json:"state_des,omitempty" xml:"state_des,omitempty"`
	// 商家子账号昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 授权状态: 1表示授权,0表示取消授权,-1表示失效
	State int64 `json:"state,omitempty" xml:"state,omitempty"`
}

SubUser 结构体

type SubscInfo

type SubscInfo struct {
	// 订单创建时间
	SubscCreatedTime string `json:"subsc_created_time,omitempty" xml:"subsc_created_time,omitempty"`
	// 服务商名称
	SpName string `json:"sp_name,omitempty" xml:"sp_name,omitempty"`
	// 子账号名称列表
	SubAccountList string `json:"sub_account_list,omitempty" xml:"sub_account_list,omitempty"`
	// 服务开结束时间
	ServiceEndTime string `json:"service_end_time,omitempty" xml:"service_end_time,omitempty"`
	// 商家名称
	SellerName string `json:"seller_name,omitempty" xml:"seller_name,omitempty"`
	// 服务开始时间
	ServiceStartTime string `json:"service_start_time,omitempty" xml:"service_start_time,omitempty"`
	// 订单修改时间
	SubscModifiedTime string `json:"subsc_modified_time,omitempty" xml:"subsc_modified_time,omitempty"`
	// 销售提成
	SaleBonus string `json:"sale_bonus,omitempty" xml:"sale_bonus,omitempty"`
	// 订单id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 订单状态
	ProcessStatus int64 `json:"process_status,omitempty" xml:"process_status,omitempty"`
}

SubscInfo 结构体

type SubscInfoWrapper

type SubscInfoWrapper struct {
	// 需求订购信息
	SubscInfoList []SubscInfo `json:"subsc_info_list,omitempty" xml:"subsc_info_list>subsc_info,omitempty"`
	// 总量
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

SubscInfoWrapper 结构体

type TailPaymentDto

type TailPaymentDto struct {
	// 处置名字,支持3种:归还车辆; 购买车辆,一次性支付尾款; 购买车辆,分期付尾款
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 买家id,不需要传入
	BuyerId int64 `json:"buyer_id,omitempty" xml:"buyer_id,omitempty"`
	// 月供,单位分,如果是购买车辆,分期付尾款,则必须
	MonthlyPay int64 `json:"monthly_pay,omitempty" xml:"monthly_pay,omitempty"`
	// 分期月份,如果是购买车辆,分期付尾款,则必须
	Months int64 `json:"months,omitempty" xml:"months,omitempty"`
	// 订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 尾款金额,单位分,如果是购买车辆,一次性支付尾款必填
	TailAmount int64 `json:"tail_amount,omitempty" xml:"tail_amount,omitempty"`
}

TailPaymentDto 结构体

type TaobaoFuwuPurchaseOrderConfirmAPIRequest added in v1.2.0

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

TaobaoFuwuPurchaseOrderConfirmAPIRequest 服务市场内购服务下单接口 API请求 taobao.fuwu.purchase.order.confirm

通过传入服务市场商品的itemcode等信息,返回给服务商内购服务的下单链接

func NewTaobaoFuwuPurchaseOrderConfirmRequest

func NewTaobaoFuwuPurchaseOrderConfirmRequest() *TaobaoFuwuPurchaseOrderConfirmAPIRequest

NewTaobaoFuwuPurchaseOrderConfirmRequest 初始化TaobaoFuwuPurchaseOrderConfirmAPIRequest对象

func (TaobaoFuwuPurchaseOrderConfirmAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoFuwuPurchaseOrderConfirmAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFuwuPurchaseOrderConfirmAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFuwuPurchaseOrderConfirmAPIRequest) GetParamOrderConfirmQueryDTO added in v1.2.0

func (r TaobaoFuwuPurchaseOrderConfirmAPIRequest) GetParamOrderConfirmQueryDTO() *OrderConfirmQueryDto

GetParamOrderConfirmQueryDTO ParamOrderConfirmQueryDTO Getter

func (TaobaoFuwuPurchaseOrderConfirmAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoFuwuPurchaseOrderConfirmAPIRequest) SetParamOrderConfirmQueryDTO added in v1.2.0

func (r *TaobaoFuwuPurchaseOrderConfirmAPIRequest) SetParamOrderConfirmQueryDTO(_paramOrderConfirmQueryDTO *OrderConfirmQueryDto) error

SetParamOrderConfirmQueryDTO is ParamOrderConfirmQueryDTO Setter 内购服务下单接口参数

type TaobaoFuwuPurchaseOrderConfirmAPIResponse

type TaobaoFuwuPurchaseOrderConfirmAPIResponse struct {
	model.CommonResponse
	TaobaoFuwuPurchaseOrderConfirmAPIResponseModel
}

TaobaoFuwuPurchaseOrderConfirmAPIResponse 服务市场内购服务下单接口 API返回值 taobao.fuwu.purchase.order.confirm

通过传入服务市场商品的itemcode等信息,返回给服务商内购服务的下单链接

type TaobaoFuwuPurchaseOrderConfirmAPIResponseModel added in v1.2.0

type TaobaoFuwuPurchaseOrderConfirmAPIResponseModel struct {
	XMLName xml.Name `xml:"fuwu_purchase_order_confirm_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 下单页面url
	Url string `json:"url,omitempty" xml:"url,omitempty"`
}

TaobaoFuwuPurchaseOrderConfirmAPIResponseModel is 服务市场内购服务下单接口 成功返回结果

type TaobaoFuwuPurchaseOrderPayAPIRequest added in v1.2.0

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

TaobaoFuwuPurchaseOrderPayAPIRequest 内购服务订单付款页获取接口 API请求 taobao.fuwu.purchase.order.pay

通过接口获取某一订单的付款页面链接

func NewTaobaoFuwuPurchaseOrderPayRequest

func NewTaobaoFuwuPurchaseOrderPayRequest() *TaobaoFuwuPurchaseOrderPayAPIRequest

NewTaobaoFuwuPurchaseOrderPayRequest 初始化TaobaoFuwuPurchaseOrderPayAPIRequest对象

func (TaobaoFuwuPurchaseOrderPayAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoFuwuPurchaseOrderPayAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFuwuPurchaseOrderPayAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFuwuPurchaseOrderPayAPIRequest) GetAppkey added in v1.2.0

GetAppkey Appkey Getter

func (TaobaoFuwuPurchaseOrderPayAPIRequest) GetDeviceType added in v1.2.0

func (r TaobaoFuwuPurchaseOrderPayAPIRequest) GetDeviceType() string

GetDeviceType DeviceType Getter

func (TaobaoFuwuPurchaseOrderPayAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (TaobaoFuwuPurchaseOrderPayAPIRequest) GetOutOrderId added in v1.2.0

func (r TaobaoFuwuPurchaseOrderPayAPIRequest) GetOutOrderId() string

GetOutOrderId OutOrderId Getter

func (TaobaoFuwuPurchaseOrderPayAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoFuwuPurchaseOrderPayAPIRequest) SetAppkey added in v1.2.0

func (r *TaobaoFuwuPurchaseOrderPayAPIRequest) SetAppkey(_appkey string) error

SetAppkey is Appkey Setter APPKEY,必填

func (*TaobaoFuwuPurchaseOrderPayAPIRequest) SetDeviceType added in v1.2.0

func (r *TaobaoFuwuPurchaseOrderPayAPIRequest) SetDeviceType(_deviceType string) error

SetDeviceType is DeviceType Setter 设备类型,目前只支持PC,可选

func (*TaobaoFuwuPurchaseOrderPayAPIRequest) SetOrderId added in v1.2.0

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

SetOrderId is OrderId Setter 订单号,与外部订单号二选一

func (*TaobaoFuwuPurchaseOrderPayAPIRequest) SetOutOrderId added in v1.2.0

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

SetOutOrderId is OutOrderId Setter 外部订单号,使用该参数完成查询订单等操作,与外部订单号二选一

type TaobaoFuwuPurchaseOrderPayAPIResponse

type TaobaoFuwuPurchaseOrderPayAPIResponse struct {
	model.CommonResponse
	TaobaoFuwuPurchaseOrderPayAPIResponseModel
}

TaobaoFuwuPurchaseOrderPayAPIResponse 内购服务订单付款页获取接口 API返回值 taobao.fuwu.purchase.order.pay

通过接口获取某一订单的付款页面链接

type TaobaoFuwuPurchaseOrderPayAPIResponseModel added in v1.2.0

type TaobaoFuwuPurchaseOrderPayAPIResponseModel struct {
	XMLName xml.Name `xml:"fuwu_purchase_order_pay_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 该url用于订单付款
	Url string `json:"url,omitempty" xml:"url,omitempty"`
}

TaobaoFuwuPurchaseOrderPayAPIResponseModel is 内购服务订单付款页获取接口 成功返回结果

type TaobaoFuwuSaleLinkGenAPIRequest added in v1.2.0

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

TaobaoFuwuSaleLinkGenAPIRequest 服务平台营销链接生成接口 API请求 taobao.fuwu.sale.link.gen

服务商通过使用该接口来产生营销链接,通过把这种链接发送给商家来做自定义人群的服务营销<br><br/>注:session是param_str这个参数串创建者生成的session,这个创建者与入参中的nick是不一致的。例如:A开发者创建了一个param_str的字符串,要为B商家生成一个营销链接,session必须是A开发者创建的session。

func NewTaobaoFuwuSaleLinkGenRequest

func NewTaobaoFuwuSaleLinkGenRequest() *TaobaoFuwuSaleLinkGenAPIRequest

NewTaobaoFuwuSaleLinkGenRequest 初始化TaobaoFuwuSaleLinkGenAPIRequest对象

func (TaobaoFuwuSaleLinkGenAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoFuwuSaleLinkGenAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFuwuSaleLinkGenAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFuwuSaleLinkGenAPIRequest) GetNick added in v1.2.0

GetNick Nick Getter

func (TaobaoFuwuSaleLinkGenAPIRequest) GetParamStr added in v1.2.0

func (r TaobaoFuwuSaleLinkGenAPIRequest) GetParamStr() string

GetParamStr ParamStr Getter

func (TaobaoFuwuSaleLinkGenAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoFuwuSaleLinkGenAPIRequest) GetRawParams() model.Params

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

func (*TaobaoFuwuSaleLinkGenAPIRequest) SetNick added in v1.2.0

func (r *TaobaoFuwuSaleLinkGenAPIRequest) SetNick(_nick string) error

SetNick is Nick Setter 用户需要营销的目标人群中的用户nick

func (*TaobaoFuwuSaleLinkGenAPIRequest) SetParamStr added in v1.2.0

func (r *TaobaoFuwuSaleLinkGenAPIRequest) SetParamStr(_paramStr string) error

SetParamStr is ParamStr Setter 从服务商后台,营销链接功能中生成的参数串直接复制使用。不要修改,否则抛错。

type TaobaoFuwuSaleLinkGenAPIResponse

type TaobaoFuwuSaleLinkGenAPIResponse struct {
	model.CommonResponse
	TaobaoFuwuSaleLinkGenAPIResponseModel
}

TaobaoFuwuSaleLinkGenAPIResponse 服务平台营销链接生成接口 API返回值 taobao.fuwu.sale.link.gen

服务商通过使用该接口来产生营销链接,通过把这种链接发送给商家来做自定义人群的服务营销<br><br/>注:session是param_str这个参数串创建者生成的session,这个创建者与入参中的nick是不一致的。例如:A开发者创建了一个param_str的字符串,要为B商家生成一个营销链接,session必须是A开发者创建的session。

type TaobaoFuwuSaleLinkGenAPIResponseModel added in v1.2.0

type TaobaoFuwuSaleLinkGenAPIResponseModel struct {
	XMLName xml.Name `xml:"fuwu_sale_link_gen_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 通过营销链接接口生成的营销链接短地址
	Url string `json:"url,omitempty" xml:"url,omitempty"`
}

TaobaoFuwuSaleLinkGenAPIResponseModel is 服务平台营销链接生成接口 成功返回结果

type TaobaoFuwuScoresGetAPIRequest added in v1.2.0

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

TaobaoFuwuScoresGetAPIRequest 服务平台评价查询接口 API请求 taobao.fuwu.scores.get

根据日期、查询appkey对应服务评价,每次调用只能查询某一天服务评价信息,可设置分页查询,页大小最大为100,非实时接口,延迟时间为30分钟

func NewTaobaoFuwuScoresGetRequest

func NewTaobaoFuwuScoresGetRequest() *TaobaoFuwuScoresGetAPIRequest

NewTaobaoFuwuScoresGetRequest 初始化TaobaoFuwuScoresGetAPIRequest对象

func (TaobaoFuwuScoresGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoFuwuScoresGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFuwuScoresGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFuwuScoresGetAPIRequest) GetCurrentPage added in v1.2.0

func (r TaobaoFuwuScoresGetAPIRequest) GetCurrentPage() int64

GetCurrentPage CurrentPage Getter

func (TaobaoFuwuScoresGetAPIRequest) GetDate added in v1.2.0

GetDate Date Getter

func (TaobaoFuwuScoresGetAPIRequest) GetPageSize added in v1.2.0

func (r TaobaoFuwuScoresGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoFuwuScoresGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoFuwuScoresGetAPIRequest) GetRawParams() model.Params

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

func (*TaobaoFuwuScoresGetAPIRequest) SetCurrentPage added in v1.2.0

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

SetCurrentPage is CurrentPage Setter 当前页

func (*TaobaoFuwuScoresGetAPIRequest) SetDate added in v1.2.0

func (r *TaobaoFuwuScoresGetAPIRequest) SetDate(_date string) error

SetDate is Date Setter 评价日期,查询某一天的评价

func (*TaobaoFuwuScoresGetAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 每页获取条数。默认值40,最小值1,最大值100。

type TaobaoFuwuScoresGetAPIResponse

type TaobaoFuwuScoresGetAPIResponse struct {
	model.CommonResponse
	TaobaoFuwuScoresGetAPIResponseModel
}

TaobaoFuwuScoresGetAPIResponse 服务平台评价查询接口 API返回值 taobao.fuwu.scores.get

根据日期、查询appkey对应服务评价,每次调用只能查询某一天服务评价信息,可设置分页查询,页大小最大为100,非实时接口,延迟时间为30分钟

type TaobaoFuwuScoresGetAPIResponseModel added in v1.2.0

type TaobaoFuwuScoresGetAPIResponseModel struct {
	XMLName xml.Name `xml:"fuwu_scores_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 评价流水记录
	ScoreResult []ScoreResult `json:"score_result,omitempty" xml:"score_result>score_result,omitempty"`
}

TaobaoFuwuScoresGetAPIResponseModel is 服务平台评价查询接口 成功返回结果

type TaobaoFuwuSkuGetAPIRequest added in v1.2.0

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

TaobaoFuwuSkuGetAPIRequest 获取内购服务及SKU详情 API请求 taobao.fuwu.sku.get

通过服务code和用户nick,获取该服务对应的收费项目的sku信息,包括价格、可购买周期、用户能否购买等信息

func NewTaobaoFuwuSkuGetRequest

func NewTaobaoFuwuSkuGetRequest() *TaobaoFuwuSkuGetAPIRequest

NewTaobaoFuwuSkuGetRequest 初始化TaobaoFuwuSkuGetAPIRequest对象

func (TaobaoFuwuSkuGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoFuwuSkuGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFuwuSkuGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFuwuSkuGetAPIRequest) GetArticleCode added in v1.2.0

func (r TaobaoFuwuSkuGetAPIRequest) GetArticleCode() string

GetArticleCode ArticleCode Getter

func (TaobaoFuwuSkuGetAPIRequest) GetNick added in v1.2.0

func (r TaobaoFuwuSkuGetAPIRequest) GetNick() string

GetNick Nick Getter

func (TaobaoFuwuSkuGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoFuwuSkuGetAPIRequest) GetRawParams() model.Params

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

func (*TaobaoFuwuSkuGetAPIRequest) SetArticleCode added in v1.2.0

func (r *TaobaoFuwuSkuGetAPIRequest) SetArticleCode(_articleCode string) error

SetArticleCode is ArticleCode Setter 服务code

func (*TaobaoFuwuSkuGetAPIRequest) SetNick added in v1.2.0

func (r *TaobaoFuwuSkuGetAPIRequest) SetNick(_nick string) error

SetNick is Nick Setter 用户的淘宝nick

type TaobaoFuwuSkuGetAPIResponse

type TaobaoFuwuSkuGetAPIResponse struct {
	model.CommonResponse
	TaobaoFuwuSkuGetAPIResponseModel
}

TaobaoFuwuSkuGetAPIResponse 获取内购服务及SKU详情 API返回值 taobao.fuwu.sku.get

通过服务code和用户nick,获取该服务对应的收费项目的sku信息,包括价格、可购买周期、用户能否购买等信息

type TaobaoFuwuSkuGetAPIResponseModel added in v1.2.0

type TaobaoFuwuSkuGetAPIResponseModel struct {
	XMLName xml.Name `xml:"fuwu_sku_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 内购服务及SKU详情
	Result *ArticleViewResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoFuwuSkuGetAPIResponseModel is 获取内购服务及SKU详情 成功返回结果

type TaobaoFuwuSpBillreordAddAPIRequest added in v1.2.0

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

TaobaoFuwuSpBillreordAddAPIRequest 内购服务确认单明细上传接口 API请求 taobao.fuwu.sp.billreord.add

isv能通过该接口上传确认单明细数据

func NewTaobaoFuwuSpBillreordAddRequest

func NewTaobaoFuwuSpBillreordAddRequest() *TaobaoFuwuSpBillreordAddAPIRequest

NewTaobaoFuwuSpBillreordAddRequest 初始化TaobaoFuwuSpBillreordAddAPIRequest对象

func (TaobaoFuwuSpBillreordAddAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoFuwuSpBillreordAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFuwuSpBillreordAddAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFuwuSpBillreordAddAPIRequest) GetParamBillRecordDTO added in v1.2.0

func (r TaobaoFuwuSpBillreordAddAPIRequest) GetParamBillRecordDTO() *BillRecordDto

GetParamBillRecordDTO ParamBillRecordDTO Getter

func (TaobaoFuwuSpBillreordAddAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoFuwuSpBillreordAddAPIRequest) SetParamBillRecordDTO added in v1.2.0

func (r *TaobaoFuwuSpBillreordAddAPIRequest) SetParamBillRecordDTO(_paramBillRecordDTO *BillRecordDto) error

SetParamBillRecordDTO is ParamBillRecordDTO Setter 确认单的账单明细

type TaobaoFuwuSpBillreordAddAPIResponse

type TaobaoFuwuSpBillreordAddAPIResponse struct {
	model.CommonResponse
	TaobaoFuwuSpBillreordAddAPIResponseModel
}

TaobaoFuwuSpBillreordAddAPIResponse 内购服务确认单明细上传接口 API返回值 taobao.fuwu.sp.billreord.add

isv能通过该接口上传确认单明细数据

type TaobaoFuwuSpBillreordAddAPIResponseModel added in v1.2.0

type TaobaoFuwuSpBillreordAddAPIResponseModel struct {
	XMLName xml.Name `xml:"fuwu_sp_billreord_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回调用结果
	AddResult bool `json:"add_result,omitempty" xml:"add_result,omitempty"`
}

TaobaoFuwuSpBillreordAddAPIResponseModel is 内购服务确认单明细上传接口 成功返回结果

type TaobaoFuwuSpConfirmApplyAPIRequest added in v1.2.0

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

TaobaoFuwuSpConfirmApplyAPIRequest 内购服务确认单申请接口 API请求 taobao.fuwu.sp.confirm.apply

isv能通过该接口发起确认申请单

func NewTaobaoFuwuSpConfirmApplyRequest

func NewTaobaoFuwuSpConfirmApplyRequest() *TaobaoFuwuSpConfirmApplyAPIRequest

NewTaobaoFuwuSpConfirmApplyRequest 初始化TaobaoFuwuSpConfirmApplyAPIRequest对象

func (TaobaoFuwuSpConfirmApplyAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoFuwuSpConfirmApplyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFuwuSpConfirmApplyAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFuwuSpConfirmApplyAPIRequest) GetParamIncomeConfirmDTO added in v1.2.0

func (r TaobaoFuwuSpConfirmApplyAPIRequest) GetParamIncomeConfirmDTO() *IncomeConfirmDto

GetParamIncomeConfirmDTO ParamIncomeConfirmDTO Getter

func (TaobaoFuwuSpConfirmApplyAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoFuwuSpConfirmApplyAPIRequest) SetParamIncomeConfirmDTO added in v1.2.0

func (r *TaobaoFuwuSpConfirmApplyAPIRequest) SetParamIncomeConfirmDTO(_paramIncomeConfirmDTO *IncomeConfirmDto) error

SetParamIncomeConfirmDTO is ParamIncomeConfirmDTO Setter 确认单申请

type TaobaoFuwuSpConfirmApplyAPIResponse

type TaobaoFuwuSpConfirmApplyAPIResponse struct {
	model.CommonResponse
	TaobaoFuwuSpConfirmApplyAPIResponseModel
}

TaobaoFuwuSpConfirmApplyAPIResponse 内购服务确认单申请接口 API返回值 taobao.fuwu.sp.confirm.apply

isv能通过该接口发起确认申请单

type TaobaoFuwuSpConfirmApplyAPIResponseModel added in v1.2.0

type TaobaoFuwuSpConfirmApplyAPIResponseModel struct {
	XMLName xml.Name `xml:"fuwu_sp_confirm_apply_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回的是服务市场的确认单ID
	ApplyResult int64 `json:"apply_result,omitempty" xml:"apply_result,omitempty"`
}

TaobaoFuwuSpConfirmApplyAPIResponseModel is 内购服务确认单申请接口 成功返回结果

type TaobaoRecycleOfnpreredpacketGetAPIRequest added in v1.2.0

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

TaobaoRecycleOfnpreredpacketGetAPIRequest 服务商查询前置补贴红包的最新数据 API请求 taobao.recycle.ofnpreredpacket.get

服务商查询前置补贴红包的最新数据

func NewTaobaoRecycleOfnpreredpacketGetRequest

func NewTaobaoRecycleOfnpreredpacketGetRequest() *TaobaoRecycleOfnpreredpacketGetAPIRequest

NewTaobaoRecycleOfnpreredpacketGetRequest 初始化TaobaoRecycleOfnpreredpacketGetAPIRequest对象

func (TaobaoRecycleOfnpreredpacketGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRecycleOfnpreredpacketGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRecycleOfnpreredpacketGetAPIRequest) GetOldOrderId added in v1.2.0

GetOldOrderId OldOrderId Getter

func (TaobaoRecycleOfnpreredpacketGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoRecycleOfnpreredpacketGetAPIRequest) SetOldOrderId added in v1.2.0

func (r *TaobaoRecycleOfnpreredpacketGetAPIRequest) SetOldOrderId(_oldOrderId int64) error

SetOldOrderId is OldOrderId Setter 旧机单id

type TaobaoRecycleOfnpreredpacketGetAPIResponse

type TaobaoRecycleOfnpreredpacketGetAPIResponse struct {
	model.CommonResponse
	TaobaoRecycleOfnpreredpacketGetAPIResponseModel
}

TaobaoRecycleOfnpreredpacketGetAPIResponse 服务商查询前置补贴红包的最新数据 API返回值 taobao.recycle.ofnpreredpacket.get

服务商查询前置补贴红包的最新数据

type TaobaoRecycleOfnpreredpacketGetAPIResponseModel added in v1.2.0

type TaobaoRecycleOfnpreredpacketGetAPIResponseModel struct {
	XMLName xml.Name `xml:"recycle_ofnpreredpacket_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 前置补贴红包
	Data *OfnPreRedPacketDto `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoRecycleOfnpreredpacketGetAPIResponseModel is 服务商查询前置补贴红包的最新数据 成功返回结果

type TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIRequest added in v1.2.0

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

TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIRequest 回收商同步前置补贴红包的代扣成功事件 API请求 taobao.recycle.ofnpreredpacket.tpdeductsuccess

回收商->天猫后端,同步前置补贴红包的代扣成功事件

func NewTaobaoRecycleOfnpreredpacketTpdeductsuccessRequest

func NewTaobaoRecycleOfnpreredpacketTpdeductsuccessRequest() *TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIRequest

NewTaobaoRecycleOfnpreredpacketTpdeductsuccessRequest 初始化TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIRequest对象

func (TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIRequest) GetDeductAmount added in v1.2.0

GetDeductAmount DeductAmount Getter

func (TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIRequest) GetOldOrderId added in v1.2.0

GetOldOrderId OldOrderId Getter

func (TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIRequest) SetDeductAmount added in v1.2.0

func (r *TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIRequest) SetDeductAmount(_deductAmount int64) error

SetDeductAmount is DeductAmount Setter 变化的金额

func (*TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIRequest) SetOldOrderId added in v1.2.0

SetOldOrderId is OldOrderId Setter 旧机单id

type TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIResponse

type TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIResponse struct {
	model.CommonResponse
	TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIResponseModel
}

TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIResponse 回收商同步前置补贴红包的代扣成功事件 API返回值 taobao.recycle.ofnpreredpacket.tpdeductsuccess

回收商->天猫后端,同步前置补贴红包的代扣成功事件

type TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIResponseModel added in v1.2.0

type TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIResponseModel struct {
	XMLName xml.Name `xml:"recycle_ofnpreredpacket_tpdeductsuccess_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 操作
	Data *OfnPreRedPacketActionDto `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIResponseModel is 回收商同步前置补贴红包的代扣成功事件 成功返回结果

type TaobaoRecycleOfnsubsidyOldGetAPIRequest added in v1.2.8

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

TaobaoRecycleOfnsubsidyOldGetAPIRequest 回收单旧机款及补贴查询 API请求 taobao.recycle.ofnsubsidy.old.get

回收单旧机款及补贴查询

func NewTaobaoRecycleOfnsubsidyOldGetRequest added in v1.2.8

func NewTaobaoRecycleOfnsubsidyOldGetRequest() *TaobaoRecycleOfnsubsidyOldGetAPIRequest

NewTaobaoRecycleOfnsubsidyOldGetRequest 初始化TaobaoRecycleOfnsubsidyOldGetAPIRequest对象

func (TaobaoRecycleOfnsubsidyOldGetAPIRequest) GetApiMethodName added in v1.2.8

func (r TaobaoRecycleOfnsubsidyOldGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRecycleOfnsubsidyOldGetAPIRequest) GetApiParams added in v1.2.8

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRecycleOfnsubsidyOldGetAPIRequest) GetOldOrderId added in v1.2.8

GetOldOrderId OldOrderId Getter

func (TaobaoRecycleOfnsubsidyOldGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoRecycleOfnsubsidyOldGetAPIRequest) SetOldOrderId added in v1.2.8

func (r *TaobaoRecycleOfnsubsidyOldGetAPIRequest) SetOldOrderId(_oldOrderId int64) error

SetOldOrderId is OldOrderId Setter 旧机单 ID

type TaobaoRecycleOfnsubsidyOldGetAPIResponse added in v1.2.8

type TaobaoRecycleOfnsubsidyOldGetAPIResponse struct {
	model.CommonResponse
	TaobaoRecycleOfnsubsidyOldGetAPIResponseModel
}

TaobaoRecycleOfnsubsidyOldGetAPIResponse 回收单旧机款及补贴查询 API返回值 taobao.recycle.ofnsubsidy.old.get

回收单旧机款及补贴查询

type TaobaoRecycleOfnsubsidyOldGetAPIResponseModel added in v1.2.8

type TaobaoRecycleOfnsubsidyOldGetAPIResponseModel struct {
	XMLName xml.Name `xml:"recycle_ofnsubsidy_old_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 回收款及补贴
	Data *OfnRecycleOrderSubsidyDto `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoRecycleOfnsubsidyOldGetAPIResponseModel is 回收单旧机款及补贴查询 成功返回结果

type TaobaoRecycleOrderFulfillSyncAPIRequest added in v1.2.9

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

TaobaoRecycleOrderFulfillSyncAPIRequest 同步回收单最终履约方式 API请求 taobao.recycle.order.fulfill.sync

同步回收单最终履约方式

func NewTaobaoRecycleOrderFulfillSyncRequest added in v1.2.9

func NewTaobaoRecycleOrderFulfillSyncRequest() *TaobaoRecycleOrderFulfillSyncAPIRequest

NewTaobaoRecycleOrderFulfillSyncRequest 初始化TaobaoRecycleOrderFulfillSyncAPIRequest对象

func (TaobaoRecycleOrderFulfillSyncAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoRecycleOrderFulfillSyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRecycleOrderFulfillSyncAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRecycleOrderFulfillSyncAPIRequest) GetFulfillType added in v1.2.9

GetFulfillType FulfillType Getter

func (TaobaoRecycleOrderFulfillSyncAPIRequest) GetOldOrderId added in v1.2.9

GetOldOrderId OldOrderId Getter

func (TaobaoRecycleOrderFulfillSyncAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoRecycleOrderFulfillSyncAPIRequest) SetFulfillType added in v1.2.9

func (r *TaobaoRecycleOrderFulfillSyncAPIRequest) SetFulfillType(_fulfillType int64) error

SetFulfillType is FulfillType Setter 取送一体时这个字段传 1,否则传 0

func (*TaobaoRecycleOrderFulfillSyncAPIRequest) SetOldOrderId added in v1.2.9

func (r *TaobaoRecycleOrderFulfillSyncAPIRequest) SetOldOrderId(_oldOrderId int64) error

SetOldOrderId is OldOrderId Setter 回收单订单 ID

type TaobaoRecycleOrderFulfillSyncAPIResponse added in v1.2.9

type TaobaoRecycleOrderFulfillSyncAPIResponse struct {
	model.CommonResponse
	TaobaoRecycleOrderFulfillSyncAPIResponseModel
}

TaobaoRecycleOrderFulfillSyncAPIResponse 同步回收单最终履约方式 API返回值 taobao.recycle.order.fulfill.sync

同步回收单最终履约方式

type TaobaoRecycleOrderFulfillSyncAPIResponseModel added in v1.2.9

type TaobaoRecycleOrderFulfillSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"recycle_order_fulfill_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 同步回收单最终履约方式结果
	Data *OfnRecycleOrderSyncFulfillTypeDto `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoRecycleOrderFulfillSyncAPIResponseModel is 同步回收单最终履约方式 成功返回结果

type TaobaoRecyclePredeductBlacklistOrderSyncAPIRequest added in v1.2.9

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

TaobaoRecyclePredeductBlacklistOrderSyncAPIRequest 同步服务商黑名单 API请求 taobao.recycle.prededuct.blacklist.order.sync

同步服务商黑名单

func NewTaobaoRecyclePredeductBlacklistOrderSyncRequest added in v1.2.9

func NewTaobaoRecyclePredeductBlacklistOrderSyncRequest() *TaobaoRecyclePredeductBlacklistOrderSyncAPIRequest

NewTaobaoRecyclePredeductBlacklistOrderSyncRequest 初始化TaobaoRecyclePredeductBlacklistOrderSyncAPIRequest对象

func (TaobaoRecyclePredeductBlacklistOrderSyncAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRecyclePredeductBlacklistOrderSyncAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRecyclePredeductBlacklistOrderSyncAPIRequest) GetBlackOrderId added in v1.2.9

GetBlackOrderId BlackOrderId Getter

func (TaobaoRecyclePredeductBlacklistOrderSyncAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoRecyclePredeductBlacklistOrderSyncAPIRequest) SetBlackOrderId added in v1.2.9

func (r *TaobaoRecyclePredeductBlacklistOrderSyncAPIRequest) SetBlackOrderId(_blackOrderId int64) error

SetBlackOrderId is BlackOrderId Setter 需要加入黑名单的回收单订单 ID

type TaobaoRecyclePredeductBlacklistOrderSyncAPIResponse added in v1.2.9

type TaobaoRecyclePredeductBlacklistOrderSyncAPIResponse struct {
	model.CommonResponse
	TaobaoRecyclePredeductBlacklistOrderSyncAPIResponseModel
}

TaobaoRecyclePredeductBlacklistOrderSyncAPIResponse 同步服务商黑名单 API返回值 taobao.recycle.prededuct.blacklist.order.sync

同步服务商黑名单

type TaobaoRecyclePredeductBlacklistOrderSyncAPIResponseModel added in v1.2.9

type TaobaoRecyclePredeductBlacklistOrderSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"recycle_prededuct_blacklist_order_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 同步黑名单结果
	Data *OfnRecyclerSyncBlackListDto `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoRecyclePredeductBlacklistOrderSyncAPIResponseModel is 同步服务商黑名单 成功返回结果

type TaobaoRecyclePredeductOldGetAPIRequest added in v1.2.9

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

TaobaoRecyclePredeductOldGetAPIRequest 查询回收单前置抵扣详情 API请求 taobao.recycle.prededuct.old.get

查询回收单前置抵扣详情

func NewTaobaoRecyclePredeductOldGetRequest added in v1.2.9

func NewTaobaoRecyclePredeductOldGetRequest() *TaobaoRecyclePredeductOldGetAPIRequest

NewTaobaoRecyclePredeductOldGetRequest 初始化TaobaoRecyclePredeductOldGetAPIRequest对象

func (TaobaoRecyclePredeductOldGetAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoRecyclePredeductOldGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRecyclePredeductOldGetAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRecyclePredeductOldGetAPIRequest) GetOldOrderId added in v1.2.9

GetOldOrderId OldOrderId Getter

func (TaobaoRecyclePredeductOldGetAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoRecyclePredeductOldGetAPIRequest) SetOldOrderId added in v1.2.9

func (r *TaobaoRecyclePredeductOldGetAPIRequest) SetOldOrderId(_oldOrderId int64) error

SetOldOrderId is OldOrderId Setter 旧机单 ID

type TaobaoRecyclePredeductOldGetAPIResponse added in v1.2.9

type TaobaoRecyclePredeductOldGetAPIResponse struct {
	model.CommonResponse
	TaobaoRecyclePredeductOldGetAPIResponseModel
}

TaobaoRecyclePredeductOldGetAPIResponse 查询回收单前置抵扣详情 API返回值 taobao.recycle.prededuct.old.get

查询回收单前置抵扣详情

type TaobaoRecyclePredeductOldGetAPIResponseModel added in v1.2.9

type TaobaoRecyclePredeductOldGetAPIResponseModel struct {
	XMLName xml.Name `xml:"recycle_prededuct_old_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 回收单前置抵扣详情
	Data *OfnRecycleOrderPreDeductDetailDto `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoRecyclePredeductOldGetAPIResponseModel is 查询回收单前置抵扣详情 成功返回结果

type TaobaoRecyclePredeductSettleSyncAPIRequest added in v1.2.9

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

TaobaoRecyclePredeductSettleSyncAPIRequest 同步回收单线下打款明细 API请求 taobao.recycle.prededuct.settle.sync

同步回收单线下打款明细

func NewTaobaoRecyclePredeductSettleSyncRequest added in v1.2.9

func NewTaobaoRecyclePredeductSettleSyncRequest() *TaobaoRecyclePredeductSettleSyncAPIRequest

NewTaobaoRecyclePredeductSettleSyncRequest 初始化TaobaoRecyclePredeductSettleSyncAPIRequest对象

func (TaobaoRecyclePredeductSettleSyncAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRecyclePredeductSettleSyncAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRecyclePredeductSettleSyncAPIRequest) GetOfflineSettleFee added in v1.2.9

func (r TaobaoRecyclePredeductSettleSyncAPIRequest) GetOfflineSettleFee() int64

GetOfflineSettleFee OfflineSettleFee Getter

func (TaobaoRecyclePredeductSettleSyncAPIRequest) GetOldOrderId added in v1.2.9

GetOldOrderId OldOrderId Getter

func (TaobaoRecyclePredeductSettleSyncAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoRecyclePredeductSettleSyncAPIRequest) GetVersion added in v1.2.9

GetVersion Version Getter

func (*TaobaoRecyclePredeductSettleSyncAPIRequest) SetOfflineSettleFee added in v1.2.9

func (r *TaobaoRecyclePredeductSettleSyncAPIRequest) SetOfflineSettleFee(_offlineSettleFee int64) error

SetOfflineSettleFee is OfflineSettleFee Setter 线下打款金额,正数表示 服务商向用户支付的 金额,负数表示 服务商收取用户 的金额,单位为 分

func (*TaobaoRecyclePredeductSettleSyncAPIRequest) SetOldOrderId added in v1.2.9

func (r *TaobaoRecyclePredeductSettleSyncAPIRequest) SetOldOrderId(_oldOrderId int64) error

SetOldOrderId is OldOrderId Setter 回收单 ID

func (*TaobaoRecyclePredeductSettleSyncAPIRequest) SetVersion added in v1.2.9

func (r *TaobaoRecyclePredeductSettleSyncAPIRequest) SetVersion(_version int64) error

SetVersion is Version Setter 数据版本号,从1开始递增,天猫平台收到请求后会对这个字段做校验,只有比当前版本大的请求才会处理。

type TaobaoRecyclePredeductSettleSyncAPIResponse added in v1.2.9

type TaobaoRecyclePredeductSettleSyncAPIResponse struct {
	model.CommonResponse
	TaobaoRecyclePredeductSettleSyncAPIResponseModel
}

TaobaoRecyclePredeductSettleSyncAPIResponse 同步回收单线下打款明细 API返回值 taobao.recycle.prededuct.settle.sync

同步回收单线下打款明细

type TaobaoRecyclePredeductSettleSyncAPIResponseModel added in v1.2.9

type TaobaoRecyclePredeductSettleSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"recycle_prededuct_settle_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 同步线下打款明细结果
	Data *OfnRecycleOrderSyncOfflineSettleInfoDto `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoRecyclePredeductSettleSyncAPIResponseModel is 同步回收单线下打款明细 成功返回结果

type TaobaoVasOrderSearchAPIRequest added in v1.2.0

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

TaobaoVasOrderSearchAPIRequest 订单记录导出 API请求 taobao.vas.order.search

用于ISV查询自己名下的应用及收费项目的订单记录(已付款订单)。<br/>建议用于查询前一日的历史记录,不适合用作实时数据查询。<br/>现在只能查询90天以内的数据<br/>该接口限制每分钟所有appkey调用总和只能有800次。

func NewTaobaoVasOrderSearchRequest

func NewTaobaoVasOrderSearchRequest() *TaobaoVasOrderSearchAPIRequest

NewTaobaoVasOrderSearchRequest 初始化TaobaoVasOrderSearchAPIRequest对象

func (TaobaoVasOrderSearchAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVasOrderSearchAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVasOrderSearchAPIRequest) GetArticleCode added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetArticleCode() string

GetArticleCode ArticleCode Getter

func (TaobaoVasOrderSearchAPIRequest) GetBizOrderId added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetBizOrderId() int64

GetBizOrderId BizOrderId Getter

func (TaobaoVasOrderSearchAPIRequest) GetBizType added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetBizType() int64

GetBizType BizType Getter

func (TaobaoVasOrderSearchAPIRequest) GetEndCreated added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetEndCreated() string

GetEndCreated EndCreated Getter

func (TaobaoVasOrderSearchAPIRequest) GetItemCode added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetItemCode() string

GetItemCode ItemCode Getter

func (TaobaoVasOrderSearchAPIRequest) GetNick added in v1.2.0

GetNick Nick Getter

func (TaobaoVasOrderSearchAPIRequest) GetOrderId added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetOrderId() int64

GetOrderId OrderId Getter

func (TaobaoVasOrderSearchAPIRequest) GetPageNo added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetPageNo() int64

GetPageNo PageNo Getter

func (TaobaoVasOrderSearchAPIRequest) GetPageSize added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoVasOrderSearchAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoVasOrderSearchAPIRequest) GetRawParams() model.Params

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

func (TaobaoVasOrderSearchAPIRequest) GetStartCreated added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetStartCreated() string

GetStartCreated StartCreated Getter

func (*TaobaoVasOrderSearchAPIRequest) SetArticleCode added in v1.2.0

func (r *TaobaoVasOrderSearchAPIRequest) SetArticleCode(_articleCode string) error

SetArticleCode is ArticleCode Setter 应用收费代码,从合作伙伴后台(my.open.taobao.com)-收费管理-收费项目列表 能够获得该应用的收费代码

func (*TaobaoVasOrderSearchAPIRequest) SetBizOrderId added in v1.2.0

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

SetBizOrderId is BizOrderId Setter 订单号

func (*TaobaoVasOrderSearchAPIRequest) SetBizType added in v1.2.0

func (r *TaobaoVasOrderSearchAPIRequest) SetBizType(_bizType int64) error

SetBizType is BizType Setter 订单类型,1=新订 2=续订 3=升级 4=后台赠送 5=后台自动续订 6=订单审核后生成订购关系(暂时用不到) 空=全部

func (*TaobaoVasOrderSearchAPIRequest) SetEndCreated added in v1.2.0

func (r *TaobaoVasOrderSearchAPIRequest) SetEndCreated(_endCreated string) error

SetEndCreated is EndCreated Setter 订单创建时间(订购时间)结束值

func (*TaobaoVasOrderSearchAPIRequest) SetItemCode added in v1.2.0

func (r *TaobaoVasOrderSearchAPIRequest) SetItemCode(_itemCode string) error

SetItemCode is ItemCode Setter 收费项目代码,从合作伙伴后台(my.open.taobao.com)-收费管理-收费项目列表 能够获得收费项目代码

func (*TaobaoVasOrderSearchAPIRequest) SetNick added in v1.2.0

func (r *TaobaoVasOrderSearchAPIRequest) SetNick(_nick string) error

SetNick is Nick Setter 淘宝会员名

func (*TaobaoVasOrderSearchAPIRequest) SetOrderId added in v1.2.0

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

SetOrderId is OrderId Setter 子订单号

func (*TaobaoVasOrderSearchAPIRequest) SetPageNo added in v1.2.0

func (r *TaobaoVasOrderSearchAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 页码

func (*TaobaoVasOrderSearchAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 一页包含的记录数

func (*TaobaoVasOrderSearchAPIRequest) SetStartCreated added in v1.2.0

func (r *TaobaoVasOrderSearchAPIRequest) SetStartCreated(_startCreated string) error

SetStartCreated is StartCreated Setter 订单创建时间(订购时间)起始值(当start_created和end_created都不填写时,默认返回最近90天的数据)

type TaobaoVasOrderSearchAPIResponse

type TaobaoVasOrderSearchAPIResponse struct {
	model.CommonResponse
	TaobaoVasOrderSearchAPIResponseModel
}

TaobaoVasOrderSearchAPIResponse 订单记录导出 API返回值 taobao.vas.order.search

用于ISV查询自己名下的应用及收费项目的订单记录(已付款订单)。<br/>建议用于查询前一日的历史记录,不适合用作实时数据查询。<br/>现在只能查询90天以内的数据<br/>该接口限制每分钟所有appkey调用总和只能有800次。

type TaobaoVasOrderSearchAPIResponseModel added in v1.2.0

type TaobaoVasOrderSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"vas_order_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 商品订单对象
	ArticleBizOrders []ArticleBizOrder `json:"article_biz_orders,omitempty" xml:"article_biz_orders>article_biz_order,omitempty"`
	// 总记录数
	TotalItem int64 `json:"total_item,omitempty" xml:"total_item,omitempty"`
}

TaobaoVasOrderSearchAPIResponseModel is 订单记录导出 成功返回结果

type TaobaoVasServiceValidateAPIRequest added in v1.2.0

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

TaobaoVasServiceValidateAPIRequest 增值服务订购服务验证 API请求 taobao.vas.service.validate

增值服务订购服务验证

func NewTaobaoVasServiceValidateRequest

func NewTaobaoVasServiceValidateRequest() *TaobaoVasServiceValidateAPIRequest

NewTaobaoVasServiceValidateRequest 初始化TaobaoVasServiceValidateAPIRequest对象

func (TaobaoVasServiceValidateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoVasServiceValidateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVasServiceValidateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVasServiceValidateAPIRequest) GetNick added in v1.2.0

GetNick Nick Getter

func (TaobaoVasServiceValidateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoVasServiceValidateAPIRequest) GetServCode added in v1.2.0

GetServCode ServCode Getter

func (*TaobaoVasServiceValidateAPIRequest) SetNick added in v1.2.0

SetNick is Nick Setter 用户昵称

func (*TaobaoVasServiceValidateAPIRequest) SetServCode added in v1.2.0

func (r *TaobaoVasServiceValidateAPIRequest) SetServCode(_servCode string) error

SetServCode is ServCode Setter 服务编码

type TaobaoVasServiceValidateAPIResponse

type TaobaoVasServiceValidateAPIResponse struct {
	model.CommonResponse
	TaobaoVasServiceValidateAPIResponseModel
}

TaobaoVasServiceValidateAPIResponse 增值服务订购服务验证 API返回值 taobao.vas.service.validate

增值服务订购服务验证

type TaobaoVasServiceValidateAPIResponseModel added in v1.2.0

type TaobaoVasServiceValidateAPIResponseModel struct {
	XMLName xml.Name `xml:"vas_service_validate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// none 没有订购,open 已经开通服务,freeze 服务已经冻结,close 服务已经关闭,error 系统错误
	Status string `json:"status,omitempty" xml:"status,omitempty"`
}

TaobaoVasServiceValidateAPIResponseModel is 增值服务订购服务验证 成功返回结果

type TaobaoVasSubscSearchAPIRequest added in v1.2.0

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

TaobaoVasSubscSearchAPIRequest 订购记录导出 API请求 taobao.vas.subsc.search

用于ISV查询自己名下的应用及收费项目的订购记录

func NewTaobaoVasSubscSearchRequest

func NewTaobaoVasSubscSearchRequest() *TaobaoVasSubscSearchAPIRequest

NewTaobaoVasSubscSearchRequest 初始化TaobaoVasSubscSearchAPIRequest对象

func (TaobaoVasSubscSearchAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVasSubscSearchAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVasSubscSearchAPIRequest) GetArticleCode added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetArticleCode() string

GetArticleCode ArticleCode Getter

func (TaobaoVasSubscSearchAPIRequest) GetAutosub added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetAutosub() bool

GetAutosub Autosub Getter

func (TaobaoVasSubscSearchAPIRequest) GetEndDeadline added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetEndDeadline() string

GetEndDeadline EndDeadline Getter

func (TaobaoVasSubscSearchAPIRequest) GetExpireNotice added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetExpireNotice() bool

GetExpireNotice ExpireNotice Getter

func (TaobaoVasSubscSearchAPIRequest) GetItemCode added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetItemCode() string

GetItemCode ItemCode Getter

func (TaobaoVasSubscSearchAPIRequest) GetNick added in v1.2.0

GetNick Nick Getter

func (TaobaoVasSubscSearchAPIRequest) GetPageNo added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetPageNo() int64

GetPageNo PageNo Getter

func (TaobaoVasSubscSearchAPIRequest) GetPageSize added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoVasSubscSearchAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoVasSubscSearchAPIRequest) GetRawParams() model.Params

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

func (TaobaoVasSubscSearchAPIRequest) GetStartDeadline added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetStartDeadline() string

GetStartDeadline StartDeadline Getter

func (TaobaoVasSubscSearchAPIRequest) GetStatus added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetStatus() int64

GetStatus Status Getter

func (*TaobaoVasSubscSearchAPIRequest) SetArticleCode added in v1.2.0

func (r *TaobaoVasSubscSearchAPIRequest) SetArticleCode(_articleCode string) error

SetArticleCode is ArticleCode Setter 应用收费代码,从合作伙伴后台(my.open.taobao.com)-收费管理-收费项目列表 能够获得该应用的收费代码

func (*TaobaoVasSubscSearchAPIRequest) SetAutosub added in v1.2.0

func (r *TaobaoVasSubscSearchAPIRequest) SetAutosub(_autosub bool) error

SetAutosub is Autosub Setter 是否自动续费,true=自动续费 false=非自动续费 空=全部

func (*TaobaoVasSubscSearchAPIRequest) SetEndDeadline added in v1.2.0

func (r *TaobaoVasSubscSearchAPIRequest) SetEndDeadline(_endDeadline string) error

SetEndDeadline is EndDeadline Setter 到期时间结束值

func (*TaobaoVasSubscSearchAPIRequest) SetExpireNotice added in v1.2.0

func (r *TaobaoVasSubscSearchAPIRequest) SetExpireNotice(_expireNotice bool) error

SetExpireNotice is ExpireNotice Setter 是否到期提醒,true=到期提醒 false=非到期提醒 空=全部

func (*TaobaoVasSubscSearchAPIRequest) SetItemCode added in v1.2.0

func (r *TaobaoVasSubscSearchAPIRequest) SetItemCode(_itemCode string) error

SetItemCode is ItemCode Setter 收费项目代码,从合作伙伴后台(my.open.taobao.com)-收费管理-收费项目列表 能够获得收费项目代码

func (*TaobaoVasSubscSearchAPIRequest) SetNick added in v1.2.0

func (r *TaobaoVasSubscSearchAPIRequest) SetNick(_nick string) error

SetNick is Nick Setter 淘宝会员名

func (*TaobaoVasSubscSearchAPIRequest) SetPageNo added in v1.2.0

func (r *TaobaoVasSubscSearchAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 页码

func (*TaobaoVasSubscSearchAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 一页包含的记录数

func (*TaobaoVasSubscSearchAPIRequest) SetStartDeadline added in v1.2.0

func (r *TaobaoVasSubscSearchAPIRequest) SetStartDeadline(_startDeadline string) error

SetStartDeadline is StartDeadline Setter 到期时间起始值(当start_deadline和end_deadline都不填写时,默认返回最近90天的数据)

func (*TaobaoVasSubscSearchAPIRequest) SetStatus added in v1.2.0

func (r *TaobaoVasSubscSearchAPIRequest) SetStatus(_status int64) error

SetStatus is Status Setter 订购记录状态,1=有效 2=过期 空=全部

type TaobaoVasSubscSearchAPIResponse

type TaobaoVasSubscSearchAPIResponse struct {
	model.CommonResponse
	TaobaoVasSubscSearchAPIResponseModel
}

TaobaoVasSubscSearchAPIResponse 订购记录导出 API返回值 taobao.vas.subsc.search

用于ISV查询自己名下的应用及收费项目的订购记录

type TaobaoVasSubscSearchAPIResponseModel added in v1.2.0

type TaobaoVasSubscSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"vas_subsc_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 订购关系对象
	ArticleSubs []ArticleSub `json:"article_subs,omitempty" xml:"article_subs>article_sub,omitempty"`
	// 总记录数
	TotalItem int64 `json:"total_item,omitempty" xml:"total_item,omitempty"`
}

TaobaoVasSubscSearchAPIResponseModel is 订购记录导出 成功返回结果

type TaobaoVasSubscribeGetAPIRequest added in v1.2.0

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

TaobaoVasSubscribeGetAPIRequest 订购关系查询 API请求 taobao.vas.subscribe.get

用于ISV根据登录进来的淘宝会员名查询该为该会员开通哪些收费项目,ISV只能查询自己名下的应用及收费项目的订购情况

func NewTaobaoVasSubscribeGetRequest

func NewTaobaoVasSubscribeGetRequest() *TaobaoVasSubscribeGetAPIRequest

NewTaobaoVasSubscribeGetRequest 初始化TaobaoVasSubscribeGetAPIRequest对象

func (TaobaoVasSubscribeGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoVasSubscribeGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoVasSubscribeGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVasSubscribeGetAPIRequest) GetArticleCode added in v1.2.0

func (r TaobaoVasSubscribeGetAPIRequest) GetArticleCode() string

GetArticleCode ArticleCode Getter

func (TaobaoVasSubscribeGetAPIRequest) GetNick added in v1.2.0

GetNick Nick Getter

func (TaobaoVasSubscribeGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoVasSubscribeGetAPIRequest) GetRawParams() model.Params

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

func (*TaobaoVasSubscribeGetAPIRequest) SetArticleCode added in v1.2.0

func (r *TaobaoVasSubscribeGetAPIRequest) SetArticleCode(_articleCode string) error

SetArticleCode is ArticleCode Setter 商品编码,从合作伙伴后台(my.open.taobao.com)-收费管理-收费项目列表 能够获得该应用的商品代码

func (*TaobaoVasSubscribeGetAPIRequest) SetNick added in v1.2.0

func (r *TaobaoVasSubscribeGetAPIRequest) SetNick(_nick string) error

SetNick is Nick Setter 淘宝会员名

type TaobaoVasSubscribeGetAPIResponse

type TaobaoVasSubscribeGetAPIResponse struct {
	model.CommonResponse
	TaobaoVasSubscribeGetAPIResponseModel
}

TaobaoVasSubscribeGetAPIResponse 订购关系查询 API返回值 taobao.vas.subscribe.get

用于ISV根据登录进来的淘宝会员名查询该为该会员开通哪些收费项目,ISV只能查询自己名下的应用及收费项目的订购情况

type TaobaoVasSubscribeGetAPIResponseModel added in v1.2.0

type TaobaoVasSubscribeGetAPIResponseModel struct {
	XMLName xml.Name `xml:"vas_subscribe_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 用户订购信息
	ArticleUserSubscribes []ArticleUserSubscribe `json:"article_user_subscribes,omitempty" xml:"article_user_subscribes>article_user_subscribe,omitempty"`
}

TaobaoVasSubscribeGetAPIResponseModel is 订购关系查询 成功返回结果

type TaobaoWeikeEserviceOrderGetAPIRequest added in v1.2.0

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

TaobaoWeikeEserviceOrderGetAPIRequest 客服外包订单查询 API请求 taobao.weike.eservice.order.get

用于客服外包中服务商查询订单列表

func NewTaobaoWeikeEserviceOrderGetRequest

func NewTaobaoWeikeEserviceOrderGetRequest() *TaobaoWeikeEserviceOrderGetAPIRequest

NewTaobaoWeikeEserviceOrderGetRequest 初始化TaobaoWeikeEserviceOrderGetAPIRequest对象

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoWeikeEserviceOrderGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetEndDate added in v1.2.0

GetEndDate EndDate Getter

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetOrderIdList added in v1.2.0

func (r TaobaoWeikeEserviceOrderGetAPIRequest) GetOrderIdList() []int64

GetOrderIdList OrderIdList Getter

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetPageNum added in v1.2.0

GetPageNum PageNum Getter

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetSchedulingState added in v1.2.0

func (r TaobaoWeikeEserviceOrderGetAPIRequest) GetSchedulingState() bool

GetSchedulingState SchedulingState Getter

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetSellerNick added in v1.2.0

GetSellerNick SellerNick Getter

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetStartDate added in v1.2.0

GetStartDate StartDate Getter

func (*TaobaoWeikeEserviceOrderGetAPIRequest) SetEndDate added in v1.2.0

func (r *TaobaoWeikeEserviceOrderGetAPIRequest) SetEndDate(_endDate string) error

SetEndDate is EndDate Setter 订单服务结束日期

func (*TaobaoWeikeEserviceOrderGetAPIRequest) SetOrderIdList added in v1.2.0

func (r *TaobaoWeikeEserviceOrderGetAPIRequest) SetOrderIdList(_orderIdList []int64) error

SetOrderIdList is OrderIdList Setter 订单ID列表,最大不超过20个(这个参数指定后,其它过滤条件失效)

func (*TaobaoWeikeEserviceOrderGetAPIRequest) SetPageNum added in v1.2.0

func (r *TaobaoWeikeEserviceOrderGetAPIRequest) SetPageNum(_pageNum int64) error

SetPageNum is PageNum Setter 页码(默认为1)

func (*TaobaoWeikeEserviceOrderGetAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 每页记录数(默认20,最大不超过20)

func (*TaobaoWeikeEserviceOrderGetAPIRequest) SetSchedulingState added in v1.2.0

func (r *TaobaoWeikeEserviceOrderGetAPIRequest) SetSchedulingState(_schedulingState bool) error

SetSchedulingState is SchedulingState Setter 订单是否可以排班

func (*TaobaoWeikeEserviceOrderGetAPIRequest) SetSellerNick added in v1.2.0

func (r *TaobaoWeikeEserviceOrderGetAPIRequest) SetSellerNick(_sellerNick string) error

SetSellerNick is SellerNick Setter 商家昵称

func (*TaobaoWeikeEserviceOrderGetAPIRequest) SetStartDate added in v1.2.0

func (r *TaobaoWeikeEserviceOrderGetAPIRequest) SetStartDate(_startDate string) error

SetStartDate is StartDate Setter 订单服务开始日期

type TaobaoWeikeEserviceOrderGetAPIResponse

type TaobaoWeikeEserviceOrderGetAPIResponse struct {
	model.CommonResponse
	TaobaoWeikeEserviceOrderGetAPIResponseModel
}

TaobaoWeikeEserviceOrderGetAPIResponse 客服外包订单查询 API返回值 taobao.weike.eservice.order.get

用于客服外包中服务商查询订单列表

type TaobaoWeikeEserviceOrderGetAPIResponseModel added in v1.2.0

type TaobaoWeikeEserviceOrderGetAPIResponseModel struct {
	XMLName xml.Name `xml:"weike_eservice_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 订单列表
	OrderList []Order `json:"order_list,omitempty" xml:"order_list>order,omitempty"`
	// 记录总记录数
	TotalSize int64 `json:"total_size,omitempty" xml:"total_size,omitempty"`
}

TaobaoWeikeEserviceOrderGetAPIResponseModel is 客服外包订单查询 成功返回结果

type TaobaoWeikeEserviceScheduleGetAPIRequest added in v1.2.0

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

TaobaoWeikeEserviceScheduleGetAPIRequest 客服排班信息查询接口 API请求 taobao.weike.eservice.schedule.get

客服排班信息查询接口

func NewTaobaoWeikeEserviceScheduleGetRequest

func NewTaobaoWeikeEserviceScheduleGetRequest() *TaobaoWeikeEserviceScheduleGetAPIRequest

NewTaobaoWeikeEserviceScheduleGetRequest 初始化TaobaoWeikeEserviceScheduleGetAPIRequest对象

func (TaobaoWeikeEserviceScheduleGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoWeikeEserviceScheduleGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWeikeEserviceScheduleGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWeikeEserviceScheduleGetAPIRequest) GetEndDate added in v1.2.0

GetEndDate EndDate Getter

func (TaobaoWeikeEserviceScheduleGetAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (TaobaoWeikeEserviceScheduleGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoWeikeEserviceScheduleGetAPIRequest) GetSellerNick added in v1.2.0

GetSellerNick SellerNick Getter

func (TaobaoWeikeEserviceScheduleGetAPIRequest) GetSpNick added in v1.2.0

GetSpNick SpNick Getter

func (TaobaoWeikeEserviceScheduleGetAPIRequest) GetStartDate added in v1.2.0

GetStartDate StartDate Getter

func (*TaobaoWeikeEserviceScheduleGetAPIRequest) SetEndDate added in v1.2.0

func (r *TaobaoWeikeEserviceScheduleGetAPIRequest) SetEndDate(_endDate string) error

SetEndDate is EndDate Setter 结束日期,起始日期和结束日期跨度不能超过31天

func (*TaobaoWeikeEserviceScheduleGetAPIRequest) SetOrderId added in v1.2.0

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

SetOrderId is OrderId Setter 订单ID,orderId、sellerNick、spNick三者不能同时为Null

func (*TaobaoWeikeEserviceScheduleGetAPIRequest) SetSellerNick added in v1.2.0

func (r *TaobaoWeikeEserviceScheduleGetAPIRequest) SetSellerNick(_sellerNick string) error

SetSellerNick is SellerNick Setter 商家子账号昵称,orderId、sellerNick、spNick三者不能同时为Null

func (*TaobaoWeikeEserviceScheduleGetAPIRequest) SetSpNick added in v1.2.0

SetSpNick is SpNick Setter 服务商子账号昵称,orderId、sellerNick、spNick三者不能同时为Null

func (*TaobaoWeikeEserviceScheduleGetAPIRequest) SetStartDate added in v1.2.0

func (r *TaobaoWeikeEserviceScheduleGetAPIRequest) SetStartDate(_startDate string) error

SetStartDate is StartDate Setter 起始日期,起始日期和结束日期跨度不能超过31天

type TaobaoWeikeEserviceScheduleGetAPIResponse

type TaobaoWeikeEserviceScheduleGetAPIResponse struct {
	model.CommonResponse
	TaobaoWeikeEserviceScheduleGetAPIResponseModel
}

TaobaoWeikeEserviceScheduleGetAPIResponse 客服排班信息查询接口 API返回值 taobao.weike.eservice.schedule.get

客服排班信息查询接口

type TaobaoWeikeEserviceScheduleGetAPIResponseModel added in v1.2.0

type TaobaoWeikeEserviceScheduleGetAPIResponseModel struct {
	XMLName xml.Name `xml:"weike_eservice_schedule_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 排班信息查询结果
	Result *CsSchedulingWrapper `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoWeikeEserviceScheduleGetAPIResponseModel is 客服排班信息查询接口 成功返回结果

type TaobaoWeikeEserviceSubusersGetAPIRequest added in v1.2.0

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

TaobaoWeikeEserviceSubusersGetAPIRequest 客服外包订单分配的商家子账号列表 API请求 taobao.weike.eservice.subusers.get

获取客服外包订单分配的商家子账号列表,以及授权状态

func NewTaobaoWeikeEserviceSubusersGetRequest

func NewTaobaoWeikeEserviceSubusersGetRequest() *TaobaoWeikeEserviceSubusersGetAPIRequest

NewTaobaoWeikeEserviceSubusersGetRequest 初始化TaobaoWeikeEserviceSubusersGetAPIRequest对象

func (TaobaoWeikeEserviceSubusersGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoWeikeEserviceSubusersGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWeikeEserviceSubusersGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWeikeEserviceSubusersGetAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (TaobaoWeikeEserviceSubusersGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoWeikeEserviceSubusersGetAPIRequest) SetOrderId added in v1.2.0

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

SetOrderId is OrderId Setter 订单ID

type TaobaoWeikeEserviceSubusersGetAPIResponse

type TaobaoWeikeEserviceSubusersGetAPIResponse struct {
	model.CommonResponse
	TaobaoWeikeEserviceSubusersGetAPIResponseModel
}

TaobaoWeikeEserviceSubusersGetAPIResponse 客服外包订单分配的商家子账号列表 API返回值 taobao.weike.eservice.subusers.get

获取客服外包订单分配的商家子账号列表,以及授权状态

type TaobaoWeikeEserviceSubusersGetAPIResponseModel added in v1.2.0

type TaobaoWeikeEserviceSubusersGetAPIResponseModel struct {
	XMLName xml.Name `xml:"weike_eservice_subusers_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 商家子账号查询结果
	Result *AuthorizedAccountWrapper `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoWeikeEserviceSubusersGetAPIResponseModel is 客服外包订单分配的商家子账号列表 成功返回结果

type TaobaoWeikePerformancePutAPIRequest added in v1.2.0

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

TaobaoWeikePerformancePutAPIRequest 提交客服绩效接口 API请求 taobao.weike.performance.put

提交客服绩效接口

func NewTaobaoWeikePerformancePutRequest

func NewTaobaoWeikePerformancePutRequest() *TaobaoWeikePerformancePutAPIRequest

NewTaobaoWeikePerformancePutRequest 初始化TaobaoWeikePerformancePutAPIRequest对象

func (TaobaoWeikePerformancePutAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoWeikePerformancePutAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWeikePerformancePutAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWeikePerformancePutAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (TaobaoWeikePerformancePutAPIRequest) GetPerInfoWrapper added in v1.2.0

GetPerInfoWrapper PerInfoWrapper Getter

func (TaobaoWeikePerformancePutAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoWeikePerformancePutAPIRequest) SetId added in v1.2.0

SetId is Id Setter 订单id

func (*TaobaoWeikePerformancePutAPIRequest) SetPerInfoWrapper added in v1.2.0

func (r *TaobaoWeikePerformancePutAPIRequest) SetPerInfoWrapper(_perInfoWrapper *PerformanceInfoWrapper) error

SetPerInfoWrapper is PerInfoWrapper Setter 绩效数据封装类

type TaobaoWeikePerformancePutAPIResponse

type TaobaoWeikePerformancePutAPIResponse struct {
	model.CommonResponse
	TaobaoWeikePerformancePutAPIResponseModel
}

TaobaoWeikePerformancePutAPIResponse 提交客服绩效接口 API返回值 taobao.weike.performance.put

提交客服绩效接口

type TaobaoWeikePerformancePutAPIResponseModel added in v1.2.0

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

TaobaoWeikePerformancePutAPIResponseModel is 提交客服绩效接口 成功返回结果

type TaobaoWeikeSubscinfoGetAPIRequest added in v1.2.0

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

TaobaoWeikeSubscinfoGetAPIRequest 需求订单查询接口 API请求 taobao.weike.subscinfo.get

需求订单查询接口

func NewTaobaoWeikeSubscinfoGetRequest

func NewTaobaoWeikeSubscinfoGetRequest() *TaobaoWeikeSubscinfoGetAPIRequest

NewTaobaoWeikeSubscinfoGetRequest 初始化TaobaoWeikeSubscinfoGetAPIRequest对象

func (TaobaoWeikeSubscinfoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoWeikeSubscinfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWeikeSubscinfoGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWeikeSubscinfoGetAPIRequest) GetEndTime added in v1.2.0

GetEndTime EndTime Getter

func (TaobaoWeikeSubscinfoGetAPIRequest) GetPageNum added in v1.2.0

GetPageNum PageNum Getter

func (TaobaoWeikeSubscinfoGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoWeikeSubscinfoGetAPIRequest) GetSellerName added in v1.2.0

func (r TaobaoWeikeSubscinfoGetAPIRequest) GetSellerName() string

GetSellerName SellerName Getter

func (TaobaoWeikeSubscinfoGetAPIRequest) GetStartTime added in v1.2.0

func (r TaobaoWeikeSubscinfoGetAPIRequest) GetStartTime() string

GetStartTime StartTime Getter

func (*TaobaoWeikeSubscinfoGetAPIRequest) SetEndTime added in v1.2.0

func (r *TaobaoWeikeSubscinfoGetAPIRequest) SetEndTime(_endTime string) error

SetEndTime is EndTime Setter 时间范围结束时间

func (*TaobaoWeikeSubscinfoGetAPIRequest) SetPageNum added in v1.2.0

func (r *TaobaoWeikeSubscinfoGetAPIRequest) SetPageNum(_pageNum int64) error

SetPageNum is PageNum Setter 页码

func (*TaobaoWeikeSubscinfoGetAPIRequest) SetSellerName added in v1.2.0

func (r *TaobaoWeikeSubscinfoGetAPIRequest) SetSellerName(_sellerName string) error

SetSellerName is SellerName Setter 商家旺旺名称

func (*TaobaoWeikeSubscinfoGetAPIRequest) SetStartTime added in v1.2.0

func (r *TaobaoWeikeSubscinfoGetAPIRequest) SetStartTime(_startTime string) error

SetStartTime is StartTime Setter 时间范围开始时间

type TaobaoWeikeSubscinfoGetAPIResponse

type TaobaoWeikeSubscinfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoWeikeSubscinfoGetAPIResponseModel
}

TaobaoWeikeSubscinfoGetAPIResponse 需求订单查询接口 API返回值 taobao.weike.subscinfo.get

需求订单查询接口

type TaobaoWeikeSubscinfoGetAPIResponseModel added in v1.2.0

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

TaobaoWeikeSubscinfoGetAPIResponseModel is 需求订单查询接口 成功返回结果

type TmallCarContractDownloadAPIRequest added in v1.2.0

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

TmallCarContractDownloadAPIRequest 合同下载 API请求 tmall.car.contract.download

目前天猫开新车会在线上签署一份合同,协议,需要一个个在已卖出打开,另存为pdf,人工一个个下载比较麻烦,期望通过接口直接读取pdf; 因为比较耗时,建议一个个下载,假设并发下载,很可能限流,每天的调用量有限;

func NewTmallCarContractDownloadRequest

func NewTmallCarContractDownloadRequest() *TmallCarContractDownloadAPIRequest

NewTmallCarContractDownloadRequest 初始化TmallCarContractDownloadAPIRequest对象

func (TmallCarContractDownloadAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallCarContractDownloadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarContractDownloadAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarContractDownloadAPIRequest) GetHtml added in v1.2.0

GetHtml Html Getter

func (TmallCarContractDownloadAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (TmallCarContractDownloadAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallCarContractDownloadAPIRequest) SetHtml added in v1.2.0

func (r *TmallCarContractDownloadAPIRequest) SetHtml(_html bool) error

SetHtml is Html Setter 是否下载html,true是html,false是pdf, html速度会快一点

func (*TmallCarContractDownloadAPIRequest) SetOrderId added in v1.2.0

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

SetOrderId is OrderId Setter 天猫订单号

type TmallCarContractDownloadAPIResponse

type TmallCarContractDownloadAPIResponse struct {
	model.CommonResponse
	TmallCarContractDownloadAPIResponseModel
}

TmallCarContractDownloadAPIResponse 合同下载 API返回值 tmall.car.contract.download

目前天猫开新车会在线上签署一份合同,协议,需要一个个在已卖出打开,另存为pdf,人工一个个下载比较麻烦,期望通过接口直接读取pdf; 因为比较耗时,建议一个个下载,假设并发下载,很可能限流,每天的调用量有限;

type TmallCarContractDownloadAPIResponseModel added in v1.2.0

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

TmallCarContractDownloadAPIResponseModel is 合同下载 成功返回结果

type TmallCarContractDownloadResult

type TmallCarContractDownloadResult struct {
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 当前时间
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// 返回的合同二进制文件
	Objects *model.File `json:"objects,omitempty" xml:"objects,omitempty"`
	// 消耗时间
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// 成功与否
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallCarContractDownloadResult 结构体

type TmallCarFpcarGetcarNotifyAPIRequest added in v1.2.0

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

TmallCarFpcarGetcarNotifyAPIRequest 门店通知用户提车 API请求 tmall.car.fpcar.getcar.notify

提供给外部(大搜或其它合作方)的接口-门店通知用户提车

func NewTmallCarFpcarGetcarNotifyRequest

func NewTmallCarFpcarGetcarNotifyRequest() *TmallCarFpcarGetcarNotifyAPIRequest

NewTmallCarFpcarGetcarNotifyRequest 初始化TmallCarFpcarGetcarNotifyAPIRequest对象

func (TmallCarFpcarGetcarNotifyAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallCarFpcarGetcarNotifyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarFpcarGetcarNotifyAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarFpcarGetcarNotifyAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (TmallCarFpcarGetcarNotifyAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (TmallCarFpcarGetcarNotifyAPIRequest) GetRawParams added in v1.2.8

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

func (TmallCarFpcarGetcarNotifyAPIRequest) GetSellerId added in v1.2.0

GetSellerId SellerId Getter

func (*TmallCarFpcarGetcarNotifyAPIRequest) SetItemId added in v1.2.0

func (r *TmallCarFpcarGetcarNotifyAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 商品宝贝id

func (*TmallCarFpcarGetcarNotifyAPIRequest) SetOrderId added in v1.2.0

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

SetOrderId is OrderId Setter 订单id

func (*TmallCarFpcarGetcarNotifyAPIRequest) SetSellerId added in v1.2.0

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

SetSellerId is SellerId Setter 卖家id

type TmallCarFpcarGetcarNotifyAPIResponse

type TmallCarFpcarGetcarNotifyAPIResponse struct {
	model.CommonResponse
	TmallCarFpcarGetcarNotifyAPIResponseModel
}

TmallCarFpcarGetcarNotifyAPIResponse 门店通知用户提车 API返回值 tmall.car.fpcar.getcar.notify

提供给外部(大搜或其它合作方)的接口-门店通知用户提车

type TmallCarFpcarGetcarNotifyAPIResponseModel added in v1.2.0

type TmallCarFpcarGetcarNotifyAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_car_fpcar_getcar_notify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回的数据结果
	Object string `json:"object,omitempty" xml:"object,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 是否成功
	Succes bool `json:"succes,omitempty" xml:"succes,omitempty"`
}

TmallCarFpcarGetcarNotifyAPIResponseModel is 门店通知用户提车 成功返回结果

type TmallCarFpcarRestpayReceiveAPIRequest added in v1.2.0

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

TmallCarFpcarRestpayReceiveAPIRequest 门店线下已收尾款 API请求 tmall.car.fpcar.restpay.receive

提供给外部(大搜或其它合作方)的接口-门店线下已收尾款(不执行分佣)

func NewTmallCarFpcarRestpayReceiveRequest

func NewTmallCarFpcarRestpayReceiveRequest() *TmallCarFpcarRestpayReceiveAPIRequest

NewTmallCarFpcarRestpayReceiveRequest 初始化TmallCarFpcarRestpayReceiveAPIRequest对象

func (TmallCarFpcarRestpayReceiveAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallCarFpcarRestpayReceiveAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarFpcarRestpayReceiveAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarFpcarRestpayReceiveAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (TmallCarFpcarRestpayReceiveAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (TmallCarFpcarRestpayReceiveAPIRequest) GetRawParams added in v1.2.8

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

func (TmallCarFpcarRestpayReceiveAPIRequest) GetSellerId added in v1.2.0

GetSellerId SellerId Getter

func (*TmallCarFpcarRestpayReceiveAPIRequest) SetItemId added in v1.2.0

func (r *TmallCarFpcarRestpayReceiveAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 商品宝贝id

func (*TmallCarFpcarRestpayReceiveAPIRequest) SetOrderId added in v1.2.0

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

SetOrderId is OrderId Setter 订单id

func (*TmallCarFpcarRestpayReceiveAPIRequest) SetSellerId added in v1.2.0

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

SetSellerId is SellerId Setter 卖家id

type TmallCarFpcarRestpayReceiveAPIResponse

type TmallCarFpcarRestpayReceiveAPIResponse struct {
	model.CommonResponse
	TmallCarFpcarRestpayReceiveAPIResponseModel
}

TmallCarFpcarRestpayReceiveAPIResponse 门店线下已收尾款 API返回值 tmall.car.fpcar.restpay.receive

提供给外部(大搜或其它合作方)的接口-门店线下已收尾款(不执行分佣)

type TmallCarFpcarRestpayReceiveAPIResponseModel added in v1.2.0

type TmallCarFpcarRestpayReceiveAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_car_fpcar_restpay_receive_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 业务结果信息详细描述
	Object string `json:"object,omitempty" xml:"object,omitempty"`
	// 是否成功
	Succes bool `json:"succes,omitempty" xml:"succes,omitempty"`
}

TmallCarFpcarRestpayReceiveAPIResponseModel is 门店线下已收尾款 成功返回结果

type TmallCarLeaseConsumeAPIRequest added in v1.2.0

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

TmallCarLeaseConsumeAPIRequest 汽车租赁核销 API请求 tmall.car.lease.consume

租赁公司回传信息,核销

func NewTmallCarLeaseConsumeRequest

func NewTmallCarLeaseConsumeRequest() *TmallCarLeaseConsumeAPIRequest

NewTmallCarLeaseConsumeRequest 初始化TmallCarLeaseConsumeAPIRequest对象

func (TmallCarLeaseConsumeAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallCarLeaseConsumeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarLeaseConsumeAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarLeaseConsumeAPIRequest) GetCosumeCodeReqDTO added in v1.2.0

func (r TmallCarLeaseConsumeAPIRequest) GetCosumeCodeReqDTO() *CosumeCodeReqDto

GetCosumeCodeReqDTO CosumeCodeReqDTO Getter

func (TmallCarLeaseConsumeAPIRequest) GetRawParams added in v1.2.8

func (r TmallCarLeaseConsumeAPIRequest) GetRawParams() model.Params

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

func (*TmallCarLeaseConsumeAPIRequest) SetCosumeCodeReqDTO added in v1.2.0

func (r *TmallCarLeaseConsumeAPIRequest) SetCosumeCodeReqDTO(_cosumeCodeReqDTO *CosumeCodeReqDto) error

SetCosumeCodeReqDTO is CosumeCodeReqDTO Setter 核销请求

type TmallCarLeaseConsumeAPIResponse

type TmallCarLeaseConsumeAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseConsumeAPIResponseModel
}

TmallCarLeaseConsumeAPIResponse 汽车租赁核销 API返回值 tmall.car.lease.consume

租赁公司回传信息,核销

type TmallCarLeaseConsumeAPIResponseModel added in v1.2.0

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

TmallCarLeaseConsumeAPIResponseModel is 汽车租赁核销 成功返回结果

type TmallCarLeaseConsumeResult

type TmallCarLeaseConsumeResult struct {
	// 错误提示
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 耗时
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// 错误吗
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 当前时间
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// 无需关心了
	Object bool `json:"object,omitempty" xml:"object,omitempty"`
	// 成功与否
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallCarLeaseConsumeResult 结构体

type TmallCarLeaseFreedownpaymentPutAPIRequest added in v1.2.0

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

TmallCarLeaseFreedownpaymentPutAPIRequest 同步直租车免首付商品活动信息 API请求 tmall.car.lease.freedownpayment.put

汽车行业直租车免首付需求中,用与对商品打标,活动范围设置,在消费者端商品详情页、订单等环节透出,表示该商品为直租免首付商品。

func NewTmallCarLeaseFreedownpaymentPutRequest

func NewTmallCarLeaseFreedownpaymentPutRequest() *TmallCarLeaseFreedownpaymentPutAPIRequest

NewTmallCarLeaseFreedownpaymentPutRequest 初始化TmallCarLeaseFreedownpaymentPutAPIRequest对象

func (TmallCarLeaseFreedownpaymentPutAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarLeaseFreedownpaymentPutAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarLeaseFreedownpaymentPutAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (TmallCarLeaseFreedownpaymentPutAPIRequest) GetPreEndTime added in v1.2.0

GetPreEndTime PreEndTime Getter

func (TmallCarLeaseFreedownpaymentPutAPIRequest) GetPreStartTime added in v1.2.0

GetPreStartTime PreStartTime Getter

func (TmallCarLeaseFreedownpaymentPutAPIRequest) GetRawParams added in v1.2.8

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

func (TmallCarLeaseFreedownpaymentPutAPIRequest) GetRefActivityId added in v1.2.0

GetRefActivityId RefActivityId Getter

func (TmallCarLeaseFreedownpaymentPutAPIRequest) GetTimeRangeList added in v1.2.0

GetTimeRangeList TimeRangeList Getter

func (*TmallCarLeaseFreedownpaymentPutAPIRequest) SetItemId added in v1.2.0

SetItemId is ItemId Setter 商品ID

func (*TmallCarLeaseFreedownpaymentPutAPIRequest) SetPreEndTime added in v1.2.0

func (r *TmallCarLeaseFreedownpaymentPutAPIRequest) SetPreEndTime(_preEndTime string) error

SetPreEndTime is PreEndTime Setter 活动预热结束时间:格式:yyyy.MM.dd HH:mm:ss

func (*TmallCarLeaseFreedownpaymentPutAPIRequest) SetPreStartTime added in v1.2.0

func (r *TmallCarLeaseFreedownpaymentPutAPIRequest) SetPreStartTime(_preStartTime string) error

SetPreStartTime is PreStartTime Setter 活动预热开始时间:格式:yyyy.MM.dd HH:mm:ss

func (*TmallCarLeaseFreedownpaymentPutAPIRequest) SetRefActivityId added in v1.2.0

func (r *TmallCarLeaseFreedownpaymentPutAPIRequest) SetRefActivityId(_refActivityId string) error

SetRefActivityId is RefActivityId Setter 外部活动ID

func (*TmallCarLeaseFreedownpaymentPutAPIRequest) SetTimeRangeList added in v1.2.0

func (r *TmallCarLeaseFreedownpaymentPutAPIRequest) SetTimeRangeList(_timeRangeList string) error

SetTimeRangeList is TimeRangeList Setter 活动时间范围节点(json格式字符串):<br/> 开始时间(startTime),格式:yyyy.MM.dd HH:mm:ss <br/> 结束时间(endTime),格式:yyyy.MM.dd HH:mm:ss <br/> 名额(amount)

type TmallCarLeaseFreedownpaymentPutAPIResponse

type TmallCarLeaseFreedownpaymentPutAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseFreedownpaymentPutAPIResponseModel
}

TmallCarLeaseFreedownpaymentPutAPIResponse 同步直租车免首付商品活动信息 API返回值 tmall.car.lease.freedownpayment.put

汽车行业直租车免首付需求中,用与对商品打标,活动范围设置,在消费者端商品详情页、订单等环节透出,表示该商品为直租免首付商品。

type TmallCarLeaseFreedownpaymentPutAPIResponseModel added in v1.2.0

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

TmallCarLeaseFreedownpaymentPutAPIResponseModel is 同步直租车免首付商品活动信息 成功返回结果

type TmallCarLeaseFreedownpaymentPutResult

type TmallCarLeaseFreedownpaymentPutResult struct {
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 当前时间
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// 耗费时间
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// 返回对象,成功:true,失败:false
	Object bool `json:"object,omitempty" xml:"object,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallCarLeaseFreedownpaymentPutResult 结构体

type TmallCarLeaseItemActivityGetAPIRequest added in v1.2.0

type TmallCarLeaseItemActivityGetAPIRequest struct {
	model.Params
}

TmallCarLeaseItemActivityGetAPIRequest 查询汽车租赁活动信息 API请求 tmall.car.lease.item.activity.get

查询汽车租赁活动信息

func NewTmallCarLeaseItemActivityGetRequest

func NewTmallCarLeaseItemActivityGetRequest() *TmallCarLeaseItemActivityGetAPIRequest

NewTmallCarLeaseItemActivityGetRequest 初始化TmallCarLeaseItemActivityGetAPIRequest对象

func (TmallCarLeaseItemActivityGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallCarLeaseItemActivityGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarLeaseItemActivityGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarLeaseItemActivityGetAPIRequest) GetRawParams added in v1.2.8

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

type TmallCarLeaseItemActivityGetAPIResponse

type TmallCarLeaseItemActivityGetAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseItemActivityGetAPIResponseModel
}

TmallCarLeaseItemActivityGetAPIResponse 查询汽车租赁活动信息 API返回值 tmall.car.lease.item.activity.get

查询汽车租赁活动信息

type TmallCarLeaseItemActivityGetAPIResponseModel added in v1.2.0

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

TmallCarLeaseItemActivityGetAPIResponseModel is 查询汽车租赁活动信息 成功返回结果

type TmallCarLeaseItemActivityGetResult

type TmallCarLeaseItemActivityGetResult struct {
	// 动态返回扩展参数:<br/>extInfo:扩展参数字符串
	Piggyback string `json:"piggyback,omitempty" xml:"piggyback,omitempty"`
	// 返回码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 返回信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 活动返回列表对象<br/> itemId:商品ID <br/> preEndTime:预热结束时间<br/> preStartTime:预热开始时间<br/> <br/> extendInfo:扩展信息<br/> refActivityId:外部活动ID<br/> <br/> timeRangeList:活动时间范围对象<br/> startTime:活动开始时间<br/> endTime:活动结束时间<br/> amount:名额<br/> extendInfo:扩展信息<br/>
	Object string `json:"object,omitempty" xml:"object,omitempty"`
	// 当前时间
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// 耗费时间
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallCarLeaseItemActivityGetResult 结构体

type TmallCarLeaseItemcarinfoAPIRequest added in v1.2.0

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

TmallCarLeaseItemcarinfoAPIRequest 整车租赁商品四级车型信息 API请求 tmall.car.lease.itemcarinfo

整车租赁项目发布宝贝需要4级车型库,4级车型库信息需要回传

func NewTmallCarLeaseItemcarinfoRequest

func NewTmallCarLeaseItemcarinfoRequest() *TmallCarLeaseItemcarinfoAPIRequest

NewTmallCarLeaseItemcarinfoRequest 初始化TmallCarLeaseItemcarinfoAPIRequest对象

func (TmallCarLeaseItemcarinfoAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallCarLeaseItemcarinfoAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarLeaseItemcarinfoAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarLeaseItemcarinfoAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (TmallCarLeaseItemcarinfoAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallCarLeaseItemcarinfoAPIRequest) SetItemId added in v1.2.0

func (r *TmallCarLeaseItemcarinfoAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 商品id

type TmallCarLeaseItemcarinfoAPIResponse

type TmallCarLeaseItemcarinfoAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseItemcarinfoAPIResponseModel
}

TmallCarLeaseItemcarinfoAPIResponse 整车租赁商品四级车型信息 API返回值 tmall.car.lease.itemcarinfo

整车租赁项目发布宝贝需要4级车型库,4级车型库信息需要回传

type TmallCarLeaseItemcarinfoAPIResponseModel added in v1.2.0

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

TmallCarLeaseItemcarinfoAPIResponseModel is 整车租赁商品四级车型信息 成功返回结果

type TmallCarLeaseItemcarinfoResult

type TmallCarLeaseItemcarinfoResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误提示
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误提示
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 耗时
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// 当前时间
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// 返回的对象
	Object *CarItemInfoDto `json:"object,omitempty" xml:"object,omitempty"`
	// 成功与否
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallCarLeaseItemcarinfoResult 结构体

type TmallCarLeaseRiskcallbackAPIRequest added in v1.2.0

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

TmallCarLeaseRiskcallbackAPIRequest 整车租赁风控模型回调 API请求 tmall.car.lease.riskcallback

租赁公司回调风控结果

func NewTmallCarLeaseRiskcallbackRequest

func NewTmallCarLeaseRiskcallbackRequest() *TmallCarLeaseRiskcallbackAPIRequest

NewTmallCarLeaseRiskcallbackRequest 初始化TmallCarLeaseRiskcallbackAPIRequest对象

func (TmallCarLeaseRiskcallbackAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallCarLeaseRiskcallbackAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarLeaseRiskcallbackAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarLeaseRiskcallbackAPIRequest) GetCreditInfo added in v1.2.0

GetCreditInfo CreditInfo Getter

func (TmallCarLeaseRiskcallbackAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallCarLeaseRiskcallbackAPIRequest) SetCreditInfo added in v1.2.0

func (r *TmallCarLeaseRiskcallbackAPIRequest) SetCreditInfo(_creditInfo *CreditInfoTopDto) error

SetCreditInfo is CreditInfo Setter 授信结果

type TmallCarLeaseRiskcallbackAPIResponse

type TmallCarLeaseRiskcallbackAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseRiskcallbackAPIResponseModel
}

TmallCarLeaseRiskcallbackAPIResponse 整车租赁风控模型回调 API返回值 tmall.car.lease.riskcallback

租赁公司回调风控结果

type TmallCarLeaseRiskcallbackAPIResponseModel added in v1.2.0

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

TmallCarLeaseRiskcallbackAPIResponseModel is 整车租赁风控模型回调 成功返回结果

type TmallCarLeaseRiskcallbackResult

type TmallCarLeaseRiskcallbackResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误消息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误消息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 耗时
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// 当前时间
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// true
	Object bool `json:"object,omitempty" xml:"object,omitempty"`
	// 成功与否
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallCarLeaseRiskcallbackResult 结构体

type TmallCarLeaseTailpaymentbackAPIRequest added in v1.2.0

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

TmallCarLeaseTailpaymentbackAPIRequest 尾款处置方案回传 API请求 tmall.car.lease.tailpaymentback

尾款处置方案回传

func NewTmallCarLeaseTailpaymentbackRequest

func NewTmallCarLeaseTailpaymentbackRequest() *TmallCarLeaseTailpaymentbackAPIRequest

NewTmallCarLeaseTailpaymentbackRequest 初始化TmallCarLeaseTailpaymentbackAPIRequest对象

func (TmallCarLeaseTailpaymentbackAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallCarLeaseTailpaymentbackAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarLeaseTailpaymentbackAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarLeaseTailpaymentbackAPIRequest) GetRawParams added in v1.2.8

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

func (TmallCarLeaseTailpaymentbackAPIRequest) GetTailPaymentDTO added in v1.2.0

GetTailPaymentDTO TailPaymentDTO Getter

func (*TmallCarLeaseTailpaymentbackAPIRequest) SetTailPaymentDTO added in v1.2.0

func (r *TmallCarLeaseTailpaymentbackAPIRequest) SetTailPaymentDTO(_tailPaymentDTO *TailPaymentDto) error

SetTailPaymentDTO is TailPaymentDTO Setter 尾款方案

type TmallCarLeaseTailpaymentbackAPIResponse

type TmallCarLeaseTailpaymentbackAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseTailpaymentbackAPIResponseModel
}

TmallCarLeaseTailpaymentbackAPIResponse 尾款处置方案回传 API返回值 tmall.car.lease.tailpaymentback

尾款处置方案回传

type TmallCarLeaseTailpaymentbackAPIResponseModel added in v1.2.0

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

TmallCarLeaseTailpaymentbackAPIResponseModel is 尾款处置方案回传 成功返回结果

type TmallCarLeaseTailpaymentbackResult

type TmallCarLeaseTailpaymentbackResult struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMessage
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// costTime
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// gmtCurrentTime
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// object
	Object bool `json:"object,omitempty" xml:"object,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallCarLeaseTailpaymentbackResult 结构体

type TmallCarLeaseorderGetAPIRequest added in v1.2.0

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

TmallCarLeaseorderGetAPIRequest 获取租赁订单信息 API请求 tmall.car.leaseorder.get

卖家通过供销平台获取代销商的订单信息,但是部分情况下网商银行订单号获取不到,需要提供接口或者工具给卖家

func NewTmallCarLeaseorderGetRequest

func NewTmallCarLeaseorderGetRequest() *TmallCarLeaseorderGetAPIRequest

NewTmallCarLeaseorderGetRequest 初始化TmallCarLeaseorderGetAPIRequest对象

func (TmallCarLeaseorderGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallCarLeaseorderGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarLeaseorderGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarLeaseorderGetAPIRequest) GetOrderId added in v1.2.0

func (r TmallCarLeaseorderGetAPIRequest) GetOrderId() int64

GetOrderId OrderId Getter

func (TmallCarLeaseorderGetAPIRequest) GetRawParams added in v1.2.8

func (r TmallCarLeaseorderGetAPIRequest) GetRawParams() model.Params

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

func (*TmallCarLeaseorderGetAPIRequest) SetOrderId added in v1.2.0

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

SetOrderId is OrderId Setter 订单号

type TmallCarLeaseorderGetAPIResponse

type TmallCarLeaseorderGetAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseorderGetAPIResponseModel
}

TmallCarLeaseorderGetAPIResponse 获取租赁订单信息 API返回值 tmall.car.leaseorder.get

卖家通过供销平台获取代销商的订单信息,但是部分情况下网商银行订单号获取不到,需要提供接口或者工具给卖家

type TmallCarLeaseorderGetAPIResponseModel added in v1.2.0

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

TmallCarLeaseorderGetAPIResponseModel is 获取租赁订单信息 成功返回结果

type TmallMsfReceiveAPIRequest added in v1.2.0

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

TmallMsfReceiveAPIRequest 签收接口 API请求 tmall.msf.receive

签收接口

func NewTmallMsfReceiveRequest

func NewTmallMsfReceiveRequest() *TmallMsfReceiveAPIRequest

NewTmallMsfReceiveRequest 初始化TmallMsfReceiveAPIRequest对象

func (TmallMsfReceiveAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallMsfReceiveAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallMsfReceiveAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallMsfReceiveAPIRequest) GetBizType added in v1.2.0

func (r TmallMsfReceiveAPIRequest) GetBizType() string

GetBizType BizType Getter

func (TmallMsfReceiveAPIRequest) GetCode added in v1.2.0

func (r TmallMsfReceiveAPIRequest) GetCode() string

GetCode Code Getter

func (TmallMsfReceiveAPIRequest) GetRawParams added in v1.2.8

func (r TmallMsfReceiveAPIRequest) GetRawParams() model.Params

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

func (TmallMsfReceiveAPIRequest) GetShopId added in v1.2.0

func (r TmallMsfReceiveAPIRequest) GetShopId() string

GetShopId ShopId Getter

func (*TmallMsfReceiveAPIRequest) SetBizType added in v1.2.0

func (r *TmallMsfReceiveAPIRequest) SetBizType(_bizType string) error

SetBizType is BizType Setter 1

func (*TmallMsfReceiveAPIRequest) SetCode added in v1.2.0

func (r *TmallMsfReceiveAPIRequest) SetCode(_code string) error

SetCode is Code Setter 1

func (*TmallMsfReceiveAPIRequest) SetShopId added in v1.2.0

func (r *TmallMsfReceiveAPIRequest) SetShopId(_shopId string) error

SetShopId is ShopId Setter 1

type TmallMsfReceiveAPIResponse

type TmallMsfReceiveAPIResponse struct {
	model.CommonResponse
	TmallMsfReceiveAPIResponseModel
}

TmallMsfReceiveAPIResponse 签收接口 API返回值 tmall.msf.receive

签收接口

type TmallMsfReceiveAPIResponseModel added in v1.2.0

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

TmallMsfReceiveAPIResponseModel is 签收接口 成功返回结果

type TmallMsfVerifyAPIRequest added in v1.2.0

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

TmallMsfVerifyAPIRequest 喵师傅核销接口 API请求 tmall.msf.verify

msf服务核销的top接口

func NewTmallMsfVerifyRequest

func NewTmallMsfVerifyRequest() *TmallMsfVerifyAPIRequest

NewTmallMsfVerifyRequest 初始化TmallMsfVerifyAPIRequest对象

func (TmallMsfVerifyAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallMsfVerifyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallMsfVerifyAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallMsfVerifyAPIRequest) GetBizType added in v1.2.0

func (r TmallMsfVerifyAPIRequest) GetBizType() string

GetBizType BizType Getter

func (TmallMsfVerifyAPIRequest) GetCode added in v1.2.0

func (r TmallMsfVerifyAPIRequest) GetCode() string

GetCode Code Getter

func (TmallMsfVerifyAPIRequest) GetRawParams added in v1.2.8

func (r TmallMsfVerifyAPIRequest) GetRawParams() model.Params

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

func (TmallMsfVerifyAPIRequest) GetShopId added in v1.2.0

func (r TmallMsfVerifyAPIRequest) GetShopId() string

GetShopId ShopId Getter

func (*TmallMsfVerifyAPIRequest) SetBizType added in v1.2.0

func (r *TmallMsfVerifyAPIRequest) SetBizType(_bizType string) error

SetBizType is BizType Setter 111

func (*TmallMsfVerifyAPIRequest) SetCode added in v1.2.0

func (r *TmallMsfVerifyAPIRequest) SetCode(_code string) error

SetCode is Code Setter 111

func (*TmallMsfVerifyAPIRequest) SetShopId added in v1.2.0

func (r *TmallMsfVerifyAPIRequest) SetShopId(_shopId string) error

SetShopId is ShopId Setter 111

type TmallMsfVerifyAPIResponse

type TmallMsfVerifyAPIResponse struct {
	model.CommonResponse
	TmallMsfVerifyAPIResponseModel
}

TmallMsfVerifyAPIResponse 喵师傅核销接口 API返回值 tmall.msf.verify

msf服务核销的top接口

type TmallMsfVerifyAPIResponseModel added in v1.2.0

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

TmallMsfVerifyAPIResponseModel is 喵师傅核销接口 成功返回结果

type TmallServiceSettleadjustmentSearchAPIRequest added in v1.2.0

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

TmallServiceSettleadjustmentSearchAPIRequest 服务商15分钟获取数据 API请求 tmall.service.settleadjustment.search

天猫服务平台,按修改时间,时间间隔在15中内(包含15分钟),获取调整单数据

func NewTmallServiceSettleadjustmentSearchRequest

func NewTmallServiceSettleadjustmentSearchRequest() *TmallServiceSettleadjustmentSearchAPIRequest

NewTmallServiceSettleadjustmentSearchRequest 初始化TmallServiceSettleadjustmentSearchAPIRequest对象

func (TmallServiceSettleadjustmentSearchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServiceSettleadjustmentSearchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServiceSettleadjustmentSearchAPIRequest) GetEndTime added in v1.2.0

GetEndTime EndTime Getter

func (TmallServiceSettleadjustmentSearchAPIRequest) GetRawParams added in v1.2.8

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

func (TmallServiceSettleadjustmentSearchAPIRequest) GetStartTime added in v1.2.0

GetStartTime StartTime Getter

func (*TmallServiceSettleadjustmentSearchAPIRequest) SetEndTime added in v1.2.0

SetEndTime is EndTime Setter 结束时间

func (*TmallServiceSettleadjustmentSearchAPIRequest) SetStartTime added in v1.2.0

func (r *TmallServiceSettleadjustmentSearchAPIRequest) SetStartTime(_startTime string) error

SetStartTime is StartTime Setter 开始时间

type TmallServiceSettleadjustmentSearchAPIResponse

type TmallServiceSettleadjustmentSearchAPIResponse struct {
	model.CommonResponse
	TmallServiceSettleadjustmentSearchAPIResponseModel
}

TmallServiceSettleadjustmentSearchAPIResponse 服务商15分钟获取数据 API返回值 tmall.service.settleadjustment.search

天猫服务平台,按修改时间,时间间隔在15中内(包含15分钟),获取调整单数据

type TmallServiceSettleadjustmentSearchAPIResponseModel added in v1.2.0

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

TmallServiceSettleadjustmentSearchAPIResponseModel is 服务商15分钟获取数据 成功返回结果

type TmallServiceSettleadjustmentSearchResult

type TmallServiceSettleadjustmentSearchResult struct {
	// dataModule
	SettleAdjustmentList []SettleAdjustmentResponse `json:"settle_adjustment_list,omitempty" xml:"settle_adjustment_list>settle_adjustment_response,omitempty"`
	// errorMessage
	ErrorMessage *ErrorMessage `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallServiceSettleadjustmentSearchResult 结构体

type TmallServicecenterTpFundsRecoverQueryAPIRequest added in v1.2.0

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

TmallServicecenterTpFundsRecoverQueryAPIRequest 服务商资金权益逆向扣回的查询接口 API请求 tmall.servicecenter.tp.funds.recover.query

服务商资金权益逆向扣回的查询接口

func NewTmallServicecenterTpFundsRecoverQueryRequest

func NewTmallServicecenterTpFundsRecoverQueryRequest() *TmallServicecenterTpFundsRecoverQueryAPIRequest

NewTmallServicecenterTpFundsRecoverQueryRequest 初始化TmallServicecenterTpFundsRecoverQueryAPIRequest对象

func (TmallServicecenterTpFundsRecoverQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServicecenterTpFundsRecoverQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServicecenterTpFundsRecoverQueryAPIRequest) GetQuery added in v1.2.0

GetQuery Query Getter

func (TmallServicecenterTpFundsRecoverQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallServicecenterTpFundsRecoverQueryAPIRequest) SetQuery added in v1.2.0

SetQuery is Query Setter query入参

type TmallServicecenterTpFundsRecoverQueryAPIResponse

type TmallServicecenterTpFundsRecoverQueryAPIResponse struct {
	model.CommonResponse
	TmallServicecenterTpFundsRecoverQueryAPIResponseModel
}

TmallServicecenterTpFundsRecoverQueryAPIResponse 服务商资金权益逆向扣回的查询接口 API返回值 tmall.servicecenter.tp.funds.recover.query

服务商资金权益逆向扣回的查询接口

type TmallServicecenterTpFundsRecoverQueryAPIResponseModel added in v1.2.0

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

TmallServicecenterTpFundsRecoverQueryAPIResponseModel is 服务商资金权益逆向扣回的查询接口 成功返回结果

type TmallServicecenterTpFundsSendQueryAPIRequest added in v1.2.0

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

TmallServicecenterTpFundsSendQueryAPIRequest 服务商资金权益发放的查询接口 API请求 tmall.servicecenter.tp.funds.send.query

服务商资金权益发放结果的查询接口

func NewTmallServicecenterTpFundsSendQueryRequest

func NewTmallServicecenterTpFundsSendQueryRequest() *TmallServicecenterTpFundsSendQueryAPIRequest

NewTmallServicecenterTpFundsSendQueryRequest 初始化TmallServicecenterTpFundsSendQueryAPIRequest对象

func (TmallServicecenterTpFundsSendQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallServicecenterTpFundsSendQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallServicecenterTpFundsSendQueryAPIRequest) GetQuery added in v1.2.0

GetQuery Query Getter

func (TmallServicecenterTpFundsSendQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallServicecenterTpFundsSendQueryAPIRequest) SetQuery added in v1.2.0

SetQuery is Query Setter 入参对象

type TmallServicecenterTpFundsSendQueryAPIResponse

type TmallServicecenterTpFundsSendQueryAPIResponse struct {
	model.CommonResponse
	TmallServicecenterTpFundsSendQueryAPIResponseModel
}

TmallServicecenterTpFundsSendQueryAPIResponse 服务商资金权益发放的查询接口 API返回值 tmall.servicecenter.tp.funds.send.query

服务商资金权益发放结果的查询接口

type TmallServicecenterTpFundsSendQueryAPIResponseModel added in v1.2.0

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

TmallServicecenterTpFundsSendQueryAPIResponseModel is 服务商资金权益发放的查询接口 成功返回结果

type TpFundsRecoverQuery

type TpFundsRecoverQuery struct {
	// 订单ID
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
}

TpFundsRecoverQuery 结构体

type TpFundsRecoverResultDo

type TpFundsRecoverResultDo struct {
	// 实际扣回金额,单位分
	ActualRecoverAmount int64 `json:"actual_recover_amount,omitempty" xml:"actual_recover_amount,omitempty"`
	// 应扣回金额,单位分
	ToRecoverAmount int64 `json:"to_recover_amount,omitempty" xml:"to_recover_amount,omitempty"`
	// 订单ID
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
}

TpFundsRecoverResultDo 结构体

type TpFundsSendQuery

type TpFundsSendQuery struct {
	// 订单ID
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 资金权益类型。1:预付款红包;2:尾款红包
	FundsType int64 `json:"funds_type,omitempty" xml:"funds_type,omitempty"`
}

TpFundsSendQuery 结构体

type TpFundsSendResultDo

type TpFundsSendResultDo struct {
	// 红包ID
	RedPacketsId string `json:"red_packets_id,omitempty" xml:"red_packets_id,omitempty"`
	// 红包发放时间,格式yyyy-MM-dd HH:mm:ss
	ReceiveTime string `json:"receive_time,omitempty" xml:"receive_time,omitempty"`
	// 金额,单位分
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 资金权益类型。1:预付款红包;2:尾款红包
	FundsType int64 `json:"funds_type,omitempty" xml:"funds_type,omitempty"`
	// 订单ID
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 状态,true表示发放成功
	Status bool `json:"status,omitempty" xml:"status,omitempty"`
}

TpFundsSendResultDo 结构体

Source Files

Jump to

Keyboard shortcuts

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