Hi,
Are there any public methods to get a discount or a list/collection of discounts from the API?
I am building a new PromoCodeChecker that takes not only a voucher code, but also an Order and a DiscountId. Ultimately I'll check some conditions to determine why a discount may not have been applied to an order (it's a custom thing). The goal is not to capture all situations, but just to get the most basic ones that fit the customer needs and with time we can grow this more and more.
During this process I also noticed that the Discount class (Dynamicweb.Ecommerce.Orders.Discounts.Discount) does not have the Discount Id property, which I found very odd. Is that by design?
Best Regards,
Nuno Aguiar