34 lines
792 B
C#
Raw Normal View History

2019-08-01 09:50:45 +02:00
using System.Collections.Generic;
2018-02-27 14:32:25 +01:00
namespace Microsoft.eShopOnContainers.Web.Shopping.HttpAggregator.Models
{
public class BasketData
{
public string BuyerId { get; set; }
2019-08-01 09:50:45 +02:00
public List<BasketDataItem> Items { get; set; } = new List<BasketDataItem>();
2018-02-27 14:32:25 +01:00
2019-08-01 09:50:45 +02:00
public BasketData()
{
}
2018-02-27 14:32:25 +01:00
public BasketData(string buyerId)
{
BuyerId = buyerId;
}
}
public class BasketDataItem
{
public string Id { get; set; }
2019-09-04 15:02:09 +02:00
public int ProductId { get; set; }
2018-02-27 14:32:25 +01:00
public string ProductName { get; set; }
public decimal UnitPrice { get; set; }
public decimal OldUnitPrice { get; set; }
public int Quantity { get; set; }
public string PictureUrl { get; set; }
}
}