waimaisaveboxpricetypeanddetail

package
v0.0.0-...-905ac7b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

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 BoxPriceRulesVo struct {
	/**
	 *  阶梯最高价(最后一个阶梯的最高价用-1标识正无穷)
	 */
	EndPrice float32 `json:"endPrice"`
	/**
	 *  该阶梯内的打包费
	 */
	LadderPrice float32 `json:"ladderPrice"`
	/**
	 *  阶梯起始价(1.后一个阶梯的起始价需要和前一个阶梯的最高价相同; 2.第一个阶梯起始价必须为0)
	 */
	StartPrice float32 `json:"startPrice"`
}

type WaimaiSaveBoxPriceTypeAndDetailRequest

type WaimaiSaveBoxPriceTypeAndDetailRequest struct {
	/**
	 *  打包费信息 (boxPriceType为0时该字段可不传)
	 */
	BoxPriceDetail BoxPriceDetail `json:"boxPriceDetail"`
	/**
	 *  打包费类型, 0为按商品收费, 1 为按订单收费, 2为按口袋收费
	 */
	BoxPriceType int32 `json:"boxPriceType"`
}

func (*WaimaiSaveBoxPriceTypeAndDetailRequest) DoInvoke

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

Jump to

Keyboard shortcuts

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