Retrieving detailed information about discounts
[v9preview1
v9
]
In API V9Preview1, a discount now has a flag that identifies whether the discount is a loyalty discount
IDiscountType.IsCardLoyalty.
You can now also get detailed information on loyalty discounts via IOperationService.GetCardLoyaltyDiscounts. Information can only be retrieved for open orders. After payment, the method will always return an empty collection.
In addition, the IEditSession.AddIikoCardDiscounts method has been renamed to IEditSession.AddCardLoyaltyDiscounts.