mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-15 22:56:37 +01:00
37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
using TINK.Model;
|
|
|
|
namespace TINK.ViewModel.Bikes
|
|
{
|
|
public interface IRentalProcessViewModel
|
|
{
|
|
/// <summary>
|
|
/// Loads rental process view model from source.
|
|
/// </summary>
|
|
/// <param name="processViewModel">Source object to load from.</param>
|
|
void LoadFrom(IRentalProcessViewModel processViewModel);
|
|
|
|
/// <summary>
|
|
/// Gets the id of the bike which is rental ends.
|
|
/// </summary>
|
|
string BikeId { get; }
|
|
|
|
CurrentRentalProcess State { get; set; }
|
|
|
|
/// <summary> Holds info about current step in rental process. </summary>
|
|
int? StepIndex { get; set; }
|
|
|
|
/// <summary> Holds info about current step of rental process. </summary>
|
|
string StepInfoText { get; set; }
|
|
|
|
/// <summary> Holds important info about current step of rental process. </summary>
|
|
string ImportantStepInfoText { get; set; }
|
|
|
|
/// <summary> Holds info about status of current rental process. </summary>
|
|
CurrentStepStatus Result { get; set; }
|
|
|
|
/// <summary>
|
|
/// Holds the info returned from back end when rent is ended.
|
|
/// </summary>
|
|
BookingFinishedModel EndRentalInfo { get; set; }
|
|
}
|
|
}
|