queryentercouponactivity

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 QueryEnterCouponActivity

type QueryEnterCouponActivity struct {
	/**
	 * 查询游标
	 */
	Index int64 `json:"index"`
	/**
	 * 是否还有记录
	 */
	HasMore bool `json:"hasMore"`
	/**
	 * 活动ID
	 */
	ActivityId int64 `json:"activityId"`
	/**
	 * 优惠券金额 单位元
	 */
	Price int32 `json:"price"`
	/**
	 * 优惠券门槛 单位元
	 */
	LimitPrice int32 `json:"limitPrice"`
	/**
	 * 有效性:-1无效,1有效
	 */
	Valid int32 `json:"valid"`
	/**
	 * 券有效期 7代表7天
	 */
	Validity int32 `json:"validity"`
	/**
	 * 券创建时间(秒)
	 */
	CTime int32 `json:"cTime"`
	/**
	 * 券结束时间,未结束为0(秒)
	 */
	EndTime int32 `json:"endTime"`
}

type QueryEnterCouponActivityRequest

type QueryEnterCouponActivityRequest struct {
	/**
	 *  查询游标,首次传0
	 */
	Index int64 `json:"index"`
	/**
	 *  查询个数,大于1
	 */
	Size int32 `json:"size"`
	/**
	 *  优化券状态 (有效 1 ,无效 -1)
	 */
	Status string `json:"status"`
}

func (*QueryEnterCouponActivityRequest) DoInvoke

type QueryEnterCouponActivityResponse

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

func (*QueryEnterCouponActivityResponse) IsSuccess

func (response *QueryEnterCouponActivityResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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