ClearedInvoiceResultModel constructor

const ClearedInvoiceResultModel({
  1. required ClearedInvoiceResultStatus status,
  2. required List<ErrorModel> errors,
  3. required String invoiceHash,
  4. required List<WarningModel> warnings,
})

Creates a new instance of ClearedInvoiceResultModel.

All parameters are required and are passed to the base model or assigned directly to this class.

  • status: The result status of the invoice.
  • errors: Any errors encountered during processing.
  • invoiceHash: The unique hash of the invoice.
  • warnings: Any warnings associated with the invoice.

Implementation

const ClearedInvoiceResultModel({
  required this.status,
  required super.errors,
  required super.invoiceHash,
  required super.warnings,
});