This method will be deprecated on September 30, 2025.Replace with GetDiscountRule.
Retrieves a discount.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.