sharee.bike-App/TINKLib/Repository/Response/RentalDescription.cs

42 lines
1.2 KiB
C#
Raw Normal View History

2022-06-17 14:17:58 +02:00
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace TINK.Repository.Response
{
2022-09-06 16:08:19 +02:00
/// <summary>
/// Successor of TarifDescription- object.
/// Manages tariff- and rental info.
/// </summary>
[DataContract]
public class RentalDescription
{
/// <summary>
/// Name of the tariff.
/// </summary>
[DataMember]
public string name { get; private set; }
2022-06-17 14:17:58 +02:00
2022-09-06 16:08:19 +02:00
/// <summary>
/// Id of the tariff.
/// </summary>
[DataMember]
public string id { get; private set; }
2022-06-17 14:17:58 +02:00
2022-09-06 16:08:19 +02:00
/// <summary> Holds tariff entires to show to user.</summary>
[DataMember]
public Dictionary<
string /* Key of tariff object for sorting purposes*/,
string[] /* Holds two Elements: first element is the description of the element (example: "Max Gebühr"), second is the value (example: "9.00 € / Tag")*/>
tarif_elements
{ get; private set; }
2022-06-17 14:17:58 +02:00
2022-09-06 16:08:19 +02:00
/// <summary> Holds tariff entires to show to user.</summary>
[DataMember]
public Dictionary<
string /* Key of info object for sorting purposes*/,
string[] /* Holds two Elements: first element is the key of the element (example: "Tracking"), second is the value (example: "Ich stimme der Speicherung (Tracking) meiner Fahrstrecke ....")*/>
rental_info
{ get; private set; }
}
2022-06-17 14:17:58 +02:00
}