voucher

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandName           = "voucher"
	ClaimCommandName      = "claim"
	CreateOneCommandName  = "create-one"
	CreateBulkCommandName = "create-bulk"
	StatusCommandName     = "status"
	HelpCommandName       = "help"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkRecorder

type BulkRecorder struct {
	Recipient        string  `csv:"Recipient"`
	Email            string  `csv:"Email"`
	Amount           float64 `csv:"Amount"`
	ValidatedInMonth int     `csv:"Validated"`
	Description      string  `csv:"Description"`
}

type Voucher

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

func NewVoucher

func NewVoucher(db repository.IDatabase, wlt wallet.IWallet, cli client.IManager) *Voucher

func (*Voucher) GetCommand

func (v *Voucher) GetCommand() *command.Command

Jump to

Keyboard shortcuts

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