Documentation ¶
Index ¶
- type Amount
- type Fields
- type Parser
- type Raw
- type Response
- type Transaction
- func (tx Transaction) Account() string
- func (tx Transaction) Amount() float64
- func (tx Transaction) Card() string
- func (tx Transaction) Category() string
- func (tx Transaction) Date() time.Time
- func (tx Transaction) Name() string
- func (tx Transaction) String() string
- func (tx Transaction) User() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Raw ¶
type Raw struct { // can be fund transfer, check deposit or misc, description is generally more detailed Typename string `json:"__typename"` Amount `json:"amount"` Date util.DateISO `json:"date"` Description string `json:"description"` ExternalAccount any `json:"externalAccount,omitempty"` IsPartiallyAvailable any `json:"isPartiallyAvailable,omitempty"` LifecycleStatus string `json:"lifecycleStatus"` Reference string `json:"reference"` RunningBalance Amount `json:"runningBalance"` }
type Response ¶
type Response struct { Data struct { ProductAccountByAccountNumberProxy struct { Typename string `json:"__typename"` FinancialPosition struct { Typename string `json:"__typename"` Transactions struct { Typename string `json:"__typename"` CheckingTransactions []Transaction `json:"checkingTransactions"` } `json:"transactions"` } `json:"financialPosition"` } `json:"productAccountByAccountNumberProxy"` } `json:"data"` }
type Transaction ¶
func (Transaction) Account ¶
func (tx Transaction) Account() string
func (Transaction) Amount ¶
func (tx Transaction) Amount() float64
func (Transaction) Card ¶
func (tx Transaction) Card() string
func (Transaction) Category ¶
func (tx Transaction) Category() string
func (Transaction) Date ¶
func (tx Transaction) Date() time.Time
func (Transaction) Name ¶
func (tx Transaction) Name() string
func (Transaction) User ¶
func (tx Transaction) User() string
Click to show internal directories.
Click to hide internal directories.