38 lines
890 B
C#
38 lines
890 B
C#
using Core.DomainObjects.PageSections;
|
|
using WeatherForecast.Models.Abstractions;
|
|
|
|
namespace WeatherForecast.Models.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);
|
|
}
|
|
|
|
}
|
|
}
|