Discount Line
data class DiscountLine(val type: LineType, val text: String? = null, val additionalText: String? = null, val sequenceNumber: Int, val fullAmountInclVat: Double, val relatedLines: List<Int>? = null) : ReceiptLine, Parcelable
Discount line. Represents a discount not explicitly bound to a specific line.
Constructors
Properties
Link copied to clipboard
Nullable String with additional text
Link copied to clipboard
Double The total gross total amount of this discount line. A precision of up to 5 decimal places is used.
Link copied to clipboard
List of Int Reference to related lines by the 'SequenceNumber'.
Link copied to clipboard
Int The sequence number of the line item. Used to display the correct order.
Link copied to clipboard
LineType value defining the type of a line item: DiscountLine