servicecenter

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

服务平台API model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArticleBizOrder

type ArticleBizOrder struct {
	// 订单号
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 子订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 淘宝会员名
	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"`
	// 收费项目代码,从合作伙伴后台(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"`
	// 订购周期开始时间
	OrderCycleStart string `json:"order_cycle_start,omitempty" xml:"order_cycle_start,omitempty"`
	// 订购周期结束时间
	OrderCycleEnd string `json:"order_cycle_end,omitempty" xml:"order_cycle_end,omitempty"`
	// 订单类型,1=新订 2=续订 3=升级 4=后台赠送 5=后台自动续订 6=订单审核后生成订购关系(暂时用不到)
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 原价(单位为分)
	Fee string `json:"fee,omitempty" xml:"fee,omitempty"`
	// 优惠(单位为分)
	PromFee string `json:"prom_fee,omitempty" xml:"prom_fee,omitempty"`
	// 退款(单位为分;升级时,系统会将升级前老版本按照剩余订购天数退还剩余金额)
	RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 实付(单位为分)
	TotalPayFee string `json:"total_pay_fee,omitempty" xml:"total_pay_fee,omitempty"`
	// 商品模型名称
	ArticleItemName string `json:"article_item_name,omitempty" xml:"article_item_name,omitempty"`
	// activityCode
	ActivityCode string `json:"activity_code,omitempty" xml:"activity_code,omitempty"`
}

ArticleBizOrder 结构体

type ArticleItemViewUnit

type ArticleItemViewUnit struct {
	// 收费项目code
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 收费项目名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,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"`
	// 原价,单位:元
	OriginPrice string `json:"origin_price,omitempty" xml:"origin_price,omitempty"`
	// 优惠,单位:元
	PromPrice string `json:"prom_price,omitempty" xml:"prom_price,omitempty"`
	// 需要支付的价格,单位:元
	ActualPrice string `json:"actual_price,omitempty" xml:"actual_price,omitempty"`
	// 用户是否可以购买
	CanSub bool `json:"can_sub,omitempty" xml:"can_sub,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误文案
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,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 {
	// 服务code
	ArticleCode string `json:"article_code,omitempty" xml:"article_code,omitempty"`
	// 服务名称
	ArticleName string `json:"article_name,omitempty" xml:"article_name,omitempty"`
	// 服务图片地址
	PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"`
	// 服务简介
	ArticleCommment string `json:"article_commment,omitempty" xml:"article_commment,omitempty"`
	// 用户淘宝nick
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误消息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// sku详情列表
	ArticleItemViewUnits []ArticleItemViewUnit `json:"article_item_view_units,omitempty" xml:"article_item_view_units>article_item_view_unit,omitempty"`
}

ArticleViewResult 结构体

type AuthorizedAccountWrapper

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

AuthorizedAccountWrapper 结构体

type BillRecordDto

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

BillRecordDto 结构体

type CarItemInfoDto

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

CarItemInfoDto 结构体

type CarLeasePlanDo

type CarLeasePlanDo struct {
	// 发布商品时选的汽车品牌
	Brand string `json:"brand,omitempty" xml:"brand,omitempty"`
	// 租赁公司名字
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 无需填写
	Ext string `json:"ext,omitempty" xml:"ext,omitempty"`
	// 首付金额,单位分
	InitialPaymentAmount int64 `json:"initial_payment_amount,omitempty" xml:"initial_payment_amount,omitempty"`
	// 首付比例10,15,20代表10%,15%,20%
	InitialPaymentRatio int64 `json:"initial_payment_ratio,omitempty" xml:"initial_payment_ratio,omitempty"`
	// 商品id,外面已经传入,里面可选,传了也会被外面的覆盖
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 租期12,24,36期
	LeaseTerm int64 `json:"lease_term,omitempty" xml:"lease_term,omitempty"`
	// 发布商品时选的汽车车系
	Line string `json:"line,omitempty" xml:"line,omitempty"`
	// 融资额,单位分
	LoanAmount int64 `json:"loan_amount,omitempty" xml:"loan_amount,omitempty"`
	// 发布商品时选的汽车型号
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// 月供,单位分
	MonthlyPayment int64 `json:"monthly_payment,omitempty" xml:"monthly_payment,omitempty"`
	// 官方指导价,单位分
	Msrp int64 `json:"msrp,omitempty" xml:"msrp,omitempty"`
	// 违约金,单位分
	Penalty int64 `json:"penalty,omitempty" xml:"penalty,omitempty"`
	// 卖家id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 门店手续费,单位分
	StoreFee int64 `json:"store_fee,omitempty" xml:"store_fee,omitempty"`
	// 尾款金额,单位分
	TailPaymentAmount int64 `json:"tail_payment_amount,omitempty" xml:"tail_payment_amount,omitempty"`
	// 发布商品时选的汽车年款
	Year string `json:"year,omitempty" xml:"year,omitempty"`
	// 支持的尾款类型
	TailPaymentType string `json:"tail_payment_type,omitempty" xml:"tail_payment_type,omitempty"`
	// 商家这边唯一用来关联方案的
	OutUniqueId string `json:"out_unique_id,omitempty" xml:"out_unique_id,omitempty"`
	// 违约金实际损失,单位分
	ActualPenalty int64 `json:"actual_penalty,omitempty" xml:"actual_penalty,omitempty"`
}

