order_orderDetail_response

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: MulanPSL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountInfoItem

type AccountInfoItem struct {
	// 买家账号名称
	AccountName string `json:"account_name"`
	// 买家账号类型;账号类型;枚举值:Mobile :手机号;Email :邮箱 ; IdCard :身份证;  Passport :护照;  BankCard :银行卡;  Number :纯数学;  NumberLetter :数字字母混合;
	AccountType string `json:"account_type"`
	// 账号值
	AccountId string `json:"account_id"`
	// contains filtered or unexported fields
}

type AccountList

type AccountList struct {
	// 买家账号信息
	AccountInfo []AccountInfoItem `json:"account_info"`
}

type AddedServicesItem

type AddedServicesItem struct {
	// 标签key
	Key string `json:"key"`
	// 物流服务名称
	Text string `json:"text"`
	// 抖音大学介绍地址
	HelpDoc string `json:"help_doc"`
	// 业务跳转地址
	Url string `json:"url"`
}

type AddressTagUiItem

type AddressTagUiItem struct {
	// 双地址标签 key
	Key string `json:"key"`
	// 双地址标签
	Text string `json:"text"`
	// 双地址标签hover提示
	HoverText string `json:"hover_text"`
}

type AfterSaleInfo

type AfterSaleInfo struct {
	// 售后状态;6-售后申请;27-拒绝售后申请;12-售后成功;7-售后退货中;11-售后已发货;29-售后退货拒绝;13-【换货返回:换货售后换货商家发货】,【补寄返回:补寄待用户收货】; 14-【换货返回:(换货)售后换货用户收货】,【补寄返回:(补寄)用户已收货】 ;28-售后失败;51-订单取消成功;53-逆向交易已完成;
	AfterSaleStatus int64 `json:"after_sale_status"`
	// 售后类型 ;0-退货退款;1-已发货仅退款;2-未发货仅退款;3-换货;4-系统取消;5-用户取消;6-价保;7-补寄;
	AfterSaleType int64 `json:"after_sale_type"`
	// 退款状态:1-待退款;3-退款成功; 4-退款失败;当买家发起售后后又主动取消售后,此时after_sale_status=28并且refund_status=1的状态不变,不会流转至4状态;
	RefundStatus int64 `json:"refund_status"`
}

type BundleSkuInfoItem

type BundleSkuInfoItem struct {
	// 子商品图片
	PictureUrl string `json:"picture_url"`
	// 子商品在抖店的ID
	ProductId string `json:"product_id"`
	// 子商品名称
	ProductName string `json:"product_name"`
	// 子商品在抖店的SkuId
	SkuId string `json:"sku_id"`
	// 子商品数量
	ItemNum int64 `json:"item_num"`
	// 组套子商品外部编码
	Code string `json:"code"`
}

type CampaignInfoItem

type CampaignInfoItem struct {
	// 活动ID
	CampaignId int64 `json:"campaign_id"`
	// 活动类型:7-限时特卖 10-定金预售 11-定金预售尾款部分 13-达人专属价 14-限时限量限人 120-拼团
	CampaignType int64 `json:"campaign_type"`
	// 成本分摊
	ShareDiscountCost *ShareDiscountCost `json:"share_discount_cost"`
	// 活动名称
	CampaignName string `json:"campaign_name"`
	// 活动金额(单位:分)
	CampaignAmount int64 `json:"campaign_amount"`
	// 活动子类型:0 店铺活动,1 平台活动
	CampaignSubType int64 `json:"campaign_sub_type"`
}

type CardVoucher

type CardVoucher struct {
	// 自领取之日起有效天数(如果存在优先使用)
	ValidDays int64 `json:"valid_days"`
	// 卡券开始时间
	ValidStart int64 `json:"valid_start"`
	// 卡券截止时间
	ValidEnd int64 `json:"valid_end"`
}

type City

type City struct {
	// 名称
	Name string `json:"name"`
	// 地区ID
	Id string `json:"id"`
}

type ContractInfo

type ContractInfo struct {
	// 办理合约的手机号
	MobileNo string `json:"mobile_no"`
	// contains filtered or unexported fields
}

type CouponInfoItem

type CouponInfoItem struct {
	// 订单优惠券ID
	CouponId int64 `json:"coupon_id"`
	// 券类型;21-商家折扣券;22-商家直减券;23-商家满减券 ;41-单品折扣券;42-单品直减券;43 单品满减券;
	CouponType int64 `json:"coupon_type"`
	// 券批次ID
	CouponMetaId string `json:"coupon_meta_id"`
	// 券优惠金额(单位:分)
	CouponAmount int64 `json:"coupon_amount"`
	// 券名称
	CouponName string `json:"coupon_name"`
	// 成本分摊
	ShareDiscountCost *ShareDiscountCost `json:"share_discount_cost"`
}

type CouponRightItem

type CouponRightItem struct {
	// 权益类型
	RightType int64 `json:"right_type"`
	// 权益名称
	RightName string `json:"right_name"`
	// 权益面值
	Quota int64 `json:"quota"`
}

type DCarShopBizData

type DCarShopBizData struct {
	// 选择的门店ID
	PoiId string `json:"poi_id"`
	// 选择的门店名称
	PoiName string `json:"poi_name"`
	// 选择的门店地址
	PoiAddr string `json:"poi_addr"`
	// 选择的门店电话
	PoiTel string `json:"poi_tel"`
	// 权益信息
	CouponRight []CouponRightItem `json:"coupon_right"`
	// 选择的门店所在省
	PoiPname string `json:"poi_pname"`
	// 选择的门店所在市
	PoiCityName string `json:"poi_city_name"`
	// 选择的门店所在区县
	PoiAdname string `json:"poi_adname"`
}

type Detail

type Detail struct {
	// 定制图片信息
	Pic []PicItem `json:"pic"`
	// 定制文案信息
	Text []TextItem `json:"text"`
	// 额外信息
	Extra string `json:"extra"`
}

type FullDiscountInfoItem

