InvoiceLine class

Represents an invoice line item in the invoice.

Constructors

InvoiceLine.new({required String id, required double quantity, required String unitCode, required double lineExtensionAmount, required String itemName, required double taxPercent, List<Discount> discounts = const []})
Creates a new InvoiceLine instance.
InvoiceLine.fromMap(Map<String, dynamic> map)
Creates an InvoiceLine instance from a Map.
factory

Properties

discounts List<Discount>
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
itemName String
final
lineExtensionAmount double
final
quantity double
final
roundingAmount double
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taxAmount double
no setter
taxExclusiveDiscountAppliedPrice double
no setter
taxExclusivePrice double
no setter
taxPercent double
final
unitCode String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Converts the InvoiceLine instance to a Map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited