copyWithWrapped method
WebApiModulesHomeControlsCompanyTaxOptionCompanyTaxOption
copyWithWrapped({
- Wrapped<
int?> ? id, - Wrapped<
String?> ? internalChar, - Wrapped<
String?> ? companyId, - Wrapped<
String?> ? locationId, - Wrapped<
String?> ? location, - Wrapped<
String?> ? taxOptionId, - Wrapped<
String?> ? taxOption, - Wrapped<
String?> ? taxCountry, - Wrapped<
String?> ? taxRule, - Wrapped<
double?> ? rentalTaxRate1, - Wrapped<
double?> ? rentalTaxRate2, - Wrapped<
bool?> ? rentalExempt, - Wrapped<
String?> ? rentalTaxDisplay, - Wrapped<
double?> ? salesTaxRate1, - Wrapped<
double?> ? salesTaxRate2, - Wrapped<
bool?> ? salesExempt, - Wrapped<
String?> ? salesTaxDisplay, - Wrapped<
double?> ? laborTaxRate1, - Wrapped<
double?> ? laborTaxRate2, - Wrapped<
bool?> ? laborExempt, - Wrapped<
String?> ? laborTaxDisplay, - 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
WebApiModulesHomeControlsCompanyTaxOptionCompanyTaxOption copyWithWrapped(
{Wrapped<int?>? id,
Wrapped<String?>? internalChar,
Wrapped<String?>? companyId,
Wrapped<String?>? locationId,
Wrapped<String?>? location,
Wrapped<String?>? taxOptionId,
Wrapped<String?>? taxOption,
Wrapped<String?>? taxCountry,
Wrapped<String?>? taxRule,
Wrapped<double?>? rentalTaxRate1,
Wrapped<double?>? rentalTaxRate2,
Wrapped<bool?>? rentalExempt,
Wrapped<String?>? rentalTaxDisplay,
Wrapped<double?>? salesTaxRate1,
Wrapped<double?>? salesTaxRate2,
Wrapped<bool?>? salesExempt,
Wrapped<String?>? salesTaxDisplay,
Wrapped<double?>? laborTaxRate1,
Wrapped<double?>? laborTaxRate2,
Wrapped<bool?>? laborExempt,
Wrapped<String?>? laborTaxDisplay,
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 WebApiModulesHomeControlsCompanyTaxOptionCompanyTaxOption(
id: (id != null ? id.value : this.id),
internalChar:
(internalChar != null ? internalChar.value : this.internalChar),
companyId: (companyId != null ? companyId.value : this.companyId),
locationId: (locationId != null ? locationId.value : this.locationId),
location: (location != null ? location.value : this.location),
taxOptionId:
(taxOptionId != null ? taxOptionId.value : this.taxOptionId),
taxOption: (taxOption != null ? taxOption.value : this.taxOption),
taxCountry: (taxCountry != null ? taxCountry.value : this.taxCountry),
taxRule: (taxRule != null ? taxRule.value : this.taxRule),
rentalTaxRate1: (rentalTaxRate1 != null
? rentalTaxRate1.value
: this.rentalTaxRate1),
rentalTaxRate2: (rentalTaxRate2 != null
? rentalTaxRate2.value
: this.rentalTaxRate2),
rentalExempt:
(rentalExempt != null ? rentalExempt.value : this.rentalExempt),
rentalTaxDisplay: (rentalTaxDisplay != null
? rentalTaxDisplay.value
: this.rentalTaxDisplay),
salesTaxRate1:
(salesTaxRate1 != null ? salesTaxRate1.value : this.salesTaxRate1),
salesTaxRate2:
(salesTaxRate2 != null ? salesTaxRate2.value : this.salesTaxRate2),
salesExempt:
(salesExempt != null ? salesExempt.value : this.salesExempt),
salesTaxDisplay: (salesTaxDisplay != null
? salesTaxDisplay.value
: this.salesTaxDisplay),
laborTaxRate1:
(laborTaxRate1 != null ? laborTaxRate1.value : this.laborTaxRate1),
laborTaxRate2:
(laborTaxRate2 != null ? laborTaxRate2.value : this.laborTaxRate2),
laborExempt:
(laborExempt != null ? laborExempt.value : this.laborExempt),
laborTaxDisplay: (laborTaxDisplay != null
? laborTaxDisplay.value
: this.laborTaxDisplay),
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));
}