fee

package
v0.2.0-alpha-2 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

func NewRepository

func NewRepository(dbClient *gorm.DB) *Repository

func (Repository) Create

func (r Repository) Create(entity *entity.Fee) error

func (Repository) Get

func (r Repository) Get(id string) (*entity.Fee, error)

Returns Fee. Returns nil if not found

func (Repository) GetAllSubmittedIds

func (r Repository) GetAllSubmittedIds() ([]*entity.Fee, error)

func (Repository) UpdateStatusCompleted

func (r Repository) UpdateStatusCompleted(txId string) error

func (Repository) UpdateStatusFailed

func (r Repository) UpdateStatusFailed(txId string) error

Jump to

Keyboard shortcuts

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