coupon

package
v1.2.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2026 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchDeleteCouponLogic

type BatchDeleteCouponLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewBatchDeleteCouponLogic

func NewBatchDeleteCouponLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeleteCouponLogic

Batch delete coupon

func (*BatchDeleteCouponLogic) BatchDeleteCoupon

func (l *BatchDeleteCouponLogic) BatchDeleteCoupon(req *types.BatchDeleteCouponRequest) error

type CreateCouponLogic

type CreateCouponLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewCreateCouponLogic

func NewCreateCouponLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateCouponLogic

Create coupon

func (*CreateCouponLogic) CreateCoupon

func (l *CreateCouponLogic) CreateCoupon(req *types.CreateCouponRequest) error

type DeleteCouponLogic

type DeleteCouponLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewDeleteCouponLogic

func NewDeleteCouponLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCouponLogic

Delete coupon

func (*DeleteCouponLogic) DeleteCoupon

func (l *DeleteCouponLogic) DeleteCoupon(req *types.DeleteCouponRequest) error

type GetCouponListLogic

type GetCouponListLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewGetCouponListLogic

func NewGetCouponListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCouponListLogic

Get coupon list

func (*GetCouponListLogic) GetCouponList

func (l *GetCouponListLogic) GetCouponList(req *types.GetCouponListRequest) (resp *types.GetCouponListResponse, err error)

type UpdateCouponLogic

type UpdateCouponLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewUpdateCouponLogic

func NewUpdateCouponLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCouponLogic

Update coupon

func (*UpdateCouponLogic) UpdateCoupon

func (l *UpdateCouponLogic) UpdateCoupon(req *types.UpdateCouponRequest) error

Jump to

Keyboard shortcuts

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