invoicerequest

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvoiceRequestRepository

type InvoiceRequestRepository interface {
	CreateInvoiceRequest(ctx context.Context, arg db.CreateInvoiceRequestParams) (db.InvoiceRequest, error)
	DeleteInvoiceRequest(ctx context.Context, id int64) error
	GetInvoiceRequest(ctx context.Context, id int64) (db.InvoiceRequest, error)
	GetUnsettledInvoiceRequest(ctx context.Context, arg db.GetUnsettledInvoiceRequestParams) (db.InvoiceRequest, error)
	ListInvoiceRequestsByPromotionCodeAndSessionID(ctx context.Context, arg db.ListInvoiceRequestsByPromotionCodeAndSessionIDParams) ([]db.InvoiceRequest, error)
	ListInvoiceRequestsBySessionID(ctx context.Context, sessionID sql.NullInt64) ([]db.InvoiceRequest, error)
	ListUnsettledInvoiceRequests(ctx context.Context, userID int64) ([]db.InvoiceRequest, error)
	UpdateInvoiceRequest(ctx context.Context, arg db.UpdateInvoiceRequestParams) (db.InvoiceRequest, error)
}

func NewRepository

func NewRepository(repositoryService *db.RepositoryService) InvoiceRequestRepository

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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