using System.Runtime.Serialization;
namespace TINK.Repository.Response
{
///
/// Holds tariff info for a single bike.
///
[DataContract]
#if USCSHARP9
public record TariffDescription
#else
public class TariffDescription
#endif
{
///
/// Name of the tariff.
///
[DataMember]
public string name { get; private set; }
///
/// Number of the tariff.
///
[DataMember]
public string number { get; private set; }
///
/// Costs per hour in euro.
///
[DataMember]
public string eur_per_hour { get; private set; }
///
/// Costs of the abo per month.
///
[DataMember]
public string abo_eur_per_month { get; private set; }
///
/// Costs per hour in euro.
///
[DataMember]
public string free_hours { get; private set; }
///
/// Maximum fee per day.
///
[DataMember]
public string max_eur_per_day { get; private set; }
/// Text which informs users about GPS tracking if tracking is on.
[DataMember]
public string track_info { get; private set; }
}
}