package superm_getShipmentInfo_response

import doudian_sdk "git.rosy.net.cn/baseapi/platformapi/tiktok_shop/sdk-golang/core"

type SupermGetShipmentInfoResponse struct {
	doudian_sdk.BaseDoudianOpApiResponse
	Data *SupermGetShipmentInfoData `json:"data"`
}

//配送状态： CALLING = 1 // 骑手呼叫中 RECEIVED = 2 //骑手已接单 ARRIVED = 3 //骑手已到取货点 PICKUPPED = 4 //骑手已取货 DELIVERING= 5 //骑手配送中 REJECTED = 6 //收货人已拒收 RETURNING = 7 //返回中 RETURNED = 8 //返回完成 DELIVERED = 9 //订单妥投
type ShipmentInfo struct {
	ShopOrderID    int64  `json:"shop_order_id"`   //交易单号
	AfterSaleID    int64  `json:"aftersale_id"`    //售后单号
	TrackNo        string `json:"track_no"`        //运单号
	ShopID         int64  `json:"shop_id"`         //店铺ID
	ShipmentStatus int64  `json:"shipment_status"` //运单状态
	ShipmentError  int64  `json:"shipment_error"`  //异常状态
	RiderName      string `json:"rider_name"`      //骑手名称
	RiderPhone     string `json:"rider_phone"`     //骑手电话
	RiderLongitude string `json:"rider_longitude"` //骑手经度
	RiderLatitude  string `json:"rider_latitude"`  //骑手纬度
	OccurredTime   string `json:"occurred_time"`   //当前状态变更时间
}
type SupermGetShipmentInfoData struct {
	ShipmentInfo *ShipmentInfo `json:"shipment_info"`
}