CarLeasePlanDo 结构体

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"`
	// 门店id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 门店名字
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 车架号
	Vin string `json:"vin,omitempty" xml:"vin,omitempty"`
}

CosumeCodeReqDto 结构体

type CreditInfoTopDto

type CreditInfoTopDto struct {
	// 身份证
	IdentityNo string `json:"identity_no,omitempty" xml:"identity_no,omitempty"`
	// 手机号
	Mobile int64 `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 是否通过
	Pass bool `json:"pass,omitempty" xml:"pass,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"`
	// 额度,单位分,假设离线通过的不用给额度
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 0代表已经完成,1代表还需要进一步评估处理
	Flag int64 `json:"flag,omitempty" xml:"flag,omitempty"`
}

CreditInfoTopDto 结构体

type CsScheduling

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

CsScheduling 结构体

type CsSchedulingDto

type CsSchedulingDto 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"`
}

CsSchedulingDto 结构体

type CsSchedulingOneDayDto

type CsSchedulingOneDayDto struct {
	// 排班日期
	Date string `json:"date,omitempty" xml:"date,omitempty"`
	// 一天排班信息
	Schedulings []CsSchedulingDto `json:"schedulings,omitempty" xml:"schedulings>cs_scheduling_dto,omitempty"`
}

CsSchedulingOneDayDto 结构体

type CsSchedulingWrapper

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

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

IncomeConfirmDto 结构体

type LeaseOrderInfoDto

type LeaseOrderInfoDto struct {
	// 网商申请号
	ApplyNo string `json:"apply_no,omitempty" xml:"apply_no,omitempty"`
	// 订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,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"`
}

LeaseOrderInfoDto 结构体

type OfnPreRedPacketActionDto added in v1.1.1

type OfnPreRedPacketActionDto struct {
	// 主键
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,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"`
	// 资金池的记录
	AfterFundRecordList []OfnPreRedPacketFundRecordDto `json:"after_fund_record_list,omitempty" xml:"after_fund_record_list>ofn_pre_red_packet_fund_record_dto,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"`
	// 活动id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 是否信用单
	CreditPay bool `json:"credit_pay,omitempty" xml:"credit_pay,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"`
	// 创建时间
	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"`
	// 新机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"`
	// 新机优惠价
	NewItemCouponPrice int64 `json:"new_item_coupon_price,omitempty" xml:"new_item_coupon_price,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 Order

type Order struct {
	// 订单ID
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 商家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 订单是否可以排班
	SchedulingState bool `json:"scheduling_state,omitempty" xml:"scheduling_state,omitempty"`
	// 起始日期(订单未付款前可能为空)
	StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"`
	// 结束日期(订单未付款前可能为空)
	EndDate string `json:"end_date,omitempty" xml:"end_date,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 {
	// 是否有提成配置
	HasBonusConfig bool `json:"has_bonus_config,omitempty" xml:"has_bonus_config,omitempty"`
	// 绩效数据列表
	PerformanceInfoList []PerformanceInfoDto `json:"performance_info_list,omitempty" xml:"performance_info_list>performance_info_dto,omitempty"`
	// 是否有授权
	HasAuthorize bool `json:"has_authorize,omitempty" xml:"has_authorize,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"`
}

PerformanceInfoWrapper 结构体

type ResultBase

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

ResultBase 结构体

type ResultVo

type ResultVo struct {
	// 消耗时间
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// 当前时间
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// 异常代码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 异常消息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,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"`
	// 排班记录状态,1表示生效,-1表示失效
	State int64 `json:"state,omitempty" xml:"state,omitempty"`
	// 排班记录状态描述
	StateDes string `json:"state_des,omitempty" xml:"state_des,omitempty"`
}

Scheduling 结构体

type ScoreResult

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

ScoreResult 结构体

type SettleAdjustmentResponse

type SettleAdjustmentResponse struct {
	// bizOrderId
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// comments
	Comments string `json:"comments,omitempty" xml:"comments,omitempty"`
	// 费用,单位分
	Cost int64 `json:"cost,omitempty" xml:"cost,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"`
	// id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// parentBizOrderId
	ParentBizOrderId int64 `json:"parent_biz_order_id,omitempty" xml:"parent_biz_order_id,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"`
	// 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"`
	// 授权状态: 1表示授权,0表示取消授权,-1表示失效
	State int64 `json:"state,omitempty" xml:"state,omitempty"`
	// 商家子账号昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
}

SubUser 结构体

type SubscInfo

type SubscInfo struct {
	// 订单id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 订单创建时间
	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"`
	// 订单状态
	ProcessStatus int64 `json:"process_status,omitempty" xml:"process_status,omitempty"`
	// 销售提成
	SaleBonus string `json:"sale_bonus,omitempty" xml:"sale_bonus,omitempty"`
}

SubscInfo 结构体

type SubscInfoWrapper

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

SubscInfoWrapper 结构体

type TailPaymentDto

