(balance model.Balance)
| 93 | // balance defines methods for handling balances. |
| 94 | type balance interface { |
| 95 | CreateBalance(balance model.Balance) (model.Balance, error) // Creates a new balance |
| 96 | GetBalanceByID(id string, include []string, withQueued bool) (*model.Balance, error) // Retrieves a balance by ID with additional data and queued status |
| 97 | GetBalanceByIDLite(id string) (*model.Balance, error) // Retrieves a balance by ID with minimal data |
| 98 | GetBalancesByIDsLite(ctx context.Context, ids []string) (map[string]*model.Balance, error) // Retrieves multiple balances by IDs with minimal data (batch query) |
no outgoing calls