servicecenter

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 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

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

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 TaobaoFuwuPurchaseOrderConfirmAPIResponse

type TaobaoFuwuPurchaseOrderConfirmAPIResponse struct {
	model.CommonResponse
	TaobaoFuwuPurchaseOrderConfirmResponse
}

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

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

type TaobaoFuwuPurchaseOrderConfirmRequest

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

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

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

func NewTaobaoFuwuPurchaseOrderConfirmRequest

func NewTaobaoFuwuPurchaseOrderConfirmRequest() *TaobaoFuwuPurchaseOrderConfirmRequest

初始化TaobaoFuwuPurchaseOrderConfirmRequest对象

func (TaobaoFuwuPurchaseOrderConfirmRequest) GetApiMethodName

func (r TaobaoFuwuPurchaseOrderConfirmRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoFuwuPurchaseOrderConfirmRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoFuwuPurchaseOrderConfirmRequest) GetParamOrderConfirmQueryDTO

func (r TaobaoFuwuPurchaseOrderConfirmRequest) GetParamOrderConfirmQueryDTO() *OrderConfirmQueryDto

ParamOrderConfirmQueryDTO Getter

func (*TaobaoFuwuPurchaseOrderConfirmRequest) SetParamOrderConfirmQueryDTO

func (r *TaobaoFuwuPurchaseOrderConfirmRequest) SetParamOrderConfirmQueryDTO(paramOrderConfirmQueryDTO *OrderConfirmQueryDto) error

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

type TaobaoFuwuPurchaseOrderConfirmResponse

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

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

type TaobaoFuwuPurchaseOrderPayAPIResponse

type TaobaoFuwuPurchaseOrderPayAPIResponse struct {
	model.CommonResponse
	TaobaoFuwuPurchaseOrderPayResponse
}

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

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

type TaobaoFuwuPurchaseOrderPayRequest

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

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

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

func NewTaobaoFuwuPurchaseOrderPayRequest

func NewTaobaoFuwuPurchaseOrderPayRequest() *TaobaoFuwuPurchaseOrderPayRequest

初始化TaobaoFuwuPurchaseOrderPayRequest对象

func (TaobaoFuwuPurchaseOrderPayRequest) GetApiMethodName

func (r TaobaoFuwuPurchaseOrderPayRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoFuwuPurchaseOrderPayRequest) GetApiParams

func (r TaobaoFuwuPurchaseOrderPayRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoFuwuPurchaseOrderPayRequest) GetAppkey

Appkey Getter

func (TaobaoFuwuPurchaseOrderPayRequest) GetDeviceType

func (r TaobaoFuwuPurchaseOrderPayRequest) GetDeviceType() string

DeviceType Getter

func (TaobaoFuwuPurchaseOrderPayRequest) GetOrderId

OrderId Getter

func (TaobaoFuwuPurchaseOrderPayRequest) GetOutOrderId

func (r TaobaoFuwuPurchaseOrderPayRequest) GetOutOrderId() string

OutOrderId Getter

func (*TaobaoFuwuPurchaseOrderPayRequest) SetAppkey

func (r *TaobaoFuwuPurchaseOrderPayRequest) SetAppkey(appkey string) error

Appkey Setter APPKEY,必填

func (*TaobaoFuwuPurchaseOrderPayRequest) SetDeviceType

func (r *TaobaoFuwuPurchaseOrderPayRequest) SetDeviceType(deviceType string) error

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

func (*TaobaoFuwuPurchaseOrderPayRequest) SetOrderId

func (r *TaobaoFuwuPurchaseOrderPayRequest) SetOrderId(orderId int64) error

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

func (*TaobaoFuwuPurchaseOrderPayRequest) SetOutOrderId

func (r *TaobaoFuwuPurchaseOrderPayRequest) SetOutOrderId(outOrderId string) error

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

type TaobaoFuwuPurchaseOrderPayResponse

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

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

type TaobaoFuwuSaleLinkGenAPIResponse

type TaobaoFuwuSaleLinkGenAPIResponse struct {
	model.CommonResponse
	TaobaoFuwuSaleLinkGenResponse
}

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

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

type TaobaoFuwuSaleLinkGenRequest

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

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

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

func NewTaobaoFuwuSaleLinkGenRequest

func NewTaobaoFuwuSaleLinkGenRequest() *TaobaoFuwuSaleLinkGenRequest

初始化TaobaoFuwuSaleLinkGenRequest对象

func (TaobaoFuwuSaleLinkGenRequest) GetApiMethodName

func (r TaobaoFuwuSaleLinkGenRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoFuwuSaleLinkGenRequest) GetApiParams

func (r TaobaoFuwuSaleLinkGenRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoFuwuSaleLinkGenRequest) GetNick

Nick Getter

func (TaobaoFuwuSaleLinkGenRequest) GetParamStr

func (r TaobaoFuwuSaleLinkGenRequest) GetParamStr() string

ParamStr Getter

func (*TaobaoFuwuSaleLinkGenRequest) SetNick

func (r *TaobaoFuwuSaleLinkGenRequest) SetNick(nick string) error

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

func (*TaobaoFuwuSaleLinkGenRequest) SetParamStr

func (r *TaobaoFuwuSaleLinkGenRequest) SetParamStr(paramStr string) error

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

type TaobaoFuwuSaleLinkGenResponse

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

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

type TaobaoFuwuScoresGetAPIResponse

type TaobaoFuwuScoresGetAPIResponse struct {
	model.CommonResponse
	TaobaoFuwuScoresGetResponse
}

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

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

type TaobaoFuwuScoresGetRequest

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

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

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

func NewTaobaoFuwuScoresGetRequest

func NewTaobaoFuwuScoresGetRequest() *TaobaoFuwuScoresGetRequest

初始化TaobaoFuwuScoresGetRequest对象

func (TaobaoFuwuScoresGetRequest) GetApiMethodName

func (r TaobaoFuwuScoresGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoFuwuScoresGetRequest) GetApiParams

func (r TaobaoFuwuScoresGetRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoFuwuScoresGetRequest) GetCurrentPage

func (r TaobaoFuwuScoresGetRequest) GetCurrentPage() int64

CurrentPage Getter

func (TaobaoFuwuScoresGetRequest) GetDate

func (r TaobaoFuwuScoresGetRequest) GetDate() string

Date Getter

func (TaobaoFuwuScoresGetRequest) GetPageSize

func (r TaobaoFuwuScoresGetRequest) GetPageSize() int64

PageSize Getter

func (*TaobaoFuwuScoresGetRequest) SetCurrentPage

func (r *TaobaoFuwuScoresGetRequest) SetCurrentPage(currentPage int64) error

CurrentPage Setter 当前页

func (*TaobaoFuwuScoresGetRequest) SetDate

func (r *TaobaoFuwuScoresGetRequest) SetDate(date string) error

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

func (*TaobaoFuwuScoresGetRequest) SetPageSize

func (r *TaobaoFuwuScoresGetRequest) SetPageSize(pageSize int64) error

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

type TaobaoFuwuScoresGetResponse

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

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

type TaobaoFuwuSkuGetAPIResponse

type TaobaoFuwuSkuGetAPIResponse struct {
	model.CommonResponse
	TaobaoFuwuSkuGetResponse
}

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

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

type TaobaoFuwuSkuGetRequest

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

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

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

func NewTaobaoFuwuSkuGetRequest

func NewTaobaoFuwuSkuGetRequest() *TaobaoFuwuSkuGetRequest

初始化TaobaoFuwuSkuGetRequest对象

func (TaobaoFuwuSkuGetRequest) GetApiMethodName

func (r TaobaoFuwuSkuGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoFuwuSkuGetRequest) GetApiParams

func (r TaobaoFuwuSkuGetRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoFuwuSkuGetRequest) GetArticleCode

func (r TaobaoFuwuSkuGetRequest) GetArticleCode() string

ArticleCode Getter

func (TaobaoFuwuSkuGetRequest) GetNick

func (r TaobaoFuwuSkuGetRequest) GetNick() string

Nick Getter

func (*TaobaoFuwuSkuGetRequest) SetArticleCode

func (r *TaobaoFuwuSkuGetRequest) SetArticleCode(articleCode string) error

ArticleCode Setter 服务code

func (*TaobaoFuwuSkuGetRequest) SetNick

func (r *TaobaoFuwuSkuGetRequest) SetNick(nick string) error

Nick Setter 用户的淘宝nick

type TaobaoFuwuSkuGetResponse

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

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

type TaobaoFuwuSpBillreordAddAPIResponse

type TaobaoFuwuSpBillreordAddAPIResponse struct {
	model.CommonResponse
	TaobaoFuwuSpBillreordAddResponse
}

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

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

type TaobaoFuwuSpBillreordAddRequest

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

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

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

func NewTaobaoFuwuSpBillreordAddRequest

func NewTaobaoFuwuSpBillreordAddRequest() *TaobaoFuwuSpBillreordAddRequest

初始化TaobaoFuwuSpBillreordAddRequest对象

func (TaobaoFuwuSpBillreordAddRequest) GetApiMethodName

func (r TaobaoFuwuSpBillreordAddRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoFuwuSpBillreordAddRequest) GetApiParams

func (r TaobaoFuwuSpBillreordAddRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoFuwuSpBillreordAddRequest) GetParamBillRecordDTO

func (r TaobaoFuwuSpBillreordAddRequest) GetParamBillRecordDTO() *BillRecordDto

ParamBillRecordDTO Getter

func (*TaobaoFuwuSpBillreordAddRequest) SetParamBillRecordDTO

func (r *TaobaoFuwuSpBillreordAddRequest) SetParamBillRecordDTO(paramBillRecordDTO *BillRecordDto) error

ParamBillRecordDTO Setter 确认单的账单明细

type TaobaoFuwuSpBillreordAddResponse

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

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

type TaobaoFuwuSpConfirmApplyAPIResponse

type TaobaoFuwuSpConfirmApplyAPIResponse struct {
	model.CommonResponse
	TaobaoFuwuSpConfirmApplyResponse
}

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

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

type TaobaoFuwuSpConfirmApplyRequest

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

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

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

func NewTaobaoFuwuSpConfirmApplyRequest

func NewTaobaoFuwuSpConfirmApplyRequest() *TaobaoFuwuSpConfirmApplyRequest

初始化TaobaoFuwuSpConfirmApplyRequest对象

func (TaobaoFuwuSpConfirmApplyRequest) GetApiMethodName

func (r TaobaoFuwuSpConfirmApplyRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoFuwuSpConfirmApplyRequest) GetApiParams

func (r TaobaoFuwuSpConfirmApplyRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoFuwuSpConfirmApplyRequest) GetParamIncomeConfirmDTO

func (r TaobaoFuwuSpConfirmApplyRequest) GetParamIncomeConfirmDTO() *IncomeConfirmDto

ParamIncomeConfirmDTO Getter

func (*TaobaoFuwuSpConfirmApplyRequest) SetParamIncomeConfirmDTO

func (r *TaobaoFuwuSpConfirmApplyRequest) SetParamIncomeConfirmDTO(paramIncomeConfirmDTO *IncomeConfirmDto) error

ParamIncomeConfirmDTO Setter 确认单申请

type TaobaoFuwuSpConfirmApplyResponse

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

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

type TaobaoRecycleOfnpreredpacketGetAPIResponse

type TaobaoRecycleOfnpreredpacketGetAPIResponse struct {
	model.CommonResponse
	TaobaoRecycleOfnpreredpacketGetResponse
}

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

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

type TaobaoRecycleOfnpreredpacketGetRequest

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

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

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

func NewTaobaoRecycleOfnpreredpacketGetRequest

func NewTaobaoRecycleOfnpreredpacketGetRequest() *TaobaoRecycleOfnpreredpacketGetRequest

初始化TaobaoRecycleOfnpreredpacketGetRequest对象

func (TaobaoRecycleOfnpreredpacketGetRequest) GetApiMethodName

func (r TaobaoRecycleOfnpreredpacketGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoRecycleOfnpreredpacketGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoRecycleOfnpreredpacketGetRequest) GetOldOrderId

OldOrderId Getter

func (*TaobaoRecycleOfnpreredpacketGetRequest) SetOldOrderId

func (r *TaobaoRecycleOfnpreredpacketGetRequest) SetOldOrderId(oldOrderId int64) error

OldOrderId Setter 旧机单id

type TaobaoRecycleOfnpreredpacketGetResponse

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

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

type TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIResponse

type TaobaoRecycleOfnpreredpacketTpdeductsuccessAPIResponse struct {
	model.CommonResponse
	TaobaoRecycleOfnpreredpacketTpdeductsuccessResponse
}

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

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

type TaobaoRecycleOfnpreredpacketTpdeductsuccessRequest

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

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

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

func NewTaobaoRecycleOfnpreredpacketTpdeductsuccessRequest

func NewTaobaoRecycleOfnpreredpacketTpdeductsuccessRequest() *TaobaoRecycleOfnpreredpacketTpdeductsuccessRequest

初始化TaobaoRecycleOfnpreredpacketTpdeductsuccessRequest对象

func (TaobaoRecycleOfnpreredpacketTpdeductsuccessRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoRecycleOfnpreredpacketTpdeductsuccessRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoRecycleOfnpreredpacketTpdeductsuccessRequest) GetDeductAmount

DeductAmount Getter

func (TaobaoRecycleOfnpreredpacketTpdeductsuccessRequest) GetOldOrderId

OldOrderId Getter

func (*TaobaoRecycleOfnpreredpacketTpdeductsuccessRequest) SetDeductAmount

func (r *TaobaoRecycleOfnpreredpacketTpdeductsuccessRequest) SetDeductAmount(deductAmount int64) error

DeductAmount Setter 变化的金额

func (*TaobaoRecycleOfnpreredpacketTpdeductsuccessRequest) SetOldOrderId

func (r *TaobaoRecycleOfnpreredpacketTpdeductsuccessRequest) SetOldOrderId(oldOrderId int64) error

OldOrderId Setter 旧机单id

type TaobaoRecycleOfnpreredpacketTpdeductsuccessResponse

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

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

type TaobaoVasOrderSearchAPIResponse

type TaobaoVasOrderSearchAPIResponse struct {
	model.CommonResponse
	TaobaoVasOrderSearchResponse
}

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

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

type TaobaoVasOrderSearchRequest

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

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

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

func NewTaobaoVasOrderSearchRequest

func NewTaobaoVasOrderSearchRequest() *TaobaoVasOrderSearchRequest

初始化TaobaoVasOrderSearchRequest对象

func (TaobaoVasOrderSearchRequest) GetApiMethodName

func (r TaobaoVasOrderSearchRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoVasOrderSearchRequest) GetApiParams

func (r TaobaoVasOrderSearchRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoVasOrderSearchRequest) GetArticleCode

func (r TaobaoVasOrderSearchRequest) GetArticleCode() string

ArticleCode Getter

func (TaobaoVasOrderSearchRequest) GetBizOrderId

func (r TaobaoVasOrderSearchRequest) GetBizOrderId() int64

BizOrderId Getter

func (TaobaoVasOrderSearchRequest) GetBizType

func (r TaobaoVasOrderSearchRequest) GetBizType() int64

