Updates a balance
(indicator, currency string)
| 99 | GetAllBalances(limit, offset int) ([]model.Balance, error) // Retrieves all balances (legacy) |
| 100 | UpdateBalance(balance *model.Balance) error // Updates a balance |
| 101 | GetBalanceByIndicator(indicator, currency string) (*model.Balance, error) // Retrieves a balance by indicator and currency |
| 102 | UpdateBalances(ctx context.Context, sourceBalance, destinationBalance *model.Balance) error // Updates multiple balances |
| 103 | GetSourceDestination(sourceId, destinationId string) ([]*model.Balance, error) // Retrieves balances between source and destination |
| 104 | TakeBalanceSnapshots(ctx context.Context, batchSize int) (int, error) // Takes balance snapshots |
no outgoing calls
no test coverage detected