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<String?>? rentalTaxAlias,
  13. Wrapped<double?>? salesTaxRate1,
  14. Wrapped<double?>? salesTaxRate2,
  15. Wrapped<bool?>? salesExempt,
  16. Wrapped<String?>? salesTaxDisplay,
  17. Wrapped<String?>? salesTaxAlias,
  18. Wrapped<double?>? laborTaxRate1,
  19. Wrapped<double?>? laborTaxRate2,
  20. Wrapped<bool?>? laborExempt,
  21. Wrapped<String?>? laborTaxDisplay,
  22. Wrapped<String?>? laborTaxAlias,
  23. Wrapped<bool?>? taxOnTax,
  24. Wrapped<String?>? taxOnTaxAccountId,
  25. Wrapped<String?>? taxOnTaxAccountNo,
  26. Wrapped<String?>? taxOnTaxAccountDescription,
  27. Wrapped<String?>? taxAccountId1,
  28. Wrapped<String?>? taxAccountNo1,
  29. Wrapped<String?>? taxAccountDescription1,
  30. Wrapped<String?>? taxAccountId2,
  31. Wrapped<String?>? taxAccountNo2,
  32. Wrapped<String?>? taxAccountDescription2,
  33. Wrapped<String?>? quickBooksTaxItemCode,
  34. Wrapped<String?>? quickBooksTaxItemDescription,
  35. Wrapped<String?>? quickBooksTaxVendor,
  36. Wrapped<bool?>? quickBooksTaxGroup,
  37. Wrapped<String?>? gstExportCode,
  38. Wrapped<String?>? pstExportCode,
  39. Wrapped<String?>? tax1Name,
  40. Wrapped<String?>? tax1Description,
  41. Wrapped<String?>? tax2Name,
  42. Wrapped<String?>? tax2Description,
  43. Wrapped<bool?>? inactive,
  44. Wrapped<String?>? dateStamp,
  45. Wrapped<String?>? taxOptionCity,
  46. Wrapped<String?>? taxOptionCounty,
  47. Wrapped<String?>? taxOptionStateId,
  48. Wrapped<String?>? taxOptionState,
  49. Wrapped<String?>? taxOptionRateCode,
  50. Wrapped<String?>? auditNote,
  51. Wrapped<String?>? recordTitle,
  52. Wrapped? urlIdentifier,
  53. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  54. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  55. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  56. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  57. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  58. Wrapped<bool?>? hasImport,
  59. Wrapped<bool?>? hasDocuments,
  60. Wrapped<String?>? createdByUserId,
  61. Wrapped<String?>? createdByUserName,
  62. Wrapped<String?>? createdDateTime,
  63. Wrapped<String?>? modifiedByUserId,
  64. Wrapped<String?>? modifiedByUserName,
  65. Wrapped<String?>? modifiedDateTime,
})

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<String?>? rentalTaxAlias,
  Wrapped<double?>? salesTaxRate1,
  Wrapped<double?>? salesTaxRate2,
  Wrapped<bool?>? salesExempt,
  Wrapped<String?>? salesTaxDisplay,
  Wrapped<String?>? salesTaxAlias,
  Wrapped<double?>? laborTaxRate1,
  Wrapped<double?>? laborTaxRate2,
  Wrapped<bool?>? laborExempt,
  Wrapped<String?>? laborTaxDisplay,
  Wrapped<String?>? laborTaxAlias,
  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?>? taxOptionCity,
  Wrapped<String?>? taxOptionCounty,
  Wrapped<String?>? taxOptionStateId,
  Wrapped<String?>? taxOptionState,
  Wrapped<String?>? taxOptionRateCode,
  Wrapped<String?>? auditNote,
  Wrapped<String?>? recordTitle,
  Wrapped<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  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),
    rentalTaxAlias: (rentalTaxAlias != null
        ? rentalTaxAlias.value
        : this.rentalTaxAlias),
    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),
    salesTaxAlias: (salesTaxAlias != null
        ? salesTaxAlias.value
        : this.salesTaxAlias),
    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),
    laborTaxAlias: (laborTaxAlias != null
        ? laborTaxAlias.value
        : this.laborTaxAlias),
    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),
    taxOptionCity: (taxOptionCity != null
        ? taxOptionCity.value
        : this.taxOptionCity),
    taxOptionCounty: (taxOptionCounty != null
        ? taxOptionCounty.value
        : this.taxOptionCounty),
    taxOptionStateId: (taxOptionStateId != null
        ? taxOptionStateId.value
        : this.taxOptionStateId),
    taxOptionState: (taxOptionState != null
        ? taxOptionState.value
        : this.taxOptionState),
    taxOptionRateCode: (taxOptionRateCode != null
        ? taxOptionRateCode.value
        : this.taxOptionRateCode),
    auditNote: (auditNote != null ? auditNote.value : this.auditNote),
    recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}