copyWith method

WebApiModulesUtilitiesInvoiceProcessBatchInvoiceProcessBatch copyWith({
  1. String? batchId,
  2. String? locationId,
  3. String? batchType,
  4. String? divisionCode,
  5. String? batchNumber,
  6. String? batchDate,
  7. String? batchTime,
  8. String? batchDateTime,
  9. String? exportDate,
  10. bool? exported,
  11. int? recordCount,
  12. String? dateStamp,
  13. String? auditNote,
  14. String? recordTitle,
  15. dynamic urlIdentifier,
  16. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  17. List<FwStandardDataFwCustomValue>? custom,
  18. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  19. FwStandardBusinessLogicFwBusinessLogic? original,
  20. List<FwStandardDataFwTranslatedValue>? translation,
  21. bool? hasImport,
  22. bool? hasDocuments,
  23. String? createdByUserId,
  24. String? createdByUserName,
  25. String? createdDateTime,
  26. String? modifiedByUserId,
  27. String? modifiedByUserName,
  28. String? modifiedDateTime,
})

Implementation

WebApiModulesUtilitiesInvoiceProcessBatchInvoiceProcessBatch copyWith({
  String? batchId,
  String? locationId,
  String? batchType,
  String? divisionCode,
  String? batchNumber,
  String? batchDate,
  String? batchTime,
  String? batchDateTime,
  String? exportDate,
  bool? exported,
  int? recordCount,
  String? dateStamp,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesUtilitiesInvoiceProcessBatchInvoiceProcessBatch(
    batchId: batchId ?? this.batchId,
    locationId: locationId ?? this.locationId,
    batchType: batchType ?? this.batchType,
    divisionCode: divisionCode ?? this.divisionCode,
    batchNumber: batchNumber ?? this.batchNumber,
    batchDate: batchDate ?? this.batchDate,
    batchTime: batchTime ?? this.batchTime,
    batchDateTime: batchDateTime ?? this.batchDateTime,
    exportDate: exportDate ?? this.exportDate,
    exported: exported ?? this.exported,
    recordCount: recordCount ?? this.recordCount,
    dateStamp: dateStamp ?? this.dateStamp,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}