servicecenter

package
v1.3.2 Latest Latest
Warning

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

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

Documentation

Overview

Package servicecenter 包含服务平台API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivitySummaryDto added in v1.2.8

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

ActivitySummaryDto 结构体

type ArticleBizOrder

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

ArticleBizOrder 结构体

type ArticleItemViewUnit

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

ArticleItemViewUnit 结构体

type ArticleSub

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

ArticleSub 结构体

type ArticleUserSubscribe

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

ArticleUserSubscribe 结构体

type ArticleViewResult

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

ArticleViewResult 结构体

type AuthorizedAccountWrapper

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

AuthorizedAccountWrapper 结构体

type BillRecordDto

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

BillRecordDto 结构体

type CarItemInfoDto

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

CarItemInfoDto 结构体

type CosumeCodeReqDto

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

CosumeCodeReqDto 结构体

type CreditInfoTopDto

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

CreditInfoTopDto 结构体

type CsScheduling

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

CsScheduling 结构体

type CsSchedulingWrapper

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

CsSchedulingWrapper 结构体

type ErrorMessage

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

ErrorMessage 结构体

type ExternalEndRedPacketDto added in v1.2.8

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

ExternalEndRedPacketDto 结构体

type ExternalPreRedPacketDto added in v1.2.8

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

ExternalPreRedPacketDto 结构体

type ExternalRedPacketDto added in v1.2.8

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

ExternalRedPacketDto 结构体

type IncomeConfirmDto

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

IncomeConfirmDto 结构体

type LeaseOrderInfoDto

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

LeaseOrderInfoDto 结构体

type OfnPreRedPacketActionDto added in v1.1.1

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

OfnPreRedPacketActionDto 结构体

type OfnPreRedPacketDto added in v1.2.0

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

OfnPreRedPacketDto 结构体

type OfnPreRedPacketFundRecordDto

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

OfnPreRedPacketFundRecordDto 结构体

type OfnRecycleOrderPreDeductDetailDto added in v1.2.9

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

OfnRecycleOrderPreDeductDetailDto 结构体

type OfnRecycleOrderSubsidyDto added in v1.2.8

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

OfnRecycleOrderSubsidyDto 结构体

type OfnRecycleOrderSyncFulfillTypeDto added in v1.2.9

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

OfnRecycleOrderSyncFulfillTypeDto 结构体

type OfnRecycleOrderSyncOfflineSettleInfoDto added in v1.2.9

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

OfnRecycleOrderSyncOfflineSettleInfoDto 结构体

type OfnRecyclerSyncBlackListDto added in v1.2.9

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

OfnRecyclerSyncBlackListDto 结构体

type Order

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

Order 结构体

type OrderConfirmQueryDto

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

OrderConfirmQueryDto 结构体

type PerformanceInfoDto added in v1.2.0

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

PerformanceInfoDto 结构体

type PerformanceInfoWrapper

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

PerformanceInfoWrapper 结构体

type ResultBase

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

ResultBase 结构体

type ResultVo

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

ResultVo 结构体

type Scheduling

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

Scheduling 结构体

type ScoreResult

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

ScoreResult 结构体

type SettleAdjustmentResponse

