2022-06-17 14:17:58 +02:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2022-08-30 15:42:25 +02:00
|
|
|
|
namespace TINK.Model.Bikes.BikeInfoNS
|
2022-06-17 14:17:58 +02:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Successor of TarifDescription- object.
|
|
|
|
|
/// Manages tariff- and rental info.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class RentalDescription
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The different elements of a tariff (example: "Max Gebühr", )
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class TariffElement
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Describes the tariff element. To be displayed to user (example of elements: "Gratis Mietzeit", "Mietgebühr", "Max Gebühr").
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Description { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Holds the tariff element value. To be displayed to user (example: "9.00 € / Tag").
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Value { get; set; } = string.Empty;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class InfoElement
|
|
|
|
|
{
|
|
|
|
|
public string Key { get; set; }
|
|
|
|
|
public string Value { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Name of the tariff.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Number of the tariff.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public Dictionary<string, TariffElement> TariffEntries { get; set; } = new Dictionary<string, TariffElement>();
|
|
|
|
|
|
|
|
|
|
public Dictionary<string, InfoElement> InfoEntries { get; set; } = new Dictionary<string, InfoElement>();
|
|
|
|
|
}
|
|
|
|
|
}
|