using System.Collections.Generic; namespace TINK.Model.Bikes.Bike { /// /// Successor of TarifDescription- object. /// Manages tariff- and rental info. /// public class RentalDescription { /// /// The different elements of a tariff (example: "Max Gebühr", ) /// public class TariffElement { /// /// Describes the tariff element. To be displayed to user (example of elements: "Gratis Mietzeit", "Mietgebühr", "Max Gebühr"). /// public string Description { get; set; } = string.Empty; /// /// Holds the tariff element value. To be displayed to user (example: "9.00 € / Tag"). /// public string Value { get; set; } = string.Empty; } public class InfoElement { public string Key { get; set; } public string Value { get; set; } } /// /// Name of the tariff. /// public string Name { get; set; } = string.Empty; /// /// Number of the tariff. /// public int? Id { get; set; } public Dictionary TariffEntries { get; set; } = new Dictionary(); public Dictionary InfoEntries { get; set; } = new Dictionary(); } }