type SettleAdjustmentResponse struct {
	// comments
	Comments string `json:"comments,omitempty" xml:"comments,omitempty"`
	// description
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// gmtCreate
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// gmtModified
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// pictureUrls
	PictureUrls string `json:"picture_urls,omitempty" xml:"picture_urls,omitempty"`
	// priceFactors
	PriceFactors string `json:"price_factors,omitempty" xml:"price_factors,omitempty"`
	// serviceCode
	ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"`
	// bizOrderId
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 费用,单位分
	Cost int64 `json:"cost,omitempty" xml:"cost,omitempty"`
	// id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// parentBizOrderId
	ParentBizOrderId int64 `json:"parent_biz_order_id,omitempty" xml:"parent_biz_order_id,omitempty"`
	// serviceOrderId
	ServiceOrderId int64 `json:"service_order_id,omitempty" xml:"service_order_id,omitempty"`
	// workcardId
	WorkcardId int64 `json:"workcard_id,omitempty" xml:"workcard_id,omitempty"`
	// 调整单态。 待商家确认:1, 商家已确认:2,  待小二判定:3,  小二判定有效:4,  小二判定无效:5,  小二无法判定:6, 服务商取消:7, 超时确认:8, 完成:9
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// type
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

SettleAdjustmentResponse 结构体

type SubUser

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

SubUser 结构体

type SubscInfo

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

SubscInfo 结构体

type SubscInfoWrapper

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

SubscInfoWrapper 结构体

type TailPaymentDto

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

TailPaymentDto 结构体

type TaobaofuwupurchaseorderconfirmAPIRequest added in v1.3.1

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

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

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

func NewTaobaofuwupurchaseorderconfirmRequest added in v1.3.1

func NewTaobaofuwupurchaseorderconfirmRequest() *TaobaofuwupurchaseorderconfirmAPIRequest

NewTaobaofuwupurchaseorderconfirmRequest 初始化TaobaofuwupurchaseorderconfirmAPIRequest对象

func (TaobaofuwupurchaseorderconfirmAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaofuwupurchaseorderconfirmAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaofuwupurchaseorderconfirmAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaofuwupurchaseorderconfirmAPIRequest) GetParamOrderConfirmQueryDTO added in v1.3.1

func (r TaobaofuwupurchaseorderconfirmAPIRequest) GetParamOrderConfirmQueryDTO() *OrderConfirmQueryDto

GetParamOrderConfirmQueryDTO ParamOrderConfirmQueryDTO Getter

func (TaobaofuwupurchaseorderconfirmAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaofuwupurchaseorderconfirmAPIRequest) SetParamOrderConfirmQueryDTO added in v1.3.1

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

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

type TaobaofuwupurchaseorderconfirmAPIResponse added in v1.3.1

type TaobaofuwupurchaseorderconfirmAPIResponse struct {
	model.CommonResponse
	TaobaofuwupurchaseorderconfirmAPIResponseModel
}

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

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

type TaobaofuwupurchaseorderconfirmAPIResponseModel added in v1.3.1

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

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

type TaobaofuwupurchaseorderpayAPIRequest added in v1.3.1

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

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

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

func NewTaobaofuwupurchaseorderpayRequest added in v1.3.1

func NewTaobaofuwupurchaseorderpayRequest() *TaobaofuwupurchaseorderpayAPIRequest

NewTaobaofuwupurchaseorderpayRequest 初始化TaobaofuwupurchaseorderpayAPIRequest对象

func (TaobaofuwupurchaseorderpayAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaofuwupurchaseorderpayAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaofuwupurchaseorderpayAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaofuwupurchaseorderpayAPIRequest) GetAppkey added in v1.3.1

GetAppkey Appkey Getter

func (TaobaofuwupurchaseorderpayAPIRequest) GetDeviceType added in v1.3.1

func (r TaobaofuwupurchaseorderpayAPIRequest) GetDeviceType() string

GetDeviceType DeviceType Getter

func (TaobaofuwupurchaseorderpayAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (TaobaofuwupurchaseorderpayAPIRequest) GetOutOrderId added in v1.3.1

func (r TaobaofuwupurchaseorderpayAPIRequest) GetOutOrderId() string

GetOutOrderId OutOrderId Getter

func (TaobaofuwupurchaseorderpayAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaofuwupurchaseorderpayAPIRequest) SetAppkey added in v1.3.1

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

SetAppkey is Appkey Setter APPKEY,必填

func (*TaobaofuwupurchaseorderpayAPIRequest) SetDeviceType added in v1.3.1

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

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

func (*TaobaofuwupurchaseorderpayAPIRequest) SetOrderId added in v1.3.1

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

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

func (*TaobaofuwupurchaseorderpayAPIRequest) SetOutOrderId added in v1.3.1

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

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

type TaobaofuwupurchaseorderpayAPIResponse added in v1.3.1

type TaobaofuwupurchaseorderpayAPIResponse struct {
	model.CommonResponse
	TaobaofuwupurchaseorderpayAPIResponseModel
}

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

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

type TaobaofuwupurchaseorderpayAPIResponseModel added in v1.3.1

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

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

type TaobaofuwusalelinkgenAPIRequest added in v1.3.1

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

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

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

func NewTaobaofuwusalelinkgenRequest added in v1.3.1

func NewTaobaofuwusalelinkgenRequest() *TaobaofuwusalelinkgenAPIRequest

NewTaobaofuwusalelinkgenRequest 初始化TaobaofuwusalelinkgenAPIRequest对象

func (TaobaofuwusalelinkgenAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaofuwusalelinkgenAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaofuwusalelinkgenAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaofuwusalelinkgenAPIRequest) GetNick added in v1.3.1

GetNick Nick Getter

func (TaobaofuwusalelinkgenAPIRequest) GetParamStr added in v1.3.1

func (r TaobaofuwusalelinkgenAPIRequest) GetParamStr() string

GetParamStr ParamStr Getter

func (TaobaofuwusalelinkgenAPIRequest) GetRawParams added in v1.3.1

func (r TaobaofuwusalelinkgenAPIRequest) GetRawParams() model.Params

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

func (*TaobaofuwusalelinkgenAPIRequest) SetNick added in v1.3.1

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

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

func (*TaobaofuwusalelinkgenAPIRequest) SetParamStr added in v1.3.1

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

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

type TaobaofuwusalelinkgenAPIResponse added in v1.3.1

type TaobaofuwusalelinkgenAPIResponse struct {
	model.CommonResponse
	TaobaofuwusalelinkgenAPIResponseModel
}

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

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

type TaobaofuwusalelinkgenAPIResponseModel added in v1.3.1

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

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

type TaobaofuwuscoresgetAPIRequest added in v1.3.1

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

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

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

func NewTaobaofuwuscoresgetRequest added in v1.3.1

func NewTaobaofuwuscoresgetRequest() *TaobaofuwuscoresgetAPIRequest

NewTaobaofuwuscoresgetRequest 初始化TaobaofuwuscoresgetAPIRequest对象

func (TaobaofuwuscoresgetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaofuwuscoresgetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaofuwuscoresgetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaofuwuscoresgetAPIRequest) GetCurrentPage added in v1.3.1

func (r TaobaofuwuscoresgetAPIRequest) GetCurrentPage() int64

GetCurrentPage CurrentPage Getter

func (TaobaofuwuscoresgetAPIRequest) GetDate added in v1.3.1

GetDate Date Getter

func (TaobaofuwuscoresgetAPIRequest) GetPageSize added in v1.3.1

func (r TaobaofuwuscoresgetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaofuwuscoresgetAPIRequest) GetRawParams added in v1.3.1

func (r TaobaofuwuscoresgetAPIRequest) GetRawParams() model.Params

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

func (*TaobaofuwuscoresgetAPIRequest) SetCurrentPage added in v1.3.1

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

SetCurrentPage is CurrentPage Setter 当前页

func (*TaobaofuwuscoresgetAPIRequest) SetDate added in v1.3.1

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

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

func (*TaobaofuwuscoresgetAPIRequest) SetPageSize added in v1.3.1

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

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

type TaobaofuwuscoresgetAPIResponse added in v1.3.1

type TaobaofuwuscoresgetAPIResponse struct {
	model.CommonResponse
	TaobaofuwuscoresgetAPIResponseModel
}

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

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

type TaobaofuwuscoresgetAPIResponseModel added in v1.3.1

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

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

type TaobaofuwuskugetAPIRequest added in v1.3.1

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

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

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

func NewTaobaofuwuskugetRequest added in v1.3.1

func NewTaobaofuwuskugetRequest() *TaobaofuwuskugetAPIRequest

NewTaobaofuwuskugetRequest 初始化TaobaofuwuskugetAPIRequest对象

func (TaobaofuwuskugetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaofuwuskugetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaofuwuskugetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaofuwuskugetAPIRequest) GetArticleCode added in v1.3.1

func (r TaobaofuwuskugetAPIRequest) GetArticleCode() string

GetArticleCode ArticleCode Getter

func (TaobaofuwuskugetAPIRequest) GetNick added in v1.3.1

func (r TaobaofuwuskugetAPIRequest) GetNick() string

GetNick Nick Getter

func (TaobaofuwuskugetAPIRequest) GetRawParams added in v1.3.1

func (r TaobaofuwuskugetAPIRequest) GetRawParams() model.Params

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

func (*TaobaofuwuskugetAPIRequest) SetArticleCode added in v1.3.1

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

SetArticleCode is ArticleCode Setter 服务code

func (*TaobaofuwuskugetAPIRequest) SetNick added in v1.3.1

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

SetNick is Nick Setter 用户的淘宝nick

type TaobaofuwuskugetAPIResponse added in v1.3.1

type TaobaofuwuskugetAPIResponse struct {
	model.CommonResponse
	TaobaofuwuskugetAPIResponseModel
}

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

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

type TaobaofuwuskugetAPIResponseModel added in v1.3.1

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

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

type TaobaofuwuspbillreordaddAPIRequest added in v1.3.1

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

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

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

func NewTaobaofuwuspbillreordaddRequest added in v1.3.1

func NewTaobaofuwuspbillreordaddRequest() *TaobaofuwuspbillreordaddAPIRequest

NewTaobaofuwuspbillreordaddRequest 初始化TaobaofuwuspbillreordaddAPIRequest对象

func (TaobaofuwuspbillreordaddAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaofuwuspbillreordaddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaofuwuspbillreordaddAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaofuwuspbillreordaddAPIRequest) GetParamBillRecordDTO added in v1.3.1

func (r TaobaofuwuspbillreordaddAPIRequest) GetParamBillRecordDTO() *BillRecordDto

GetParamBillRecordDTO ParamBillRecordDTO Getter

func (TaobaofuwuspbillreordaddAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaofuwuspbillreordaddAPIRequest) SetParamBillRecordDTO added in v1.3.1

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

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

type TaobaofuwuspbillreordaddAPIResponse added in v1.3.1

type TaobaofuwuspbillreordaddAPIResponse struct {
	model.CommonResponse
	TaobaofuwuspbillreordaddAPIResponseModel
}

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

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

type TaobaofuwuspbillreordaddAPIResponseModel added in v1.3.1

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

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

type TaobaofuwuspconfirmapplyAPIRequest added in v1.3.1

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

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

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

func NewTaobaofuwuspconfirmapplyRequest added in v1.3.1

func NewTaobaofuwuspconfirmapplyRequest() *TaobaofuwuspconfirmapplyAPIRequest

NewTaobaofuwuspconfirmapplyRequest 初始化TaobaofuwuspconfirmapplyAPIRequest对象

func (TaobaofuwuspconfirmapplyAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaofuwuspconfirmapplyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaofuwuspconfirmapplyAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaofuwuspconfirmapplyAPIRequest) GetParamIncomeConfirmDTO added in v1.3.1

func (r TaobaofuwuspconfirmapplyAPIRequest) GetParamIncomeConfirmDTO() *IncomeConfirmDto

GetParamIncomeConfirmDTO ParamIncomeConfirmDTO Getter

func (TaobaofuwuspconfirmapplyAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaofuwuspconfirmapplyAPIRequest) SetParamIncomeConfirmDTO added in v1.3.1

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

SetParamIncomeConfirmDTO is ParamIncomeConfirmDTO Setter 确认单申请

type TaobaofuwuspconfirmapplyAPIResponse added in v1.3.1

type TaobaofuwuspconfirmapplyAPIResponse struct {
	model.CommonResponse
	TaobaofuwuspconfirmapplyAPIResponseModel
}

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

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

type TaobaofuwuspconfirmapplyAPIResponseModel added in v1.3.1

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

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

type TaobaorecycleofnpreredpacketgetAPIRequest added in v1.3.1

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

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

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

func NewTaobaorecycleofnpreredpacketgetRequest added in v1.3.1

func NewTaobaorecycleofnpreredpacketgetRequest() *TaobaorecycleofnpreredpacketgetAPIRequest

NewTaobaorecycleofnpreredpacketgetRequest 初始化TaobaorecycleofnpreredpacketgetAPIRequest对象

func (TaobaorecycleofnpreredpacketgetAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaorecycleofnpreredpacketgetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaorecycleofnpreredpacketgetAPIRequest) GetOldOrderId added in v1.3.1

GetOldOrderId OldOrderId Getter

func (TaobaorecycleofnpreredpacketgetAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaorecycleofnpreredpacketgetAPIRequest) SetOldOrderId added in v1.3.1

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

SetOldOrderId is OldOrderId Setter 旧机单id

type TaobaorecycleofnpreredpacketgetAPIResponse added in v1.3.1

type TaobaorecycleofnpreredpacketgetAPIResponse struct {
	model.CommonResponse
	TaobaorecycleofnpreredpacketgetAPIResponseModel
}

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

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

type TaobaorecycleofnpreredpacketgetAPIResponseModel added in v1.3.1

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

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

type TaobaorecycleofnpreredpackettpdeductsuccessAPIRequest added in v1.3.1

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

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

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

func NewTaobaorecycleofnpreredpackettpdeductsuccessRequest added in v1.3.1

func NewTaobaorecycleofnpreredpackettpdeductsuccessRequest() *TaobaorecycleofnpreredpackettpdeductsuccessAPIRequest

NewTaobaorecycleofnpreredpackettpdeductsuccessRequest 初始化TaobaorecycleofnpreredpackettpdeductsuccessAPIRequest对象

func (TaobaorecycleofnpreredpackettpdeductsuccessAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaorecycleofnpreredpackettpdeductsuccessAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaorecycleofnpreredpackettpdeductsuccessAPIRequest) GetDeductAmount added in v1.3.1

GetDeductAmount DeductAmount Getter

func (TaobaorecycleofnpreredpackettpdeductsuccessAPIRequest) GetOldOrderId added in v1.3.1

GetOldOrderId OldOrderId Getter

func (TaobaorecycleofnpreredpackettpdeductsuccessAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaorecycleofnpreredpackettpdeductsuccessAPIRequest) SetDeductAmount added in v1.3.1

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

SetDeductAmount is DeductAmount Setter 变化的金额

func (*TaobaorecycleofnpreredpackettpdeductsuccessAPIRequest) SetOldOrderId added in v1.3.1

SetOldOrderId is OldOrderId Setter 旧机单id

type TaobaorecycleofnpreredpackettpdeductsuccessAPIResponse added in v1.3.1

type TaobaorecycleofnpreredpackettpdeductsuccessAPIResponse struct {
	model.CommonResponse
	TaobaorecycleofnpreredpackettpdeductsuccessAPIResponseModel
}

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

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

type TaobaorecycleofnpreredpackettpdeductsuccessAPIResponseModel added in v1.3.1

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

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

type TaobaorecycleofnsubsidyoldgetAPIRequest added in v1.3.1

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

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

回收单旧机款及补贴查询

func NewTaobaorecycleofnsubsidyoldgetRequest added in v1.3.1

func NewTaobaorecycleofnsubsidyoldgetRequest() *TaobaorecycleofnsubsidyoldgetAPIRequest

NewTaobaorecycleofnsubsidyoldgetRequest 初始化TaobaorecycleofnsubsidyoldgetAPIRequest对象

func (TaobaorecycleofnsubsidyoldgetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaorecycleofnsubsidyoldgetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaorecycleofnsubsidyoldgetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaorecycleofnsubsidyoldgetAPIRequest) GetOldOrderId added in v1.3.1

GetOldOrderId OldOrderId Getter

func (TaobaorecycleofnsubsidyoldgetAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaorecycleofnsubsidyoldgetAPIRequest) SetOldOrderId added in v1.3.1

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

SetOldOrderId is OldOrderId Setter 旧机单 ID

type TaobaorecycleofnsubsidyoldgetAPIResponse added in v1.3.1

type TaobaorecycleofnsubsidyoldgetAPIResponse struct {
	model.CommonResponse
	TaobaorecycleofnsubsidyoldgetAPIResponseModel
}

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

回收单旧机款及补贴查询

type TaobaorecycleofnsubsidyoldgetAPIResponseModel added in v1.3.1

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

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

type TaobaorecycleorderfulfillsyncAPIRequest added in v1.3.1

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

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

同步回收单最终履约方式

func NewTaobaorecycleorderfulfillsyncRequest added in v1.3.1

func NewTaobaorecycleorderfulfillsyncRequest() *TaobaorecycleorderfulfillsyncAPIRequest

NewTaobaorecycleorderfulfillsyncRequest 初始化TaobaorecycleorderfulfillsyncAPIRequest对象

func (TaobaorecycleorderfulfillsyncAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaorecycleorderfulfillsyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaorecycleorderfulfillsyncAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaorecycleorderfulfillsyncAPIRequest) GetFulfillType added in v1.3.1

GetFulfillType FulfillType Getter

func (TaobaorecycleorderfulfillsyncAPIRequest) GetOldOrderId added in v1.3.1

GetOldOrderId OldOrderId Getter

func (TaobaorecycleorderfulfillsyncAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaorecycleorderfulfillsyncAPIRequest) SetFulfillType added in v1.3.1

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

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

func (*TaobaorecycleorderfulfillsyncAPIRequest) SetOldOrderId added in v1.3.1

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

SetOldOrderId is OldOrderId Setter 回收单订单 ID

type TaobaorecycleorderfulfillsyncAPIResponse added in v1.3.1

type TaobaorecycleorderfulfillsyncAPIResponse struct {
	model.CommonResponse
	TaobaorecycleorderfulfillsyncAPIResponseModel
}

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

同步回收单最终履约方式

type TaobaorecycleorderfulfillsyncAPIResponseModel added in v1.3.1

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

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

type TaobaorecyclepredeductblacklistordersyncAPIRequest added in v1.3.1

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

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

同步服务商黑名单

func NewTaobaorecyclepredeductblacklistordersyncRequest added in v1.3.1

func NewTaobaorecyclepredeductblacklistordersyncRequest() *TaobaorecyclepredeductblacklistordersyncAPIRequest

NewTaobaorecyclepredeductblacklistordersyncRequest 初始化TaobaorecyclepredeductblacklistordersyncAPIRequest对象

func (TaobaorecyclepredeductblacklistordersyncAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaorecyclepredeductblacklistordersyncAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaorecyclepredeductblacklistordersyncAPIRequest) GetBlackOrderId added in v1.3.1

GetBlackOrderId BlackOrderId Getter

func (TaobaorecyclepredeductblacklistordersyncAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaorecyclepredeductblacklistordersyncAPIRequest) SetBlackOrderId added in v1.3.1

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

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

type TaobaorecyclepredeductblacklistordersyncAPIResponse added in v1.3.1

type TaobaorecyclepredeductblacklistordersyncAPIResponse struct {
	model.CommonResponse
	TaobaorecyclepredeductblacklistordersyncAPIResponseModel
}

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

同步服务商黑名单

type TaobaorecyclepredeductblacklistordersyncAPIResponseModel added in v1.3.1

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

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

type TaobaorecyclepredeductoldgetAPIRequest added in v1.3.1

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

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

查询回收单前置抵扣详情

func NewTaobaorecyclepredeductoldgetRequest added in v1.3.1

func NewTaobaorecyclepredeductoldgetRequest() *TaobaorecyclepredeductoldgetAPIRequest

NewTaobaorecyclepredeductoldgetRequest 初始化TaobaorecyclepredeductoldgetAPIRequest对象

func (TaobaorecyclepredeductoldgetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaorecyclepredeductoldgetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaorecyclepredeductoldgetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaorecyclepredeductoldgetAPIRequest) GetOldOrderId added in v1.3.1

GetOldOrderId OldOrderId Getter

func (TaobaorecyclepredeductoldgetAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaorecyclepredeductoldgetAPIRequest) SetOldOrderId added in v1.3.1

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

SetOldOrderId is OldOrderId Setter 旧机单 ID

type TaobaorecyclepredeductoldgetAPIResponse added in v1.3.1

type TaobaorecyclepredeductoldgetAPIResponse struct {
	model.CommonResponse
	TaobaorecyclepredeductoldgetAPIResponseModel
}

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

查询回收单前置抵扣详情

type TaobaorecyclepredeductoldgetAPIResponseModel added in v1.3.1

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

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

type TaobaorecyclepredeductsettlesyncAPIRequest added in v1.3.1

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

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

同步回收单线下打款明细

func NewTaobaorecyclepredeductsettlesyncRequest added in v1.3.1

func NewTaobaorecyclepredeductsettlesyncRequest() *TaobaorecyclepredeductsettlesyncAPIRequest

NewTaobaorecyclepredeductsettlesyncRequest 初始化TaobaorecyclepredeductsettlesyncAPIRequest对象

func (TaobaorecyclepredeductsettlesyncAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaorecyclepredeductsettlesyncAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaorecyclepredeductsettlesyncAPIRequest) GetOfflineSettleFee added in v1.3.1

func (r TaobaorecyclepredeductsettlesyncAPIRequest) GetOfflineSettleFee() int64

GetOfflineSettleFee OfflineSettleFee Getter

func (TaobaorecyclepredeductsettlesyncAPIRequest) GetOldOrderId added in v1.3.1

GetOldOrderId OldOrderId Getter

func (TaobaorecyclepredeductsettlesyncAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaorecyclepredeductsettlesyncAPIRequest) GetVersion added in v1.3.1

GetVersion Version Getter

func (*TaobaorecyclepredeductsettlesyncAPIRequest) SetOfflineSettleFee added in v1.3.1

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

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

func (*TaobaorecyclepredeductsettlesyncAPIRequest) SetOldOrderId added in v1.3.1

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

SetOldOrderId is OldOrderId Setter 回收单 ID

func (*TaobaorecyclepredeductsettlesyncAPIRequest) SetVersion added in v1.3.1

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

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

type TaobaorecyclepredeductsettlesyncAPIResponse added in v1.3.1

type TaobaorecyclepredeductsettlesyncAPIResponse struct {
	model.CommonResponse
	TaobaorecyclepredeductsettlesyncAPIResponseModel
}

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

同步回收单线下打款明细

type TaobaorecyclepredeductsettlesyncAPIResponseModel added in v1.3.1

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

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

type TaobaovasordersearchAPIRequest added in v1.3.1

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

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

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

func NewTaobaovasordersearchRequest added in v1.3.1

func NewTaobaovasordersearchRequest() *TaobaovasordersearchAPIRequest

NewTaobaovasordersearchRequest 初始化TaobaovasordersearchAPIRequest对象

func (TaobaovasordersearchAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaovasordersearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaovasordersearchAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaovasordersearchAPIRequest) GetArticleCode added in v1.3.1

func (r TaobaovasordersearchAPIRequest) GetArticleCode() string

GetArticleCode ArticleCode Getter

func (TaobaovasordersearchAPIRequest) GetBizOrderId added in v1.3.1

func (r TaobaovasordersearchAPIRequest) GetBizOrderId() int64

GetBizOrderId BizOrderId Getter

func (TaobaovasordersearchAPIRequest) GetBizType added in v1.3.1

func (r TaobaovasordersearchAPIRequest) GetBizType() int64

GetBizType BizType Getter

func (TaobaovasordersearchAPIRequest) GetEndCreated added in v1.3.1

func (r TaobaovasordersearchAPIRequest) GetEndCreated() string

GetEndCreated EndCreated Getter

func (TaobaovasordersearchAPIRequest) GetItemCode added in v1.3.1

func (r TaobaovasordersearchAPIRequest) GetItemCode() string

GetItemCode ItemCode Getter

func (TaobaovasordersearchAPIRequest) GetNick added in v1.3.1

GetNick Nick Getter

func (TaobaovasordersearchAPIRequest) GetOrderId added in v1.3.1

func (r TaobaovasordersearchAPIRequest) GetOrderId() int64

GetOrderId OrderId Getter

func (TaobaovasordersearchAPIRequest) GetPageNo added in v1.3.1

func (r TaobaovasordersearchAPIRequest) GetPageNo() int64

GetPageNo PageNo Getter

func (TaobaovasordersearchAPIRequest) GetPageSize added in v1.3.1

func (r TaobaovasordersearchAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaovasordersearchAPIRequest) GetRawParams added in v1.3.1

func (r TaobaovasordersearchAPIRequest) GetRawParams() model.Params

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

func (TaobaovasordersearchAPIRequest) GetStartCreated added in v1.3.1

func (r TaobaovasordersearchAPIRequest) GetStartCreated() string

GetStartCreated StartCreated Getter

func (*TaobaovasordersearchAPIRequest) SetArticleCode added in v1.3.1

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

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

func (*TaobaovasordersearchAPIRequest) SetBizOrderId added in v1.3.1

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

SetBizOrderId is BizOrderId Setter 订单号

func (*TaobaovasordersearchAPIRequest) SetBizType added in v1.3.1

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

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

func (*TaobaovasordersearchAPIRequest) SetEndCreated added in v1.3.1

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

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

func (*TaobaovasordersearchAPIRequest) SetItemCode added in v1.3.1

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

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

func (*TaobaovasordersearchAPIRequest) SetNick added in v1.3.1

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

SetNick is Nick Setter 淘宝会员名

func (*TaobaovasordersearchAPIRequest) SetOrderId added in v1.3.1

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

SetOrderId is OrderId Setter 子订单号

func (*TaobaovasordersearchAPIRequest) SetPageNo added in v1.3.1

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

SetPageNo is PageNo Setter 页码

func (*TaobaovasordersearchAPIRequest) SetPageSize added in v1.3.1

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

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

func (*TaobaovasordersearchAPIRequest) SetStartCreated added in v1.3.1

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

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

type TaobaovasordersearchAPIResponse added in v1.3.1

type TaobaovasordersearchAPIResponse struct {
	model.CommonResponse
	TaobaovasordersearchAPIResponseModel
}

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

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

type TaobaovasordersearchAPIResponseModel added in v1.3.1

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

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

type TaobaovasservicevalidateAPIRequest added in v1.3.1

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

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

增值服务订购服务验证

func NewTaobaovasservicevalidateRequest added in v1.3.1

func NewTaobaovasservicevalidateRequest() *TaobaovasservicevalidateAPIRequest

NewTaobaovasservicevalidateRequest 初始化TaobaovasservicevalidateAPIRequest对象

func (TaobaovasservicevalidateAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaovasservicevalidateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaovasservicevalidateAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaovasservicevalidateAPIRequest) GetNick added in v1.3.1

GetNick Nick Getter

func (TaobaovasservicevalidateAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaovasservicevalidateAPIRequest) GetServCode added in v1.3.1

GetServCode ServCode Getter

func (*TaobaovasservicevalidateAPIRequest) SetNick added in v1.3.1

SetNick is Nick Setter 用户昵称

func (*TaobaovasservicevalidateAPIRequest) SetServCode added in v1.3.1

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

SetServCode is ServCode Setter 服务编码

type TaobaovasservicevalidateAPIResponse added in v1.3.1

type TaobaovasservicevalidateAPIResponse struct {
	model.CommonResponse
	TaobaovasservicevalidateAPIResponseModel
}

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

增值服务订购服务验证

type TaobaovasservicevalidateAPIResponseModel added in v1.3.1

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

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

type TaobaovassubscribegetAPIRequest added in v1.3.1

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

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

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

func NewTaobaovassubscribegetRequest added in v1.3.1

func NewTaobaovassubscribegetRequest() *TaobaovassubscribegetAPIRequest

NewTaobaovassubscribegetRequest 初始化TaobaovassubscribegetAPIRequest对象

func (TaobaovassubscribegetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaovassubscribegetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaovassubscribegetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaovassubscribegetAPIRequest) GetArticleCode added in v1.3.1

func (r TaobaovassubscribegetAPIRequest) GetArticleCode() string

GetArticleCode ArticleCode Getter

func (TaobaovassubscribegetAPIRequest) GetNick added in v1.3.1

GetNick Nick Getter

func (TaobaovassubscribegetAPIRequest) GetRawParams added in v1.3.1

func (r TaobaovassubscribegetAPIRequest) GetRawParams() model.Params

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

func (*TaobaovassubscribegetAPIRequest) SetArticleCode added in v1.3.1

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

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

func (*TaobaovassubscribegetAPIRequest) SetNick added in v1.3.1

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

SetNick is Nick Setter 淘宝会员名

type TaobaovassubscribegetAPIResponse added in v1.3.1

type TaobaovassubscribegetAPIResponse struct {
	model.CommonResponse
	TaobaovassubscribegetAPIResponseModel
}

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

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

type TaobaovassubscribegetAPIResponseModel added in v1.3.1

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

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

type TaobaovassubscsearchAPIRequest added in v1.3.1

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

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

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

func NewTaobaovassubscsearchRequest added in v1.3.1

func NewTaobaovassubscsearchRequest() *TaobaovassubscsearchAPIRequest

NewTaobaovassubscsearchRequest 初始化TaobaovassubscsearchAPIRequest对象

func (TaobaovassubscsearchAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaovassubscsearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaovassubscsearchAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaovassubscsearchAPIRequest) GetArticleCode added in v1.3.1

func (r TaobaovassubscsearchAPIRequest) GetArticleCode() string

GetArticleCode ArticleCode Getter

func (TaobaovassubscsearchAPIRequest) GetAutosub added in v1.3.1

func (r TaobaovassubscsearchAPIRequest) GetAutosub() bool

GetAutosub Autosub Getter

func (TaobaovassubscsearchAPIRequest) GetEndDeadline added in v1.3.1

func (r TaobaovassubscsearchAPIRequest) GetEndDeadline() string

GetEndDeadline EndDeadline Getter

func (TaobaovassubscsearchAPIRequest) GetExpireNotice added in v1.3.1

func (r TaobaovassubscsearchAPIRequest) GetExpireNotice() bool

GetExpireNotice ExpireNotice Getter

func (TaobaovassubscsearchAPIRequest) GetItemCode added in v1.3.1

func (r TaobaovassubscsearchAPIRequest) GetItemCode() string

GetItemCode ItemCode Getter

func (TaobaovassubscsearchAPIRequest) GetNick added in v1.3.1

GetNick Nick Getter

func (TaobaovassubscsearchAPIRequest) GetPageNo added in v1.3.1

func (r TaobaovassubscsearchAPIRequest) GetPageNo() int64

GetPageNo PageNo Getter

func (TaobaovassubscsearchAPIRequest) GetPageSize added in v1.3.1

func (r TaobaovassubscsearchAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaovassubscsearchAPIRequest) GetRawParams added in v1.3.1

func (r TaobaovassubscsearchAPIRequest) GetRawParams() model.Params

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

func (TaobaovassubscsearchAPIRequest) GetStartDeadline added in v1.3.1

func (r TaobaovassubscsearchAPIRequest) GetStartDeadline() string

GetStartDeadline StartDeadline Getter

func (TaobaovassubscsearchAPIRequest) GetStatus added in v1.3.1

func (r TaobaovassubscsearchAPIRequest) GetStatus() int64

GetStatus Status Getter

func (*TaobaovassubscsearchAPIRequest) SetArticleCode added in v1.3.1

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

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

func (*TaobaovassubscsearchAPIRequest) SetAutosub added in v1.3.1

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

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

func (*TaobaovassubscsearchAPIRequest) SetEndDeadline added in v1.3.1

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

SetEndDeadline is EndDeadline Setter 到期时间结束值

func (*TaobaovassubscsearchAPIRequest) SetExpireNotice added in v1.3.1

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

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

func (*TaobaovassubscsearchAPIRequest) SetItemCode added in v1.3.1

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

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

func (*TaobaovassubscsearchAPIRequest) SetNick added in v1.3.1

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

SetNick is Nick Setter 淘宝会员名

func (*TaobaovassubscsearchAPIRequest) SetPageNo added in v1.3.1

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

SetPageNo is PageNo Setter 页码

func (*TaobaovassubscsearchAPIRequest) SetPageSize added in v1.3.1

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

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

func (*TaobaovassubscsearchAPIRequest) SetStartDeadline added in v1.3.1

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

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

func (*TaobaovassubscsearchAPIRequest) SetStatus added in v1.3.1

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

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

type TaobaovassubscsearchAPIResponse added in v1.3.1

type TaobaovassubscsearchAPIResponse struct {
	model.CommonResponse
	TaobaovassubscsearchAPIResponseModel
}

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

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

type TaobaovassubscsearchAPIResponseModel added in v1.3.1

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

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

type TaobaoweikeeserviceordergetAPIRequest added in v1.3.1

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

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

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

func NewTaobaoweikeeserviceordergetRequest added in v1.3.1

func NewTaobaoweikeeserviceordergetRequest() *TaobaoweikeeserviceordergetAPIRequest

NewTaobaoweikeeserviceordergetRequest 初始化TaobaoweikeeserviceordergetAPIRequest对象

func (TaobaoweikeeserviceordergetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaoweikeeserviceordergetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoweikeeserviceordergetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoweikeeserviceordergetAPIRequest) GetEndDate added in v1.3.1

GetEndDate EndDate Getter

func (TaobaoweikeeserviceordergetAPIRequest) GetOrderIdList added in v1.3.1

func (r TaobaoweikeeserviceordergetAPIRequest) GetOrderIdList() []int64

GetOrderIdList OrderIdList Getter

func (TaobaoweikeeserviceordergetAPIRequest) GetPageNum added in v1.3.1

GetPageNum PageNum Getter

func (TaobaoweikeeserviceordergetAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TaobaoweikeeserviceordergetAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaoweikeeserviceordergetAPIRequest) GetSchedulingState added in v1.3.1

func (r TaobaoweikeeserviceordergetAPIRequest) GetSchedulingState() bool

GetSchedulingState SchedulingState Getter

func (TaobaoweikeeserviceordergetAPIRequest) GetSellerNick added in v1.3.1

GetSellerNick SellerNick Getter

func (TaobaoweikeeserviceordergetAPIRequest) GetStartDate added in v1.3.1

GetStartDate StartDate Getter

func (*TaobaoweikeeserviceordergetAPIRequest) SetEndDate added in v1.3.1

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

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

func (*TaobaoweikeeserviceordergetAPIRequest) SetOrderIdList added in v1.3.1

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

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

func (*TaobaoweikeeserviceordergetAPIRequest) SetPageNum added in v1.3.1

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

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

func (*TaobaoweikeeserviceordergetAPIRequest) SetPageSize added in v1.3.1

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

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

func (*TaobaoweikeeserviceordergetAPIRequest) SetSchedulingState added in v1.3.1

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

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

func (*TaobaoweikeeserviceordergetAPIRequest) SetSellerNick added in v1.3.1

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

SetSellerNick is SellerNick Setter 商家昵称

func (*TaobaoweikeeserviceordergetAPIRequest) SetStartDate added in v1.3.1

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

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

type TaobaoweikeeserviceordergetAPIResponse added in v1.3.1

type TaobaoweikeeserviceordergetAPIResponse struct {
	model.CommonResponse
	TaobaoweikeeserviceordergetAPIResponseModel
}

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

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

type TaobaoweikeeserviceordergetAPIResponseModel added in v1.3.1

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

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

type TaobaoweikeeserviceschedulegetAPIRequest added in v1.3.1

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

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

客服排班信息查询接口

func NewTaobaoweikeeserviceschedulegetRequest added in v1.3.1

func NewTaobaoweikeeserviceschedulegetRequest() *TaobaoweikeeserviceschedulegetAPIRequest

NewTaobaoweikeeserviceschedulegetRequest 初始化TaobaoweikeeserviceschedulegetAPIRequest对象

func (TaobaoweikeeserviceschedulegetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaoweikeeserviceschedulegetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoweikeeserviceschedulegetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoweikeeserviceschedulegetAPIRequest) GetEndDate added in v1.3.1

GetEndDate EndDate Getter

func (TaobaoweikeeserviceschedulegetAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (TaobaoweikeeserviceschedulegetAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaoweikeeserviceschedulegetAPIRequest) GetSellerNick added in v1.3.1

GetSellerNick SellerNick Getter

func (TaobaoweikeeserviceschedulegetAPIRequest) GetSpNick added in v1.3.1

GetSpNick SpNick Getter

func (TaobaoweikeeserviceschedulegetAPIRequest) GetStartDate added in v1.3.1

GetStartDate StartDate Getter

func (*TaobaoweikeeserviceschedulegetAPIRequest) SetEndDate added in v1.3.1

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

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

func (*TaobaoweikeeserviceschedulegetAPIRequest) SetOrderId added in v1.3.1

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

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

func (*TaobaoweikeeserviceschedulegetAPIRequest) SetSellerNick added in v1.3.1

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

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

func (*TaobaoweikeeserviceschedulegetAPIRequest) SetSpNick added in v1.3.1

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

func (*TaobaoweikeeserviceschedulegetAPIRequest) SetStartDate added in v1.3.1

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

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

type TaobaoweikeeserviceschedulegetAPIResponse added in v1.3.1

type TaobaoweikeeserviceschedulegetAPIResponse struct {
	model.CommonResponse
	TaobaoweikeeserviceschedulegetAPIResponseModel
}

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

客服排班信息查询接口

type TaobaoweikeeserviceschedulegetAPIResponseModel added in v1.3.1

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

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

type TaobaoweikeeservicesubusersgetAPIRequest added in v1.3.1

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

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

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

func NewTaobaoweikeeservicesubusersgetRequest added in v1.3.1

func NewTaobaoweikeeservicesubusersgetRequest() *TaobaoweikeeservicesubusersgetAPIRequest

NewTaobaoweikeeservicesubusersgetRequest 初始化TaobaoweikeeservicesubusersgetAPIRequest对象

func (TaobaoweikeeservicesubusersgetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaoweikeeservicesubusersgetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoweikeeservicesubusersgetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoweikeeservicesubusersgetAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (TaobaoweikeeservicesubusersgetAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaoweikeeservicesubusersgetAPIRequest) SetOrderId added in v1.3.1

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

SetOrderId is OrderId Setter 订单ID

type TaobaoweikeeservicesubusersgetAPIResponse added in v1.3.1

type TaobaoweikeeservicesubusersgetAPIResponse struct {
	model.CommonResponse
	TaobaoweikeeservicesubusersgetAPIResponseModel
}

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

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

type TaobaoweikeeservicesubusersgetAPIResponseModel added in v1.3.1

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

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

type TaobaoweikeperformanceputAPIRequest added in v1.3.1

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

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

提交客服绩效接口

func NewTaobaoweikeperformanceputRequest added in v1.3.1

func NewTaobaoweikeperformanceputRequest() *TaobaoweikeperformanceputAPIRequest

NewTaobaoweikeperformanceputRequest 初始化TaobaoweikeperformanceputAPIRequest对象

func (TaobaoweikeperformanceputAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaoweikeperformanceputAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoweikeperformanceputAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoweikeperformanceputAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (TaobaoweikeperformanceputAPIRequest) GetPerInfoWrapper added in v1.3.1

GetPerInfoWrapper PerInfoWrapper Getter

func (TaobaoweikeperformanceputAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaoweikeperformanceputAPIRequest) SetId added in v1.3.1

SetId is Id Setter 订单id

func (*TaobaoweikeperformanceputAPIRequest) SetPerInfoWrapper added in v1.3.1

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

SetPerInfoWrapper is PerInfoWrapper Setter 绩效数据封装类

type TaobaoweikeperformanceputAPIResponse added in v1.3.1

type TaobaoweikeperformanceputAPIResponse struct {
	model.CommonResponse
	TaobaoweikeperformanceputAPIResponseModel
}

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

提交客服绩效接口

type TaobaoweikeperformanceputAPIResponseModel added in v1.3.1

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

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

type TaobaoweikesubscinfogetAPIRequest added in v1.3.1

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

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

需求订单查询接口

func NewTaobaoweikesubscinfogetRequest added in v1.3.1

func NewTaobaoweikesubscinfogetRequest() *TaobaoweikesubscinfogetAPIRequest

NewTaobaoweikesubscinfogetRequest 初始化TaobaoweikesubscinfogetAPIRequest对象

func (TaobaoweikesubscinfogetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaoweikesubscinfogetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoweikesubscinfogetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoweikesubscinfogetAPIRequest) GetEndTime added in v1.3.1

GetEndTime EndTime Getter

func (TaobaoweikesubscinfogetAPIRequest) GetPageNum added in v1.3.1

GetPageNum PageNum Getter

func (TaobaoweikesubscinfogetAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaoweikesubscinfogetAPIRequest) GetSellerName added in v1.3.1

func (r TaobaoweikesubscinfogetAPIRequest) GetSellerName() string

GetSellerName SellerName Getter

func (TaobaoweikesubscinfogetAPIRequest) GetStartTime added in v1.3.1

func (r TaobaoweikesubscinfogetAPIRequest) GetStartTime() string

GetStartTime StartTime Getter

func (*TaobaoweikesubscinfogetAPIRequest) SetEndTime added in v1.3.1

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

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

func (*TaobaoweikesubscinfogetAPIRequest) SetPageNum added in v1.3.1

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

SetPageNum is PageNum Setter 页码

func (*TaobaoweikesubscinfogetAPIRequest) SetSellerName added in v1.3.1

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

SetSellerName is SellerName Setter 商家旺旺名称

func (*TaobaoweikesubscinfogetAPIRequest) SetStartTime added in v1.3.1

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

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

type TaobaoweikesubscinfogetAPIResponse added in v1.3.1

type TaobaoweikesubscinfogetAPIResponse struct {
	model.CommonResponse
	TaobaoweikesubscinfogetAPIResponseModel
}

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

需求订单查询接口

type TaobaoweikesubscinfogetAPIResponseModel added in v1.3.1

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

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

type TmallcarcontractdownloadAPIRequest added in v1.3.1

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

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

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

func NewTmallcarcontractdownloadRequest added in v1.3.1

func NewTmallcarcontractdownloadRequest() *TmallcarcontractdownloadAPIRequest

NewTmallcarcontractdownloadRequest 初始化TmallcarcontractdownloadAPIRequest对象

func (TmallcarcontractdownloadAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallcarcontractdownloadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcarcontractdownloadAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcarcontractdownloadAPIRequest) GetHtml added in v1.3.1

GetHtml Html Getter

func (TmallcarcontractdownloadAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (TmallcarcontractdownloadAPIRequest) GetRawParams added in v1.3.1

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

func (*TmallcarcontractdownloadAPIRequest) SetHtml added in v1.3.1

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

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

func (*TmallcarcontractdownloadAPIRequest) SetOrderId added in v1.3.1

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

SetOrderId is OrderId Setter 天猫订单号

type TmallcarcontractdownloadAPIResponse added in v1.3.1

type TmallcarcontractdownloadAPIResponse struct {
	model.CommonResponse
	TmallcarcontractdownloadAPIResponseModel
}

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

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

type TmallcarcontractdownloadAPIResponseModel added in v1.3.1

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

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

type TmallcarcontractdownloadResult added in v1.3.1

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

TmallcarcontractdownloadResult 结构体

type TmallcarfpcargetcarnotifyAPIRequest added in v1.3.1

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

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

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

func NewTmallcarfpcargetcarnotifyRequest added in v1.3.1

func NewTmallcarfpcargetcarnotifyRequest() *TmallcarfpcargetcarnotifyAPIRequest

NewTmallcarfpcargetcarnotifyRequest 初始化TmallcarfpcargetcarnotifyAPIRequest对象

func (TmallcarfpcargetcarnotifyAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallcarfpcargetcarnotifyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcarfpcargetcarnotifyAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcarfpcargetcarnotifyAPIRequest) GetItemId added in v1.3.1

GetItemId ItemId Getter

func (TmallcarfpcargetcarnotifyAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (TmallcarfpcargetcarnotifyAPIRequest) GetRawParams added in v1.3.1

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

func (TmallcarfpcargetcarnotifyAPIRequest) GetSellerId added in v1.3.1

GetSellerId SellerId Getter

func (*TmallcarfpcargetcarnotifyAPIRequest) SetItemId added in v1.3.1

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

SetItemId is ItemId Setter 商品宝贝id

func (*TmallcarfpcargetcarnotifyAPIRequest) SetOrderId added in v1.3.1

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

SetOrderId is OrderId Setter 订单id

func (*TmallcarfpcargetcarnotifyAPIRequest) SetSellerId added in v1.3.1

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

SetSellerId is SellerId Setter 卖家id

type TmallcarfpcargetcarnotifyAPIResponse added in v1.3.1

type TmallcarfpcargetcarnotifyAPIResponse struct {
	model.CommonResponse
	TmallcarfpcargetcarnotifyAPIResponseModel
}

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

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

type TmallcarfpcargetcarnotifyAPIResponseModel added in v1.3.1

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

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

type TmallcarfpcarrestpayreceiveAPIRequest added in v1.3.1

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

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

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

func NewTmallcarfpcarrestpayreceiveRequest added in v1.3.1

func NewTmallcarfpcarrestpayreceiveRequest() *TmallcarfpcarrestpayreceiveAPIRequest

NewTmallcarfpcarrestpayreceiveRequest 初始化TmallcarfpcarrestpayreceiveAPIRequest对象

func (TmallcarfpcarrestpayreceiveAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallcarfpcarrestpayreceiveAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcarfpcarrestpayreceiveAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcarfpcarrestpayreceiveAPIRequest) GetItemId added in v1.3.1

GetItemId ItemId Getter

func (TmallcarfpcarrestpayreceiveAPIRequest) GetOrderId added in v1.3.1

GetOrderId OrderId Getter

func (TmallcarfpcarrestpayreceiveAPIRequest) GetRawParams added in v1.3.1

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

func (TmallcarfpcarrestpayreceiveAPIRequest) GetSellerId added in v1.3.1

GetSellerId SellerId Getter

func (*TmallcarfpcarrestpayreceiveAPIRequest) SetItemId added in v1.3.1

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

SetItemId is ItemId Setter 商品宝贝id

func (*TmallcarfpcarrestpayreceiveAPIRequest) SetOrderId added in v1.3.1

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

SetOrderId is OrderId Setter 订单id

func (*TmallcarfpcarrestpayreceiveAPIRequest) SetSellerId added in v1.3.1

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

SetSellerId is SellerId Setter 卖家id

type TmallcarfpcarrestpayreceiveAPIResponse added in v1.3.1

type TmallcarfpcarrestpayreceiveAPIResponse struct {
	model.CommonResponse
	TmallcarfpcarrestpayreceiveAPIResponseModel
}

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

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

type TmallcarfpcarrestpayreceiveAPIResponseModel added in v1.3.1

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

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

type TmallcarleaseconsumeAPIRequest added in v1.3.1

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

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

租赁公司回传信息,核销

func NewTmallcarleaseconsumeRequest added in v1.3.1

func NewTmallcarleaseconsumeRequest() *TmallcarleaseconsumeAPIRequest

NewTmallcarleaseconsumeRequest 初始化TmallcarleaseconsumeAPIRequest对象

func (TmallcarleaseconsumeAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallcarleaseconsumeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcarleaseconsumeAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcarleaseconsumeAPIRequest) GetCosumeCodeReqDTO added in v1.3.1

func (r TmallcarleaseconsumeAPIRequest) GetCosumeCodeReqDTO() *CosumeCodeReqDto

GetCosumeCodeReqDTO CosumeCodeReqDTO Getter

func (TmallcarleaseconsumeAPIRequest) GetRawParams added in v1.3.1

func (r TmallcarleaseconsumeAPIRequest) GetRawParams() model.Params

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

func (*TmallcarleaseconsumeAPIRequest) SetCosumeCodeReqDTO added in v1.3.1

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

SetCosumeCodeReqDTO is CosumeCodeReqDTO Setter 核销请求

type TmallcarleaseconsumeAPIResponse added in v1.3.1

type TmallcarleaseconsumeAPIResponse struct {
	model.CommonResponse
	TmallcarleaseconsumeAPIResponseModel
}

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

租赁公司回传信息,核销

type TmallcarleaseconsumeAPIResponseModel added in v1.3.1

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

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

type TmallcarleaseconsumeResult added in v1.3.1

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

TmallcarleaseconsumeResult 结构体

type TmallcarleasefreedownpaymentputAPIRequest added in v1.3.1

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

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

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

func NewTmallcarleasefreedownpaymentputRequest added in v1.3.1

func NewTmallcarleasefreedownpaymentputRequest() *TmallcarleasefreedownpaymentputAPIRequest

NewTmallcarleasefreedownpaymentputRequest 初始化TmallcarleasefreedownpaymentputAPIRequest对象

func (TmallcarleasefreedownpaymentputAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcarleasefreedownpaymentputAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcarleasefreedownpaymentputAPIRequest) GetItemId added in v1.3.1

GetItemId ItemId Getter

func (TmallcarleasefreedownpaymentputAPIRequest) GetPreEndTime added in v1.3.1

GetPreEndTime PreEndTime Getter

func (TmallcarleasefreedownpaymentputAPIRequest) GetPreStartTime added in v1.3.1

GetPreStartTime PreStartTime Getter

func (TmallcarleasefreedownpaymentputAPIRequest) GetRawParams added in v1.3.1

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

func (TmallcarleasefreedownpaymentputAPIRequest) GetRefActivityId added in v1.3.1

GetRefActivityId RefActivityId Getter

func (TmallcarleasefreedownpaymentputAPIRequest) GetTimeRangeList added in v1.3.1

GetTimeRangeList TimeRangeList Getter

func (*TmallcarleasefreedownpaymentputAPIRequest) SetItemId added in v1.3.1

SetItemId is ItemId Setter 商品ID

func (*TmallcarleasefreedownpaymentputAPIRequest) SetPreEndTime added in v1.3.1

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

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

func (*TmallcarleasefreedownpaymentputAPIRequest) SetPreStartTime added in v1.3.1

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

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

func (*TmallcarleasefreedownpaymentputAPIRequest) SetRefActivityId added in v1.3.1

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

SetRefActivityId is RefActivityId Setter 外部活动ID

func (*TmallcarleasefreedownpaymentputAPIRequest) SetTimeRangeList added in v1.3.1

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

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

type TmallcarleasefreedownpaymentputAPIResponse added in v1.3.1

type TmallcarleasefreedownpaymentputAPIResponse struct {
	model.CommonResponse
	TmallcarleasefreedownpaymentputAPIResponseModel
}

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

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

type TmallcarleasefreedownpaymentputAPIResponseModel added in v1.3.1

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

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

type TmallcarleasefreedownpaymentputResult added in v1.3.1

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

TmallcarleasefreedownpaymentputResult 结构体

type TmallcarleaseitemactivitygetAPIRequest added in v1.3.1

type TmallcarleaseitemactivitygetAPIRequest struct {
	model.Params
}

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

查询汽车租赁活动信息

func NewTmallcarleaseitemactivitygetRequest added in v1.3.1

func NewTmallcarleaseitemactivitygetRequest() *TmallcarleaseitemactivitygetAPIRequest

NewTmallcarleaseitemactivitygetRequest 初始化TmallcarleaseitemactivitygetAPIRequest对象

func (TmallcarleaseitemactivitygetAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallcarleaseitemactivitygetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcarleaseitemactivitygetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcarleaseitemactivitygetAPIRequest) GetRawParams added in v1.3.1

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

type TmallcarleaseitemactivitygetAPIResponse added in v1.3.1

type TmallcarleaseitemactivitygetAPIResponse struct {
	model.CommonResponse
	TmallcarleaseitemactivitygetAPIResponseModel
}

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

查询汽车租赁活动信息

type TmallcarleaseitemactivitygetAPIResponseModel added in v1.3.1

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

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

type TmallcarleaseitemactivitygetResult added in v1.3.1

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

TmallcarleaseitemactivitygetResult 结构体

type TmallcarleaseitemcarinfoAPIRequest added in v1.3.1

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

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

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

func NewTmallcarleaseitemcarinfoRequest added in v1.3.1

func NewTmallcarleaseitemcarinfoRequest() *TmallcarleaseitemcarinfoAPIRequest

NewTmallcarleaseitemcarinfoRequest 初始化TmallcarleaseitemcarinfoAPIRequest对象

func (TmallcarleaseitemcarinfoAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallcarleaseitemcarinfoAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcarleaseitemcarinfoAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcarleaseitemcarinfoAPIRequest) GetItemId added in v1.3.1

GetItemId ItemId Getter

func (TmallcarleaseitemcarinfoAPIRequest) GetRawParams added in v1.3.1

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

func (*TmallcarleaseitemcarinfoAPIRequest) SetItemId added in v1.3.1

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

SetItemId is ItemId Setter 商品id

type TmallcarleaseitemcarinfoAPIResponse added in v1.3.1

type TmallcarleaseitemcarinfoAPIResponse struct {
	model.CommonResponse
	TmallcarleaseitemcarinfoAPIResponseModel
}

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

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

type TmallcarleaseitemcarinfoAPIResponseModel added in v1.3.1

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

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

type TmallcarleaseitemcarinfoResult added in v1.3.1

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

TmallcarleaseitemcarinfoResult 结构体

type TmallcarleaseordergetAPIRequest added in v1.3.1

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

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

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

func NewTmallcarleaseordergetRequest added in v1.3.1

func NewTmallcarleaseordergetRequest() *TmallcarleaseordergetAPIRequest

NewTmallcarleaseordergetRequest 初始化TmallcarleaseordergetAPIRequest对象

func (TmallcarleaseordergetAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallcarleaseordergetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcarleaseordergetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcarleaseordergetAPIRequest) GetOrderId added in v1.3.1

func (r TmallcarleaseordergetAPIRequest) GetOrderId() int64

GetOrderId OrderId Getter

func (TmallcarleaseordergetAPIRequest) GetRawParams added in v1.3.1

func (r TmallcarleaseordergetAPIRequest) GetRawParams() model.Params

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

func (*TmallcarleaseordergetAPIRequest) SetOrderId added in v1.3.1

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

SetOrderId is OrderId Setter 订单号

type TmallcarleaseordergetAPIResponse added in v1.3.1

type TmallcarleaseordergetAPIResponse struct {
	model.CommonResponse
	TmallcarleaseordergetAPIResponseModel
}

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

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

type TmallcarleaseordergetAPIResponseModel added in v1.3.1

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

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

type TmallcarleaseriskcallbackAPIRequest added in v1.3.1

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

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

租赁公司回调风控结果

func NewTmallcarleaseriskcallbackRequest added in v1.3.1

func NewTmallcarleaseriskcallbackRequest() *TmallcarleaseriskcallbackAPIRequest

NewTmallcarleaseriskcallbackRequest 初始化TmallcarleaseriskcallbackAPIRequest对象

func (TmallcarleaseriskcallbackAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallcarleaseriskcallbackAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcarleaseriskcallbackAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcarleaseriskcallbackAPIRequest) GetCreditInfo added in v1.3.1

GetCreditInfo CreditInfo Getter

func (TmallcarleaseriskcallbackAPIRequest) GetRawParams added in v1.3.1

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

func (*TmallcarleaseriskcallbackAPIRequest) SetCreditInfo added in v1.3.1

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

SetCreditInfo is CreditInfo Setter 授信结果

type TmallcarleaseriskcallbackAPIResponse added in v1.3.1

type TmallcarleaseriskcallbackAPIResponse struct {
	model.CommonResponse
	TmallcarleaseriskcallbackAPIResponseModel
}

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

租赁公司回调风控结果

type TmallcarleaseriskcallbackAPIResponseModel added in v1.3.1

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

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

type TmallcarleaseriskcallbackResult added in v1.3.1

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

TmallcarleaseriskcallbackResult 结构体

type TmallcarleasetailpaymentbackAPIRequest added in v1.3.1

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

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

尾款处置方案回传

func NewTmallcarleasetailpaymentbackRequest added in v1.3.1

func NewTmallcarleasetailpaymentbackRequest() *TmallcarleasetailpaymentbackAPIRequest

NewTmallcarleasetailpaymentbackRequest 初始化TmallcarleasetailpaymentbackAPIRequest对象

func (TmallcarleasetailpaymentbackAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallcarleasetailpaymentbackAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcarleasetailpaymentbackAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcarleasetailpaymentbackAPIRequest) GetRawParams added in v1.3.1

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

func (TmallcarleasetailpaymentbackAPIRequest) GetTailPaymentDTO added in v1.3.1

GetTailPaymentDTO TailPaymentDTO Getter

func (*TmallcarleasetailpaymentbackAPIRequest) SetTailPaymentDTO added in v1.3.1

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

SetTailPaymentDTO is TailPaymentDTO Setter 尾款方案

type TmallcarleasetailpaymentbackAPIResponse added in v1.3.1

type TmallcarleasetailpaymentbackAPIResponse struct {
	model.CommonResponse
	TmallcarleasetailpaymentbackAPIResponseModel
}

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

尾款处置方案回传

type TmallcarleasetailpaymentbackAPIResponseModel added in v1.3.1

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

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

type TmallcarleasetailpaymentbackResult added in v1.3.1

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

TmallcarleasetailpaymentbackResult 结构体

type TmallmsfreceiveAPIRequest added in v1.3.1

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

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

签收接口

func NewTmallmsfreceiveRequest added in v1.3.1

func NewTmallmsfreceiveRequest() *TmallmsfreceiveAPIRequest

NewTmallmsfreceiveRequest 初始化TmallmsfreceiveAPIRequest对象

func (TmallmsfreceiveAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallmsfreceiveAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallmsfreceiveAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallmsfreceiveAPIRequest) GetBizType added in v1.3.1

func (r TmallmsfreceiveAPIRequest) GetBizType() string

GetBizType BizType Getter

func (TmallmsfreceiveAPIRequest) GetCode added in v1.3.1

func (r TmallmsfreceiveAPIRequest) GetCode() string

GetCode Code Getter

func (TmallmsfreceiveAPIRequest) GetRawParams added in v1.3.1

func (r TmallmsfreceiveAPIRequest) GetRawParams() model.Params

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

func (TmallmsfreceiveAPIRequest) GetShopId added in v1.3.1

func (r TmallmsfreceiveAPIRequest) GetShopId() string

GetShopId ShopId Getter

func (*TmallmsfreceiveAPIRequest) SetBizType added in v1.3.1

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

SetBizType is BizType Setter 1

func (*TmallmsfreceiveAPIRequest) SetCode added in v1.3.1

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

SetCode is Code Setter 1

func (*TmallmsfreceiveAPIRequest) SetShopId added in v1.3.1

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

SetShopId is ShopId Setter 1

type TmallmsfreceiveAPIResponse added in v1.3.1

type TmallmsfreceiveAPIResponse struct {
	model.CommonResponse
	TmallmsfreceiveAPIResponseModel
}

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

签收接口

type TmallmsfreceiveAPIResponseModel added in v1.3.1

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

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

type TmallmsfverifyAPIRequest added in v1.3.1

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

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

msf服务核销的top接口

func NewTmallmsfverifyRequest added in v1.3.1

func NewTmallmsfverifyRequest() *TmallmsfverifyAPIRequest

NewTmallmsfverifyRequest 初始化TmallmsfverifyAPIRequest对象

func (TmallmsfverifyAPIRequest) GetApiMethodName added in v1.3.1

func (r TmallmsfverifyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallmsfverifyAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallmsfverifyAPIRequest) GetBizType added in v1.3.1

func (r TmallmsfverifyAPIRequest) GetBizType() string

GetBizType BizType Getter

func (TmallmsfverifyAPIRequest) GetCode added in v1.3.1

func (r TmallmsfverifyAPIRequest) GetCode() string

GetCode Code Getter

func (TmallmsfverifyAPIRequest) GetRawParams added in v1.3.1

func (r TmallmsfverifyAPIRequest) GetRawParams() model.Params

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

func (TmallmsfverifyAPIRequest) GetShopId added in v1.3.1

func (r TmallmsfverifyAPIRequest) GetShopId() string

GetShopId ShopId Getter

func (*TmallmsfverifyAPIRequest) SetBizType added in v1.3.1

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

SetBizType is BizType Setter 111

func (*TmallmsfverifyAPIRequest) SetCode added in v1.3.1

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

SetCode is Code Setter 111

func (*TmallmsfverifyAPIRequest) SetShopId added in v1.3.1

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

SetShopId is ShopId Setter 111

type TmallmsfverifyAPIResponse added in v1.3.1

type TmallmsfverifyAPIResponse struct {
	model.CommonResponse
	TmallmsfverifyAPIResponseModel
}

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

msf服务核销的top接口

type TmallmsfverifyAPIResponseModel added in v1.3.1

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

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

type TmallservicecentertpfundsrecoverqueryAPIRequest added in v1.3.1

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

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

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

func NewTmallservicecentertpfundsrecoverqueryRequest added in v1.3.1

func NewTmallservicecentertpfundsrecoverqueryRequest() *TmallservicecentertpfundsrecoverqueryAPIRequest

NewTmallservicecentertpfundsrecoverqueryRequest 初始化TmallservicecentertpfundsrecoverqueryAPIRequest对象

func (TmallservicecentertpfundsrecoverqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecentertpfundsrecoverqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecentertpfundsrecoverqueryAPIRequest) GetQuery added in v1.3.1

GetQuery Query Getter

func (TmallservicecentertpfundsrecoverqueryAPIRequest) GetRawParams added in v1.3.1

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

func (*TmallservicecentertpfundsrecoverqueryAPIRequest) SetQuery added in v1.3.1

SetQuery is Query Setter query入参

type TmallservicecentertpfundsrecoverqueryAPIResponse added in v1.3.1

type TmallservicecentertpfundsrecoverqueryAPIResponse struct {
	model.CommonResponse
	TmallservicecentertpfundsrecoverqueryAPIResponseModel
}

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

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

type TmallservicecentertpfundsrecoverqueryAPIResponseModel added in v1.3.1

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

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

type TmallservicecentertpfundssendqueryAPIRequest added in v1.3.1

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

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

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

func NewTmallservicecentertpfundssendqueryRequest added in v1.3.1

func NewTmallservicecentertpfundssendqueryRequest() *TmallservicecentertpfundssendqueryAPIRequest

NewTmallservicecentertpfundssendqueryRequest 初始化TmallservicecentertpfundssendqueryAPIRequest对象

func (TmallservicecentertpfundssendqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicecentertpfundssendqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicecentertpfundssendqueryAPIRequest) GetQuery added in v1.3.1

GetQuery Query Getter

func (TmallservicecentertpfundssendqueryAPIRequest) GetRawParams added in v1.3.1

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

func (*TmallservicecentertpfundssendqueryAPIRequest) SetQuery added in v1.3.1

SetQuery is Query Setter 入参对象

type TmallservicecentertpfundssendqueryAPIResponse added in v1.3.1

type TmallservicecentertpfundssendqueryAPIResponse struct {
	model.CommonResponse
	TmallservicecentertpfundssendqueryAPIResponseModel
}

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

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

type TmallservicecentertpfundssendqueryAPIResponseModel added in v1.3.1

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

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

type TmallservicesettleadjustmentsearchAPIRequest added in v1.3.1

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

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

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

func NewTmallservicesettleadjustmentsearchRequest added in v1.3.1

func NewTmallservicesettleadjustmentsearchRequest() *TmallservicesettleadjustmentsearchAPIRequest

NewTmallservicesettleadjustmentsearchRequest 初始化TmallservicesettleadjustmentsearchAPIRequest对象

func (TmallservicesettleadjustmentsearchAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallservicesettleadjustmentsearchAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallservicesettleadjustmentsearchAPIRequest) GetEndTime added in v1.3.1

GetEndTime EndTime Getter

func (TmallservicesettleadjustmentsearchAPIRequest) GetRawParams added in v1.3.1

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

func (TmallservicesettleadjustmentsearchAPIRequest) GetStartTime added in v1.3.1

GetStartTime StartTime Getter

func (*TmallservicesettleadjustmentsearchAPIRequest) SetEndTime added in v1.3.1

SetEndTime is EndTime Setter 结束时间

func (*TmallservicesettleadjustmentsearchAPIRequest) SetStartTime added in v1.3.1

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

SetStartTime is StartTime Setter 开始时间

type TmallservicesettleadjustmentsearchAPIResponse added in v1.3.1

type TmallservicesettleadjustmentsearchAPIResponse struct {
	model.CommonResponse
	TmallservicesettleadjustmentsearchAPIResponseModel
}

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

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

type TmallservicesettleadjustmentsearchAPIResponseModel added in v1.3.1

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

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

type TmallservicesettleadjustmentsearchResult added in v1.3.1

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 TpFundsRecoverQuery

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

TpFundsRecoverQuery 结构体

type TpFundsRecoverResultDo

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

TpFundsRecoverResultDo 结构体

type TpFundsSendQuery

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

TpFundsSendQuery 结构体

type TpFundsSendResultDo

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

TpFundsSendResultDo 结构体

Source Files

Jump to

Keyboard shortcuts

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