reactredux/webapi/WeatherForecast/Models/PageSections/CheckoutSettingsSectionModel.cs

31 lines
842 B
C#

using Core.DomainObjects.PageSections;
using WeatherForecast.Models.Abstractions;
namespace WeatherForecast.Models.PageSections {
/// <summary>
///
/// </summary>
public class CheckoutSettingsSectionModel : PageSectionModelBase<SettingsSection> {
/// <summary>
///
/// </summary>
public string ShippingAddressSameAsBillingAddress { get; set; }
/// <summary>
///
/// </summary>
public string SaveThisInformation { get; set; }
/// <summary>
///
/// </summary>
/// <param name="settingsSection"></param>
public CheckoutSettingsSectionModel(SettingsSection settingsSection) : base(settingsSection) {
ShippingAddressSameAsBillingAddress = settingsSection.ShippingAddressSameAsBillingAddress;
SaveThisInformation = settingsSection.SaveThisInformation;
}
}
}