Dynamicweb.Ecommerce by Dynamicweb Software A/S

<PackageReference Include="Dynamicweb.Ecommerce" Version="1.10.31" />

.NET API 3,355,136 bytes

 SalesDiscount

public class SalesDiscount : ICloneable
public bool Active { get; set; }

public bool Actual { get; }

public bool Converted { get; set; }

public List<string> Countries { get; set; }

public string CustomersAndGroups { get; set; }

public DateTime DateFrom { get; set; }

public DateTime DateTo { get; set; }

public string Description { get; set; }

public string DiscountType { get; set; }

public string Id { get; set; }

public bool IsLocalized { get; }

public bool IsValid { get; }

public bool IsValidToShow { get; }

public Language Language { get; set; }

public double MinimumBasketSize { get; set; }

public string Name { get; set; }

public string Parameters { get; set; }

public string Shop { get; set; }

public double ValueFixed { get; set; }

public Dictionary<string, double> ValueFixedByCurrencies { get; set; }

public double ValueFixedForCurrency { get; }

public double ValuePercentage { get; set; }

public ProductsHandler ValueProducts { get; set; }

public DiscountValueTypes ValueType { get; set; }

public SalesDiscount()

public static SalesDiscountCollection GetSalesDiscounts(string discountId, Language language)

public static bool IsUserValid(string customerAndGroups)

public object Clone()

public void Delete()

public void Delete(string discountId)

public void ProcessOrder(Order order)

public void Save()

public void Save(string discountId)

public void SaveLanguageSpecificDiscount(string discountId)

public void SetLocalizedName(Language language, string name, string description)