(account model.Account)
| 113 | // account defines methods for handling accounts. |
| 114 | type account interface { |
| 115 | CreateAccount(account model.Account) (model.Account, error) // Creates a new account |
| 116 | GetAccountByID(id string, include []string) (*model.Account, error) // Retrieves an account by ID with additional data |
| 117 | GetAllAccounts() ([]model.Account, error) // Retrieves all accounts (legacy) |
| 118 | GetAccountByNumber(number string) (*model.Account, error) // Retrieves an account by its number |
no outgoing calls