type TailPaymentDto struct {
	// 买家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"`
	// 处置名字,支持3种:归还车辆; 购买车辆,一次性支付尾款; 购买车辆,分期付尾款
	Name string `json:"name,omitempty" xml:"name,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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFuwuPurchaseOrderConfirmAPIRequest) GetParamOrderConfirmQueryDTO added in v1.2.0

func (r TaobaoFuwuPurchaseOrderConfirmAPIRequest) GetParamOrderConfirmQueryDTO() *OrderConfirmQueryDto

Get ParamOrderConfirmQueryDTO Getter

func (*TaobaoFuwuPurchaseOrderConfirmAPIRequest) SetParamOrderConfirmQueryDTO added in v1.2.0

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFuwuPurchaseOrderPayAPIRequest) GetAppkey added in v1.2.0

Get Appkey Getter

func (TaobaoFuwuPurchaseOrderPayAPIRequest) GetDeviceType added in v1.2.0

func (r TaobaoFuwuPurchaseOrderPayAPIRequest) GetDeviceType() string

Get DeviceType Getter

func (TaobaoFuwuPurchaseOrderPayAPIRequest) GetOrderId added in v1.2.0

Get OrderId Getter

func (TaobaoFuwuPurchaseOrderPayAPIRequest) GetOutOrderId added in v1.2.0

func (r TaobaoFuwuPurchaseOrderPayAPIRequest) GetOutOrderId() string

Get OutOrderId Getter

func (*TaobaoFuwuPurchaseOrderPayAPIRequest) SetAppkey added in v1.2.0

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

Set is Appkey Setter APPKEY,必填

func (*TaobaoFuwuPurchaseOrderPayAPIRequest) SetDeviceType added in v1.2.0

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

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

func (*TaobaoFuwuPurchaseOrderPayAPIRequest) SetOrderId added in v1.2.0

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

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

func (*TaobaoFuwuPurchaseOrderPayAPIRequest) SetOutOrderId added in v1.2.0

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

Set 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFuwuSaleLinkGenAPIRequest) GetNick added in v1.2.0

Get Nick Getter

func (TaobaoFuwuSaleLinkGenAPIRequest) GetParamStr added in v1.2.0

func (r TaobaoFuwuSaleLinkGenAPIRequest) GetParamStr() string

Get ParamStr Getter

func (*TaobaoFuwuSaleLinkGenAPIRequest) SetNick added in v1.2.0

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

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

func (*TaobaoFuwuSaleLinkGenAPIRequest) SetParamStr added in v1.2.0

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

Set 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFuwuScoresGetAPIRequest) GetCurrentPage added in v1.2.0

func (r TaobaoFuwuScoresGetAPIRequest) GetCurrentPage() int64

Get CurrentPage Getter

func (TaobaoFuwuScoresGetAPIRequest) GetDate added in v1.2.0

Get Date Getter

func (TaobaoFuwuScoresGetAPIRequest) GetPageSize added in v1.2.0

func (r TaobaoFuwuScoresGetAPIRequest) GetPageSize() int64

Get PageSize Getter

func (*TaobaoFuwuScoresGetAPIRequest) SetCurrentPage added in v1.2.0

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

Set is CurrentPage Setter 当前页

func (*TaobaoFuwuScoresGetAPIRequest) SetDate added in v1.2.0

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

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

func (*TaobaoFuwuScoresGetAPIRequest) SetPageSize added in v1.2.0

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

Set 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFuwuSkuGetAPIRequest) GetArticleCode added in v1.2.0

func (r TaobaoFuwuSkuGetAPIRequest) GetArticleCode() string

Get ArticleCode Getter

func (TaobaoFuwuSkuGetAPIRequest) GetNick added in v1.2.0

func (r TaobaoFuwuSkuGetAPIRequest) GetNick() string

Get Nick Getter

func (*TaobaoFuwuSkuGetAPIRequest) SetArticleCode added in v1.2.0

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

Set is ArticleCode Setter 服务code

func (*TaobaoFuwuSkuGetAPIRequest) SetNick added in v1.2.0

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFuwuSpBillreordAddAPIRequest) GetParamBillRecordDTO added in v1.2.0

func (r TaobaoFuwuSpBillreordAddAPIRequest) GetParamBillRecordDTO() *BillRecordDto

Get ParamBillRecordDTO Getter

func (*TaobaoFuwuSpBillreordAddAPIRequest) SetParamBillRecordDTO added in v1.2.0

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFuwuSpConfirmApplyAPIRequest) GetParamIncomeConfirmDTO added in v1.2.0

func (r TaobaoFuwuSpConfirmApplyAPIRequest) GetParamIncomeConfirmDTO() *IncomeConfirmDto

Get ParamIncomeConfirmDTO Getter

func (*TaobaoFuwuSpConfirmApplyAPIRequest) SetParamIncomeConfirmDTO added in v1.2.0

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRecycleOfnpreredpacketGetAPIRequest) GetOldOrderId added in v1.2.0

Get OldOrderId Getter

func (*TaobaoRecycleOfnpreredpacketGetAPIRequest) SetOldOrderId added in v1.2.0

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

Set 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

Get DeductAmount Getter

func (TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIRequest) GetOldOrderId added in v1.2.0

Get OldOrderId Getter

func (*TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIRequest) SetDeductAmount added in v1.2.0

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

Set is DeductAmount Setter 变化的金额

func (*TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIRequest) SetOldOrderId added in v1.2.0

Set 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 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVasOrderSearchAPIRequest) GetArticleCode added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetArticleCode() string

Get ArticleCode Getter

func (TaobaoVasOrderSearchAPIRequest) GetBizOrderId added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetBizOrderId() int64

Get BizOrderId Getter

func (TaobaoVasOrderSearchAPIRequest) GetBizType added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetBizType() int64

Get BizType Getter

func (TaobaoVasOrderSearchAPIRequest) GetEndCreated added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetEndCreated() string

Get EndCreated Getter

func (TaobaoVasOrderSearchAPIRequest) GetItemCode added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetItemCode() string

Get ItemCode Getter

func (TaobaoVasOrderSearchAPIRequest) GetNick added in v1.2.0

Get Nick Getter

func (TaobaoVasOrderSearchAPIRequest) GetOrderId added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetOrderId() int64

Get OrderId Getter

func (TaobaoVasOrderSearchAPIRequest) GetPageNo added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetPageNo() int64

Get PageNo Getter

func (TaobaoVasOrderSearchAPIRequest) GetPageSize added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetPageSize() int64

Get PageSize Getter

func (TaobaoVasOrderSearchAPIRequest) GetStartCreated added in v1.2.0

func (r TaobaoVasOrderSearchAPIRequest) GetStartCreated() string

Get StartCreated Getter

func (*TaobaoVasOrderSearchAPIRequest) SetArticleCode added in v1.2.0

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

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

func (*TaobaoVasOrderSearchAPIRequest) SetBizOrderId added in v1.2.0

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

Set is BizOrderId Setter 订单号

func (*TaobaoVasOrderSearchAPIRequest) SetBizType added in v1.2.0

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

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

func (*TaobaoVasOrderSearchAPIRequest) SetEndCreated added in v1.2.0

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

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

func (*TaobaoVasOrderSearchAPIRequest) SetItemCode added in v1.2.0

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

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

func (*TaobaoVasOrderSearchAPIRequest) SetNick added in v1.2.0

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

Set is Nick Setter 淘宝会员名

func (*TaobaoVasOrderSearchAPIRequest) SetOrderId added in v1.2.0

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

Set is OrderId Setter 子订单号

func (*TaobaoVasOrderSearchAPIRequest) SetPageNo added in v1.2.0

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

Set is PageNo Setter 页码

func (*TaobaoVasOrderSearchAPIRequest) SetPageSize added in v1.2.0

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

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

func (*TaobaoVasOrderSearchAPIRequest) SetStartCreated added in v1.2.0

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVasServiceValidateAPIRequest) GetNick added in v1.2.0

Get Nick Getter

func (TaobaoVasServiceValidateAPIRequest) GetServCode added in v1.2.0

Get ServCode Getter

func (*TaobaoVasServiceValidateAPIRequest) SetNick added in v1.2.0

Set is Nick Setter 用户昵称

func (*TaobaoVasServiceValidateAPIRequest) SetServCode added in v1.2.0

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

Set 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVasSubscSearchAPIRequest) GetArticleCode added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetArticleCode() string

Get ArticleCode Getter

func (TaobaoVasSubscSearchAPIRequest) GetAutosub added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetAutosub() bool

Get Autosub Getter

func (TaobaoVasSubscSearchAPIRequest) GetEndDeadline added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetEndDeadline() string

Get EndDeadline Getter

func (TaobaoVasSubscSearchAPIRequest) GetExpireNotice added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetExpireNotice() bool

Get ExpireNotice Getter

func (TaobaoVasSubscSearchAPIRequest) GetItemCode added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetItemCode() string

Get ItemCode Getter

func (TaobaoVasSubscSearchAPIRequest) GetNick added in v1.2.0

Get Nick Getter

func (TaobaoVasSubscSearchAPIRequest) GetPageNo added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetPageNo() int64

Get PageNo Getter

func (TaobaoVasSubscSearchAPIRequest) GetPageSize added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetPageSize() int64

Get PageSize Getter

func (TaobaoVasSubscSearchAPIRequest) GetStartDeadline added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetStartDeadline() string

Get StartDeadline Getter

func (TaobaoVasSubscSearchAPIRequest) GetStatus added in v1.2.0

func (r TaobaoVasSubscSearchAPIRequest) GetStatus() int64

Get Status Getter

func (*TaobaoVasSubscSearchAPIRequest) SetArticleCode added in v1.2.0

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

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

func (*TaobaoVasSubscSearchAPIRequest) SetAutosub added in v1.2.0

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

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

func (*TaobaoVasSubscSearchAPIRequest) SetEndDeadline added in v1.2.0

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

Set is EndDeadline Setter 到期时间结束值

func (*TaobaoVasSubscSearchAPIRequest) SetExpireNotice added in v1.2.0

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

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

func (*TaobaoVasSubscSearchAPIRequest) SetItemCode added in v1.2.0

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

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

func (*TaobaoVasSubscSearchAPIRequest) SetNick added in v1.2.0

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

Set is Nick Setter 淘宝会员名

func (*TaobaoVasSubscSearchAPIRequest) SetPageNo added in v1.2.0

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

Set is PageNo Setter 页码

func (*TaobaoVasSubscSearchAPIRequest) SetPageSize added in v1.2.0

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

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

func (*TaobaoVasSubscSearchAPIRequest) SetStartDeadline added in v1.2.0

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

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

func (*TaobaoVasSubscSearchAPIRequest) SetStatus added in v1.2.0

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

Set 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoVasSubscribeGetAPIRequest) GetArticleCode added in v1.2.0

func (r TaobaoVasSubscribeGetAPIRequest) GetArticleCode() string

Get ArticleCode Getter

func (TaobaoVasSubscribeGetAPIRequest) GetNick added in v1.2.0

Get Nick Getter

func (*TaobaoVasSubscribeGetAPIRequest) SetArticleCode added in v1.2.0

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

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

func (*TaobaoVasSubscribeGetAPIRequest) SetNick added in v1.2.0

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetEndDate added in v1.2.0

Get EndDate Getter

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetOrderIdList added in v1.2.0

func (r TaobaoWeikeEserviceOrderGetAPIRequest) GetOrderIdList() []int64

Get OrderIdList Getter

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetPageNum added in v1.2.0

Get PageNum Getter

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetPageSize added in v1.2.0

Get PageSize Getter

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetSchedulingState added in v1.2.0

func (r TaobaoWeikeEserviceOrderGetAPIRequest) GetSchedulingState() bool

Get SchedulingState Getter

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetSellerNick added in v1.2.0

Get SellerNick Getter

func (TaobaoWeikeEserviceOrderGetAPIRequest) GetStartDate added in v1.2.0

Get StartDate Getter

func (*TaobaoWeikeEserviceOrderGetAPIRequest) SetEndDate added in v1.2.0

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

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

func (*TaobaoWeikeEserviceOrderGetAPIRequest) SetOrderIdList added in v1.2.0

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

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

func (*TaobaoWeikeEserviceOrderGetAPIRequest) SetPageNum added in v1.2.0

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

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

func (*TaobaoWeikeEserviceOrderGetAPIRequest) SetPageSize added in v1.2.0

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

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

func (*TaobaoWeikeEserviceOrderGetAPIRequest) SetSchedulingState added in v1.2.0

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

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

func (*TaobaoWeikeEserviceOrderGetAPIRequest) SetSellerNick added in v1.2.0

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

Set is SellerNick Setter 商家昵称

func (*TaobaoWeikeEserviceOrderGetAPIRequest) SetStartDate added in v1.2.0

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

Set 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"`
	// 记录总记录数
	TotalSize int64 `json:"total_size,omitempty" xml:"total_size,omitempty"`
	// 订单列表
	OrderList []Order `json:"order_list,omitempty" xml:"order_list>order,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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWeikeEserviceScheduleGetAPIRequest) GetEndDate added in v1.2.0

Get EndDate Getter

func (TaobaoWeikeEserviceScheduleGetAPIRequest) GetOrderId added in v1.2.0

Get OrderId Getter

func (TaobaoWeikeEserviceScheduleGetAPIRequest) GetSellerNick added in v1.2.0

Get SellerNick Getter

func (TaobaoWeikeEserviceScheduleGetAPIRequest) GetSpNick added in v1.2.0

Get SpNick Getter

func (TaobaoWeikeEserviceScheduleGetAPIRequest) GetStartDate added in v1.2.0

Get StartDate Getter

func (*TaobaoWeikeEserviceScheduleGetAPIRequest) SetEndDate added in v1.2.0

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

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

func (*TaobaoWeikeEserviceScheduleGetAPIRequest) SetOrderId added in v1.2.0

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

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

func (*TaobaoWeikeEserviceScheduleGetAPIRequest) SetSellerNick added in v1.2.0

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

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

func (*TaobaoWeikeEserviceScheduleGetAPIRequest) SetSpNick added in v1.2.0

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

func (*TaobaoWeikeEserviceScheduleGetAPIRequest) SetStartDate added in v1.2.0

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

Set 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 TaobaoWeikeEserviceSchedulePutAPIRequest added in v1.2.0

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

提交客服排班信息 API请求 taobao.weike.eservice.schedule.put

添加、更新、删除排班信息

func NewTaobaoWeikeEserviceSchedulePutRequest

func NewTaobaoWeikeEserviceSchedulePutRequest() *TaobaoWeikeEserviceSchedulePutAPIRequest

NewTaobaoWeikeEserviceSchedulePutRequest 初始化TaobaoWeikeEserviceSchedulePutAPIRequest对象

func (TaobaoWeikeEserviceSchedulePutAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoWeikeEserviceSchedulePutAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWeikeEserviceSchedulePutAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWeikeEserviceSchedulePutAPIRequest) GetCsSchedulings added in v1.2.0

Get CsSchedulings Getter

func (TaobaoWeikeEserviceSchedulePutAPIRequest) GetOrderId added in v1.2.0

Get OrderId Getter

func (*TaobaoWeikeEserviceSchedulePutAPIRequest) SetCsSchedulings added in v1.2.0

func (r *TaobaoWeikeEserviceSchedulePutAPIRequest) SetCsSchedulings(_csSchedulings []CsSchedulingOneDayDto) error

Set is CsSchedulings Setter 按天排班信息

func (*TaobaoWeikeEserviceSchedulePutAPIRequest) SetOrderId added in v1.2.0

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

Set is OrderId Setter 订单ID

type TaobaoWeikeEserviceSchedulePutAPIResponse

type TaobaoWeikeEserviceSchedulePutAPIResponse struct {
	model.CommonResponse
	TaobaoWeikeEserviceSchedulePutAPIResponseModel
}
TaobaoWeikeEserviceSchedulePutAPIResponse

提交客服排班信息 API返回值 taobao.weike.eservice.schedule.put

添加、更新、删除排班信息

type TaobaoWeikeEserviceSchedulePutAPIResponseModel added in v1.2.0

type TaobaoWeikeEserviceSchedulePutAPIResponseModel struct {
	XMLName xml.Name `xml:"weike_eservice_schedule_put_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否执行成功
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoWeikeEserviceSchedulePutAPIResponseModel 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWeikeEserviceSubusersGetAPIRequest) GetOrderId added in v1.2.0

