copyWithWrapped method

WebApiModulesSettingsAccountingSettingsAccountingSettingsAccountingSettings copyWithWrapped({
  1. Wrapped<String?>? controlId,
  2. Wrapped<String?>? name,
  3. Wrapped<bool?>? usePrefixOnAssetAccounts,
  4. Wrapped<bool?>? usePrefixOnIncomeAccounts,
  5. Wrapped<bool?>? usePrefixOnExpenseAccounts,
  6. Wrapped<bool?>? usePrefixOnLiabilityAccounts,
  7. Wrapped<bool?>? useSuffixOnAssetAccounts,
  8. Wrapped<bool?>? useSuffixOnExpenseAccounts,
  9. Wrapped<bool?>? useSuffixOnIncomeAccounts,
  10. Wrapped<bool?>? useSuffixOnLiabilityAccounts,
  11. Wrapped<double?>? assetUnitCostThreshold,
  12. Wrapped<bool?>? purchaseUseCompleteKitAccounts,
  13. Wrapped<bool?>? enableForeignSubRentalWithholding,
  14. Wrapped<String?>? foreignSubRentalWithholdingCountryId,
  15. Wrapped<String?>? foreignSubRentalWithholdingCountry,
  16. Wrapped<double?>? foreignSubRentalWithholdingPercent,
  17. Wrapped<String?>? assetAccountNumberFormat,
  18. Wrapped<String?>? expenseAccountNumberFormat,
  19. Wrapped<String?>? incomeAccountNumberFormat,
  20. Wrapped<String?>? liabilityAccountNumberFormat,
  21. Wrapped<String?>? dateStamp,
  22. Wrapped<String?>? auditNote,
  23. Wrapped<String?>? recordTitle,
  24. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  25. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  26. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  27. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesSettingsAccountingSettingsAccountingSettingsAccountingSettings
    copyWithWrapped(
        {Wrapped<String?>? controlId,
        Wrapped<String?>? name,
        Wrapped<bool?>? usePrefixOnAssetAccounts,
        Wrapped<bool?>? usePrefixOnIncomeAccounts,
        Wrapped<bool?>? usePrefixOnExpenseAccounts,
        Wrapped<bool?>? usePrefixOnLiabilityAccounts,
        Wrapped<bool?>? useSuffixOnAssetAccounts,
        Wrapped<bool?>? useSuffixOnExpenseAccounts,
        Wrapped<bool?>? useSuffixOnIncomeAccounts,
        Wrapped<bool?>? useSuffixOnLiabilityAccounts,
        Wrapped<double?>? assetUnitCostThreshold,
        Wrapped<bool?>? purchaseUseCompleteKitAccounts,
        Wrapped<bool?>? enableForeignSubRentalWithholding,
        Wrapped<String?>? foreignSubRentalWithholdingCountryId,
        Wrapped<String?>? foreignSubRentalWithholdingCountry,
        Wrapped<double?>? foreignSubRentalWithholdingPercent,
        Wrapped<String?>? assetAccountNumberFormat,
        Wrapped<String?>? expenseAccountNumberFormat,
        Wrapped<String?>? incomeAccountNumberFormat,
        Wrapped<String?>? liabilityAccountNumberFormat,
        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 WebApiModulesSettingsAccountingSettingsAccountingSettingsAccountingSettings(
      controlId: (controlId != null ? controlId.value : this.controlId),
      name: (name != null ? name.value : this.name),
      usePrefixOnAssetAccounts: (usePrefixOnAssetAccounts != null
          ? usePrefixOnAssetAccounts.value
          : this.usePrefixOnAssetAccounts),
      usePrefixOnIncomeAccounts: (usePrefixOnIncomeAccounts != null
          ? usePrefixOnIncomeAccounts.value
          : this.usePrefixOnIncomeAccounts),
      usePrefixOnExpenseAccounts: (usePrefixOnExpenseAccounts != null
          ? usePrefixOnExpenseAccounts.value
          : this.usePrefixOnExpenseAccounts),
      usePrefixOnLiabilityAccounts: (usePrefixOnLiabilityAccounts != null
          ? usePrefixOnLiabilityAccounts.value
          : this.usePrefixOnLiabilityAccounts),
      useSuffixOnAssetAccounts: (useSuffixOnAssetAccounts != null
          ? useSuffixOnAssetAccounts.value
          : this.useSuffixOnAssetAccounts),
      useSuffixOnExpenseAccounts: (useSuffixOnExpenseAccounts != null
          ? useSuffixOnExpenseAccounts.value
          : this.useSuffixOnExpenseAccounts),
      useSuffixOnIncomeAccounts: (useSuffixOnIncomeAccounts != null
          ? useSuffixOnIncomeAccounts.value
          : this.useSuffixOnIncomeAccounts),
      useSuffixOnLiabilityAccounts: (useSuffixOnLiabilityAccounts != null
          ? useSuffixOnLiabilityAccounts.value
          : this.useSuffixOnLiabilityAccounts),
      assetUnitCostThreshold: (assetUnitCostThreshold != null
          ? assetUnitCostThreshold.value
          : this.assetUnitCostThreshold),
      purchaseUseCompleteKitAccounts: (purchaseUseCompleteKitAccounts != null
          ? purchaseUseCompleteKitAccounts.value
          : this.purchaseUseCompleteKitAccounts),
      enableForeignSubRentalWithholding:
          (enableForeignSubRentalWithholding != null
              ? enableForeignSubRentalWithholding.value
              : this.enableForeignSubRentalWithholding),
      foreignSubRentalWithholdingCountryId:
          (foreignSubRentalWithholdingCountryId != null
              ? foreignSubRentalWithholdingCountryId.value
              : this.foreignSubRentalWithholdingCountryId),
      foreignSubRentalWithholdingCountry:
          (foreignSubRentalWithholdingCountry != null
              ? foreignSubRentalWithholdingCountry.value
              : this.foreignSubRentalWithholdingCountry),
      foreignSubRentalWithholdingPercent:
          (foreignSubRentalWithholdingPercent != null
              ? foreignSubRentalWithholdingPercent.value
              : this.foreignSubRentalWithholdingPercent),
      assetAccountNumberFormat: (assetAccountNumberFormat != null
          ? assetAccountNumberFormat.value
          : this.assetAccountNumberFormat),
      expenseAccountNumberFormat: (expenseAccountNumberFormat != null
          ? expenseAccountNumberFormat.value
          : this.expenseAccountNumberFormat),
      incomeAccountNumberFormat: (incomeAccountNumberFormat != null
          ? incomeAccountNumberFormat.value
          : this.incomeAccountNumberFormat),
      liabilityAccountNumberFormat: (liabilityAccountNumberFormat != null
          ? liabilityAccountNumberFormat.value
          : this.liabilityAccountNumberFormat),
      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));
}