Documentation
¶
Index ¶
Constants ¶
View Source
const (
// MaxResults is the maximum number of results from a paginated request
MaxResults = 50
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountMessage ¶ added in v0.4.0
type AccountMessage struct {
AccountID string `json:",omitempty"`
AccountName string `json:",omitempty"`
Message string
}
AccountMessage contains important information for an account
type AccountResponse ¶
type AccountResponse struct {
ID string
Account string
AccountType string
OpeningBalance *decimal.Decimal
Balances []decimal.Decimal
Institution string `json:",omitempty"`
}
AccountResponse contains details for an account's balance over time
type BalanceResponse ¶
type BalanceResponse struct {
Start, End *time.Time
OpeningBalanceDate *time.Time
Messages []AccountMessage
Accounts []AccountResponse
}
BalanceResponse is the response type for fetching account balances
Click to show internal directories.
Click to hide internal directories.