sendDiscount

@Deprecated(message = "use addDiscountOrSurchargeToSubtotal() instead", replaceWith = @ReplaceWith(imports = {"pl.com.elzab.stx.elzabdr.ElzabDr"}, expression = "addDiscountOrSurchargeToSubtotal()"))
public final Unit sendDiscount(Integer discountValue, AmountOrPercent type, DiscountOrSurcharge discountOrSurcharge, String description, NormalOrCorrection normalOrCorrection, TaxRateSymbol taxRate)

Deprecated

use addDiscountOrSurchargeToSubtotal() instead

Replace with

import pl.com.elzab.stx.elzabdr.ElzabDr
addDiscountOrSurchargeToSubtotal()

See also