type FullDiscountInfoItem struct {
	// 活动ID
	CampaignId int64 `json:"campaign_id"`
	// 活动类型:100-店铺满减活动 110-平台满减活动 150-立减活动
	CampaignType int64 `json:"campaign_type"`
	// 成本分摊
	ShareDiscountCost *ShareDiscountCost `json:"share_discount_cost"`
	// 活动名称
	CampaignName string `json:"campaign_name"`
	// 活动优惠金额(单位:分)
	CampaignAmount int64 `json:"campaign_amount"`
	// 活动子类型:0 店铺活动,1 平台活动
	CampaignSubType int64 `json:"campaign_sub_type"`
}

type GivenProductActivityInfo

type GivenProductActivityInfo struct {
	// NORMAL-普通的买赠,AMOUNT-满件赠,PRICE-满元赠
	GivenProductActivityType string `json:"given_product_activity_type"`
	// 满几件赠或满几元赠,满元赠场景单位是分
	GivenProductActivityValue string `json:"given_product_activity_value"`
}

type InventoryListItem

type InventoryListItem struct {
	// 仓id
	WarehouseId string `json:"warehouse_id"`
	// 外部仓id
	OutWarehouseId string `json:"out_warehouse_id"`
	// 库存类型,普通库存/区域库存
	InventoryType int64 `json:"inventory_type"`
	// 库存类型描述
	InventoryTypeDesc string `json:"inventory_type_desc"`
	// 库存变更数量
	Count int64 `json:"count"`
	// 仓类型:0-商家仓,1-跨境仓,2-云仓
	WarehouseType int64 `json:"warehouse_type"`
}

type KolDiscountDetail

type KolDiscountDetail struct {
	// 优惠总金额(单位:分)
	TotalAmount int64 `json:"total_amount"`
	// 券优惠金额(单位:分)
	CouponAmount int64 `json:"coupon_amount"`
	// 活动优惠金额(单位:分)
	FullDiscountAmount int64 `json:"full_discount_amount"`
	// 优惠券信息
	CouponInfo []CouponInfoItem `json:"coupon_info"`
	// 优惠活动信息
	FullDiscountInfo []FullDiscountInfoItem `json:"full_discount_info"`
	// 红包金额(单位:分)
	RedpackAmount int64 `json:"redpack_amount"`
	// 红包信息
	RedpackInfo []RedpackInfoItem `json:"redpack_info"`
}

type LogisticsInfoItem

type LogisticsInfoItem struct {
	// 物流单号
	TrackingNo string `json:"tracking_no"`
	// 物流公司
	Company string `json:"company"`
	// 发货时间,时间戳,秒
	ShipTime int64 `json:"ship_time"`
	// 包裹id
	DeliveryId string `json:"delivery_id"`
	// 物流公司名称
	CompanyName string `json:"company_name"`
	// 商品信息
	ProductInfo []ProductInfoItem `json:"product_info"`
	// 物流增值服务列表
	AddedServices []AddedServicesItem `json:"added_services"`
}

type MaskPostAddr

type MaskPostAddr struct {
	// 省
	Province *Province `json:"province"`
	// 市
	City *City `json:"city"`
	// 县/区
	Town *Town `json:"town"`
	// 街道
	Street *Street `json:"street"`
	// 详细信息(脱敏后)
	Detail string `json:"detail"`
}

type OrderOrderDetailData

type OrderOrderDetailData struct {
	// 订单信息
	ShopOrderDetail *ShopOrderDetail `json:"shop_order_detail"`
}

type OrderOrderDetailResponse

type OrderOrderDetailResponse struct {
	doudian_sdk.BaseDoudianOpApiResponse
	Data *OrderOrderDetailData `json:"data"`
}

type OrderPhaseListItem

type OrderPhaseListItem struct {
	// 阶段单id
	PhaseOrderId string `json:"phase_order_id"`
	// 总共有几阶段
	TotalPhase int64 `json:"total_phase"`
	// 第几阶段
	CurrentPhase int64 `json:"current_phase"`
	// sku单价,单位:分
	SkuPrice int64 `json:"sku_price"`
	// 是否支付成功
	PaySuccess bool `json:"pay_success"`
	// 店铺子订单号,抖店平台生成,平台下唯一;注意:一笔订单下有一个子订单和父订单单号相同。
	SkuOrderId string `json:"sku_order_id"`
	// 活动id
	CampaignId string `json:"campaign_id"`
	// 阶段价格:定金单价、尾款单价,单位:分
	PhasePayablePrice int64 `json:"phase_payable_price"`
	// 支付类型:0-货到付款, 1-微信, 2-支付宝, 3-小程序, 4-银行卡, 5-余额, 7-无需支付, 8-放心花(信用支付), 9-新卡支付
	PhasePayType int64 `json:"phase_pay_type"`
	// 阶段单开始开启支付时间,时间戳
	PhaseOpenTime int64 `json:"phase_open_time"`
	// 阶段单支付成功时间,时间戳
	PhasePayTime int64 `json:"phase_pay_time"`
	// 阶段单关闭时间,时间戳
	PhaseCloseTime int64 `json:"phase_close_time"`
	// 渠道支付订单号
	ChannelPaymentNo string `json:"channel_payment_no"`
	// 阶段单总金额,单位分,为订单金额phase_sum_amount+运费phase_post_amount,为支付金额phase_pay_amount+优惠金额phase_promotion_amoun
	PhaseOrderAmount int64 `json:"phase_order_amount"`
	// 阶段单订单金额,单位分
	PhaseSumAmount int64 `json:"phase_sum_amount"`
	// 阶段单运费金额,单位分
	PhasePostAmount int64 `json:"phase_post_amount"`
	// 阶段单用户实际支付金额,单位分
	PhasePayAmount int64 `json:"phase_pay_amount"`
	// 阶段单总优惠金额,单位分
	PhasePromotionAmount int64 `json:"phase_promotion_amount"`
	// 阶段状态描述
	CurrentPhaseStatusDesc string `json:"current_phase_status_desc"`
}

type PicItem

type PicItem struct {
	// id
	Id int64 `json:"id"`
	// url
	Url string `json:"url"`
}

type PlatformDiscountDetail

type PlatformDiscountDetail struct {
	// 优惠总金额(单位:分)
	TotalAmount int64 `json:"total_amount"`
	// 券优惠金额(单位:分)
	CouponAmount int64 `json:"coupon_amount"`
	// 活动优惠金额(单位:分)
	FullDiscountAmount int64 `json:"full_discount_amount"`
	// 优惠券信息
	CouponInfo []CouponInfoItem `json:"coupon_info"`
	// 优惠活动信息
	FullDiscountInfo []FullDiscountInfoItem `json:"full_discount_info"`
	// 红包金额(单位:分)
	RedpackAmount int64 `json:"redpack_amount"`
	// 红包信息
	RedpackInfo []RedpackInfoItem `json:"redpack_info"`
	// 金币抵扣金额(单位:分)
	GoldCoinAmount int64 `json:"gold_coin_amount"`
}

type PostAddr

type PostAddr struct {
	// 省/直辖市
	Province *Province `json:"province"`
	// 市
	City *City `json:"city"`
	// 区县
	Town *Town `json:"town"`
	// 街道
	Street *Street `json:"street"`
	// 详细地址
	Detail string `json:"detail"`
	// contains filtered or unexported fields
}

type PreAllocatedYunWarehouseInfo

type PreAllocatedYunWarehouseInfo struct {
	// 云仓code
	YunWarehouseCode string `json:"yun_warehouse_code"`
	// 云仓名称
	YunWarehouseName string `json:"yun_warehouse_name"`
}

type ProductInfoItem

type ProductInfoItem struct {
	// 商品名称
	ProductName string `json:"product_name"`
	// 商品价格
	Price int64 `json:"price"`
	// 商家编码
	OuterSkuId string `json:"outer_sku_id"`
	// 商品skuId
	SkuId int64 `json:"sku_id"`
	// 规格信息
	SkuSpecs []SkuSpecsItem `json:"sku_specs"`
	// 发货商品数量
	ProductCount int64 `json:"product_count"`
	// 商品ID
	ProductId int64 `json:"product_id"`
	// 店铺子订单号,抖店平台生成,平台下唯一;注意:一笔订单下有一个子订单和父订单单号相同。
	SkuOrderId string `json:"sku_order_id"`
	// 商品ID,字符串类型
	ProductIdStr string `json:"product_id_str"`
}

type PromotionDetail

type PromotionDetail struct {
	// 店铺优惠信息
	ShopDiscountDetail *ShopDiscountDetail `json:"shop_discount_detail"`
	// 平台优惠信息
	PlatformDiscountDetail *PlatformDiscountDetail `json:"platform_discount_detail"`
	// 达人优惠信息
	KolDiscountDetail *KolDiscountDetail `json:"kol_discount_detail"`
}

type Province

type Province struct {
	// 名称
	Name string `json:"name"`
	// 地区ID
	Id string `json:"id"`
}

type QualityCheckInfo

type QualityCheckInfo struct {
	// 质检结果  WATI_CHECT:待质检, CHECK_PASS:质检通过, CHECK_FAIL:质检不通过
	CheckResultCode string `json:"check_result_code"`
	// 质检异常信息描述文案
	CheckFailMsg string `json:"check_fail_msg"`
	// 重新送检截止时间
	ResendCheckTime int64 `json:"resend_check_time"`
}

type RealYunWarehouseInfo

type RealYunWarehouseInfo struct {
	// 云仓code
	YunWarehouseCode string `json:"yun_warehouse_code"`
	// 云仓名称
	YunWarehouseName string `json:"yun_warehouse_name"`
}

type RedpackInfoItem

type RedpackInfoItem struct {
	// 红包汇总ID
	RedpackTransId string `json:"redpack_trans_id"`
	// 红包金额(单位:分)
	RedpackAmount int64 `json:"redpack_amount"`
	// 成本分摊
	ShareDiscountCost *ShareDiscountCost `json:"share_discount_cost"`
}

type RelationOrder

type RelationOrder struct {
	// 核销券码
	WriteOffNo string `json:"write_off_no"`
	// 关联店铺单订单id
	RelationOrderId string `json:"relation_order_id"`
}

type ShareDiscountCost

type ShareDiscountCost struct {
	// 平台承担金额(单位:分)
	PlatformCost int64 `json:"platform_cost"`
	// 商家承担金额(单位:分)
	ShopCost int64 `json:"shop_cost"`
	// 作者承担金额(单位:分)
	AuthorCost int64 `json:"author_cost"`
}

type ShopDiscountDetail

type ShopDiscountDetail struct {
	// 优惠总金额(单位:分)
	TotalAmount int64 `json:"total_amount"`
	// 券优惠金额(单位:分)
	CouponAmount int64 `json:"coupon_amount"`
	// 活动优惠金额(单位:分)
	FullDiscountAmount int64 `json:"full_discount_amount"`
	// 优惠券信息
	CouponInfo []CouponInfoItem `json:"coupon_info"`
	// 优惠活动信息
	FullDiscountInfo []FullDiscountInfoItem `json:"full_discount_info"`
}

type ShopOrderDetail

