transfer

package
v0.0.0-...-6c4cad4 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Persister

type Persister interface {
	PersistAll(ts []*Transfer) error
}

type Transfer

type Transfer struct {
	ID     uuid.UUID
	From   *bank.Account
	To     *bank.Account
	Amount mm.Value
	Date   time.Time
}

func NewTransfer

func NewTransfer(From, To *bank.Account, amount float64, date time.Time) *Transfer

Jump to

Keyboard shortcuts

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