2018-02-06 17:35:01 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2018-02-15 17:30:39 +01:00
|
|
|
|
namespace Microsoft.eShopOnContainers.Mobile.Shopping.HttpAggregator.Models
|
2018-02-06 17:35:01 +00:00
|
|
|
|
{
|
|
|
|
|
public class UpdateBasketRequest
|
|
|
|
|
{
|
|
|
|
|
public string BuyerId { get; set; }
|
|
|
|
|
|
|
|
|
|
public IEnumerable<UpdateBasketRequestItemData> Items { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class UpdateBasketRequestItemData
|
|
|
|
|
{
|
|
|
|
|
public string Id { get; set; } // Basket id
|
|
|
|
|
public int ProductId { get; set; } // Catalog item id
|
|
|
|
|
public int Quantity { get; set; } // Quantity
|
|
|
|
|
}
|
|
|
|
|
}
|