type ShopOrderDetail struct {
	// 店铺id,抖店平台生成,平台下唯一;
	ShopId int64 `json:"shop_id"`
	// 商户名称
	ShopName string `json:"shop_name"`
	// 抖音小程序ID
	OpenId string `json:"open_id"`
	// 店铺父订单号,抖店平台生成,平台下唯一;
	OrderId string `json:"order_id"`
	// 订单层级,主订单是2级
	OrderLevel int64 `json:"order_level"`
	// 【业务来源】 1  -鲁班 2  -小店 3  -好好学习 4  -ev 5  -虚拟 6  -建站 7  -核销 8  -玉石 9  -ez 10 -ep 11 -虚拟卡券 12 -服务市场 13 - EP 视频课 14 - EP 直播课 21 -跨境BBC 22 -跨境BC 23 -跨境CC|UPU 24 -手机充值 25 -拍卖保证金 26 -懂车帝抵扣券 27 -懂车帝返现券 28 -离岛免税 29 -海南会员购 30 -抽奖 31 -清北-企业代付 32 -抖+券 33 -联盟寄样 49 -刀剑 53 -通信卡 66 -加油包 76 -大闸蟹 99 -保险 102-小店海外 108-上门取件收款
	Biz int64 `json:"biz"`
	// 业务来源描述
	BizDesc string `json:"biz_desc"`
	// 【订单类型】 0、普通订单 2、虚拟商品订单 4、电子券(poi核销) 5、三方核销
	OrderType int64 `json:"order_type"`
	// 订单类型描述
	OrderTypeDesc string `json:"order_type_desc"`
	// 交易类型,不推荐使用,已废弃。请使用sku_order_list.trade_type即可。
	TradeType int64 `json:"trade_type"`
	// 交易类型描述,不推荐使用,已废弃。请使用sku_order_list. trade_type_desc下即可。
	TradeTypeDesc string `json:"trade_type_desc"`
	// 订单状态1 待确认/待支付(订单创建完毕)105 已支付 2 备货中 101 部分发货 3 已发货(全部发货)4 已取消5 已完成(已收货)
	OrderStatus int64 `json:"order_status"`
	// 订单状态描述
	OrderStatusDesc string `json:"order_status_desc"`
	// 主流程状态,1 待确认/待支付(订单创建完毕)103 部分支付105 已支付2 备货中101 部分发货3 已发货(全部发货)4 已取消5 已完成(已收货)21 发货前退款完结22 发货后退款完结39 收货后退款完结
	MainStatus int64 `json:"main_status"`
	// 主流程状态描述
	MainStatusDesc string `json:"main_status_desc"`
	// 支付时间,时间戳,秒
	PayTime int64 `json:"pay_time"`
	// 订单过期时间,时间戳,秒
	OrderExpireTime int64 `json:"order_expire_time"`
	// 订单完成时间,时间戳,秒
	FinishTime int64 `json:"finish_time"`
	// 下单时间,时间戳,秒
	CreateTime int64 `json:"create_time"`
	// 订单更新时间,时间戳,秒
	UpdateTime int64 `json:"update_time"`
	// 取消原因
	CancelReason string `json:"cancel_reason"`
	// 买家留言
	BuyerWords string `json:"buyer_words"`
	// 商家备注
	SellerWords string `json:"seller_words"`
	// 【下单端】 0、站外 1、火山 2、抖音 3、头条 4、西瓜 5、微信 6、值点app 7、头条lite 8、懂车帝 9、皮皮虾 11、抖音极速版 12、TikTok 13、musically 14、穿山甲 15、火山极速版 16、服务市场 26、番茄小说 27、UG教育营销电商平台 28、Jumanji 29、电商SDK
	BType int64 `json:"b_type"`
	// 下单端描述
	BTypeDesc string `json:"b_type_desc"`
	// 【下单场景】 0、未知 1、app内-原生 2、app内-小程序 3、H5 13、电商SDK-头条 35、电商SDK-头条lite
	SubBType int64 `json:"sub_b_type"`
	// 下单场景描述
	SubBTypeDesc string `json:"sub_b_type_desc"`
	// 具体某个小程序的ID
	AppId int64 `json:"app_id"`
	// 【支付类型】 0、货到付款 1 、微信 2、支付宝 3、小程序 4、银行卡 5、余额 7、无需支付(0元单) 8、DOU分期(信用支付) 9、新卡支付 12、先用后付
	PayType int64 `json:"pay_type"`
	// 支付渠道的流水号
	ChannelPaymentNo string `json:"channel_payment_no"`
	// 订单金额(单位:分)
	OrderAmount int64 `json:"order_amount"`
	// 支付金额(单位:分)
	PayAmount int64 `json:"pay_amount"`
	// 快递费(单位:分)
	PostAmount int64 `json:"post_amount"`
	// 运费险金额(单位:分)
	PostInsuranceAmount int64 `json:"post_insurance_amount"`
	// 改价金额变化量(单位:分)
	ModifyAmount int64 `json:"modify_amount"`
	// 改价运费金额变化量(单位:分)
	ModifyPostAmount int64 `json:"modify_post_amount"`
	// 订单优惠总金额(单位:分) = 店铺优惠金额 + 平台优惠金额 + 达人优惠金额
	PromotionAmount int64 `json:"promotion_amount"`
	// 店铺优惠金额(单位:分),属于店铺的优惠活动、优惠券、红包的总优惠金额
	PromotionShopAmount int64 `json:"promotion_shop_amount"`
	// 平台优惠金额(单位:分),属于平台的优惠活动、优惠券、红包的总优惠金额
	PromotionPlatformAmount int64 `json:"promotion_platform_amount"`
	// 商家承担金额(单位:分),订单参与活动和优惠中商家承担部分的总金额
	ShopCostAmount int64 `json:"shop_cost_amount"`
	// 平台承担金额(单位:分),订单参与活动和优惠中平台+作者(达人)承担部分的总金额,包含作者(达人)承担金额:platform_cost_amount = only_platform_cost_amount + author_cost_amount
	PlatformCostAmount int64 `json:"platform_cost_amount"`
	// 达人优惠金额(单位:分),属于达人的优惠活动、优惠券、红包的总优惠金额
	PromotionTalentAmount int64 `json:"promotion_talent_amount"`
	// 支付优惠金额(单位:分),支付渠道上的优惠金额
	PromotionPayAmount int64 `json:"promotion_pay_amount"`
	// 收件人电话
	PostTel string `json:"post_tel"`

	// 收件人姓名
	PostReceiver string `json:"post_receiver"`

	// 收件人地址
	PostAddr *PostAddr `json:"post_addr"`
	// 预计发货时间,时间戳,秒
	ExpShipTime int64 `json:"exp_ship_time"`
	// 发货时间,时间戳,秒
	ShipTime int64 `json:"ship_time"`
	// 物流信息
	LogisticsInfo []LogisticsInfoItem `json:"logistics_info"`
	// 优惠信息,用户下单过程中享受到的优惠
	PromotionDetail *PromotionDetail `json:"promotion_detail"`
	// 订单详情信息,一个主订单下有可以最大返回40个子订单
	SkuOrderList []SkuOrderListItem `json:"sku_order_list"`
	// 插旗信息:0:灰 1:紫 2: 青 3:绿 4: 橙 5: 红
	SellerRemarkStars int64 `json:"seller_remark_stars"`
	// 定金预售阶段单
	OrderPhaseList []OrderPhaseListItem `json:"order_phase_list"`
	// 加密用户ID串
	DoudianOpenId string `json:"doudian_open_id"`
	// 商品序列号(IMEI码或SN码)
	SerialNumberList []string `json:"serial_number_list"`
	// 红包优惠金额(单位:分)
	PromotionRedpackAmount int64 `json:"promotion_redpack_amount"`
	// 平台红包优惠金额(单位:分),属于平台的红包的优惠金额
	PromotionRedpackPlatformAmount int64 `json:"promotion_redpack_platform_amount"`
	// 达人红包优惠金额(单位:分),属于达人的红包的优惠金额
	PromotionRedpackTalentAmount int64 `json:"promotion_redpack_talent_amount"`
	// 用户证件信息
	UserIdInfo *UserIdInfo `json:"user_id_info"`
	// 预约发货时间
	AppointmentShipTime int64 `json:"appointment_ship_time"`
	// 懂车帝购车信息
	DCarShopBizData *DCarShopBizData `json:"d_car_shop_biz_data"`
	// 店铺单标签
	ShopOrderTagUi []ShopOrderTagUiItem `json:"shop_order_tag_ui"`
	// 总优惠金额(单位:分),total_promotion_amount = promotion_amount + post_promotion_amount
	TotalPromotionAmount int64 `json:"total_promotion_amount"`
	// 运费原价(单位:分),post_origin_amount = post_amount + post_promotion_amount
	PostOriginAmount int64 `json:"post_origin_amount"`
	// 运费优惠金额(单位:分)
	PostPromotionAmount int64 `json:"post_promotion_amount"`
	// 用户特征标签
	UserTagUi []UserTagUiItem `json:"user_tag_ui"`
	// 作者(达人)承担金额(单位:分),订单参与活动和优惠中作者(达人)承担部分的总金额
	AuthorCostAmount int64 `json:"author_cost_amount"`
	// 仅平台承担金额(单位:分),订单参与活动和优惠中平台承担部分的总金额
	OnlyPlatformCostAmount int64 `json:"only_platform_cost_amount"`
	// 履约时效信息(json串)
	PromiseInfo string `json:"promise_info"`
	// 收件人姓名(脱敏后)
	MaskPostReceiver string `json:"mask_post_receiver"`
	// 收件人电话(脱敏后)
	MaskPostTel string `json:"mask_post_tel"`
	// 收件人地址(脱敏后)
	MaskPostAddr *MaskPostAddr `json:"mask_post_addr"`
	// 买家收货地址经纬度信息,高德坐标系;仅小时达业务返回。
	UserCoordinate *UserCoordinate `json:"user_coordinate"`
	// 预计最早送达时间,Unix时间戳:秒;仅小时达业务返回
	EarliestReceiptTime int64 `json:"earliest_receipt_time"`
	// 预计最晚送达时间,Unix时间戳:秒;仅小时达业务返回
	LatestReceiptTime int64 `json:"latest_receipt_time"`
	// 是否尽快送达,true-是;false-否;仅小时达业务返回
	EarlyArrival bool `json:"early_arrival"`
	// 尽快送达的时间点,Unix时间戳:秒;仅小时达业务返回
	TargetArrivalTime int64 `json:"target_arrival_time"`
	// 打包费,单位:分;
	PackingAmount int64 `json:"packing_amount"`
	// 门店流水号;仅小时达业务返回
	SupermarketOrderSerialNo string `json:"supermarket_order_serial_no"`
	// 税费(子单税费之和)
	TaxAmount int64 `json:"tax_amount"`
	// 地址标签列表
	AddressTagUi []AddressTagUiItem `json:"address_tag_ui"`
	// contains filtered or unexported fields
}