BizType Getter

func (TaobaoVasOrderSearchRequest) GetEndCreated

func (r TaobaoVasOrderSearchRequest) GetEndCreated() string

EndCreated Getter

func (TaobaoVasOrderSearchRequest) GetItemCode

func (r TaobaoVasOrderSearchRequest) GetItemCode() string

ItemCode Getter

func (TaobaoVasOrderSearchRequest) GetNick

func (r TaobaoVasOrderSearchRequest) GetNick() string

Nick Getter

func (TaobaoVasOrderSearchRequest) GetOrderId

func (r TaobaoVasOrderSearchRequest) GetOrderId() int64

OrderId Getter

func (TaobaoVasOrderSearchRequest) GetPageNo

func (r TaobaoVasOrderSearchRequest) GetPageNo() int64

PageNo Getter

func (TaobaoVasOrderSearchRequest) GetPageSize

func (r TaobaoVasOrderSearchRequest) GetPageSize() int64

PageSize Getter

func (TaobaoVasOrderSearchRequest) GetStartCreated

func (r TaobaoVasOrderSearchRequest) GetStartCreated() string

StartCreated Getter

func (*TaobaoVasOrderSearchRequest) SetArticleCode

func (r *TaobaoVasOrderSearchRequest) SetArticleCode(articleCode string) error

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

func (*TaobaoVasOrderSearchRequest) SetBizOrderId

func (r *TaobaoVasOrderSearchRequest) SetBizOrderId(bizOrderId int64) error

BizOrderId Setter 订单号

func (*TaobaoVasOrderSearchRequest) SetBizType

func (r *TaobaoVasOrderSearchRequest) SetBizType(bizType int64) error

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

func (*TaobaoVasOrderSearchRequest) SetEndCreated

func (r *TaobaoVasOrderSearchRequest) SetEndCreated(endCreated string) error

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

func (*TaobaoVasOrderSearchRequest) SetItemCode

func (r *TaobaoVasOrderSearchRequest) SetItemCode(itemCode string) error

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

func (*TaobaoVasOrderSearchRequest) SetNick

func (r *TaobaoVasOrderSearchRequest) SetNick(nick string) error

Nick Setter 淘宝会员名

func (*TaobaoVasOrderSearchRequest) SetOrderId

func (r *TaobaoVasOrderSearchRequest) SetOrderId(orderId int64) error

OrderId Setter 子订单号

func (*TaobaoVasOrderSearchRequest) SetPageNo

func (r *TaobaoVasOrderSearchRequest) SetPageNo(pageNo int64) error

PageNo Setter 页码

func (*TaobaoVasOrderSearchRequest) SetPageSize

func (r *TaobaoVasOrderSearchRequest) SetPageSize(pageSize int64) error

PageSize Setter 一页包含的记录数

func (*TaobaoVasOrderSearchRequest) SetStartCreated

func (r *TaobaoVasOrderSearchRequest) SetStartCreated(startCreated string) error

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

type TaobaoVasOrderSearchResponse

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

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

type TaobaoVasServiceValidateAPIResponse

type TaobaoVasServiceValidateAPIResponse struct {
	model.CommonResponse
	TaobaoVasServiceValidateResponse
}

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

增值服务订购服务验证

type TaobaoVasServiceValidateRequest

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

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

增值服务订购服务验证

func NewTaobaoVasServiceValidateRequest

func NewTaobaoVasServiceValidateRequest() *TaobaoVasServiceValidateRequest

初始化TaobaoVasServiceValidateRequest对象

func (TaobaoVasServiceValidateRequest) GetApiMethodName

func (r TaobaoVasServiceValidateRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoVasServiceValidateRequest) GetApiParams

func (r TaobaoVasServiceValidateRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoVasServiceValidateRequest) GetNick

Nick Getter

func (TaobaoVasServiceValidateRequest) GetServCode

func (r TaobaoVasServiceValidateRequest) GetServCode() string

ServCode Getter

func (*TaobaoVasServiceValidateRequest) SetNick

func (r *TaobaoVasServiceValidateRequest) SetNick(nick string) error

Nick Setter 用户昵称

func (*TaobaoVasServiceValidateRequest) SetServCode

func (r *TaobaoVasServiceValidateRequest) SetServCode(servCode string) error

ServCode Setter 服务编码

type TaobaoVasServiceValidateResponse

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

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

type TaobaoVasSubscSearchAPIResponse

type TaobaoVasSubscSearchAPIResponse struct {
	model.CommonResponse
	TaobaoVasSubscSearchResponse
}

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

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

type TaobaoVasSubscSearchRequest

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

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

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

func NewTaobaoVasSubscSearchRequest

func NewTaobaoVasSubscSearchRequest() *TaobaoVasSubscSearchRequest

初始化TaobaoVasSubscSearchRequest对象

func (TaobaoVasSubscSearchRequest) GetApiMethodName

func (r TaobaoVasSubscSearchRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoVasSubscSearchRequest) GetApiParams

func (r TaobaoVasSubscSearchRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoVasSubscSearchRequest) GetArticleCode

func (r TaobaoVasSubscSearchRequest) GetArticleCode() string

ArticleCode Getter

func (TaobaoVasSubscSearchRequest) GetAutosub

func (r TaobaoVasSubscSearchRequest) GetAutosub() bool

Autosub Getter

func (TaobaoVasSubscSearchRequest) GetEndDeadline

func (r TaobaoVasSubscSearchRequest) GetEndDeadline() string

EndDeadline Getter

func (TaobaoVasSubscSearchRequest) GetExpireNotice

func (r TaobaoVasSubscSearchRequest) GetExpireNotice() bool

ExpireNotice Getter

func (TaobaoVasSubscSearchRequest) GetItemCode

func (r TaobaoVasSubscSearchRequest) GetItemCode() string

ItemCode Getter

func (TaobaoVasSubscSearchRequest) GetNick

func (r TaobaoVasSubscSearchRequest) GetNick() string

Nick Getter

func (TaobaoVasSubscSearchRequest) GetPageNo

func (r TaobaoVasSubscSearchRequest) GetPageNo() int64

PageNo Getter

func (TaobaoVasSubscSearchRequest) GetPageSize

func (r TaobaoVasSubscSearchRequest) GetPageSize() int64

PageSize Getter

func (TaobaoVasSubscSearchRequest) GetStartDeadline

func (r TaobaoVasSubscSearchRequest) GetStartDeadline() string

StartDeadline Getter

func (TaobaoVasSubscSearchRequest) GetStatus

func (r TaobaoVasSubscSearchRequest) GetStatus() int64

Status Getter

func (*TaobaoVasSubscSearchRequest) SetArticleCode

func (r *TaobaoVasSubscSearchRequest) SetArticleCode(articleCode string) error

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

func (*TaobaoVasSubscSearchRequest) SetAutosub

func (r *TaobaoVasSubscSearchRequest) SetAutosub(autosub bool) error

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

func (*TaobaoVasSubscSearchRequest) SetEndDeadline

func (r *TaobaoVasSubscSearchRequest) SetEndDeadline(endDeadline string) error

EndDeadline Setter 到期时间结束值

func (*TaobaoVasSubscSearchRequest) SetExpireNotice

func (r *TaobaoVasSubscSearchRequest) SetExpireNotice(expireNotice bool) error

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

func (*TaobaoVasSubscSearchRequest) SetItemCode

func (r *TaobaoVasSubscSearchRequest) SetItemCode(itemCode string) error

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

func (*TaobaoVasSubscSearchRequest) SetNick

func (r *TaobaoVasSubscSearchRequest) SetNick(nick string) error

Nick Setter 淘宝会员名

func (*TaobaoVasSubscSearchRequest) SetPageNo

