feat: add Aspects dict and ShippingCost to ListingDraft

This commit is contained in:
Peter Foster
2026-04-15 09:25:13 +01:00
parent a9cfb7f613
commit af6f3f9234

View File

@@ -37,6 +37,8 @@ public class ListingDraft : INotifyPropertyChanged
private ItemCondition _condition = ItemCondition.Used;
private ListingFormat _format = ListingFormat.FixedPrice;
private PostageOption _postage = PostageOption.RoyalMailSecondClass;
private Dictionary<string, string> _aspects = new();
private decimal _shippingCost;
private string _categoryId = "";
private string _categoryName = "";
private string _postcode = "";
@@ -92,6 +94,18 @@ public class ListingDraft : INotifyPropertyChanged
set { _postage = value; OnPropertyChanged(); }
}
public Dictionary<string, string> Aspects
{
get => _aspects;
set { _aspects = value; OnPropertyChanged(); }
}
public decimal ShippingCost
{
get => _shippingCost;
set { _shippingCost = value; OnPropertyChanged(); }
}
public string CategoryId
{
get => _categoryId;