CreditNoteRequest.fromJson constructor
Implementation
factory CreditNoteRequest.fromJson(Map<String, dynamic> j) => CreditNoteRequest(
idempotencyKey: _pflicht<String>(j, 'idempotencyKey'),
invoiceId: _pflicht<String>(j, 'invoiceId'),
reason: _pflicht<String>(j, 'reason'),
items: [for (final p in _liste(j, 'items')) InvoiceItemInput.fromJson(p)],
note: _text(j, 'note'),
);