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,
  21. Wrapped<bool?>? defaultBillingSelectAllOrders,
  22. Wrapped<bool?>? defaultProcessConsignmentSelectAllInvoices,
  23. Wrapped<bool?>? enableCrew,
  24. Wrapped<bool?>? disableHelpIcon,
  25. Wrapped<bool?>? consolidateOwnedAndSubbedLineItems,
  26. Wrapped<bool?>? setSubQuantityToZero,
  27. Wrapped<bool?>? promptUserOnPasteLineItems,
  28. Wrapped<String?>? overrideHelpURL,
  29. Wrapped<String?>? defaultSalesRepresentativeFilter,
})

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,
  Wrapped<bool?>? defaultBillingSelectAllOrders,
  Wrapped<bool?>? defaultProcessConsignmentSelectAllInvoices,
  Wrapped<bool?>? enableCrew,
  Wrapped<bool?>? disableHelpIcon,
  Wrapped<bool?>? consolidateOwnedAndSubbedLineItems,
  Wrapped<bool?>? setSubQuantityToZero,
  Wrapped<bool?>? promptUserOnPasteLineItems,
  Wrapped<String?>? overrideHelpURL,
  Wrapped<String?>? defaultSalesRepresentativeFilter,
}) {
  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),
    defaultBillingSelectAllOrders: (defaultBillingSelectAllOrders != null
        ? defaultBillingSelectAllOrders.value
        : this.defaultBillingSelectAllOrders),
    defaultProcessConsignmentSelectAllInvoices:
        (defaultProcessConsignmentSelectAllInvoices != null
        ? defaultProcessConsignmentSelectAllInvoices.value
        : this.defaultProcessConsignmentSelectAllInvoices),
    enableCrew: (enableCrew != null ? enableCrew.value : this.enableCrew),
    disableHelpIcon: (disableHelpIcon != null
        ? disableHelpIcon.value
        : this.disableHelpIcon),
    consolidateOwnedAndSubbedLineItems:
        (consolidateOwnedAndSubbedLineItems != null
        ? consolidateOwnedAndSubbedLineItems.value
        : this.consolidateOwnedAndSubbedLineItems),
    setSubQuantityToZero: (setSubQuantityToZero != null
        ? setSubQuantityToZero.value
        : this.setSubQuantityToZero),
    promptUserOnPasteLineItems: (promptUserOnPasteLineItems != null
        ? promptUserOnPasteLineItems.value
        : this.promptUserOnPasteLineItems),
    overrideHelpURL: (overrideHelpURL != null
        ? overrideHelpURL.value
        : this.overrideHelpURL),
    defaultSalesRepresentativeFilter:
        (defaultSalesRepresentativeFilter != null
        ? defaultSalesRepresentativeFilter.value
        : this.defaultSalesRepresentativeFilter),
  );
}