type ShopOrderTagUiItem

type ShopOrderTagUiItem struct {
	// 标签key
	Key string `json:"key"`
	// 标签名称
	Text string `json:"text"`
	// 帮助文档
	HelpDoc string `json:"help_doc"`
}

type SkuCustomizationInfoItem

type SkuCustomizationInfoItem struct {
	// 定制详情
	Detail *Detail `json:"detail"`
}

type SkuOrderListItem

type SkuOrderListItem struct {
	// 店铺子订单号,抖店平台生成,平台下唯一;注意:一笔订单下有一个子订单和父订单单号相同。
	OrderId string `json:"order_id"`
	// 店铺父订单号,抖店平台生成,平台下唯一;
	ParentOrderId string `json:"parent_order_id"`
	// 订单层级
	OrderLevel int64 `json:"order_level"`
	// 【业务来源】 1、鲁班 2、小店 3、好好学习 4、ev 5、虚拟 6、建站 7、核销 8、玉石 9、ez 10、ep 11、虚拟卡券 12、服务市场 13、EP视频课 14、EP直播课 21、跨境BBC 22、跨境BC 23、跨境CC,UPC 24、手机充值 25、拍卖保证金 26、懂车帝抵扣券 27、懂车帝返现券 28、离岛免税 29、海南会员购 30、抽奖 32、dou+券 76、大闸蟹 99、保险 102、小店海外
	Biz int64 `json:"biz"`
	// 业务来源描述
	BizDesc string `json:"biz_desc"`
	// 【订单类型】 0、普通订单 2、虚拟商品订单 4、电子券(poi核销) 5、三方核销
	OrderType int64 `json:"order_type"`
	// 订单类型描述
	OrderTypeDesc string `json:"order_type_desc"`
	// 交易类型:0-普通;1-拼团;2-定金预售;3-订金找货;4-拍卖;5-0元单;6-回收;7-寄卖;10-寄样;11-0元抽奖(超级福袋);12-达人买样;13-普通定制;16-大众竞拍;18-小时达;102-定金预售的赠品单;103-收款;
	TradeType int64 `json:"trade_type"`
	// 交易类型描述
	TradeTypeDesc string `json:"trade_type_desc"`
	// 订单状态
	OrderStatus int64 `json:"order_status"`
	// 订单状态描述
	OrderStatusDesc string `json:"order_status_desc"`
	// 主流程状态
	MainStatus int64 `json:"main_status"`
	// 主流程状态描述
	MainStatusDesc string `json:"main_status_desc"`
	// 支付时间,时间戳,秒
	PayTime int64 `json:"pay_time"`
	// 订单过期时间,时间戳,秒
	OrderExpireTime int64 `json:"order_expire_time"`
	// 订单完成时间,时间戳,秒
	FinishTime int64 `json:"finish_time"`
	// 下单时间,时间戳,秒
	CreateTime int64 `json:"create_time"`
	// 订单更新时间,时间戳,秒
	UpdateTime int64 `json:"update_time"`
	// 取消原因
	CancelReason string `json:"cancel_reason"`
	// 【下单端】 0、站外 1、火山 2、抖音 3、头条 4、西瓜 5、微信 6、值点app 7、头条lite 8、懂车帝 9、皮皮虾 11、抖音极速版 12、TikTok 13、musically 14、穿山甲 15、火山极速版 16、服务市场 26、番茄小说 27、UG教育营销电商平台 28、Jumanji 29、电商SDK
	BType int64 `json:"b_type"`
	// 下单端描述
	BTypeDesc string `json:"b_type_desc"`
	// 【下单场景】 0、未知 1、app内-原生 2、app内-小程序 3、H5 13、电商SDK-头条 35、电商SDK-头条lite
	SubBType int64 `json:"sub_b_type"`
	// 下单场景描述
	SubBTypeDesc string `json:"sub_b_type_desc"`
	// 已废弃,不推荐使用。流量来源:1-鲁班广告 2-联盟 3-商城 4-自主经营 5-线索通支付表单 6-抖音门店 7-抖+ 8-穿山甲
	SendPay int64 `json:"send_pay"`
	// 已废弃,不推荐使用。流量来源描述
	SendPayDesc string `json:"send_pay_desc"`
	// 直播主播id(达人);仅直播间和橱窗产生的订单会有值返回;
	AuthorId int64 `json:"author_id"`
	// 直播主播名称;仅直播间和橱窗产生的订单会有值返回
	AuthorName string `json:"author_name"`
	// 【下单来源】 0、其他 1、直播间(废弃)
	ThemeType string `json:"theme_type"`
	// 下单来源描述(废弃)
	ThemeTypeDesc string `json:"theme_type_desc"`
	// 具体某个小程序的ID
	AppId int64 `json:"app_id"`
	// 直播间id,有值则代表订单来自直播间
	RoomId int64 `json:"room_id"`
	// 内容id。(该字段无实际意义,已废弃)
	ContentId string `json:"content_id"`
	// 视频id,有值则代表订单来自短视频
	VideoId string `json:"video_id"`
	// 已废弃,流量来源id
	OriginId string `json:"origin_id"`
	// 已废弃,广告id
	Cid int64 `json:"cid"`
	// 【C端流量来源】 0、unknown  2、精选联盟  8、小店自卖
	CBiz int64 `json:"c_biz"`
	// C端流量来源业务类型描述
	CBizDesc string `json:"c_biz_desc"`
	// 鲁班广告落地页ID
	PageId int64 `json:"page_id"`
	// 【支付类型】 0、货到付款 1 、微信 2、支付宝 3、小程序 4、银行卡 5、余额 7、无需支付(0元单) 8、DOU分期(信用支付) 9、新卡支付
	PayType int64 `json:"pay_type"`
	// 支付渠道的流水号
	ChannelPaymentNo string `json:"channel_payment_no"`
	// 订单金额(单位:分)
	OrderAmount int64 `json:"order_amount"`
	// 支付金额(单位:分)
	PayAmount int64 `json:"pay_amount"`
	// 运费险金额(单位:分)
	PostInsuranceAmount int64 `json:"post_insurance_amount"`
	// 改价金额变化量(单位:分)
	ModifyAmount int64 `json:"modify_amount"`
	// 改价运费金额变化量(单位:分)
	ModifyPostAmount int64 `json:"modify_post_amount"`
	// 订单优惠总金额(单位:分) = 店铺优惠金额 + 平台优惠金额 + 达人优惠金额
	PromotionAmount int64 `json:"promotion_amount"`
	// 店铺优惠金额(单位:分),属于店铺的优惠活动、优惠券、红包的总优惠金额
	PromotionShopAmount int64 `json:"promotion_shop_amount"`
	// 平台优惠金额(单位:分),属于平台的优惠活动、优惠券、红包的总优惠金额
	PromotionPlatformAmount int64 `json:"promotion_platform_amount"`
	// 商家承担金额(单位:分),订单参与活动和优惠中商家承担部分的总金额
	ShopCostAmount int64 `json:"shop_cost_amount"`
	// 平台承担金额(单位:分),订单参与活动和优惠中平台+作者(达人)承担部分的总金额,包含作者(达人)承担金额:platform_cost_amount = only_platform_cost_amount + author_cost_amount
	PlatformCostAmount int64 `json:"platform_cost_amount"`
	// 达人优惠金额(单位:分),属于达人的优惠活动、优惠券、红包的总优惠金额
	PromotionTalentAmount int64 `json:"promotion_talent_amount"`
	// 支付优惠金额(单位:分),支付渠道上的优惠金额
	PromotionPayAmount int64 `json:"promotion_pay_amount"`
	// 商家后台商品编码
	Code string `json:"code"`
	// 收件人电话
	PostTel string `json:"post_tel"`

	// 收件人姓名
	PostReceiver string `json:"post_receiver"`

	// 收件人地址
	PostAddr *PostAddr `json:"post_addr"`
	// 预计发货时间
	ExpShipTime int64 `json:"exp_ship_time"`
	// 发货时间
	ShipTime int64 `json:"ship_time"`
	// 物流收货时间
	LogisticsReceiptTime int64 `json:"logistics_receipt_time"`
	// 用户确认收货时间
	ConfirmReceiptTime int64 `json:"confirm_receipt_time"`
	// 【商品类型】 0、实体 1、虚拟
	GoodsType int64 `json:"goods_type"`
	// 商品ID
	ProductId int64 `json:"product_id"`
	// 商品skuId
	SkuId int64 `json:"sku_id"`
	// 规格信息
	Spec []SpecItem `json:"spec"`
	// 一级类目
	FirstCid int64 `json:"first_cid"`
	// 二级类目
	SecondCid int64 `json:"second_cid"`
	// 三级类目
	ThirdCid int64 `json:"third_cid"`
	// 四级类目
	FourthCid int64 `json:"fourth_cid"`
	// 外部Skuid
	OutSkuId string `json:"out_sku_id"`
	// sku外部供应商编码
	SupplierId string `json:"supplier_id"`
	// 商品外部编码
	OutProductId string `json:"out_product_id"`
	// 仓id,废弃,使用inventory_list
	WarehouseIds []string `json:"warehouse_ids"`
	// 外部仓id,废弃,使用inventory_list
	OutWarehouseIds []string `json:"out_warehouse_ids"`
	// 库存类型,普通库存/区域库存,废弃,使用inventory_list
	InventoryType string `json:"inventory_type"`
	// 库存类型描述,废弃,使用inventory_list
	InventoryTypeDesc string `json:"inventory_type_desc"`
	// 【库存扣减方式】 1、下单减库存 2、支付减库存
	ReduceStockType int64 `json:"reduce_stock_type"`
	// 库存扣减方式名称
	ReduceStockTypeDesc string `json:"reduce_stock_type_desc"`
	// 商品现价(单位:分)
	OriginAmount int64 `json:"origin_amount"`
	// 是否包税
	HasTax bool `json:"has_tax"`
	// 订单商品数量
	ItemNum int64 `json:"item_num"`
	// 商品现价*件数
	SumAmount int64 `json:"sum_amount"`
	// 商品来源平台
	SourcePlatform string `json:"source_platform"`
	// 优惠信息
	PromotionDetail *PromotionDetail `json:"promotion_detail"`
	// 活动信息,其中活动金额会体现到商品价格中(比如商品原价是100元,参加活动优惠20元,那商品现价就为80元)
	CampaignInfo []CampaignInfoItem `json:"campaign_info"`
	// 商品单标签
	SkuOrderTagUi []SkuOrderTagUiItem `json:"sku_order_tag_ui"`
	// 商品图片
	ProductPic string `json:"product_pic"`
	// 是否评价 :1已评价,0未评价,2 表示追评
	IsComment int64 `json:"is_comment"`
	// 商品名称
	ProductName string `json:"product_name"`
	// 仓库信息
	InventoryList []InventoryListItem `json:"inventory_list"`
	// 运费(单位:分)
	PostAmount int64 `json:"post_amount"`
	// 预售类型 ,0 现货类型,1 全款预售 2 阶梯发货
	PreSaleType int64 `json:"pre_sale_type"`
	// 售后信息
	AfterSaleInfo *AfterSaleInfo `json:"after_sale_info"`
	// 核销信息
	WriteoffInfo []WriteoffInfoItem `json:"writeoff_info"`
	// 关联订单
	RelationOrder *RelationOrder `json:"relation_order"`
	// 红包优惠金额(单位:分)
	PromotionRedpackAmount int64 `json:"promotion_redpack_amount"`
	// 平台红包优惠金额(单位:分),属于平台的红包的优惠金额
	PromotionRedpackPlatformAmount int64 `json:"promotion_redpack_platform_amount"`
	// 达人红包优惠金额(单位:分),属于达人的红包的优惠金额
	PromotionRedpackTalentAmount int64 `json:"promotion_redpack_talent_amount"`
	// 1:邮寄,2:自提
	ReceiveType int64 `json:"receive_type"`
	// 是否需要上传序列号,用于判断发货时是否需要上传商品序列号(IMEI码或SN码),true 表示是3C数码商品,需要上传序列号
	NeedSerialNumber bool `json:"need_serial_number"`
	// 广告来源,video: 短视频  live:直播
	AdEnvType string `json:"ad_env_type"`
	// 商品ID,字符串类型
	ProductIdStr string `json:"product_id_str"`
	// 预约发货时间
	AppointmentShipTime int64 `json:"appointment_ship_time"`
	// 直播房间ID,字符串类型
	RoomIdStr string `json:"room_id_str"`
	// 绑定类型  MASTER-主品单  FREE-免费赠品
	GivenProductType string `json:"given_product_type"`
	// 废弃,使用master_sku_order_id_list;绑定的主品sku单单号 如果given_product_type=FREE 则master_sku_order_id为主品sku单单号
	MasterSkuOrderId string `json:"master_sku_order_id"`
	// 商品卡券基本信息
	CardVoucher *CardVoucher `json:"card_voucher"`
	// 组套商品子商品列表
	BundleSkuInfo []BundleSkuInfoItem `json:"bundle_sku_info"`
	// 当order_type=2,order_type_desc为虚拟订单时该参数会返回信息
	AccountList *AccountList `json:"account_list"`
	// 定制商品信息
	SkuCustomizationInfo []SkuCustomizationInfoItem `json:"sku_customization_info"`
	// 是否是补贴品订单
	IsActivity bool `json:"is_activity"`
	// 作者(达人)承担金额(单位:分),订单参与活动和优惠中作者(达人)承担部分的总金额
	AuthorCostAmount int64 `json:"author_cost_amount"`
	// 仅平台承担金额(单位:分),订单参与活动和优惠中平台承担部分的总金额
	OnlyPlatformCostAmount int64 `json:"only_platform_cost_amount"`
	// 履约时效信息(json串)
	PromiseInfo string `json:"promise_info"`
	// 门店信息
	StoreInfo *StoreInfo `json:"store_info"`
	// 收件人姓名(脱敏后)
	MaskPostReceiver string `json:"mask_post_receiver"`
	// 收件人电话(脱敏后)
	MaskPostTel string `json:"mask_post_tel"`
	// 收件人地址(脱敏后)
	MaskPostAddr *MaskPostAddr `json:"mask_post_addr"`
	// 合约信息
	ContractInfo *ContractInfo `json:"contract_info"`
	// 绑定的主品sku单单号 如果given_product_type=FREE 则master_sku_order_id_list为主品sku单单号
	MasterSkuOrderIdList []string `json:"master_sku_order_id_list"`
	// 赠品活动信息
	GivenProductActivityInfo *GivenProductActivityInfo `json:"given_product_activity_info"`
	// 质检信息
	QualityCheckInfo *QualityCheckInfo `json:"quality_check_info"`
	// sku云仓择仓信息(云仓业务使用,非商品区域仓功能使用)
	SkuYunWarehouseInfo []SkuYunWarehouseInfoItem `json:"sku_yun_warehouse_info"`
	// 税费
	TaxAmount int64 `json:"tax_amount"`
	// contains filtered or unexported fields
}