Get OrderId Getter

func (*TaobaoWeikeEserviceSubusersGetAPIRequest) SetOrderId added in v1.2.0

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWeikePerformancePutAPIRequest) GetId added in v1.2.0

Get Id Getter

func (TaobaoWeikePerformancePutAPIRequest) GetPerInfoWrapper added in v1.2.0

Get PerInfoWrapper Getter

func (*TaobaoWeikePerformancePutAPIRequest) SetId added in v1.2.0

Set is Id Setter 订单id

func (*TaobaoWeikePerformancePutAPIRequest) SetPerInfoWrapper added in v1.2.0

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

Set 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWeikeSubscinfoGetAPIRequest) GetEndTime added in v1.2.0

Get EndTime Getter

func (TaobaoWeikeSubscinfoGetAPIRequest) GetPageNum added in v1.2.0

Get PageNum Getter

func (TaobaoWeikeSubscinfoGetAPIRequest) GetSellerName added in v1.2.0

func (r TaobaoWeikeSubscinfoGetAPIRequest) GetSellerName() string

Get SellerName Getter

func (TaobaoWeikeSubscinfoGetAPIRequest) GetStartTime added in v1.2.0

func (r TaobaoWeikeSubscinfoGetAPIRequest) GetStartTime() string

Get StartTime Getter

