BillLine

abstract class BillLine(type: LineType, id: String, text: String?, additionalText: String?, sequenceNumber: Int) : Parcelable

Abstract class used as base for possible lines in a bill model. (Default, TextOnly, Discount)

Constructors

BillLine
Link copied to clipboard
fun BillLine(type: LineType, id: String, text: String?, additionalText: String?, sequenceNumber: Int)

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

additionalText
Link copied to clipboard
open val additionalText: String?
Nullable String with additional text
id
Link copied to clipboard
open val id: String
String Id of the line item
sequenceNumber
Link copied to clipboard
open val sequenceNumber: Int
Int The sequence number of the line item.
text
Link copied to clipboard
open val text: String?
Nullable String value with the text of the line item
type
Link copied to clipboard
open val type: LineType
LineType value defining the type of a line item.

Inheritors

DefaultLine
Link copied to clipboard
DiscountLine
Link copied to clipboard
TextLine
Link copied to clipboard