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.

945 B
Raw Blame
using Grand.Infrastructure.Models;
using Grand.Web.Models.Common;

namespace Grand.Web.Models.Checkout;

public class CheckoutConfirmModel : BaseModel
{
    public bool TermsOfServiceOnOrderConfirmPage { get; set; }
    public string MinOrderTotalWarning { get; set; }

    public IList<string> Warnings { get; set; } = new List<string>();
    public OrderReviewDataModel OrderReviewData { get; set; } = new();

    public class OrderReviewDataModel : BaseModel
    {
        public AddressModel BillingAddress { get; set; } = new();

        public bool IsShippable { get; set; }
        public AddressModel ShippingAddress { get; set; } = new();
        public bool SelectedPickUpInStore { get; set; }
        public AddressModel PickupAddress { get; set; } = new();
        public string ShippingMethod { get; set; }
        public string ShippingAdditionDescription { get; set; }

        public string PaymentMethod { get; set; }
    }
}