copyWith method
WebApiModulesHomeControlsInvoiceNoteInvoiceNote
copyWith({
- String? invoiceNoteId,
- String? invoiceId,
- String? orderId,
- String? orderNumber,
- String? noteDate,
- String? description,
- String? notesById,
- String? notesBy,
- String? notes,
- bool? printOnInvoice,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesHomeControlsInvoiceNoteInvoiceNote copyWith(
{String? invoiceNoteId,
String? invoiceId,
String? orderId,
String? orderNumber,
String? noteDate,
String? description,
String? notesById,
String? notesBy,
String? notes,
bool? printOnInvoice,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesHomeControlsInvoiceNoteInvoiceNote(
invoiceNoteId: invoiceNoteId ?? this.invoiceNoteId,
invoiceId: invoiceId ?? this.invoiceId,
orderId: orderId ?? this.orderId,
orderNumber: orderNumber ?? this.orderNumber,
noteDate: noteDate ?? this.noteDate,
description: description ?? this.description,
notesById: notesById ?? this.notesById,
notesBy: notesBy ?? this.notesBy,
notes: notes ?? this.notes,
printOnInvoice: printOnInvoice ?? this.printOnInvoice,
dateStamp: dateStamp ?? this.dateStamp,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}