queryreceiptsbyreceiptids

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 BigDecimal

type BigDecimal struct {
}

type QueryReceiptsByIdResp

type QueryReceiptsByIdResp struct {
	/**
	 * 团购券查询状态
	 */
	Status ReceiptQueryStatusDTO `json:"status"`
	/**
	 * 团购券id
	 */
	ReceiptId int64 `json:"receiptId"`
	/**
	 * 团购券状态
	 */
	CouponStatus int32 `json:"couponStatus"`
	/**
	 * 使用时间
	 */
	CouponUseTime int64 `json:"couponUseTime"`
	/**
	 * 验证类型
	 */
	VerifyType string `json:"verifyType"`
	/**
	 * 项目id
	 */
	DealId int32 `json:"dealId"`
	/**
	 * 项目名称
	 */
	DealTitle string `json:"dealTitle"`
	/**
	 * 市场价
	 */
	DealValue float64 `json:"dealValue"`
	/**
	 * 项目价格
	 */
	DealPrice float64 `json:"dealPrice"`
	/**
	 * 是否代金券
	 */
	IsVoucher bool `json:"isVoucher"`
	/**
	 * 是否量贩
	 */
	Volume int32 `json:"volume"`
	/**
	 * 量贩项目的单张券原价
	 */
	SingleValue BigDecimal `json:"singleValue"`
	/**
	 * 团购券购买价格
	 */
	CouponBuyPrice float64 `json:"couponBuyPrice"`
	TotalBizReduce float64 `json:"totalBizReduce"`
	OldBiz         bool    `json:"oldBiz"`
	/**
	 * 团购券优惠
	 */
	ReceiptPromotions []ReceiptPromotionDTO `json:"receiptPromotions"`
}

type QueryReceiptsByReceiptIdsRequest

type QueryReceiptsByReceiptIdsRequest struct {
	DealId int32 `json:"dealId"`
	/**
	 *  逗号分割receiptId列表字符串
	 */
	ReceiptIds string `json:"receiptIds"`
}

func (*QueryReceiptsByReceiptIdsRequest) DoInvoke

type QueryReceiptsByReceiptIdsResponse

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

func (*QueryReceiptsByReceiptIdsResponse) IsSuccess

func (response *QueryReceiptsByReceiptIdsResponse) IsSuccess() bool

type ReceiptPromotionDTO

type ReceiptPromotionDTO struct {
	PromotionId       string `json:"promotionId"`
	ActivityProductId int32  `json:"activityProductId"`
	PromotionType     int32  `json:"promotionType"`
	BizReduce         string `json:"bizReduce"`
}

type ReceiptQueryStatusDTO

type ReceiptQueryStatusDTO struct {
	/**
	 * 状态码
	 */
	Code int32 `json:"code"`
	/**
	 * 状态描述
	 */
	Msg string `json:"msg"`
}

Jump to

Keyboard shortcuts

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