Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoxPriceDetail ¶
type BoxPriceDetail struct { /** * 打包费收取方式 1为按阶梯价格收费, 2为按一口价收费 */ BoxPriceRuleType int32 `json:"boxPriceRuleType"` /** * 一口价价格(boxPriceRulesVoList不为空时,该字段不传或传值为0) */ FixedPrice float32 `json:"fixedPrice"` /** * 阶梯规则 (1. 要求规则数量最少两条最多十条; 2. fixedPrice>0时,该字段不传或为空) */ BoxPriceRulesVoList []BoxPriceRulesVo `json:"boxPriceRulesVoList"` }
type BoxPriceRulesVo ¶
type WaimaiSaveBoxPriceTypeAndDetailRequest ¶
type WaimaiSaveBoxPriceTypeAndDetailRequest struct { /** * 打包费信息 (boxPriceType为0时该字段可不传) */ BoxPriceDetail BoxPriceDetail `json:"boxPriceDetail"` /** * 打包费类型, 0为按商品收费, 1 为按订单收费, 2为按口袋收费 */ BoxPriceType int32 `json:"boxPriceType"` }
func (*WaimaiSaveBoxPriceTypeAndDetailRequest) DoInvoke ¶
func (req *WaimaiSaveBoxPriceTypeAndDetailRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*WaimaiSaveBoxPriceTypeAndDetailResponse, error)
type WaimaiSaveBoxPriceTypeAndDetailResponse ¶
type WaimaiSaveBoxPriceTypeAndDetailResponse struct { Code string `json:"code"` Msg string `json:"msg"` Data string `json:"data"` TraceId string `json:"traceId"` }
func (*WaimaiSaveBoxPriceTypeAndDetailResponse) IsSuccess ¶
func (response *WaimaiSaveBoxPriceTypeAndDetailResponse) IsSuccess() bool
Click to show internal directories.
Click to hide internal directories.