type SkuOrderTagUiItem

type SkuOrderTagUiItem struct {
	// 标签key
	Key string `json:"key"`
	// 标签文案
	Text string `json:"text"`
	// 标签备注文案
	HoverText string `json:"hover_text"`
	// 标签类型,如颜色
	TagType string `json:"tag_type"`
	// 帮助文档
	HelpDoc string `json:"help_doc"`
	// 排序
	Sort int64 `json:"sort"`
	// 标签其他信息
	Extra string `json:"extra"`
}

type SkuSpecsItem

type SkuSpecsItem struct {
	// 规格名称
	Name string `json:"name"`
	// 规格值
	Value string `json:"value"`
}

type SkuYunWarehouseInfoItem

type SkuYunWarehouseInfoItem struct {
	// 预分配云仓信息
	PreAllocatedYunWarehouseInfo *PreAllocatedYunWarehouseInfo `json:"pre_allocated_yun_warehouse_info"`
	// 云仓实仓信息
	RealYunWarehouseInfo *RealYunWarehouseInfo `json:"real_yun_warehouse_info"`
	// 当前业务阶段 1-未分配 2-已分配未发货 2-已发货
	CurrentBusinessStage int64 `json:"current_business_stage"`
	// 该仓对应的skuId
	SkuId string `json:"sku_id"`
	// sku数量
	SkuCount int64 `json:"sku_count"`
}

