Discount Payment Indicator and List of Payment Discounts

Tags: v8preview1 v8

In the API V8Preview1, a new property has been added to the payment type IPaymentType.IsDiscount, which indicates whether the payment type is a discount, i.e., processed as a discount.

Also, a list of discounts has become available in the order IOrder.PaymentDiscounts, which is the result of applying the order payments IOrder.Payments, that are discounts, i.e., processed as discounts, to the dishes in the order. Such payments are non-fiscal and are fiscalized on the FR side not as payments, but as discounts by reducing the cost of the dishes.