func (*TaobaoWeikeSubscinfoGetAPIRequest) SetEndTime added in v1.2.0

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

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

func (*TaobaoWeikeSubscinfoGetAPIRequest) SetPageNum added in v1.2.0

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

Set is PageNum Setter 页码

func (*TaobaoWeikeSubscinfoGetAPIRequest) SetSellerName added in v1.2.0

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

Set is SellerName Setter 商家旺旺名称

func (*TaobaoWeikeSubscinfoGetAPIRequest) SetStartTime added in v1.2.0

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarContractDownloadAPIRequest) GetHtml added in v1.2.0

Get Html Getter

func (TmallCarContractDownloadAPIRequest) GetOrderId added in v1.2.0

Get OrderId Getter

func (*TmallCarContractDownloadAPIRequest) SetHtml added in v1.2.0

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

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

func (*TmallCarContractDownloadAPIRequest) SetOrderId added in v1.2.0

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

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarFpcarGetcarNotifyAPIRequest) GetItemId added in v1.2.0

Get ItemId Getter

func (TmallCarFpcarGetcarNotifyAPIRequest) GetOrderId added in v1.2.0

Get OrderId Getter

func (TmallCarFpcarGetcarNotifyAPIRequest) GetSellerId added in v1.2.0

Get SellerId Getter

