Crate ocpi_tariffs
source ·Expand description
OCPI Tariffs library
Functionality to calculate the (sub)totals of a charge session. Use the
pricer::Pricer
to perform the actual calculation.
Modules
- OCPI specific structures for defining tariffs and charge sessions.
- Module containing the functionality to price charge sessions with provided tariffs.
- OCPI specific numeric types used for calculations, serializing and deserializing.
Enums
- Possible errors when pricing a charge session.