querycouponbyid

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 QueryCouponByIdData

type QueryCouponByIdData struct {
	/**
	 * 团购券码购买价格
	 */
	CouponBuyPrice float64 `json:"couponBuyPrice"`
	/**
	 * 券码是否可撤销,表示可撤销,0表示不可撤销
	 */
	CouponCancelStatus int32 `json:"couponCancelStatus"`
	/**
	 * 券码
	 */
	CouponCode string `json:"couponCode"`
	/**
	 * 券状态
	 */
	CouponStatusDesc string `json:"couponStatusDesc"`
	/**
	 * 券码使用时间
	 */
	CouponUseTime string `json:"couponUseTime"`
	/**
	 * 项目开始时间
	 */
	DealBeginTime string `json:"dealBeginTime"`
	/**
	 * 项目id
	 */
	DealId int32 `json:"dealId"`
	/**
	 * 项目名称
	 */
	DealTitle string `json:"dealTitle"`
	/**
	 * 市场价
	 */
	DealValue float64 `json:"dealValue"`
	/**
	 * 是否代金券,代表代金券,false代表套餐券
	 */
	IsVoucher bool `json:"isVoucher"`
	/**
	 * 量贩项目的单张券原价(普通券单张券原价与项目总价相同)
	 */
	SingleValue float64 `json:"singleValue"`
	/**
	 * 验券帐号
	 */
	VerifyAcct string `json:"verifyAcct"`
	/**
	 * 验券方式
	 */
	VerifyType string `json:"verifyType"`
	/**
	 * 是否量贩:0:不是,1:是
	 */
	Volume int32 `json:"volume"`
}

type QueryCouponByIdRequest

type QueryCouponByIdRequest struct {
	/**
	 *  券码
	 */
	CouponCode string `json:"couponCode"`
}

func (*QueryCouponByIdRequest) DoInvoke

func (req *QueryCouponByIdRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*QueryCouponByIdResponse, error)

type QueryCouponByIdResponse

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

func (*QueryCouponByIdResponse) IsSuccess

func (response *QueryCouponByIdResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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