BaseInvoice class
Constructors
-
BaseInvoice.new({required String invoiceNumber, required String uuid, required String issueDate, required String issueTime, required String currencyCode, required String taxCurrencyCode, Customer? customer, required List<
InvoiceLine> invoiceLines, required double taxAmount, required double totalAmount, required String previousInvoiceHash, required InvoiceType invoiceType}) -
BaseInvoice.fromJson(Map<
String, dynamic> json) -
factory
Properties
- currencyCode → String
-
The currency code used in the invoice.
final
- customer → Customer?
-
The customer information.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
invoiceLines
→ List<
InvoiceLine> -
The list of invoice line items.
final
- invoiceNumber → String
-
The unique identifier of the invoice.
final
- invoiceType → InvoiceType
-
final
- issueDate → String
-
The issue date of the invoice in ISO 8601 format.
final
- issueTime → String
-
The issue time of the invoice in ISO 8601 format.
final
- previousInvoiceHash → String
-
The hash of the previous invoice, if applicable.
final
- profileID → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- taxAmount → double
-
The total tax amount for the invoice.
final
- taxCurrencyCode → String
-
The tax currency code used in the invoice.
final
- totalAmount → double
-
The total amount for the invoice.
final
- uuid → String
-
The universally unique identifier (UUID) of the invoice.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited