34 lines
795 B
C#
Raw Normal View History

2019-08-01 09:50:45 +02:00
using System.Collections.Generic;
2018-01-29 15:58:08 +00:00
2018-02-15 17:30:39 +01:00
namespace Microsoft.eShopOnContainers.Mobile.Shopping.HttpAggregator.Models
2018-01-29 15:58:08 +00:00
{
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-01-29 15:58:08 +00:00
2019-08-01 09:50:45 +02:00
public BasketData()
{
}
2018-01-29 15:58:08 +00: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-01-29 15:58:08 +00: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; }
}
}