Documentation ¶
Index ¶
- type ListInvoicesFilter
- type Model
- type Storage
- func (s *Storage) CreateInvoice(ctx context.Context, invoice *models.Invoice) (*models.Invoice, error)
- func (s *Storage) CreateInvoiceOutbox(ctx context.Context, invoice *models.Invoice) (*models.InvoiceOutbox, error)
- func (s *Storage) DeleteInvoicesOutbox(ctx context.Context, ids []int) error
- func (s *Storage) ListInvoices(ctx context.Context, filter ListInvoicesFilter) ([]*models.Invoice, error)
- func (s *Storage) ListInvoicesOutbox(ctx context.Context, limit uint64) ([]*models.InvoiceOutbox, error)
- func (s *Storage) UpdateInvoice(ctx context.Context, invoice *models.Invoice) (*models.Invoice, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListInvoicesFilter ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) CreateInvoice ¶
func (*Storage) CreateInvoiceOutbox ¶
func (*Storage) DeleteInvoicesOutbox ¶
func (*Storage) ListInvoices ¶
func (*Storage) ListInvoicesOutbox ¶
Click to show internal directories.
Click to hide internal directories.