func (*TmallCarFpcarGetcarNotifyAPIRequest) SetItemId added in v1.2.0

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

Set is ItemId Setter 商品宝贝id

func (*TmallCarFpcarGetcarNotifyAPIRequest) SetOrderId added in v1.2.0

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

Set is OrderId Setter 订单id

func (*TmallCarFpcarGetcarNotifyAPIRequest) SetSellerId added in v1.2.0

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarFpcarRestpayReceiveAPIRequest) GetItemId added in v1.2.0

Get ItemId Getter

func (TmallCarFpcarRestpayReceiveAPIRequest) GetOrderId added in v1.2.0

Get OrderId Getter

func (TmallCarFpcarRestpayReceiveAPIRequest) GetSellerId added in v1.2.0

Get SellerId Getter

func (*TmallCarFpcarRestpayReceiveAPIRequest) SetItemId added in v1.2.0

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

Set is ItemId Setter 商品宝贝id

func (*TmallCarFpcarRestpayReceiveAPIRequest) SetOrderId added in v1.2.0

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

Set is OrderId Setter 订单id

func (*TmallCarFpcarRestpayReceiveAPIRequest) SetSellerId added in v1.2.0

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

Set 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"`
	// 是否成功
	Succes bool `json:"succes,omitempty" xml:"succes,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"`
}

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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarLeaseConsumeAPIRequest) GetCosumeCodeReqDTO added in v1.2.0

func (r TmallCarLeaseConsumeAPIRequest) GetCosumeCodeReqDTO() *CosumeCodeReqDto

Get CosumeCodeReqDTO Getter

func (*TmallCarLeaseConsumeAPIRequest) SetCosumeCodeReqDTO added in v1.2.0

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

Set 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 {
	// 耗时
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// 错误吗
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误提示
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarLeaseFreedownpaymentPutAPIRequest) GetItemId added in v1.2.0

Get ItemId Getter

func (TmallCarLeaseFreedownpaymentPutAPIRequest) GetPreEndTime added in v1.2.0

Get PreEndTime Getter

func (TmallCarLeaseFreedownpaymentPutAPIRequest) GetPreStartTime added in v1.2.0

Get PreStartTime Getter

func (TmallCarLeaseFreedownpaymentPutAPIRequest) GetRefActivityId added in v1.2.0

Get RefActivityId Getter

func (TmallCarLeaseFreedownpaymentPutAPIRequest) GetTimeRangeList added in v1.2.0

Get TimeRangeList Getter

func (*TmallCarLeaseFreedownpaymentPutAPIRequest) SetItemId added in v1.2.0

Set is ItemId Setter 商品ID

func (*TmallCarLeaseFreedownpaymentPutAPIRequest) SetPreEndTime added in v1.2.0

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

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

func (*TmallCarLeaseFreedownpaymentPutAPIRequest) SetPreStartTime added in v1.2.0

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

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

