InvoiceLineItem class

InvoiceLineItem class

Annotations

Constructors

InvoiceLineItem({@Default('') String id, @Default('') @JsonKey(name: 'product_key') String productKey, @Default('') String notes, @Default(0) double cost, @Default(0) double quantity, @Default('') @JsonKey(name: 'tax_name1') String taxName1, @Default(0) @JsonKey(name: 'tax_rate1') double taxRate1, @Default('') @JsonKey(name: 'tax_name2') String taxName2, @Default(0) @JsonKey(name: 'tax_rate2') double taxRate2, @Default('') @JsonKey(name: 'tax_name3') String taxName3, @Default(0) @JsonKey(name: 'tax_rate3') double taxRate3, @Default('') @JsonKey(name: 'type_id') String typeId, @Default('') @JsonKey(name: 'custom_value1') String customValue1, @Default('') @JsonKey(name: 'custom_value2') String customValue2, @Default('') @JsonKey(name: 'custom_value3') String customValue3, @Default('') @JsonKey(name: 'custom_value4') String customValue4, @Default(0) double discount})
InvoiceLineItem factory constructor
factory
InvoiceLineItem.fromJson(Map<String, dynamic> json)
Create an InvoiceLineItem from JSON
factory

Properties

copyWith $InvoiceLineItemCopyWith<InvoiceLineItem>
read-only, inherited
cost double
read-only, inherited
customValue1 String
@JsonKey(name: 'custom_value1'), read-only, inherited
customValue2 String
@JsonKey(name: 'custom_value2'), read-only, inherited
customValue3 String
@JsonKey(name: 'custom_value3'), read-only, inherited
customValue4 String
@JsonKey(name: 'custom_value4'), read-only, inherited
discount double
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
read-only, inherited
notes String
read-only, inherited
productKey String
@JsonKey(name: 'product_key'), read-only, inherited
quantity double
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
taxName1 String
@JsonKey(name: 'tax_name1'), read-only, inherited
taxName2 String
@JsonKey(name: 'tax_name2'), read-only, inherited
taxName3 String
@JsonKey(name: 'tax_name3'), read-only, inherited
taxRate1 double
@JsonKey(name: 'tax_rate1'), read-only, inherited
taxRate2 double
@JsonKey(name: 'tax_rate2'), read-only, inherited
taxRate3 double
@JsonKey(name: 'tax_rate3'), read-only, inherited
typeId String
@JsonKey(name: 'type_id'), read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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