Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtMap ¶
type ExtMap struct { /** * title背景颜色 */ OrderPageTitleBgColor string `json:"orderPageTitleBgColor"` /** * 按钮图案 */ ButtonImg string `json:"buttonImg"` /** * 订单图标 */ OrderIcon string `json:"orderIcon"` /** * 订单页面标题颜色 */ OrderPageTitleColor string `json:"orderPageTitleColor"` /** * 权益token */ RightDisToken string `json:"rightDisToken"` /** * 提示内容 */ TipsContent string `json:"tipsContent"` /** * 活动ID */ ActivityId string `json:"activityId"` /** * 提示注释 */ TipsComment string `json:"tipsComment"` /** * 提示颜色 */ TipsColor string `json:"tipsColor"` /** * 权益类型code */ RightTypeCode string `json:"rightTypeCode"` /** * 提示背景颜色 */ TipsBgColor string `json:"tipsBgColor"` /** * 提示图标 */ TipsIcon string `json:"tipsIcon"` /** * 费用详细信息 */ FeeDetails []FeeDetail `json:"feeDetails"` }
type FeeDetail ¶
type FeeDetail struct { /** * 抵扣金额 */ DiscountValue int32 `json:"discountValue"` /** * 费用项类型 */ FeeType string `json:"feeType"` /** * 费用项价值 */ FeeValue int32 `json:"feeValue"` /** * 设置抵扣金额 */ SetDiscountValue bool `json:"setDiscountValue"` /** * 设置费用类型 */ SetFeeType bool `json:"setFeeType"` /** * 设置费用值 */ SetFeeValue bool `json:"setFeeValue"` }
type RightsDetail ¶
type WmUserTaskBMLDetail ¶
type ZbLogisticsPreviewData ¶
type ZbLogisticsPreviewData struct { /** * 订单id */ WmOrderId int64 `json:"wm_order_id"` /** * 配送费(基础+临时) */ ShippingFee float64 `json:"shipping_fee"` /** * 配送费备注,浮动价格XX元 */ ShippingTips string `json:"shipping_tips"` /** * 实付金额(基础-优惠-活动+临时加价+小费) */ PayAmount float64 `json:"pay_amount"` /** * 配送费优惠券id */ CouponViewId string `json:"coupon_view_id"` /** * 优惠券名称 */ CouponName string `json:"coupon_name"` /** * 优惠券金额 */ CouponAmount float64 `json:"coupon_amount"` /** * 配送距离 */ Distance int32 `json:"distance"` CouponSource int64 `json:"coupon_source"` ReduceDetail WmUserTaskBMLDetail `json:"reduce_detail"` /** * 跑腿溢价权益列表 请求参数recommendRights传true返回 */ RightsDetailList []RightsDetail `json:"rights_detail_list"` }
type ZbLogisticsPreviewRequest ¶
type ZbLogisticsPreviewRequest struct { /** * 订单ID */ OrderId int64 `json:"orderId"` /** * 跑腿配送服务品牌 1003-美团跑腿经济送;2011-美团跑腿蛋糕送。 */ LogisticsCode string `json:"logisticsCode"` /** * 当传递true时会返回对应可使用的权益列表。 */ RecommendRights bool `json:"recommendRights"` }
func (*ZbLogisticsPreviewRequest) DoInvoke ¶
func (req *ZbLogisticsPreviewRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*ZbLogisticsPreviewResponse, error)
type ZbLogisticsPreviewResponse ¶
type ZbLogisticsPreviewResponse struct { Code string `json:"code"` Msg string `json:"msg"` Data ZbLogisticsPreviewData `json:"data"` TraceId string `json:"traceId"` }
func (*ZbLogisticsPreviewResponse) IsSuccess ¶
func (response *ZbLogisticsPreviewResponse) IsSuccess() bool
Click to show internal directories.
Click to hide internal directories.