func (*TmallCarLeaseFreedownpaymentPutAPIRequest) SetRefActivityId added in v1.2.0

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

Set is RefActivityId Setter 外部活动ID

func (*TmallCarLeaseFreedownpaymentPutAPIRequest) SetTimeRangeList added in v1.2.0

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

Set 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 {
	// 当前时间
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 返回对象,成功:true,失败:false
	Object bool `json:"object,omitempty" xml:"object,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 耗费时间
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,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

GetApiParams 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 {
	// 当前时间
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// 动态返回扩展参数:<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"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 耗费时间
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarLeaseItemcarinfoAPIRequest) GetItemId added in v1.2.0

Get ItemId Getter

func (*TmallCarLeaseItemcarinfoAPIRequest) SetItemId added in v1.2.0

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

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

TmallCarLeaseItemcarinfoResult 结构体

type TmallCarLeaseReserveAPIRequest added in v1.2.0

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

整车租车回传预约信息 API请求 tmall.car.lease.reserve

租赁公司回传预约到店信息

func NewTmallCarLeaseReserveRequest

func NewTmallCarLeaseReserveRequest() *TmallCarLeaseReserveAPIRequest

NewTmallCarLeaseReserveRequest 初始化TmallCarLeaseReserveAPIRequest对象

func (TmallCarLeaseReserveAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallCarLeaseReserveAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarLeaseReserveAPIRequest) GetApiParams added in v1.2.0

func (r TmallCarLeaseReserveAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarLeaseReserveAPIRequest) GetBuyerId added in v1.2.0

func (r TmallCarLeaseReserveAPIRequest) GetBuyerId() int64

Get BuyerId Getter

func (TmallCarLeaseReserveAPIRequest) GetBuyerNick added in v1.2.0

func (r TmallCarLeaseReserveAPIRequest) GetBuyerNick() string

Get BuyerNick Getter

func (TmallCarLeaseReserveAPIRequest) GetFlag added in v1.2.0

Get Flag Getter

func (TmallCarLeaseReserveAPIRequest) GetOrderId added in v1.2.0

func (r TmallCarLeaseReserveAPIRequest) GetOrderId() int64

Get OrderId Getter

func (TmallCarLeaseReserveAPIRequest) GetText added in v1.2.0

Get Text Getter

func (TmallCarLeaseReserveAPIRequest) GetVin added in v1.2.0

Get Vin Getter

func (*TmallCarLeaseReserveAPIRequest) SetBuyerId added in v1.2.0

func (r *TmallCarLeaseReserveAPIRequest) SetBuyerId(_buyerId int64) error

Set is BuyerId Setter 买家id

func (*TmallCarLeaseReserveAPIRequest) SetBuyerNick added in v1.2.0

func (r *TmallCarLeaseReserveAPIRequest) SetBuyerNick(_buyerNick string) error

Set is BuyerNick Setter 买家昵称

func (*TmallCarLeaseReserveAPIRequest) SetFlag added in v1.2.0

func (r *TmallCarLeaseReserveAPIRequest) SetFlag(_flag int64) error

Set is Flag Setter 1 代表 车辆到店,已预约用户到店提车 ; 2 车辆到店,未能联系到用户

func (*TmallCarLeaseReserveAPIRequest) SetOrderId added in v1.2.0

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

Set is OrderId Setter 订单id

func (*TmallCarLeaseReserveAPIRequest) SetText added in v1.2.0

func (r *TmallCarLeaseReserveAPIRequest) SetText(_text string) error

Set is Text Setter 文案

func (*TmallCarLeaseReserveAPIRequest) SetVin added in v1.2.0

Set is Vin Setter 车架号

type TmallCarLeaseReserveAPIResponse

type TmallCarLeaseReserveAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseReserveAPIResponseModel
}
TmallCarLeaseReserveAPIResponse

整车租车回传预约信息 API返回值 tmall.car.lease.reserve

租赁公司回传预约到店信息

type TmallCarLeaseReserveAPIResponseModel added in v1.2.0

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

TmallCarLeaseReserveAPIResponseModel is 整车租车回传预约信息 成功返回结果

type TmallCarLeaseReserveResult

type TmallCarLeaseReserveResult struct {
	// 耗时
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误提示
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 当前时间
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误提示
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 返回结果,成功或者失败
	Object bool `json:"object,omitempty" xml:"object,omitempty"`
	// 返回结果,成功或者失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallCarLeaseReserveResult 结构体

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarLeaseRiskcallbackAPIRequest) GetCreditInfo added in v1.2.0

Get CreditInfo Getter

func (*TmallCarLeaseRiskcallbackAPIRequest) SetCreditInfo added in v1.2.0

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

Set 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 {
	// 耗时
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误消息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 当前时间
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误消息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// true
	Object bool `json:"object,omitempty" xml:"object,omitempty"`
	// 成功与否
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallCarLeaseRiskcallbackResult 结构体

type TmallCarLeaseSynchronizeplansAPIRequest added in v1.2.0

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

同步租赁方案 API请求 tmall.car.lease.synchronizeplans

租赁公司同步还款计划

func NewTmallCarLeaseSynchronizeplansRequest

func NewTmallCarLeaseSynchronizeplansRequest() *TmallCarLeaseSynchronizeplansAPIRequest

NewTmallCarLeaseSynchronizeplansRequest 初始化TmallCarLeaseSynchronizeplansAPIRequest对象

func (TmallCarLeaseSynchronizeplansAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallCarLeaseSynchronizeplansAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarLeaseSynchronizeplansAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarLeaseSynchronizeplansAPIRequest) GetItemId added in v1.2.0

Get ItemId Getter

func (TmallCarLeaseSynchronizeplansAPIRequest) GetPlans added in v1.2.0

Get Plans Getter

func (*TmallCarLeaseSynchronizeplansAPIRequest) SetItemId added in v1.2.0

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

Set is ItemId Setter 商品id

func (*TmallCarLeaseSynchronizeplansAPIRequest) SetPlans added in v1.2.0

Set is Plans Setter 租赁计划

type TmallCarLeaseSynchronizeplansAPIResponse

type TmallCarLeaseSynchronizeplansAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseSynchronizeplansAPIResponseModel
}
TmallCarLeaseSynchronizeplansAPIResponse

同步租赁方案 API返回值 tmall.car.lease.synchronizeplans

租赁公司同步还款计划

type TmallCarLeaseSynchronizeplansAPIResponseModel added in v1.2.0

type TmallCarLeaseSynchronizeplansAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_car_lease_synchronizeplans_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 如果success为true,表示成功,如果success为false,需要获取msg_code,msg_info,具体的错误码文档提供
	Result *TmallCarLeaseSynchronizeplansResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallCarLeaseSynchronizeplansAPIResponseModel is 同步租赁方案 成功返回结果

type TmallCarLeaseSynchronizeplansResult

type TmallCarLeaseSynchronizeplansResult struct {
	// 耗时
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误提示
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 当前时间
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误提示
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 成功或者失败
	Object bool `json:"object,omitempty" xml:"object,omitempty"`
	// 成功与否
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallCarLeaseSynchronizeplansResult 结构体

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarLeaseTailpaymentbackAPIRequest) GetTailPaymentDTO added in v1.2.0

Get TailPaymentDTO Getter

func (*TmallCarLeaseTailpaymentbackAPIRequest) SetTailPaymentDTO added in v1.2.0

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

Set 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 {
	// costTime
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMessage
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// gmtCurrentTime
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarLeaseorderGetAPIRequest) GetOrderId added in v1.2.0

func (r TmallCarLeaseorderGetAPIRequest) GetOrderId() int64

Get OrderId Getter

func (*TmallCarLeaseorderGetAPIRequest) SetOrderId added in v1.2.0

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

Set 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallMsfReceiveAPIRequest) GetBizType added in v1.2.0

func (r TmallMsfReceiveAPIRequest) GetBizType() string

Get BizType Getter

func (TmallMsfReceiveAPIRequest) GetCode added in v1.2.0

func (r TmallMsfReceiveAPIRequest) GetCode() string

Get Code Getter

func (TmallMsfReceiveAPIRequest) GetShopId added in v1.2.0

func (r TmallMsfReceiveAPIRequest) GetShopId() string

Get ShopId Getter

func (*TmallMsfReceiveAPIRequest) SetBizType added in v1.2.0

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

Set is BizType Setter 1

func (*TmallMsfReceiveAPIRequest) SetCode added in v1.2.0

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

Set is Code Setter 1

func (*TmallMsfReceiveAPIRequest) SetShopId added in v1.2.0

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

Set 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallMsfVerifyAPIRequest) GetBizType added in v1.2.0

func (r TmallMsfVerifyAPIRequest) GetBizType() string

Get BizType Getter

func (TmallMsfVerifyAPIRequest) GetCode added in v1.2.0

func (r TmallMsfVerifyAPIRequest) GetCode() string

Get Code Getter

func (TmallMsfVerifyAPIRequest) GetShopId added in v1.2.0

func (r TmallMsfVerifyAPIRequest) GetShopId() string

Get ShopId Getter

func (*TmallMsfVerifyAPIRequest) SetBizType added in v1.2.0

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

Set is BizType Setter 111

func (*TmallMsfVerifyAPIRequest) SetCode added in v1.2.0

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

Set is Code Setter 111

func (*TmallMsfVerifyAPIRequest) SetShopId added in v1.2.0

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

Set 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

Get EndTime Getter

func (TmallServiceSettleadjustmentSearchAPIRequest) GetStartTime added in v1.2.0

Get StartTime Getter

func (*TmallServiceSettleadjustmentSearchAPIRequest) SetEndTime added in v1.2.0

Set is EndTime Setter 结束时间

func (*TmallServiceSettleadjustmentSearchAPIRequest) SetStartTime added in v1.2.0

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

Set 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

Get Query Getter

func (*TmallServicecenterTpFundsRecoverQueryAPIRequest) SetQuery added in v1.2.0

Set 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

Get Query Getter

func (*TmallServicecenterTpFundsSendQueryAPIRequest) SetQuery added in v1.2.0

Set 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 {
	// 资金权益类型。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"`
}

TpFundsSendQuery 结构体

type TpFundsSendResultDo

type TpFundsSendResultDo struct {
	// 红包ID
	RedPacketsId string `json:"red_packets_id,omitempty" xml:"red_packets_id,omitempty"`
	// 金额,单位分
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 状态,true表示发放成功
	Status bool `json:"status,omitempty" xml:"status,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"`
	// 红包发放时间,格式yyyy-MM-dd HH:mm:ss
	ReceiveTime string `json:"receive_time,omitempty" xml:"receive_time,omitempty"`
}

TpFundsSendResultDo 结构体

Source Files

Jump to

Keyboard shortcuts

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