copyWithWrapped method

WebApiLogicAppFuncSystemSettingsResponse copyWithWrapped({
  1. Wrapped<bool?>? allowDeleteInvoices,
  2. Wrapped<bool?>? allowInvoiceDateChange,
  3. Wrapped<bool?>? enableReceipts,
  4. Wrapped<bool?>? enableOriginalShow,
  5. Wrapped<bool?>? enablePayments,
  6. Wrapped<bool?>? enableVendorInvoice,
  7. Wrapped<bool?>? enablePropsWardrobe,
  8. Wrapped<bool?>? enableSetsWalls,
  9. Wrapped<bool?>? shareDealsAcrossOfficeLocations,
  10. Wrapped<bool?>? synchronizeCustomerStatusAndCreditStatus,
  11. Wrapped<bool?>? synchronizeDealStatusAndCreditStatus,
  12. Wrapped<String?>? systemName,
  13. Wrapped<String?>? companyName,
  14. Wrapped<bool?>? isVendorNumberAssignedByUser,
  15. Wrapped<String?>? quoteOrderMessageFormat,
  16. Wrapped<String?>? dataLanguageId,
  17. Wrapped<String?>? dataLanguage,
  18. Wrapped<bool?>? allCaps,
  19. Wrapped<bool?>? enableQuikLocate,
  20. Wrapped<bool?>? departmentFilter,
})

Implementation

WebApiLogicAppFuncSystemSettingsResponse copyWithWrapped(
    {Wrapped<bool?>? allowDeleteInvoices,
    Wrapped<bool?>? allowInvoiceDateChange,
    Wrapped<bool?>? enableReceipts,
    Wrapped<bool?>? enableOriginalShow,
    Wrapped<bool?>? enablePayments,
    Wrapped<bool?>? enableVendorInvoice,
    Wrapped<bool?>? enablePropsWardrobe,
    Wrapped<bool?>? enableSetsWalls,
    Wrapped<bool?>? shareDealsAcrossOfficeLocations,
    Wrapped<bool?>? synchronizeCustomerStatusAndCreditStatus,
    Wrapped<bool?>? synchronizeDealStatusAndCreditStatus,
    Wrapped<String?>? systemName,
    Wrapped<String?>? companyName,
    Wrapped<bool?>? isVendorNumberAssignedByUser,
    Wrapped<String?>? quoteOrderMessageFormat,
    Wrapped<String?>? dataLanguageId,
    Wrapped<String?>? dataLanguage,
    Wrapped<bool?>? allCaps,
    Wrapped<bool?>? enableQuikLocate,
    Wrapped<bool?>? departmentFilter}) {
  return WebApiLogicAppFuncSystemSettingsResponse(
      allowDeleteInvoices: (allowDeleteInvoices != null
          ? allowDeleteInvoices.value
          : this.allowDeleteInvoices),
      allowInvoiceDateChange: (allowInvoiceDateChange != null
          ? allowInvoiceDateChange.value
          : this.allowInvoiceDateChange),
      enableReceipts: (enableReceipts != null
          ? enableReceipts.value
          : this.enableReceipts),
      enableOriginalShow: (enableOriginalShow != null
          ? enableOriginalShow.value
          : this.enableOriginalShow),
      enablePayments: (enablePayments != null
          ? enablePayments.value
          : this.enablePayments),
      enableVendorInvoice: (enableVendorInvoice != null
          ? enableVendorInvoice.value
          : this.enableVendorInvoice),
      enablePropsWardrobe: (enablePropsWardrobe != null
          ? enablePropsWardrobe.value
          : this.enablePropsWardrobe),
      enableSetsWalls: (enableSetsWalls != null
          ? enableSetsWalls.value
          : this.enableSetsWalls),
      shareDealsAcrossOfficeLocations:
          (shareDealsAcrossOfficeLocations != null
              ? shareDealsAcrossOfficeLocations.value
              : this.shareDealsAcrossOfficeLocations),
      synchronizeCustomerStatusAndCreditStatus:
          (synchronizeCustomerStatusAndCreditStatus != null
              ? synchronizeCustomerStatusAndCreditStatus.value
              : this.synchronizeCustomerStatusAndCreditStatus),
      synchronizeDealStatusAndCreditStatus:
          (synchronizeDealStatusAndCreditStatus != null
              ? synchronizeDealStatusAndCreditStatus.value
              : this.synchronizeDealStatusAndCreditStatus),
      systemName: (systemName != null ? systemName.value : this.systemName),
      companyName:
          (companyName != null ? companyName.value : this.companyName),
      isVendorNumberAssignedByUser: (isVendorNumberAssignedByUser != null
          ? isVendorNumberAssignedByUser.value
          : this.isVendorNumberAssignedByUser),
      quoteOrderMessageFormat: (quoteOrderMessageFormat != null
          ? quoteOrderMessageFormat.value
          : this.quoteOrderMessageFormat),
      dataLanguageId: (dataLanguageId != null
          ? dataLanguageId.value
          : this.dataLanguageId),
      dataLanguage:
          (dataLanguage != null ? dataLanguage.value : this.dataLanguage),
      allCaps: (allCaps != null ? allCaps.value : this.allCaps),
      enableQuikLocate: (enableQuikLocate != null
          ? enableQuikLocate.value
          : this.enableQuikLocate),
      departmentFilter: (departmentFilter != null
          ? departmentFilter.value
          : this.departmentFilter));
}