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.

1.2 KB
Raw Blame
using Grand.Domain.Catalog;
using Grand.Domain.Common;
using Grand.Domain.Customers;
using Grand.Domain.Directory;
using Grand.Domain.Localization;
using Grand.Domain.Orders;
using Grand.Domain.Stores;
using Grand.Domain.Tax;
using Grand.Web.Models.ShoppingCart;
using Grand.Mediator;

namespace Grand.Web.Features.Models.ShoppingCart;

public class GetAddToCart : IRequest<AddToCartModel>
{
    public Product Product { get; set; }
    public Customer Customer { get; set; }
    public Language Language { get; set; }
    public Currency Currency { get; set; }
    public Domain.Stores.Store Store { get; set; }
    public ShoppingCartItem ShoppingCartItem { get; set; }
    public TaxDisplayType TaxDisplayType { get; set; }
    public int Quantity { get; set; }
    public double? CustomerEnteredPrice { get; set; }
    public IList<CustomAttribute> Attributes { get; set; } = new List<CustomAttribute>();
    public ShoppingCartType CartType { get; set; }
    public DateTime? StartDate { get; set; }
    public DateTime? EndDate { get; set; }
    public string ReservationId { get; set; }
    public string Parameter { get; set; }
    public string Duration { get; set; }
}