use super::{CdrDimension, CiString, DateTime};
#[derive(Clone, Debug, PartialEq, serde::Serialize, serde::Deserialize)]
pub struct ChargingPeriod {
/// Start timestamp of the charging period.
/// A period ends when the next period starts.
/// The last period ends when the session ends.
pub start_date_time: DateTime,
/// List of relevant values for this charging period.
pub dimensions: Vec<CdrDimension>,
/// Unique identifier of the Tariff that is relevant for this Charging Period.
/// If not provided, no Tariff is relevant during this period.
pub tariff_id: Option<CiString<36>>,
}