The method GetList returns a list of discounts. The list returned is
sorted by the parameter by in the order order.
||Name of the field by which the list of discounts is to be sorted. Names
include the following:
- NAME - by the name of the discount (default);
- PERCENTAGE - by the percentage value of the discount.
||Sort order. Can be one of the following:
- ASC - ascending (default);
- DESC - descending.
An instance of the CDBResult class containing a set of the associated
arrays with the following keys.
||Name of the discount.
||Percentage value of the discount. The value can be both positive and