2023-06-06 12:00:24 +02:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2024-04-09 12:53:23 +02:00
|
|
|
using static ShareeBike.Model.Bikes.BikeInfoNS.RentalDescription;
|
2023-06-06 12:00:24 +02:00
|
|
|
|
2024-04-09 12:53:23 +02:00
|
|
|
namespace ShareeBike.Model.Bikes.BikeInfoNS
|
2023-06-06 12:00:24 +02:00
|
|
|
{
|
|
|
|
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; }
|
|
|
|
}
|
|
|
|
}
|