InvoiceResultModel constructor
const
InvoiceResultModel({
- required InvoiceResultStatus status,
- required String clearedInvoice,
- required List<
ErrorModel> errors, - required String invoiceHash,
- required List<
WarningModel> warnings,
Creates a new instance of InvoiceResultModel.
status: The status of the invoice result, represented by an InvoiceResultStatus.clearedInvoice: The cleared invoice data.errors: A list of ErrorModel instances representing any errors.invoiceHash: The unique hash identifier for the invoice.warnings: A list of WarningModel instances representing any warnings.
Implementation
const InvoiceResultModel({
required this.status,
required this.clearedInvoice,
required super.errors,
required super.invoiceHash,
required super.warnings,
});