InvoiceResultModel class

A model representing the result of an invoice processing operation, extending from InvoiceResultBaseModel.

This model includes the status of the invoice result, the cleared invoice, and inherits common fields such as the invoice hash, errors, and warnings.

Inheritance

Constructors

InvoiceResultModel.new({required InvoiceResultStatus status, required String clearedInvoice, required List<ErrorModel> errors, required String invoiceHash, required List<WarningModel> warnings})
Creates a new instance of InvoiceResultModel.
const

Properties

clearedInvoice String
The cleared invoice, which is typically a reference to the processed invoice that has been cleared for reporting or further operations.
final
errors List<ErrorModel>
A list of errors encountered during the invoice processing.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
invoiceHash String
The unique hash identifier for the invoice.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status InvoiceResultStatus
The status of the invoice result, which can represent success, failure, or other relevant states.
final
warnings List<WarningModel>
A list of warnings that may be present during the invoice processing.
finalinherited

Methods

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

Operators

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