copyWithWrapped method
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< ? fields,FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ?> - Wrapped<
List< ? custom,FwStandardDataFwCustomValue> ?> - Wrapped<
List< ? defaultFieldAttributes,FwStandardDataFwDefaultAttribute> ?> - Wrapped<
List< ? translation,FwStandardDataFwTranslatedValue> ?>
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));
}