coupon

package
v1.15.21 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package coupon implements the coupon management subdomain of the billing module. Only the module facade may reach it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(repo repository.CouponRepo) *Service

func (*Service) BatchDelete

func (s *Service) BatchDelete(ctx context.Context, req *dto.BatchDeleteCouponRequest) error

func (*Service) Create

func (s *Service) Create(ctx context.Context, req *dto.CreateCouponRequest) error

func (*Service) Delete

func (s *Service) Delete(ctx context.Context, req *dto.DeleteCouponRequest) error

func (*Service) List

func (*Service) Update

func (s *Service) Update(ctx context.Context, req *dto.UpdateCouponRequest) error

Jump to

Keyboard shortcuts

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