QuickbooksLine class abstract
Main line for a QuickbooksInvoice
Constructors
- QuickbooksLine({String? id, int? lineNum, String? description, required double amount, required QuickbooksLineDetailType type})
- QuickbooksLine.fromJson(String source)
-
Converts a json value into a line by the line type.
Throws an error if the line type is not supported.
factory
-
QuickbooksLine.fromMap(Map<
String, dynamic> map) -
Converts a map into a line by the line type.
Throws an error if the line type is not supported.
factory
Properties
- amount ↔ double
-
getter/setter pair
- description ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ String?
-
getter/setter pair
- lineNum ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → QuickbooksLineDetailType
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Converts a line to a json value
-
toMap(
) → Map< String, dynamic> - Converts a line into a Map<String, dynamic>
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant QuickbooksLine other) → bool -
The equality operator.
override