You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
854 B

using System;
namespace BBWYB.Client.Models
{
public class OrderSkuEditPrice : OrderSku
{
private decimal newPrice;
private decimal freightAmount;
private bool isResponseFreightChanged;
public decimal NewPrice { get => newPrice; set { SetProperty(ref newPrice, value); } }
public decimal FreightAmount
{
get => freightAmount;
set
{
if (SetProperty(ref freightAmount, value))
{
IsResponseFreightChanged = false;
OnFreightChanged?.Invoke();
}
}
}
public bool IsResponseFreightChanged { get => isResponseFreightChanged; set { SetProperty(ref isResponseFreightChanged, value); } }
public Action OnFreightChanged { get; set; }
}
}