copyWithWrapped method
Implementation
WebApiModulesExportsInvoiceBatchExportInvoiceBatchExportRequest
copyWithWrapped(
{Wrapped<String?>? batchId,
Wrapped<String?>? fromBatchNumber,
Wrapped<String?>? toBatchNumber,
Wrapped<DateTime?>? fromDate,
Wrapped<DateTime?>? toDate,
Wrapped<String?>? batchRange,
Wrapped<String?>? locationId,
Wrapped<String>? dataExportFormatId}) {
return WebApiModulesExportsInvoiceBatchExportInvoiceBatchExportRequest(
batchId: (batchId != null ? batchId.value : this.batchId),
fromBatchNumber: (fromBatchNumber != null
? fromBatchNumber.value
: this.fromBatchNumber),
toBatchNumber:
(toBatchNumber != null ? toBatchNumber.value : this.toBatchNumber),
fromDate: (fromDate != null ? fromDate.value : this.fromDate),
toDate: (toDate != null ? toDate.value : this.toDate),
batchRange: (batchRange != null ? batchRange.value : this.batchRange),
locationId: (locationId != null ? locationId.value : this.locationId),
dataExportFormatId: (dataExportFormatId != null
? dataExportFormatId.value
: this.dataExportFormatId));
}