model

package
v0.0.0-...-81872ad Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction

type Transaction struct {

	// date of the transaction
	Date time.Time

	// postingText describes the contents of this transaction
	PostingText string

	// reference code allows to uniquely identify the reason of this transaction
	Reference string

	// parnter describes the other party (creditor/debitor) for this transaction
	Partner string

	// amount of minor units this transaction contains
	Amount int

	// currency of the amount in ISO three letter notation
	Currency string
}

Transaction models a single payment done from or to the user's account.

Jump to

Keyboard shortcuts

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