using ShareeBike.Model; namespace ShareeBike.ViewModel.Bikes { public interface IRentalProcessViewModel { /// /// Loads rental process view model from source. /// /// Source object to load from. void LoadFrom(IRentalProcessViewModel processViewModel); /// /// Gets the id of the bike which is rental ends. /// string BikeId { get; } CurrentRentalProcess State { get; set; } /// Holds info about current step in rental process. int? StepIndex { get; set; } /// Holds info about current step of rental process. string StepInfoText { get; set; } /// Holds important info about current step of rental process. string ImportantStepInfoText { get; set; } /// Holds info about status of current rental process. CurrentStepStatus Result { get; set; } /// /// Holds the info returned from back end when rent is ended. /// BookingFinishedModel EndRentalInfo { get; set; } } }