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