File: business_transaction.go

package info (click to toggle)
golang-github-mitch000001-go-hbci 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,468 kB
  • sloc: java: 1,092; makefile: 5
file content (15 lines) | stat: -rw-r--r-- 360 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package domain

// Amount represents a value associated with a currency
type Amount struct {
	Amount   float64
	Currency string
}

// BusinessTransaction provides information about a transaction and whether
// there is a signature needed or not
type BusinessTransaction struct {
	ID               string
	NeededSignatures int
	Limit            *AccountLimit
}