reactredux/webapi/WeatherForecast/Models/Content/Responses/PageSections/CheckoutSummarySectionModel.cs

38 lines
903 B
C#

using DomainObjects.PageSections;
using WeatherForecast.Models.Abstractions;
namespace WeatherForecast.Models.Content.Responses.PageSections {
/// <summary>
///
/// </summary>
public class CheckoutSummarySectionModel : PageSectionModelBase<SummarySection> {
/// <summary>
///
/// </summary>
public string Total { get; set; }
/// <summary>
///
/// </summary>
public FormItemModel PromoCode { get; set; }
/// <summary>
///
/// </summary>
public FormItemModel Submit { get; set; }
/// <summary>
///
/// </summary>
/// <param name="summarySection"></param>
public CheckoutSummarySectionModel(SummarySection summarySection) : base(summarySection) {
Total = summarySection.Total;
PromoCode = new FormItemModel(summarySection.PromoCode);
Submit = new FormItemModel(summarySection.Submit);
}
}
}