func (r *TaobaoVasSubscSearchRequest) SetPageNo(pageNo int64) error

PageNo Setter 页码

func (*TaobaoVasSubscSearchRequest) SetPageSize

func (r *TaobaoVasSubscSearchRequest) SetPageSize(pageSize int64) error

PageSize Setter 一页包含的记录数

func (*TaobaoVasSubscSearchRequest) SetStartDeadline

func (r *TaobaoVasSubscSearchRequest) SetStartDeadline(startDeadline string) error

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

func (*TaobaoVasSubscSearchRequest) SetStatus

func (r *TaobaoVasSubscSearchRequest) SetStatus(status int64) error

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

type TaobaoVasSubscSearchResponse

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

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

type TaobaoVasSubscribeGetAPIResponse

type TaobaoVasSubscribeGetAPIResponse struct {
	model.CommonResponse
	TaobaoVasSubscribeGetResponse
}

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

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

type TaobaoVasSubscribeGetRequest

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

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

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

func NewTaobaoVasSubscribeGetRequest

func NewTaobaoVasSubscribeGetRequest() *TaobaoVasSubscribeGetRequest

初始化TaobaoVasSubscribeGetRequest对象

func (TaobaoVasSubscribeGetRequest) GetApiMethodName

func (r TaobaoVasSubscribeGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoVasSubscribeGetRequest) GetApiParams

func (r TaobaoVasSubscribeGetRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoVasSubscribeGetRequest) GetArticleCode

func (r TaobaoVasSubscribeGetRequest) GetArticleCode() string

ArticleCode Getter

func (TaobaoVasSubscribeGetRequest) GetNick

Nick Getter

func (*TaobaoVasSubscribeGetRequest) SetArticleCode

func (r *TaobaoVasSubscribeGetRequest) SetArticleCode(articleCode string) error

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

func (*TaobaoVasSubscribeGetRequest) SetNick

func (r *TaobaoVasSubscribeGetRequest) SetNick(nick string) error

Nick Setter 淘宝会员名

type TaobaoVasSubscribeGetResponse

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

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

type TaobaoWeikeEserviceOrderGetAPIResponse

type TaobaoWeikeEserviceOrderGetAPIResponse struct {
	model.CommonResponse
	TaobaoWeikeEserviceOrderGetResponse
}

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

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

type TaobaoWeikeEserviceOrderGetRequest

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

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

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

func NewTaobaoWeikeEserviceOrderGetRequest

func NewTaobaoWeikeEserviceOrderGetRequest() *TaobaoWeikeEserviceOrderGetRequest

初始化TaobaoWeikeEserviceOrderGetRequest对象

func (TaobaoWeikeEserviceOrderGetRequest) GetApiMethodName

func (r TaobaoWeikeEserviceOrderGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWeikeEserviceOrderGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWeikeEserviceOrderGetRequest) GetEndDate

EndDate Getter

func (TaobaoWeikeEserviceOrderGetRequest) GetOrderIdList

func (r TaobaoWeikeEserviceOrderGetRequest) GetOrderIdList() []int64

OrderIdList Getter

func (TaobaoWeikeEserviceOrderGetRequest) GetPageNum

PageNum Getter

func (TaobaoWeikeEserviceOrderGetRequest) GetPageSize

func (r TaobaoWeikeEserviceOrderGetRequest) GetPageSize() int64

PageSize Getter

func (TaobaoWeikeEserviceOrderGetRequest) GetSchedulingState

func (r TaobaoWeikeEserviceOrderGetRequest) GetSchedulingState() bool

SchedulingState Getter

func (TaobaoWeikeEserviceOrderGetRequest) GetSellerNick

func (r TaobaoWeikeEserviceOrderGetRequest) GetSellerNick() string

SellerNick Getter

func (TaobaoWeikeEserviceOrderGetRequest) GetStartDate

func (r TaobaoWeikeEserviceOrderGetRequest) GetStartDate() string

StartDate Getter

func (*TaobaoWeikeEserviceOrderGetRequest) SetEndDate

func (r *TaobaoWeikeEserviceOrderGetRequest) SetEndDate(endDate string) error

EndDate Setter 订单服务结束日期

func (*TaobaoWeikeEserviceOrderGetRequest) SetOrderIdList

func (r *TaobaoWeikeEserviceOrderGetRequest) SetOrderIdList(orderIdList []int64) error

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

func (*TaobaoWeikeEserviceOrderGetRequest) SetPageNum

func (r *TaobaoWeikeEserviceOrderGetRequest) SetPageNum(pageNum int64) error

PageNum Setter 页码(默认为1)

func (*TaobaoWeikeEserviceOrderGetRequest) SetPageSize

func (r *TaobaoWeikeEserviceOrderGetRequest) SetPageSize(pageSize int64) error

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

func (*TaobaoWeikeEserviceOrderGetRequest) SetSchedulingState

func (r *TaobaoWeikeEserviceOrderGetRequest) SetSchedulingState(schedulingState bool) error

SchedulingState Setter 订单是否可以排班

func (*TaobaoWeikeEserviceOrderGetRequest) SetSellerNick

func (r *TaobaoWeikeEserviceOrderGetRequest) SetSellerNick(sellerNick string) error

SellerNick Setter 商家昵称

func (*TaobaoWeikeEserviceOrderGetRequest) SetStartDate

func (r *TaobaoWeikeEserviceOrderGetRequest) SetStartDate(startDate string) error

StartDate Setter 订单服务开始日期

type TaobaoWeikeEserviceOrderGetResponse

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

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

type TaobaoWeikeEserviceScheduleGetAPIResponse

type TaobaoWeikeEserviceScheduleGetAPIResponse struct {
	model.CommonResponse
	TaobaoWeikeEserviceScheduleGetResponse
}

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

客服排班信息查询接口

type TaobaoWeikeEserviceScheduleGetRequest

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

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

客服排班信息查询接口

func NewTaobaoWeikeEserviceScheduleGetRequest

func NewTaobaoWeikeEserviceScheduleGetRequest() *TaobaoWeikeEserviceScheduleGetRequest

初始化TaobaoWeikeEserviceScheduleGetRequest对象

func (TaobaoWeikeEserviceScheduleGetRequest) GetApiMethodName

func (r TaobaoWeikeEserviceScheduleGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWeikeEserviceScheduleGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWeikeEserviceScheduleGetRequest) GetEndDate

EndDate Getter

func (TaobaoWeikeEserviceScheduleGetRequest) GetOrderId

OrderId Getter

func (TaobaoWeikeEserviceScheduleGetRequest) GetSellerNick

SellerNick Getter

func (TaobaoWeikeEserviceScheduleGetRequest) GetSpNick

SpNick Getter

func (TaobaoWeikeEserviceScheduleGetRequest) GetStartDate

StartDate Getter

func (*TaobaoWeikeEserviceScheduleGetRequest) SetEndDate

func (r *TaobaoWeikeEserviceScheduleGetRequest) SetEndDate(endDate string) error

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

func (*TaobaoWeikeEserviceScheduleGetRequest) SetOrderId

func (r *TaobaoWeikeEserviceScheduleGetRequest) SetOrderId(orderId int64) error

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

func (*TaobaoWeikeEserviceScheduleGetRequest) SetSellerNick

func (r *TaobaoWeikeEserviceScheduleGetRequest) SetSellerNick(sellerNick string) error

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

func (*TaobaoWeikeEserviceScheduleGetRequest) SetSpNick

func (r *TaobaoWeikeEserviceScheduleGetRequest) SetSpNick(spNick string) error

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

func (*TaobaoWeikeEserviceScheduleGetRequest) SetStartDate

