mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-13 22:06:29 +01:00
59 lines
1.5 KiB
C#
59 lines
1.5 KiB
C#
using System.Runtime.Serialization;
|
|
|
|
namespace TINK.Repository.Response
|
|
{
|
|
/// <summary>
|
|
/// Holds tariff info for a single bike.
|
|
/// </summary>
|
|
[DataContract]
|
|
#if USCSHARP9
|
|
public record TariffDescription
|
|
#else
|
|
public class TariffDescription
|
|
#endif
|
|
{
|
|
/// <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> Info about operator agb as HTML (i.g. text and hyperlink). </summary>
|
|
[DataMember]
|
|
public string operator_agb { get; private set; }
|
|
|
|
/// <summary> Text which informs users about GPS tracking if tracking is on. </summary>
|
|
[DataMember]
|
|
public string track_info { get; private set; }
|
|
}
|
|
}
|