queryvendorpremium

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 MediaDTO

type MediaDTO struct {
	/**
	 * 图片资源
	 */
	Picture PictureDTO `json:"picture"`
}

type PictureDTO

type PictureDTO struct {
	/**
	 * 头像
	 */
	HeadPictureList []string `json:"headPictureList"`
	/**
	 * 描述图片
	 */
	DescriptionPictureList []string `json:"descriptionPictureList"`
	/**
	 * 背景图片
	 */
	BackgroundPictureList []string `json:"backgroundPictureList"`
}

type QueryVendorPremiumRequest

type QueryVendorPremiumRequest struct {
	/**
	 *  配料属性编码
	 */
	PremiumCode string `json:"premiumCode"`
}

func (*QueryVendorPremiumRequest) DoInvoke

type QueryVendorPremiumResponse

type QueryVendorPremiumResponse struct {
	Code    string     `json:"code"`
	Msg     string     `json:"msg"`
	Data    ResultData `json:"data"`
	TraceId string     `json:"traceId"`
}

func (*QueryVendorPremiumResponse) IsSuccess

func (response *QueryVendorPremiumResponse) IsSuccess() bool

type ResultData

type ResultData struct {
	/**
	 * 配料属性基本信息
	 */
	SpuPremiumBasic SpuPremiumBasicDTO `json:"spuPremiumBasic"`
	/**
	 * 只适用于星巴克品牌
	 */
	ChildPremiumCode string `json:"childPremiumCode"`
}

type SpuPremiumBasicDTO

type SpuPremiumBasicDTO struct {
	/**
	 * 配料编码
	 */
	PremiumCode string `json:"premiumCode"`
	/**
	 * 配料名称
	 */
	PremiumValue string `json:"premiumValue"`
	/**
	 * 排序
	 */
	Rank int32 `json:"rank"`
	/**
	 * 描述
	 */
	Description string `json:"description"`
	/**
	 * 媒介信息,配料暂不支持展示图片
	 */
	Media MediaDTO `json:"media"`
	/**
	 * 全国上下架状态 1:上架 0:下架
	 */
	ShelfStatus int32 `json:"shelfStatus"`
	/**
	 * 配料标签,该字段未实际投入使用,默认不填
	 */
	TagList []string `json:"tagList"`
	/**
	 * 单位,如“泵”
	 */
	Unit string `json:"unit"`
	/**
	 * 价格,单位分
	 */
	Price int64 `json:"price"`
	/**
	 * 会员价,单位分
	 */
	MemberPrice int64 `json:"memberPrice"`
	/**
	 * 是否可用会员积分抵扣
	 */
	UseMemberPoint bool `json:"useMemberPoint"`
	/**
	 * 配料类型 1:标准配料 2:特殊配料,目前只有【换购】是特殊配料 3:附加冷热配料 2、3 类型属于星巴克品牌特殊定制
	 */
	Type int32 `json:"type"`
	/**
	 * 星巴克品牌特殊定制,其他品牌不关注 附加冷热关联的售卖属性编码,如微热的 relatedSaleAttributeCode = 热的属性编码
	 */
	RelatedSaleAttributeCode string `json:"relatedSaleAttributeCode"`
}

Jump to

Keyboard shortcuts

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