This commit is contained in:
26
src/bank/types.go
Normal file
26
src/bank/types.go
Normal file
@@ -0,0 +1,26 @@
|
||||
package bank
|
||||
|
||||
type Agg interface {
|
||||
}
|
||||
|
||||
type Account struct {
|
||||
Institution struct {
|
||||
Name string `json:"name"`
|
||||
} `json:"institution"`
|
||||
Name string `json:"last_four"`
|
||||
Account string `json:"id"`
|
||||
}
|
||||
|
||||
type Transaction struct {
|
||||
Amount string `json:"amount"`
|
||||
Details struct {
|
||||
ProcessingStatus string `json:"processing_status"`
|
||||
CounterParty struct {
|
||||
Name string `json:"name"`
|
||||
} `json:"counterparty"`
|
||||
} `json:"details"`
|
||||
Description string `json:"description"`
|
||||
Date string `json:"date"`
|
||||
Type string `json:"fee"`
|
||||
Status string `json:"status"`
|
||||
}
|
||||
Reference in New Issue
Block a user