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. double? salesTaxRate1,
  13. double? salesTaxRate2,
  14. bool? salesExempt,
  15. String? salesTaxDisplay,
  16. double? laborTaxRate1,
  17. double? laborTaxRate2,
  18. bool? laborExempt,
  19. String? laborTaxDisplay,
  20. bool? taxOnTax,
  21. String? taxOnTaxAccountId,
  22. String? taxOnTaxAccountNo,
  23. String? taxOnTaxAccountDescription,
  24. String? taxAccountId1,
  25. String? taxAccountNo1,
  26. String? taxAccountDescription1,
  27. String? taxAccountId2,
  28. String? taxAccountNo2,
  29. String? taxAccountDescription2,
  30. String? quickBooksTaxItemCode,
  31. String? quickBooksTaxItemDescription,
  32. String? quickBooksTaxVendor,
  33. bool? quickBooksTaxGroup,
  34. String? gstExportCode,
  35. String? pstExportCode,
  36. String? tax1Name,
  37. String? tax1Description,
  38. String? tax2Name,
  39. String? tax2Description,
  40. bool? inactive,
  41. String? dateStamp,
  42. String? auditNote,
  43. String? recordTitle,
  44. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  45. List<FwStandardDataFwCustomValue>? custom,
  46. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
})

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,
    double? salesTaxRate1,
    double? salesTaxRate2,
    bool? salesExempt,
    String? salesTaxDisplay,
    double? laborTaxRate1,
    double? laborTaxRate2,
    bool? laborExempt,
    String? laborTaxDisplay,
    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? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes}) {
  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,
      salesTaxRate1: salesTaxRate1 ?? this.salesTaxRate1,
      salesTaxRate2: salesTaxRate2 ?? this.salesTaxRate2,
      salesExempt: salesExempt ?? this.salesExempt,
      salesTaxDisplay: salesTaxDisplay ?? this.salesTaxDisplay,
      laborTaxRate1: laborTaxRate1 ?? this.laborTaxRate1,
      laborTaxRate2: laborTaxRate2 ?? this.laborTaxRate2,
      laborExempt: laborExempt ?? this.laborExempt,
      laborTaxDisplay: laborTaxDisplay ?? this.laborTaxDisplay,
      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,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes);
}