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 ItemCondition _condition = ItemCondition.Used;
|
||||||
private ListingFormat _format = ListingFormat.FixedPrice;
|
private ListingFormat _format = ListingFormat.FixedPrice;
|
||||||
private PostageOption _postage = PostageOption.RoyalMailSecondClass;
|
private PostageOption _postage = PostageOption.RoyalMailSecondClass;
|
||||||
|
private Dictionary<string, string> _aspects = new();
|
||||||
|
private decimal _shippingCost;
|
||||||
private string _categoryId = "";
|
private string _categoryId = "";
|
||||||
private string _categoryName = "";
|
private string _categoryName = "";
|
||||||
private string _postcode = "";
|
private string _postcode = "";
|
||||||
@@ -92,6 +94,18 @@ public class ListingDraft : INotifyPropertyChanged
|
|||||||
set { _postage = value; OnPropertyChanged(); }
|
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
|
public string CategoryId
|
||||||
{
|
{
|
||||||
get => _categoryId;
|
get => _categoryId;
|
||||||
|
|||||||
Reference in New Issue
Block a user