feat: add Aspects dict and ShippingCost to ListingDraft
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user