1
This commit is contained in:
@@ -316,3 +316,37 @@ type RiderLocation struct {
|
||||
Latitude string `json:"latitude"` // 纬度,建议使用高德坐标 39.90038
|
||||
Longitude string `json:"longitude"` // 经度,建议使用高德坐标 116.389149
|
||||
}
|
||||
|
||||
// ReverseSkuList 售后单信息详情获取
|
||||
type ReverseSkuList struct {
|
||||
ApplyQuantity int `json:"apply_quantity"` // 申请数量
|
||||
ApplyRefundTime int64 `json:"apply_refund_time"` // 申请时间
|
||||
ApplyRefundUserAmount int `json:"apply_refund_user_amount"` // 子订单用户申请金额
|
||||
CommodityType int `json:"commodity_type"` // 商品子单类型, 1:称重品、2:标品、3:按件称重、4:虚拟商品子单
|
||||
CustomSkuId string `json:"custom_sku_id"` // 商品自定义id
|
||||
CustomSkuSpecId string `json:"custom_sku_spec_id"` // 商品多规格自定义id
|
||||
FreeGift bool `json:"free_gift"` // 是否是赠品子单,true 是, false 否
|
||||
FundCalculateType int `json:"fund_calculate_type"` // 商品子单 退款算价类型 ,枚举值:0按件数退,1按照金额退
|
||||
GiftRelatedSubBizOrderIdList []interface{} `json:"gift_related_sub_biz_order_id_list"` // 赠品子单关联的主品子单Id列表 (free_gift = true 时,有效)
|
||||
IsCombine bool `json:"is_combine"` // 是否为组合品
|
||||
LastRefundStatus int `json:"last_refund_status"` // 该退单的上一个退款状态:0初始化,10申请,20拒绝,30仲裁,40关闭,50成功,60失败
|
||||
PlatformSkuId int64 `json:"platform_sku_id"` // 饿了么商品ID
|
||||
RefundOrderId int64 `json:"refund_order_id"` // 零售退款单ID
|
||||
RefundQuantity int `json:"refund_quantity"` // 商家同意件数,件数单位:整型
|
||||
RefundStatus int `json:"refund_status"` // 商品子单本次退款状态,枚举值:10 申请;20 拒绝;30 仲裁;40 关闭;50 成功;60 失败
|
||||
RefundUserAmount int `json:"refund_user_amount"` // 该逆向单实际退款给用户的金额,单位分
|
||||
RefundWeight int `json:"refund_weight"` // 商品子单退款额重量信息, 单位:g
|
||||
SkuName string `json:"sku_name"` // sku 商品名称
|
||||
SkuSpecId string `json:"sku_spec_id"` // 多规格商品id
|
||||
SubBizOrderId string `json:"sub_biz_order_id"` // 商品子单唯一标识
|
||||
Upc string `json:"upc"` // upc
|
||||
VirtualType string `json:"virtual_type"` // 0:普通实物商品 1:包装费子单 2:处方服务费子单、3:附加0.01费子单、4:配送费子单
|
||||
DiscountDetail struct {
|
||||
AgentDiscountAmount int `json:"agent_discount_amount"` // 本次退款总金额中 包含的【代理商】承担金额,单位:分
|
||||
DiscountTotalAmount int `json:"discount_total_amount"` // 本次退款总金额中的补贴总额,单位:分
|
||||
MerchantDiscountAmount int `json:"merchant_discount_amount"` // 本次退款总金额中 包含的【商家】承担金额,单位:分
|
||||
PlatformDiscountAmount int `json:"platform_discount_amount"` // 本次退款总金额中 包含的【平台】承担金额,单位:分
|
||||
TotalPrice int `json:"total_price"` // 商品原总价 = (用户实付 + 补贴总额 discount_total_amount )
|
||||
UserDiscountAmount int `json:"user_discount_amount"` // 本次退款总金额中 包含的【用户】承担金额,单位:分
|
||||
} `json:"discount_detail"` // 商品子单的退款分摊明细详情
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user