getcouponpriceinfo

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 GetCouponPriceInfoRequest

type GetCouponPriceInfoRequest struct {
	/**
	 *  要验证的美团券密码、二维码
	 */
	Code string `json:"code"`
}

func (*GetCouponPriceInfoRequest) DoInvoke

type GetCouponPriceInfoResponse

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

func (*GetCouponPriceInfoResponse) IsSuccess

func (response *GetCouponPriceInfoResponse) IsSuccess() bool

type GetCouponPriceResp

type GetCouponPriceResp struct {
	/**
	 * 团购券售卖价。用户交易成功时,商家开店宝设置的团购促销前的购买价格,单位:分
	 */
	SalePrice int64 `json:"salePrice"`
	/**
	 * 团购券面值或门市价。用户交易成功时,商家开店宝设置的团购券面值,单位:分
	 */
	OriginalPrice int64 `json:"originalPrice"`
	/**
	 * 交易时间,即团购券交易成功时间,秒级
	 */
	BuyTime int64 `json:"buyTime"`
}

Jump to

Keyboard shortcuts

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