Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

846 B
Raw Blame
using Grand.Domain.Shipping;
using Grand.Infrastructure.Models;

namespace Grand.Web.Models.Checkout;

public class CheckoutShippingMethodModel : BaseModel
{
    public IList<ShippingMethodModel> ShippingMethods { get; set; } = new List<ShippingMethodModel>();

    public string ShippingOption { get; set; }
    public IDictionary<string, string> Data { get; set; }
    public IList<string> Warnings { get; set; } = new List<string>();

    #region Nested classes

    public class ShippingMethodModel : BaseModel
    {
        public string ShippingRateProviderSystemName { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public string Fee { get; set; }
        public bool Selected { get; set; }

        public ShippingOption ShippingOption { get; set; }
    }

    #endregion
}