Documentation ¶
Index ¶
- type Account
- type ApnsLog
- type ApnsRegisterRequest
- type ApnsRequest
- type ApnsResponse
- type BankResponse
- type Category
- type CategoryRequest
- type Credential
- type CredentialsResponse
- type ExclusionResponse
- type ExpectedTransaction
- type ForeignCurrency
- type Invocation
- type InvocationsResponse
- type ProjectionsRequest
- type ProjectionsResponse
- type RegisterRequest
- type RegisterResponse
- type Sprint
- type SprintCategory
- type SprintsResponse
- type TimeseriesAccount
- type TimeseriesBalance
- type TimeseriesCategory
- type TimeseriesResponse
- type Total
- type Transaction
- type TransactionPatch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApnsRegisterRequest ¶
type ApnsRegisterRequest struct {
DeviceToken string `json:"device_token"`
}
type ApnsRequest ¶
type ApnsResponse ¶
type BankResponse ¶
type BankResponse struct { Transactions []Transaction `json:"transactions"` Accounts []Account `json:"accounts"` Holdings []ForeignCurrency `json:"holdings"` Totals []Total `json:"totals"` }
type CategoryRequest ¶
type CategoryRequest struct {
Categories []Category `json:"categories"`
}
type Credential ¶
type CredentialsResponse ¶
type CredentialsResponse struct {
Credentials []Credential `json:"credentials"`
}
type ExclusionResponse ¶
type ExclusionResponse struct {
Exclusions []Transaction `json:"exclusions"`
}
type ExpectedTransaction ¶
type ForeignCurrency ¶
type Invocation ¶
type InvocationsResponse ¶
type InvocationsResponse struct {
Invocations []Invocation `json:"invocations"`
}
type ProjectionsRequest ¶
type ProjectionsRequest struct {
ExpectedTransactions []ExpectedTransaction `json:"expected_transactions"`
}
type ProjectionsResponse ¶
type ProjectionsResponse struct {
Projections []TimeseriesBalance `json:"projections"`
}
type RegisterRequest ¶
type RegisterRequest struct {
Username string `json:"username"`
}
type RegisterResponse ¶
type Sprint ¶
type Sprint struct { StartDate time.Time `json:"start_date"` EndDate time.Time `json:"end_date"` TransactionCount int `json:"transaction_count"` MeanTransactionAmount float64 `json:"mean_transaction_amount"` Outgoings float64 `json:"outgoings"` Ingoings float64 `json:"ingoings"` Net float64 `json:"net"` NetBeforeExclusions float64 `json:"net_before_exclusions"` InProgress bool `json:"in_progress"` Categories []SprintCategory `json:"categories"` Transactions []Transaction `json:"transactions"` Timeseries []TimeseriesBalance `json:"timeseries_balance"` }
type SprintCategory ¶
type SprintsResponse ¶
type SprintsResponse struct {
Sprints []Sprint `json:"sprints"`
}
type TimeseriesAccount ¶
type TimeseriesAccount struct { Account Account `json:"account"` Timeseries []TimeseriesBalance `json:"timeseries_balance"` }
type TimeseriesBalance ¶
type TimeseriesCategory ¶
type TimeseriesCategory struct { Category string `json:"category"` Timeseries []TimeseriesBalance `json:"timeseries_balance"` }
type TimeseriesResponse ¶
type TimeseriesResponse struct { Accounts []TimeseriesAccount `json:"accounts"` Categories []TimeseriesCategory `json:"categories"` Total []TimeseriesBalance `json:"total"` }
type Transaction ¶
type Transaction struct { TransactionId int `json:"transaction_id"` Date time.Time `json:"date"` Account int `json:"account"` Description string `json:"description"` Bank string `json:"bank"` Credit float64 `json:"credit"` Debit float64 `json:"debit"` Categories []string `json:"categories"` Status string `json:"status"` InternalTransfer bool `json:"internal_transfer"` Exclude bool `json:"exclude"` }
type TransactionPatch ¶
type TransactionPatch struct {
Exclude bool `json:"exclude"`
}
Click to show internal directories.
Click to hide internal directories.