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

56 lines
1.2 KiB
C#
Raw Normal View History

2022-10-03 17:55:10 +02:00
using System.Runtime.Serialization;
2021-05-13 20:03:07 +02:00
namespace TINK.Repository.Response
{
2022-09-06 16:08:19 +02:00
/// <summary>
/// Holds tariff info for a single bike.
/// </summary>
[DataContract]
2021-06-26 20:57:55 +02:00
#if USCSHARP9
2021-05-13 20:03:07 +02:00
public record TariffDescription
2021-06-26 20:57:55 +02:00
#else
2022-09-06 16:08:19 +02:00
public class TariffDescription
2021-06-26 20:57:55 +02:00
#endif
2022-09-06 16:08:19 +02:00
{
/// <summary>
/// Name of the tariff.
/// </summary>
[DataMember]
public string name { get; private set; }
/// <summary>
/// Number of the tariff.
/// </summary>
[DataMember]
public string number { get; private set; }
/// <summary>
/// Costs per hour in euro.
/// </summary>
[DataMember]
public string eur_per_hour { get; private set; }
/// <summary>
/// Costs of the abo per month.
/// </summary>
[DataMember]
public string abo_eur_per_month { get; private set; }
/// <summary>
/// Costs per hour in euro.
/// </summary>
[DataMember]
public string free_hours { get; private set; }
/// <summary>
/// Maximum fee per day.
/// </summary>
[DataMember]
public string max_eur_per_day { get; private set; }
/// <summary> Text which informs users about GPS tracking if tracking is on. </summary>
[DataMember]
public string track_info { get; private set; }
}
2021-05-13 20:03:07 +02:00
}