invoice

package
v0.0.0-...-d081b09 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Invoice

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

Invoice struct that implement the interface domain.invoice.Storage

func New

func New(db *pgxpool.Pool) Invoice

New returns a new Invoice storage

func (Invoice) Create

func (i Invoice) Create(m *model.Invoice, ms model.InvoiceDetails) error

Create creates a model.Invoice

func (Invoice) CreateDetailsBulk

func (i Invoice) CreateDetailsBulk(tx pgx.Tx, details model.InvoiceDetails) error

Jump to

Keyboard shortcuts

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