copyWithWrapped method
WebApiModulesSettingsTaxSettingsTaxOptionTaxOption
copyWithWrapped({
- Wrapped<
String?> ? taxOptionId, - Wrapped<
String?> ? taxOption, - Wrapped<
bool?> ? availableForSales, - Wrapped<
bool?> ? availableForPurchases, - Wrapped<
String?> ? taxCountryId, - 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<
bool?> ? taxOnTax, - Wrapped<
String?> ? taxOnTaxAccountId, - Wrapped<
String?> ? taxOnTaxAccountNo, - Wrapped<
String?> ? taxOnTaxAccountDescription, - Wrapped<
String?> ? taxAccountId1, - Wrapped<
String?> ? taxAccountNo1, - Wrapped<
String?> ? taxAccountDescription1, - Wrapped<
String?> ? taxAccountId2, - Wrapped<
String?> ? taxAccountNo2, - Wrapped<
String?> ? taxAccountDescription2, - Wrapped<
String?> ? quickBooksTaxItemCode, - Wrapped<
String?> ? quickBooksTaxItemDescription, - Wrapped<
String?> ? quickBooksTaxVendor, - Wrapped<
bool?> ? quickBooksTaxGroup, - Wrapped<
String?> ? gstExportCode, - Wrapped<
String?> ? pstExportCode, - Wrapped<
String?> ? tax1Name, - Wrapped<
String?> ? tax1Description, - Wrapped<
String?> ? tax2Name, - Wrapped<
String?> ? tax2Description, - Wrapped<
bool?> ? inactive, - 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
WebApiModulesSettingsTaxSettingsTaxOptionTaxOption copyWithWrapped(
{Wrapped<String?>? taxOptionId,
Wrapped<String?>? taxOption,
Wrapped<bool?>? availableForSales,
Wrapped<bool?>? availableForPurchases,
Wrapped<String?>? taxCountryId,
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<bool?>? taxOnTax,
Wrapped<String?>? taxOnTaxAccountId,
Wrapped<String?>? taxOnTaxAccountNo,
Wrapped<String?>? taxOnTaxAccountDescription,
Wrapped<String?>? taxAccountId1,
Wrapped<String?>? taxAccountNo1,
Wrapped<String?>? taxAccountDescription1,
Wrapped<String?>? taxAccountId2,
Wrapped<String?>? taxAccountNo2,
Wrapped<String?>? taxAccountDescription2,
Wrapped<String?>? quickBooksTaxItemCode,
Wrapped<String?>? quickBooksTaxItemDescription,
Wrapped<String?>? quickBooksTaxVendor,
Wrapped<bool?>? quickBooksTaxGroup,
Wrapped<String?>? gstExportCode,
Wrapped<String?>? pstExportCode,
Wrapped<String?>? tax1Name,
Wrapped<String?>? tax1Description,
Wrapped<String?>? tax2Name,
Wrapped<String?>? tax2Description,
Wrapped<bool?>? inactive,
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 WebApiModulesSettingsTaxSettingsTaxOptionTaxOption(
taxOptionId:
(taxOptionId != null ? taxOptionId.value : this.taxOptionId),
taxOption: (taxOption != null ? taxOption.value : this.taxOption),
availableForSales: (availableForSales != null
? availableForSales.value
: this.availableForSales),
availableForPurchases: (availableForPurchases != null
? availableForPurchases.value
: this.availableForPurchases),
taxCountryId:
(taxCountryId != null ? taxCountryId.value : this.taxCountryId),
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),
taxOnTax: (taxOnTax != null ? taxOnTax.value : this.taxOnTax),
taxOnTaxAccountId: (taxOnTaxAccountId != null
? taxOnTaxAccountId.value
: this.taxOnTaxAccountId),
taxOnTaxAccountNo: (taxOnTaxAccountNo != null
? taxOnTaxAccountNo.value
: this.taxOnTaxAccountNo),
taxOnTaxAccountDescription: (taxOnTaxAccountDescription != null
? taxOnTaxAccountDescription.value
: this.taxOnTaxAccountDescription),
taxAccountId1:
(taxAccountId1 != null ? taxAccountId1.value : this.taxAccountId1),
taxAccountNo1:
(taxAccountNo1 != null ? taxAccountNo1.value : this.taxAccountNo1),
taxAccountDescription1: (taxAccountDescription1 != null
? taxAccountDescription1.value
: this.taxAccountDescription1),
taxAccountId2:
(taxAccountId2 != null ? taxAccountId2.value : this.taxAccountId2),
taxAccountNo2:
(taxAccountNo2 != null ? taxAccountNo2.value : this.taxAccountNo2),
taxAccountDescription2: (taxAccountDescription2 != null
? taxAccountDescription2.value
: this.taxAccountDescription2),
quickBooksTaxItemCode: (quickBooksTaxItemCode != null
? quickBooksTaxItemCode.value
: this.quickBooksTaxItemCode),
quickBooksTaxItemDescription: (quickBooksTaxItemDescription != null
? quickBooksTaxItemDescription.value
: this.quickBooksTaxItemDescription),
quickBooksTaxVendor: (quickBooksTaxVendor != null
? quickBooksTaxVendor.value
: this.quickBooksTaxVendor),
quickBooksTaxGroup: (quickBooksTaxGroup != null
? quickBooksTaxGroup.value
: this.quickBooksTaxGroup),
gstExportCode:
(gstExportCode != null ? gstExportCode.value : this.gstExportCode),
pstExportCode:
(pstExportCode != null ? pstExportCode.value : this.pstExportCode),
tax1Name: (tax1Name != null ? tax1Name.value : this.tax1Name),
tax1Description: (tax1Description != null
? tax1Description.value
: this.tax1Description),
tax2Name: (tax2Name != null ? tax2Name.value : this.tax2Name),
tax2Description: (tax2Description != null
? tax2Description.value
: this.tax2Description),
inactive: (inactive != null ? inactive.value : this.inactive),
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));
}