copyWith method
Implementation
WebApiModulesExportsInvoiceBatchExportInvoiceBatchExportRequest copyWith(
{String? batchId,
String? fromBatchNumber,
String? toBatchNumber,
DateTime? fromDate,
DateTime? toDate,
String? batchRange,
String? locationId,
String? dataExportFormatId}) {
return WebApiModulesExportsInvoiceBatchExportInvoiceBatchExportRequest(
batchId: batchId ?? this.batchId,
fromBatchNumber: fromBatchNumber ?? this.fromBatchNumber,
toBatchNumber: toBatchNumber ?? this.toBatchNumber,
fromDate: fromDate ?? this.fromDate,
toDate: toDate ?? this.toDate,
batchRange: batchRange ?? this.batchRange,
locationId: locationId ?? this.locationId,
dataExportFormatId: dataExportFormatId ?? this.dataExportFormatId);
}