type SpecItem

type SpecItem struct {
	// 规格名称
	Name string `json:"name"`
	// 规格值
	Value string `json:"value"`
}

type StoreAddress

type StoreAddress struct {
	// 省
	Province *Province `json:"province"`
	// 市
	City *City `json:"city"`
	// 县/区
	Town *Town `json:"town"`
	// 街道
	Street *Street `json:"street"`
	// 详细信息
	Detail string `json:"detail"`
}

type StoreInfo

type StoreInfo struct {
	// 门店id
	StoreId string `json:"store_id"`
	// 门店名称
	StoreName string `json:"store_name"`
	// 门店电话
	StoreTel string `json:"store_tel"`
	// 门店地址
	StoreAddress *StoreAddress `json:"store_address"`
	// 扩展字段
	Extra string `json:"extra"`
}

type Street

type Street struct {
	// 名称
	Name string `json:"name"`
	// 地区ID
	Id string `json:"id"`
}

type TextItem

type TextItem struct {
	// id
	Id int64 `json:"id"`
	// key
	Key string `json:"key"`
	// content
	Content string `json:"content"`
}

type Town

type Town struct {
	// 名称
	Name string `json:"name"`
	// 地区ID
	Id string `json:"id"`
}

type UserCoordinate

type UserCoordinate struct {
	// 买家收货地址经度信息,高德坐标系;
	UserCoordinateLongitude string `json:"user_coordinate_longitude"`
	// 买家收货地址纬度信息,高德坐标系;
	UserCoordinateLatitude string `json:"user_coordinate_latitude"`
}

