copyWithWrapped method

WebApiModulesSettingsTaxSettingsTaxOptionTaxOption copyWithWrapped({
  1. Wrapped<String?>? taxOptionId,
  2. Wrapped<String?>? taxOption,
  3. Wrapped<bool?>? availableForSales,
  4. Wrapped<bool?>? availableForPurchases,
  5. Wrapped<String?>? taxCountryId,
  6. Wrapped<String?>? taxCountry,
  7. Wrapped<String?>? taxRule,
  8. Wrapped<double?>? rentalTaxRate1,
  9. Wrapped<double?>? rentalTaxRate2,
  10. Wrapped<bool?>? rentalExempt,
  11. Wrapped<String?>? rentalTaxDisplay,
  12. Wrapped<double?>? salesTaxRate1,
  13. Wrapped<double?>? salesTaxRate2,
  14. Wrapped<bool?>? salesExempt,
  15. Wrapped<String?>? salesTaxDisplay,
  16. Wrapped<double?>? laborTaxRate1,
  17. Wrapped<double?>? laborTaxRate2,
  18. Wrapped<bool?>? laborExempt,
  19. Wrapped<String?>? laborTaxDisplay,
  20. Wrapped<bool?>? taxOnTax,
  21. Wrapped<String?>? taxOnTaxAccountId,
  22. Wrapped<String?>? taxOnTaxAccountNo,
  23. Wrapped<String?>? taxOnTaxAccountDescription,
  24. Wrapped<String?>? taxAccountId1,
  25. Wrapped<String?>? taxAccountNo1,
  26. Wrapped<String?>? taxAccountDescription1,
  27. Wrapped<String?>? taxAccountId2,
  28. Wrapped<String?>? taxAccountNo2,
  29. Wrapped<String?>? taxAccountDescription2,
  30. Wrapped<String?>? quickBooksTaxItemCode,
  31. Wrapped<String?>? quickBooksTaxItemDescription,
  32. Wrapped<String?>? quickBooksTaxVendor,
  33. Wrapped<bool?>? quickBooksTaxGroup,
  34. Wrapped<String?>? gstExportCode,
  35. Wrapped<String?>? pstExportCode,
  36. Wrapped<String?>? tax1Name,
  37. Wrapped<String?>? tax1Description,
  38. Wrapped<String?>? tax2Name,
  39. Wrapped<String?>? tax2Description,
  40. Wrapped<bool?>? inactive,
  41. Wrapped<String?>? dateStamp,
  42. Wrapped<String?>? auditNote,
  43. Wrapped<String?>? recordTitle,
  44. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  45. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  46. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  47. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

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));
}