Skip to main content

Module explain

Module explain 

Source
Expand description

Explain an OCPI object in human language.

Where lint flags problems in a tariff, explain describes what a tariff actually does: what it charges, for which dimension, and how the rate changes as a session progresses. The explanation folds in how ocpi-tariffs interprets the spec, not just the raw field values.

Use tariff::explain to explain a tariff.

Modulesยง

tariff
Produce a human-language explanation of a tariff.