type UserIdInfo

type UserIdInfo struct {
	// 证件号
	IdCardNo string `json:"id_card_no"`

	// 证件姓名
	IdCardName string `json:"id_card_name"`
	// contains filtered or unexported fields
}

type UserTagUiItem

type UserTagUiItem struct {
	// 标签key
	Key string `json:"key"`
	// 标签名称
	Text string `json:"text"`
}

type WriteoffInfoItem

type WriteoffInfoItem struct {
	// 核销券码
	WriteoffNo string `json:"writeoff_no"`
	// 核销有效开始时间
	WriteoffStartTime int64 `json:"writeoff_start_time"`
	// 核销过期时间
	WriteoffExpireTime int64 `json:"writeoff_expire_time"`
	// 核销状态
	WriteoffStatus int64 `json:"writeoff_status"`
	// 核销状态文案
	WriteoffStatusDesc string `json:"writeoff_status_desc"`
	// 核销店铺订单id
	VerifyOrderId string `json:"verify_order_id"`
	// 脱敏核销券码
	WriteoffNoMask string `json:"writeoff_no_mask"`
	// 已核销次数
	WrittenoffCount int64 `json:"writtenoff_count"`
	// 总核销次数
	WriteoffTotalCount int64 `json:"writeoff_total_count"`
}

Jump to

Keyboard shortcuts

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