sendfansgroupcoupon

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 SendCouponMsg

type SendCouponMsg struct {
	/**
	 * 券配置ID
	 */
	CouponConfigId string `json:"couponConfigId"`
}

type SendFansGroupCouponRequest

type SendFansGroupCouponRequest struct {
	/**
	 *  群ID 偏移
	 */
	GroupId int64 `json:"groupId"`
	/**
	 *  券领取后有效期,单位秒
	 */
	ValidTime int32 `json:"validTime"`
	/**
	 *  门槛 满减券必传
	 */
	LimitPrice int32 `json:"limitPrice"`
	/**
	 *  满减券优惠金额, 满减金额需要在使用门槛的3-50% 满减券必传
	 */
	Price int32 `json:"price"`
	/**
	 *  三方商品ID 商品券必传
	 */
	AppFoodCode string `json:"app_food_code"`
	/**
	 *  商品折扣,0到98,98代表0.98折 商品券必传
	 */
	Discount int32 `json:"discount"`
	/**
	 *  券数量,1到9999
	 */
	Count int32 `json:"count"`
	/**
	 *  券类型,1:门店满减券,2:商品券
	 */
	ActType int32 `json:"actType"`
	/**
	 *  活动有效期,秒
	 */
	ActivityValidTime int32 `json:"activityValidTime"`
	/**
	 *  商品ID 商品券(和app_food_code至少传一个
	 */
	SpuId int64 `json:"spuId"`
}

func (*SendFansGroupCouponRequest) DoInvoke

type SendFansGroupCouponResponse

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

func (*SendFansGroupCouponResponse) IsSuccess

func (response *SendFansGroupCouponResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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