|
ORE Studio 0.0.4
|
Service for managing trade types. More...
#include <trade_type_service.hpp>

Public Types | |
| using | context = ores::database::context |
Public Member Functions | |
| trade_type_service (context ctx) | |
| std::vector< domain::trade_type > | list_types () |
| std::optional< domain::trade_type > | find_type (const std::string &code) |
| void | save_type (const domain::trade_type &v) |
| void | save_types (const std::vector< domain::trade_type > &types) |
| void | remove_type (const std::string &code) |
| void | remove_types (const std::vector< std::string > &codes) |
| Removes multiple trade types. | |
| std::vector< domain::trade_type > | get_type_history (const std::string &code) |
Service for managing trade types.