func (r *TaobaoWeikeEserviceScheduleGetRequest) SetStartDate(startDate string) error

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

type TaobaoWeikeEserviceScheduleGetResponse

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

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

type TaobaoWeikeEserviceSchedulePutAPIResponse

type TaobaoWeikeEserviceSchedulePutAPIResponse struct {
	model.CommonResponse
	TaobaoWeikeEserviceSchedulePutResponse
}

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

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

type TaobaoWeikeEserviceSchedulePutRequest

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

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

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

func NewTaobaoWeikeEserviceSchedulePutRequest

func NewTaobaoWeikeEserviceSchedulePutRequest() *TaobaoWeikeEserviceSchedulePutRequest

初始化TaobaoWeikeEserviceSchedulePutRequest对象

func (TaobaoWeikeEserviceSchedulePutRequest) GetApiMethodName

func (r TaobaoWeikeEserviceSchedulePutRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWeikeEserviceSchedulePutRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWeikeEserviceSchedulePutRequest) GetCsSchedulings

CsSchedulings Getter

func (TaobaoWeikeEserviceSchedulePutRequest) GetOrderId

OrderId Getter

func (*TaobaoWeikeEserviceSchedulePutRequest) SetCsSchedulings

func (r *TaobaoWeikeEserviceSchedulePutRequest) SetCsSchedulings(csSchedulings []CsSchedulingOneDayDto) error

CsSchedulings Setter 按天排班信息

func (*TaobaoWeikeEserviceSchedulePutRequest) SetOrderId

func (r *TaobaoWeikeEserviceSchedulePutRequest) SetOrderId(orderId int64) error

OrderId Setter 订单ID

type TaobaoWeikeEserviceSchedulePutResponse

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

提交客服排班信息 成功返回结果

type TaobaoWeikeEserviceSubusersGetAPIResponse

type TaobaoWeikeEserviceSubusersGetAPIResponse struct {
	model.CommonResponse
	TaobaoWeikeEserviceSubusersGetResponse
}

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

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

type TaobaoWeikeEserviceSubusersGetRequest

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

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

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

func NewTaobaoWeikeEserviceSubusersGetRequest

func NewTaobaoWeikeEserviceSubusersGetRequest() *TaobaoWeikeEserviceSubusersGetRequest

初始化TaobaoWeikeEserviceSubusersGetRequest对象

func (TaobaoWeikeEserviceSubusersGetRequest) GetApiMethodName

func (r TaobaoWeikeEserviceSubusersGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWeikeEserviceSubusersGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWeikeEserviceSubusersGetRequest) GetOrderId

OrderId Getter

func (*TaobaoWeikeEserviceSubusersGetRequest) SetOrderId

func (r *TaobaoWeikeEserviceSubusersGetRequest) SetOrderId(orderId int64) error

OrderId Setter 订单ID

type TaobaoWeikeEserviceSubusersGetResponse

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

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

type TaobaoWeikePerformancePutAPIResponse

type TaobaoWeikePerformancePutAPIResponse struct {
	model.CommonResponse
	TaobaoWeikePerformancePutResponse
}

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

提交客服绩效接口

type TaobaoWeikePerformancePutRequest

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

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

提交客服绩效接口

func NewTaobaoWeikePerformancePutRequest

func NewTaobaoWeikePerformancePutRequest() *TaobaoWeikePerformancePutRequest

初始化TaobaoWeikePerformancePutRequest对象

func (TaobaoWeikePerformancePutRequest) GetApiMethodName

func (r TaobaoWeikePerformancePutRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWeikePerformancePutRequest) GetApiParams

func (r TaobaoWeikePerformancePutRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoWeikePerformancePutRequest) GetId

Id Getter

func (TaobaoWeikePerformancePutRequest) GetPerInfoWrapper

PerInfoWrapper Getter

func (*TaobaoWeikePerformancePutRequest) SetId

Id Setter 订单id

func (*TaobaoWeikePerformancePutRequest) SetPerInfoWrapper

func (r *TaobaoWeikePerformancePutRequest) SetPerInfoWrapper(perInfoWrapper *PerformanceInfoWrapper) error

PerInfoWrapper Setter 绩效数据封装类

type TaobaoWeikePerformancePutResponse

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

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

type TaobaoWeikeSubscinfoGetAPIResponse

type TaobaoWeikeSubscinfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoWeikeSubscinfoGetResponse
}

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

需求订单查询接口

type TaobaoWeikeSubscinfoGetRequest

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

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

需求订单查询接口

func NewTaobaoWeikeSubscinfoGetRequest

func NewTaobaoWeikeSubscinfoGetRequest() *TaobaoWeikeSubscinfoGetRequest

初始化TaobaoWeikeSubscinfoGetRequest对象

func (TaobaoWeikeSubscinfoGetRequest) GetApiMethodName

func (r TaobaoWeikeSubscinfoGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWeikeSubscinfoGetRequest) GetApiParams

func (r TaobaoWeikeSubscinfoGetRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoWeikeSubscinfoGetRequest) GetEndTime

func (r TaobaoWeikeSubscinfoGetRequest) GetEndTime() string

EndTime Getter

func (TaobaoWeikeSubscinfoGetRequest) GetPageNum

func (r TaobaoWeikeSubscinfoGetRequest) GetPageNum() int64

PageNum Getter

func (TaobaoWeikeSubscinfoGetRequest) GetSellerName

func (r TaobaoWeikeSubscinfoGetRequest) GetSellerName() string

SellerName Getter

func (TaobaoWeikeSubscinfoGetRequest) GetStartTime

func (r TaobaoWeikeSubscinfoGetRequest) GetStartTime() string

StartTime Getter

func (*TaobaoWeikeSubscinfoGetRequest) SetEndTime

func (r *TaobaoWeikeSubscinfoGetRequest) SetEndTime(endTime string) error

EndTime Setter 时间范围结束时间

func (*TaobaoWeikeSubscinfoGetRequest) SetPageNum

func (r *TaobaoWeikeSubscinfoGetRequest) SetPageNum(pageNum int64) error

PageNum Setter 页码

func (*TaobaoWeikeSubscinfoGetRequest) SetSellerName

func (r *TaobaoWeikeSubscinfoGetRequest) SetSellerName(sellerName string) error

SellerName Setter 商家旺旺名称

func (*TaobaoWeikeSubscinfoGetRequest) SetStartTime

func (r *TaobaoWeikeSubscinfoGetRequest) SetStartTime(startTime string) error

StartTime Setter 时间范围开始时间

type TaobaoWeikeSubscinfoGetResponse

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

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

type TmallCarContractDownloadAPIResponse

type TmallCarContractDownloadAPIResponse struct {
	model.CommonResponse
	TmallCarContractDownloadResponse
}

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

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

type TmallCarContractDownloadRequest

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

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

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

func NewTmallCarContractDownloadRequest

func NewTmallCarContractDownloadRequest() *TmallCarContractDownloadRequest

初始化TmallCarContractDownloadRequest对象

func (TmallCarContractDownloadRequest) GetApiMethodName

func (r TmallCarContractDownloadRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallCarContractDownloadRequest) GetApiParams

func (r TmallCarContractDownloadRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TmallCarContractDownloadRequest) GetHtml

Html Getter

func (TmallCarContractDownloadRequest) GetOrderId

func (r TmallCarContractDownloadRequest) GetOrderId() int64

OrderId Getter

func (*TmallCarContractDownloadRequest) SetHtml

func (r *TmallCarContractDownloadRequest) SetHtml(html bool) error

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

func (*TmallCarContractDownloadRequest) SetOrderId

func (r *TmallCarContractDownloadRequest) SetOrderId(orderId int64) error

OrderId Setter 天猫订单号

type TmallCarContractDownloadResponse

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

