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 WmoperSaveBoxPriceTypeAndDetailRequest ¶
type WmoperSaveBoxPriceTypeAndDetailRequest struct { /** * 打包费信息(boxPriceType为0时该字段可不传) */ BoxPriceDetail BoxPriceDetail `json:"boxPriceDetail"` /** * 打包费类型, 0为按商品收费, 1 为按订单收费, 2为按口袋收费 */ BoxPriceType int32 `json:"boxPriceType"` }
func (*WmoperSaveBoxPriceTypeAndDetailRequest) DoInvoke ¶
func (req *WmoperSaveBoxPriceTypeAndDetailRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*WmoperSaveBoxPriceTypeAndDetailResponse, error)
type WmoperSaveBoxPriceTypeAndDetailResponse ¶
type WmoperSaveBoxPriceTypeAndDetailResponse struct { Code string `json:"code"` Msg string `json:"msg"` Data string `json:"data"` TraceId string `json:"traceId"` }
func (*WmoperSaveBoxPriceTypeAndDetailResponse) IsSuccess ¶
func (response *WmoperSaveBoxPriceTypeAndDetailResponse) IsSuccess() bool
Click to show internal directories.
Click to hide internal directories.