InvoiceResultBaseModel class abstract
A base model representing the common result structure for invoices.
This class is used as a base for more specific invoice result models, providing essential fields such as the invoice hash, error list, and warning list. This model is meant to be extended for handling different types of invoice responses.
- Implementers
Constructors
-
InvoiceResultBaseModel.new({required String invoiceHash, required List<
ErrorModel> errors, required List<WarningModel> warnings}) -
Creates a new instance of InvoiceResultBaseModel.
const
Properties
-
errors
→ List<
ErrorModel> -
A list of errors encountered during the invoice processing.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- invoiceHash → String
-
The unique hash identifier for the invoice.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
warnings
→ List<
WarningModel> -
A list of warnings that may be present during the invoice processing.
final
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