copyWith method

WebApiModulesSettingsTaxSettingsTaxOptionTaxOption copyWith({
  1. String? taxOptionId,
  2. String? taxOption,
  3. bool? availableForSales,
  4. bool? availableForPurchases,
  5. String? taxCountryId,
  6. String? taxCountry,
  7. String? taxRule,
  8. double? rentalTaxRate1,
  9. double? rentalTaxRate2,
  10. bool? rentalExempt,
  11. String? rentalTaxDisplay,
  12. String? rentalTaxAlias,
  13. double? salesTaxRate1,
  14. double? salesTaxRate2,
  15. bool? salesExempt,
  16. String? salesTaxDisplay,
  17. String? salesTaxAlias,
  18. double? laborTaxRate1,
  19. double? laborTaxRate2,
  20. bool? laborExempt,
  21. String? laborTaxDisplay,
  22. String? laborTaxAlias,
  23. bool? taxOnTax,
  24. String? taxOnTaxAccountId,
  25. String? taxOnTaxAccountNo,
  26. String? taxOnTaxAccountDescription,
  27. String? taxAccountId1,
  28. String? taxAccountNo1,
  29. String? taxAccountDescription1,
  30. String? taxAccountId2,
  31. String? taxAccountNo2,
  32. String? taxAccountDescription2,
  33. String? quickBooksTaxItemCode,
  34. String? quickBooksTaxItemDescription,
  35. String? quickBooksTaxVendor,
  36. bool? quickBooksTaxGroup,
  37. String? gstExportCode,
  38. String? pstExportCode,
  39. String? tax1Name,
  40. String? tax1Description,
  41. String? tax2Name,
  42. String? tax2Description,
  43. bool? inactive,
  44. String? dateStamp,
  45. String? taxOptionCity,
  46. String? taxOptionCounty,
  47. String? taxOptionStateId,
  48. String? taxOptionState,
  49. String? taxOptionRateCode,
  50. String? auditNote,
  51. String? recordTitle,
  52. dynamic urlIdentifier,
  53. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  54. List<FwStandardDataFwCustomValue>? custom,
  55. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  56. FwStandardBusinessLogicFwBusinessLogic? original,
  57. List<FwStandardDataFwTranslatedValue>? translation,
  58. bool? hasImport,
  59. bool? hasDocuments,
  60. String? createdByUserId,
  61. String? createdByUserName,
  62. String? createdDateTime,
  63. String? modifiedByUserId,
  64. String? modifiedByUserName,
  65. String? modifiedDateTime,
})

Implementation

WebApiModulesSettingsTaxSettingsTaxOptionTaxOption copyWith({
  String? taxOptionId,
  String? taxOption,
  bool? availableForSales,
  bool? availableForPurchases,
  String? taxCountryId,
  String? taxCountry,
  String? taxRule,
  double? rentalTaxRate1,
  double? rentalTaxRate2,
  bool? rentalExempt,
  String? rentalTaxDisplay,
  String? rentalTaxAlias,
  double? salesTaxRate1,
  double? salesTaxRate2,
  bool? salesExempt,
  String? salesTaxDisplay,
  String? salesTaxAlias,
  double? laborTaxRate1,
  double? laborTaxRate2,
  bool? laborExempt,
  String? laborTaxDisplay,
  String? laborTaxAlias,
  bool? taxOnTax,
  String? taxOnTaxAccountId,
  String? taxOnTaxAccountNo,
  String? taxOnTaxAccountDescription,
  String? taxAccountId1,
  String? taxAccountNo1,
  String? taxAccountDescription1,
  String? taxAccountId2,
  String? taxAccountNo2,
  String? taxAccountDescription2,
  String? quickBooksTaxItemCode,
  String? quickBooksTaxItemDescription,
  String? quickBooksTaxVendor,
  bool? quickBooksTaxGroup,
  String? gstExportCode,
  String? pstExportCode,
  String? tax1Name,
  String? tax1Description,
  String? tax2Name,
  String? tax2Description,
  bool? inactive,
  String? dateStamp,
  String? taxOptionCity,
  String? taxOptionCounty,
  String? taxOptionStateId,
  String? taxOptionState,
  String? taxOptionRateCode,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesSettingsTaxSettingsTaxOptionTaxOption(
    taxOptionId: taxOptionId ?? this.taxOptionId,
    taxOption: taxOption ?? this.taxOption,
    availableForSales: availableForSales ?? this.availableForSales,
    availableForPurchases:
        availableForPurchases ?? this.availableForPurchases,
    taxCountryId: taxCountryId ?? this.taxCountryId,
    taxCountry: taxCountry ?? this.taxCountry,
    taxRule: taxRule ?? this.taxRule,
    rentalTaxRate1: rentalTaxRate1 ?? this.rentalTaxRate1,
    rentalTaxRate2: rentalTaxRate2 ?? this.rentalTaxRate2,
    rentalExempt: rentalExempt ?? this.rentalExempt,
    rentalTaxDisplay: rentalTaxDisplay ?? this.rentalTaxDisplay,
    rentalTaxAlias: rentalTaxAlias ?? this.rentalTaxAlias,
    salesTaxRate1: salesTaxRate1 ?? this.salesTaxRate1,
    salesTaxRate2: salesTaxRate2 ?? this.salesTaxRate2,
    salesExempt: salesExempt ?? this.salesExempt,
    salesTaxDisplay: salesTaxDisplay ?? this.salesTaxDisplay,
    salesTaxAlias: salesTaxAlias ?? this.salesTaxAlias,
    laborTaxRate1: laborTaxRate1 ?? this.laborTaxRate1,
    laborTaxRate2: laborTaxRate2 ?? this.laborTaxRate2,
    laborExempt: laborExempt ?? this.laborExempt,
    laborTaxDisplay: laborTaxDisplay ?? this.laborTaxDisplay,
    laborTaxAlias: laborTaxAlias ?? this.laborTaxAlias,
    taxOnTax: taxOnTax ?? this.taxOnTax,
    taxOnTaxAccountId: taxOnTaxAccountId ?? this.taxOnTaxAccountId,
    taxOnTaxAccountNo: taxOnTaxAccountNo ?? this.taxOnTaxAccountNo,
    taxOnTaxAccountDescription:
        taxOnTaxAccountDescription ?? this.taxOnTaxAccountDescription,
    taxAccountId1: taxAccountId1 ?? this.taxAccountId1,
    taxAccountNo1: taxAccountNo1 ?? this.taxAccountNo1,
    taxAccountDescription1:
        taxAccountDescription1 ?? this.taxAccountDescription1,
    taxAccountId2: taxAccountId2 ?? this.taxAccountId2,
    taxAccountNo2: taxAccountNo2 ?? this.taxAccountNo2,
    taxAccountDescription2:
        taxAccountDescription2 ?? this.taxAccountDescription2,
    quickBooksTaxItemCode:
        quickBooksTaxItemCode ?? this.quickBooksTaxItemCode,
    quickBooksTaxItemDescription:
        quickBooksTaxItemDescription ?? this.quickBooksTaxItemDescription,
    quickBooksTaxVendor: quickBooksTaxVendor ?? this.quickBooksTaxVendor,
    quickBooksTaxGroup: quickBooksTaxGroup ?? this.quickBooksTaxGroup,
    gstExportCode: gstExportCode ?? this.gstExportCode,
    pstExportCode: pstExportCode ?? this.pstExportCode,
    tax1Name: tax1Name ?? this.tax1Name,
    tax1Description: tax1Description ?? this.tax1Description,
    tax2Name: tax2Name ?? this.tax2Name,
    tax2Description: tax2Description ?? this.tax2Description,
    inactive: inactive ?? this.inactive,
    dateStamp: dateStamp ?? this.dateStamp,
    taxOptionCity: taxOptionCity ?? this.taxOptionCity,
    taxOptionCounty: taxOptionCounty ?? this.taxOptionCounty,
    taxOptionStateId: taxOptionStateId ?? this.taxOptionStateId,
    taxOptionState: taxOptionState ?? this.taxOptionState,
    taxOptionRateCode: taxOptionRateCode ?? this.taxOptionRateCode,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}