sharee.bike-App/SharedBusinessLogic/Model/Bikes/BikeInfoNS/IRentalDescription.cs
2024-04-09 12:53:23 +02:00

30 lines
789 B
C#

using System;
using System.Collections.Generic;
using static ShareeBike.Model.Bikes.BikeInfoNS.RentalDescription;
namespace ShareeBike.Model.Bikes.BikeInfoNS
{
public interface IRentalDescription
{
/// <summary>
/// Name of the tariff.
/// </summary>
string Name { get; set; }
/// <summary>
/// Holds the time span for which a bike can be reserved.
/// </summary>
TimeSpan MaxReservationTimeSpan { get; set; }
/// <summary>
/// Dynamic language aware tariff elements to be displayed to user.
/// </summary>
Dictionary<string, TariffElement> TariffEntries { get; set; }
/// <summary>
/// Well known language aware elements (AGB, tracking info, ...) to be displayed to user.
/// </summary>
Dictionary<string, InfoElement> InfoEntries { get; set; }
}
}