Invoice class

Inheritance
Implementers

Constructors

Invoice({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, required String actualDeliveryDate, ZATCAPaymentMethods? paymentMethod})
Invoice.fromJson(Map<String, dynamic> json)
factory

Properties

actualDeliveryDate → String
The actual delivery date of the invoice in ISO 8601 format.
final
currencyCode → String
The currency code used in the invoice.
finalinherited
customer → Customer?
The customer information.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
invoiceLines → List<InvoiceLine>
The list of invoice line items.
finalinherited
invoiceNumber → String
The unique identifier of the invoice.
finalinherited
invoiceType → InvoiceType
finalinherited
issueDate → String
The issue date of the invoice in ISO 8601 format.
finalinherited
issueTime → String
The issue time of the invoice in ISO 8601 format.
finalinherited
paymentMethod → ZATCAPaymentMethods?
The payment method for the invoice.
final
previousInvoiceHash → String
The hash of the previous invoice, if applicable.
finalinherited
profileID → String
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
taxAmount → double
The total tax amount for the invoice.
finalinherited
taxCurrencyCode → String
The tax currency code used in the invoice.
finalinherited
totalAmount → double
The total amount for the invoice.
finalinherited
uuid → String
The universally unique identifier (UUID) of the invoice.
finalinherited

Methods

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

Operators

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