合同下载 成功返回结果

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>*model.File,omitempty"`
	// 成功与否
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 消耗时间
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
}

TmallCarContractDownloadResult

type TmallCarFpcarGetcarNotifyAPIResponse

type TmallCarFpcarGetcarNotifyAPIResponse struct {
	model.CommonResponse
	TmallCarFpcarGetcarNotifyResponse
}

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

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

type TmallCarFpcarGetcarNotifyRequest

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

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

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

func NewTmallCarFpcarGetcarNotifyRequest

func NewTmallCarFpcarGetcarNotifyRequest() *TmallCarFpcarGetcarNotifyRequest

初始化TmallCarFpcarGetcarNotifyRequest对象

func (TmallCarFpcarGetcarNotifyRequest) GetApiMethodName

func (r TmallCarFpcarGetcarNotifyRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallCarFpcarGetcarNotifyRequest) GetApiParams

func (r TmallCarFpcarGetcarNotifyRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TmallCarFpcarGetcarNotifyRequest) GetItemId

ItemId Getter

func (TmallCarFpcarGetcarNotifyRequest) GetOrderId

func (r TmallCarFpcarGetcarNotifyRequest) GetOrderId() int64

OrderId Getter

func (TmallCarFpcarGetcarNotifyRequest) GetSellerId

func (r TmallCarFpcarGetcarNotifyRequest) GetSellerId() int64

SellerId Getter

func (*TmallCarFpcarGetcarNotifyRequest) SetItemId

func (r *TmallCarFpcarGetcarNotifyRequest) SetItemId(itemId int64) error

ItemId Setter 商品宝贝id

func (*TmallCarFpcarGetcarNotifyRequest) SetOrderId

func (r *TmallCarFpcarGetcarNotifyRequest) SetOrderId(orderId int64) error

OrderId Setter 订单id

func (*TmallCarFpcarGetcarNotifyRequest) SetSellerId

func (r *TmallCarFpcarGetcarNotifyRequest) SetSellerId(sellerId int64) error

SellerId Setter 卖家id

type TmallCarFpcarGetcarNotifyResponse

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

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

type TmallCarFpcarRestpayReceiveAPIResponse

type TmallCarFpcarRestpayReceiveAPIResponse struct {
	model.CommonResponse
	TmallCarFpcarRestpayReceiveResponse
}

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

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

type TmallCarFpcarRestpayReceiveRequest

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

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

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

func NewTmallCarFpcarRestpayReceiveRequest

func NewTmallCarFpcarRestpayReceiveRequest() *TmallCarFpcarRestpayReceiveRequest

初始化TmallCarFpcarRestpayReceiveRequest对象

func (TmallCarFpcarRestpayReceiveRequest) GetApiMethodName

func (r TmallCarFpcarRestpayReceiveRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallCarFpcarRestpayReceiveRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TmallCarFpcarRestpayReceiveRequest) GetItemId

ItemId Getter

func (TmallCarFpcarRestpayReceiveRequest) GetOrderId

OrderId Getter

func (TmallCarFpcarRestpayReceiveRequest) GetSellerId

func (r TmallCarFpcarRestpayReceiveRequest) GetSellerId() int64

SellerId Getter

func (*TmallCarFpcarRestpayReceiveRequest) SetItemId

func (r *TmallCarFpcarRestpayReceiveRequest) SetItemId(itemId int64) error

ItemId Setter 商品宝贝id

func (*TmallCarFpcarRestpayReceiveRequest) SetOrderId

func (r *TmallCarFpcarRestpayReceiveRequest) SetOrderId(orderId int64) error

OrderId Setter 订单id

func (*TmallCarFpcarRestpayReceiveRequest) SetSellerId

func (r *TmallCarFpcarRestpayReceiveRequest) SetSellerId(sellerId int64) error

SellerId Setter 卖家id

type TmallCarFpcarRestpayReceiveResponse

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

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

type TmallCarLeaseConsumeAPIResponse

type TmallCarLeaseConsumeAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseConsumeResponse
}

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

租赁公司回传信息,核销

type TmallCarLeaseConsumeRequest

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

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

租赁公司回传信息,核销

func NewTmallCarLeaseConsumeRequest

func NewTmallCarLeaseConsumeRequest() *TmallCarLeaseConsumeRequest

初始化TmallCarLeaseConsumeRequest对象

func (TmallCarLeaseConsumeRequest) GetApiMethodName

func (r TmallCarLeaseConsumeRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallCarLeaseConsumeRequest) GetApiParams

func (r TmallCarLeaseConsumeRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TmallCarLeaseConsumeRequest) GetCosumeCodeReqDTO

func (r TmallCarLeaseConsumeRequest) GetCosumeCodeReqDTO() *CosumeCodeReqDto

CosumeCodeReqDTO Getter

func (*TmallCarLeaseConsumeRequest) SetCosumeCodeReqDTO

func (r *TmallCarLeaseConsumeRequest) SetCosumeCodeReqDTO(cosumeCodeReqDTO *CosumeCodeReqDto) error

CosumeCodeReqDTO Setter 核销请求

type TmallCarLeaseConsumeResponse

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

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

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 TmallCarLeaseFreedownpaymentPutAPIResponse

type TmallCarLeaseFreedownpaymentPutAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseFreedownpaymentPutResponse
}

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

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

type TmallCarLeaseFreedownpaymentPutRequest

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

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

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

func NewTmallCarLeaseFreedownpaymentPutRequest

func NewTmallCarLeaseFreedownpaymentPutRequest() *TmallCarLeaseFreedownpaymentPutRequest

初始化TmallCarLeaseFreedownpaymentPutRequest对象

func (TmallCarLeaseFreedownpaymentPutRequest) GetApiMethodName

func (r TmallCarLeaseFreedownpaymentPutRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallCarLeaseFreedownpaymentPutRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TmallCarLeaseFreedownpaymentPutRequest) GetItemId

ItemId Getter

func (TmallCarLeaseFreedownpaymentPutRequest) GetPreEndTime

PreEndTime Getter

func (TmallCarLeaseFreedownpaymentPutRequest) GetPreStartTime

func (r TmallCarLeaseFreedownpaymentPutRequest) GetPreStartTime() string

PreStartTime Getter

func (TmallCarLeaseFreedownpaymentPutRequest) GetRefActivityId

func (r TmallCarLeaseFreedownpaymentPutRequest) GetRefActivityId() string

RefActivityId Getter

func (TmallCarLeaseFreedownpaymentPutRequest) GetTimeRangeList

func (r TmallCarLeaseFreedownpaymentPutRequest) GetTimeRangeList() string

TimeRangeList Getter

func (*TmallCarLeaseFreedownpaymentPutRequest) SetItemId

func (r *TmallCarLeaseFreedownpaymentPutRequest) SetItemId(itemId int64) error

ItemId Setter 商品ID

func (*TmallCarLeaseFreedownpaymentPutRequest) SetPreEndTime

func (r *TmallCarLeaseFreedownpaymentPutRequest) SetPreEndTime(preEndTime string) error

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

func (*TmallCarLeaseFreedownpaymentPutRequest) SetPreStartTime

func (r *TmallCarLeaseFreedownpaymentPutRequest) SetPreStartTime(preStartTime string) error

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

func (*TmallCarLeaseFreedownpaymentPutRequest) SetRefActivityId

func (r *TmallCarLeaseFreedownpaymentPutRequest) SetRefActivityId(refActivityId string) error

RefActivityId Setter 外部活动ID

func (*TmallCarLeaseFreedownpaymentPutRequest) SetTimeRangeList

func (r *TmallCarLeaseFreedownpaymentPutRequest) SetTimeRangeList(timeRangeList string) error

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

type TmallCarLeaseFreedownpaymentPutResponse

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

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

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 TmallCarLeaseItemActivityGetAPIResponse

type TmallCarLeaseItemActivityGetAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseItemActivityGetResponse
}

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

查询汽车租赁活动信息

type TmallCarLeaseItemActivityGetRequest

type TmallCarLeaseItemActivityGetRequest struct {
	model.Params
}

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

查询汽车租赁活动信息

func NewTmallCarLeaseItemActivityGetRequest

func NewTmallCarLeaseItemActivityGetRequest() *TmallCarLeaseItemActivityGetRequest

初始化TmallCarLeaseItemActivityGetRequest对象

func (TmallCarLeaseItemActivityGetRequest) GetApiMethodName

func (r TmallCarLeaseItemActivityGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallCarLeaseItemActivityGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

type TmallCarLeaseItemActivityGetResponse

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

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

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 TmallCarLeaseItemcarinfoAPIResponse

type TmallCarLeaseItemcarinfoAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseItemcarinfoResponse
}

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

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

type TmallCarLeaseItemcarinfoRequest

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

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

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

func NewTmallCarLeaseItemcarinfoRequest

func NewTmallCarLeaseItemcarinfoRequest() *TmallCarLeaseItemcarinfoRequest

初始化TmallCarLeaseItemcarinfoRequest对象

func (TmallCarLeaseItemcarinfoRequest) GetApiMethodName

func (r TmallCarLeaseItemcarinfoRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallCarLeaseItemcarinfoRequest) GetApiParams

func (r TmallCarLeaseItemcarinfoRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TmallCarLeaseItemcarinfoRequest) GetItemId

func (r TmallCarLeaseItemcarinfoRequest) GetItemId() int64

ItemId Getter

func (*TmallCarLeaseItemcarinfoRequest) SetItemId

func (r *TmallCarLeaseItemcarinfoRequest) SetItemId(itemId int64) error

ItemId Setter 商品id

type TmallCarLeaseItemcarinfoResponse

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

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

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 TmallCarLeaseReserveAPIResponse

type TmallCarLeaseReserveAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseReserveResponse
}

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

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

type TmallCarLeaseReserveRequest

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

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

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

func NewTmallCarLeaseReserveRequest

func NewTmallCarLeaseReserveRequest() *TmallCarLeaseReserveRequest

初始化TmallCarLeaseReserveRequest对象

func (TmallCarLeaseReserveRequest) GetApiMethodName

func (r TmallCarLeaseReserveRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallCarLeaseReserveRequest) GetApiParams

func (r TmallCarLeaseReserveRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TmallCarLeaseReserveRequest) GetBuyerId

func (r TmallCarLeaseReserveRequest) GetBuyerId() int64

BuyerId Getter

func (TmallCarLeaseReserveRequest) GetBuyerNick

func (r TmallCarLeaseReserveRequest) GetBuyerNick() string

BuyerNick Getter

func (TmallCarLeaseReserveRequest) GetFlag

func (r TmallCarLeaseReserveRequest) GetFlag() int64

Flag Getter

func (TmallCarLeaseReserveRequest) GetOrderId

func (r TmallCarLeaseReserveRequest) GetOrderId() int64

OrderId Getter

func (TmallCarLeaseReserveRequest) GetText

func (r TmallCarLeaseReserveRequest) GetText() string

Text Getter

func (TmallCarLeaseReserveRequest) GetVin

Vin Getter

func (*TmallCarLeaseReserveRequest) SetBuyerId

func (r *TmallCarLeaseReserveRequest) SetBuyerId(buyerId int64) error

BuyerId Setter 买家id

func (*TmallCarLeaseReserveRequest) SetBuyerNick

func (r *TmallCarLeaseReserveRequest) SetBuyerNick(buyerNick string) error

BuyerNick Setter 买家昵称

func (*TmallCarLeaseReserveRequest) SetFlag

func (r *TmallCarLeaseReserveRequest) SetFlag(flag int64) error

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

func (*TmallCarLeaseReserveRequest) SetOrderId

func (r *TmallCarLeaseReserveRequest) SetOrderId(orderId int64) error

OrderId Setter 订单id

func (*TmallCarLeaseReserveRequest) SetText

func (r *TmallCarLeaseReserveRequest) SetText(text string) error

Text Setter 文案

func (*TmallCarLeaseReserveRequest) SetVin

func (r *TmallCarLeaseReserveRequest) SetVin(vin string) error

Vin Setter 车架号

type TmallCarLeaseReserveResponse

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

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

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 TmallCarLeaseRiskcallbackAPIResponse

type TmallCarLeaseRiskcallbackAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseRiskcallbackResponse
}

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

租赁公司回调风控结果

type TmallCarLeaseRiskcallbackRequest

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

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

租赁公司回调风控结果

func NewTmallCarLeaseRiskcallbackRequest

func NewTmallCarLeaseRiskcallbackRequest() *TmallCarLeaseRiskcallbackRequest

初始化TmallCarLeaseRiskcallbackRequest对象

func (TmallCarLeaseRiskcallbackRequest) GetApiMethodName

func (r TmallCarLeaseRiskcallbackRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallCarLeaseRiskcallbackRequest) GetApiParams

func (r TmallCarLeaseRiskcallbackRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TmallCarLeaseRiskcallbackRequest) GetCreditInfo

CreditInfo Getter

func (*TmallCarLeaseRiskcallbackRequest) SetCreditInfo

func (r *TmallCarLeaseRiskcallbackRequest) SetCreditInfo(creditInfo *CreditInfoTopDto) error

CreditInfo Setter 授信结果

type TmallCarLeaseRiskcallbackResponse

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

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

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 TmallCarLeaseSynchronizeplansAPIResponse

type TmallCarLeaseSynchronizeplansAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseSynchronizeplansResponse
}

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

租赁公司同步还款计划

type TmallCarLeaseSynchronizeplansRequest

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

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

租赁公司同步还款计划

func NewTmallCarLeaseSynchronizeplansRequest

func NewTmallCarLeaseSynchronizeplansRequest() *TmallCarLeaseSynchronizeplansRequest

初始化TmallCarLeaseSynchronizeplansRequest对象

func (TmallCarLeaseSynchronizeplansRequest) GetApiMethodName

func (r TmallCarLeaseSynchronizeplansRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallCarLeaseSynchronizeplansRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TmallCarLeaseSynchronizeplansRequest) GetItemId

ItemId Getter

func (TmallCarLeaseSynchronizeplansRequest) GetPlans

Plans Getter

func (*TmallCarLeaseSynchronizeplansRequest) SetItemId

func (r *TmallCarLeaseSynchronizeplansRequest) SetItemId(itemId int64) error

ItemId Setter 商品id

func (*TmallCarLeaseSynchronizeplansRequest) SetPlans

Plans Setter 租赁计划

type TmallCarLeaseSynchronizeplansResponse

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

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

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 TmallCarLeaseTailpaymentbackAPIResponse

type TmallCarLeaseTailpaymentbackAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseTailpaymentbackResponse
}

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

尾款处置方案回传

type TmallCarLeaseTailpaymentbackRequest

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

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

尾款处置方案回传

func NewTmallCarLeaseTailpaymentbackRequest

func NewTmallCarLeaseTailpaymentbackRequest() *TmallCarLeaseTailpaymentbackRequest

初始化TmallCarLeaseTailpaymentbackRequest对象

func (TmallCarLeaseTailpaymentbackRequest) GetApiMethodName

func (r TmallCarLeaseTailpaymentbackRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallCarLeaseTailpaymentbackRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TmallCarLeaseTailpaymentbackRequest) GetTailPaymentDTO

