copyWithWrapped method

WebApiModulesUtilitiesVendorInvoiceProcessBatchVendorInvoiceProcessBatch copyWithWrapped({
  1. Wrapped<String?>? batchId,
  2. Wrapped<String?>? locationId,
  3. Wrapped<String?>? batchType,
  4. Wrapped<String?>? divisionCode,
  5. Wrapped<String?>? batchNumber,
  6. Wrapped<String?>? batchDate,
  7. Wrapped<String?>? batchTime,
  8. Wrapped<String?>? batchDateTime,
  9. Wrapped<String?>? exportDate,
  10. Wrapped<bool?>? exported,
  11. Wrapped<int?>? recordCount,
  12. Wrapped<String?>? dateStamp,
  13. Wrapped<String?>? auditNote,
  14. Wrapped<String?>? recordTitle,
  15. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  16. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  17. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  18. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesUtilitiesVendorInvoiceProcessBatchVendorInvoiceProcessBatch
    copyWithWrapped(
        {Wrapped<String?>? batchId,
        Wrapped<String?>? locationId,
        Wrapped<String?>? batchType,
        Wrapped<String?>? divisionCode,
        Wrapped<String?>? batchNumber,
        Wrapped<String?>? batchDate,
        Wrapped<String?>? batchTime,
        Wrapped<String?>? batchDateTime,
        Wrapped<String?>? exportDate,
        Wrapped<bool?>? exported,
        Wrapped<int?>? recordCount,
        Wrapped<String?>? dateStamp,
        Wrapped<String?>? auditNote,
        Wrapped<String?>? recordTitle,
        Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
            fields,
        Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
        Wrapped<List<FwStandardDataFwDefaultAttribute>?>?
            defaultFieldAttributes,
        Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesUtilitiesVendorInvoiceProcessBatchVendorInvoiceProcessBatch(
      batchId: (batchId != null ? batchId.value : this.batchId),
      locationId: (locationId != null ? locationId.value : this.locationId),
      batchType: (batchType != null ? batchType.value : this.batchType),
      divisionCode:
          (divisionCode != null ? divisionCode.value : this.divisionCode),
      batchNumber:
          (batchNumber != null ? batchNumber.value : this.batchNumber),
      batchDate: (batchDate != null ? batchDate.value : this.batchDate),
      batchTime: (batchTime != null ? batchTime.value : this.batchTime),
      batchDateTime:
          (batchDateTime != null ? batchDateTime.value : this.batchDateTime),
      exportDate: (exportDate != null ? exportDate.value : this.exportDate),
      exported: (exported != null ? exported.value : this.exported),
      recordCount:
          (recordCount != null ? recordCount.value : this.recordCount),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes),
      translation:
          (translation != null ? translation.value : this.translation));
}