tariffrestriction

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TariffRestrictionRepository

type TariffRestrictionRepository interface {
	CreateTariffRestriction(ctx context.Context, arg db.CreateTariffRestrictionParams) (db.TariffRestriction, error)
	DeleteTariffRestriction(ctx context.Context, tariffID int64) error
	GetTariffRestriction(ctx context.Context, id int64) (db.TariffRestriction, error)
	ListTariffRestrictionWeekdays(ctx context.Context, tariffRestrictionID int64) ([]db.Weekday, error)
	ListWeekdays(ctx context.Context) ([]db.Weekday, error)
	SetTariffRestrictionWeekday(ctx context.Context, arg db.SetTariffRestrictionWeekdayParams) error
	UnsetTariffRestrictionWeekdays(ctx context.Context, tariffRestrictionID int64) error
	UpdateTariffRestriction(ctx context.Context, arg db.UpdateTariffRestrictionParams) (db.TariffRestriction, error)
}

func NewRepository

func NewRepository(repositoryService *db.RepositoryService) TariffRestrictionRepository

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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