func (r TmallCarLeaseTailpaymentbackRequest) GetTailPaymentDTO() *TailPaymentDto

TailPaymentDTO Getter

func (*TmallCarLeaseTailpaymentbackRequest) SetTailPaymentDTO

func (r *TmallCarLeaseTailpaymentbackRequest) SetTailPaymentDTO(tailPaymentDTO *TailPaymentDto) error

TailPaymentDTO Setter 尾款方案

type TmallCarLeaseTailpaymentbackResponse

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

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

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 TmallCarLeaseorderGetAPIResponse

type TmallCarLeaseorderGetAPIResponse struct {
	model.CommonResponse
	TmallCarLeaseorderGetResponse
}

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

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

type TmallCarLeaseorderGetRequest

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

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

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

func NewTmallCarLeaseorderGetRequest

func NewTmallCarLeaseorderGetRequest() *TmallCarLeaseorderGetRequest

初始化TmallCarLeaseorderGetRequest对象

func (TmallCarLeaseorderGetRequest) GetApiMethodName

func (r TmallCarLeaseorderGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallCarLeaseorderGetRequest) GetApiParams

func (r TmallCarLeaseorderGetRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TmallCarLeaseorderGetRequest) GetOrderId

func (r TmallCarLeaseorderGetRequest) GetOrderId() int64

OrderId Getter

func (*TmallCarLeaseorderGetRequest) SetOrderId

func (r *TmallCarLeaseorderGetRequest) SetOrderId(orderId int64) error

OrderId Setter 订单号

type TmallCarLeaseorderGetResponse

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

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

type TmallMsfReceiveAPIResponse

type TmallMsfReceiveAPIResponse struct {
	model.CommonResponse
	TmallMsfReceiveResponse
}

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

签收接口

type TmallMsfReceiveRequest

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

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

签收接口

func NewTmallMsfReceiveRequest

func NewTmallMsfReceiveRequest() *TmallMsfReceiveRequest

初始化TmallMsfReceiveRequest对象

func (TmallMsfReceiveRequest) GetApiMethodName

func (r TmallMsfReceiveRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallMsfReceiveRequest) GetApiParams

func (r TmallMsfReceiveRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TmallMsfReceiveRequest) GetBizType

func (r TmallMsfReceiveRequest) GetBizType() string

BizType Getter

func (TmallMsfReceiveRequest) GetCode

func (r TmallMsfReceiveRequest) GetCode() string

Code Getter

func (TmallMsfReceiveRequest) GetShopId

func (r TmallMsfReceiveRequest) GetShopId() string

ShopId Getter

func (*TmallMsfReceiveRequest) SetBizType

func (r *TmallMsfReceiveRequest) SetBizType(bizType string) error

BizType Setter 1

func (*TmallMsfReceiveRequest) SetCode

func (r *TmallMsfReceiveRequest) SetCode(code string) error

Code Setter 1

func (*TmallMsfReceiveRequest) SetShopId

func (r *TmallMsfReceiveRequest) SetShopId(shopId string) error

ShopId Setter 1

type TmallMsfReceiveResponse

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

签收接口 成功返回结果

type TmallMsfVerifyAPIResponse

type TmallMsfVerifyAPIResponse struct {
	model.CommonResponse
	TmallMsfVerifyResponse
}

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

msf服务核销的top接口

type TmallMsfVerifyRequest

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

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

msf服务核销的top接口

func NewTmallMsfVerifyRequest

func NewTmallMsfVerifyRequest() *TmallMsfVerifyRequest

初始化TmallMsfVerifyRequest对象

func (TmallMsfVerifyRequest) GetApiMethodName

func (r TmallMsfVerifyRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallMsfVerifyRequest) GetApiParams

func (r TmallMsfVerifyRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TmallMsfVerifyRequest) GetBizType

func (r TmallMsfVerifyRequest) GetBizType() string

BizType Getter

func (TmallMsfVerifyRequest) GetCode

func (r TmallMsfVerifyRequest) GetCode() string

Code Getter

func (TmallMsfVerifyRequest) GetShopId

func (r TmallMsfVerifyRequest) GetShopId() string

ShopId Getter

func (*TmallMsfVerifyRequest) SetBizType

func (r *TmallMsfVerifyRequest) SetBizType(bizType string) error

BizType Setter 111

func (*TmallMsfVerifyRequest) SetCode

func (r *TmallMsfVerifyRequest) SetCode(code string) error

Code Setter 111

func (*TmallMsfVerifyRequest) SetShopId

func (r *TmallMsfVerifyRequest) SetShopId(shopId string) error

ShopId Setter 111

type TmallMsfVerifyResponse

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

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

type TmallServiceSettleadjustmentSearchAPIResponse

type TmallServiceSettleadjustmentSearchAPIResponse struct {
	model.CommonResponse
	TmallServiceSettleadjustmentSearchResponse
}

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

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

type TmallServiceSettleadjustmentSearchRequest

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

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

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

func NewTmallServiceSettleadjustmentSearchRequest

func NewTmallServiceSettleadjustmentSearchRequest() *TmallServiceSettleadjustmentSearchRequest

初始化TmallServiceSettleadjustmentSearchRequest对象

func (TmallServiceSettleadjustmentSearchRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TmallServiceSettleadjustmentSearchRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TmallServiceSettleadjustmentSearchRequest) GetEndTime

EndTime Getter

func (TmallServiceSettleadjustmentSearchRequest) GetStartTime

StartTime Getter

func (*TmallServiceSettleadjustmentSearchRequest) SetEndTime

EndTime Setter 结束时间

func (*TmallServiceSettleadjustmentSearchRequest) SetStartTime

func (r *TmallServiceSettleadjustmentSearchRequest) SetStartTime(startTime string) error

StartTime Setter 开始时间

type TmallServiceSettleadjustmentSearchResponse

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

服务商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 TmallServicecenterTpFundsRecoverQueryAPIResponse

type TmallServicecenterTpFundsRecoverQueryAPIResponse struct {
	model.CommonResponse
	TmallServicecenterTpFundsRecoverQueryResponse
}

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

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

type TmallServicecenterTpFundsRecoverQueryRequest

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

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

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

func NewTmallServicecenterTpFundsRecoverQueryRequest

func NewTmallServicecenterTpFundsRecoverQueryRequest() *TmallServicecenterTpFundsRecoverQueryRequest

初始化TmallServicecenterTpFundsRecoverQueryRequest对象

func (TmallServicecenterTpFundsRecoverQueryRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TmallServicecenterTpFundsRecoverQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TmallServicecenterTpFundsRecoverQueryRequest) GetQuery

Query Getter

func (*TmallServicecenterTpFundsRecoverQueryRequest) SetQuery

Query Setter query入参

type TmallServicecenterTpFundsRecoverQueryResponse

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

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

type TmallServicecenterTpFundsSendQueryAPIResponse

type TmallServicecenterTpFundsSendQueryAPIResponse struct {
	model.CommonResponse
	TmallServicecenterTpFundsSendQueryResponse
}

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

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

type TmallServicecenterTpFundsSendQueryRequest

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

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

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

func NewTmallServicecenterTpFundsSendQueryRequest

func NewTmallServicecenterTpFundsSendQueryRequest() *TmallServicecenterTpFundsSendQueryRequest

初始化TmallServicecenterTpFundsSendQueryRequest对象

func (TmallServicecenterTpFundsSendQueryRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TmallServicecenterTpFundsSendQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TmallServicecenterTpFundsSendQueryRequest) GetQuery

Query Getter

func (*TmallServicecenterTpFundsSendQueryRequest) SetQuery

Query Setter 入参对象

type TmallServicecenterTpFundsSendQueryResponse

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

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

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