copyWith method

WebApiModulesSettingsLaborSettingsLaborRateLaborRate copyWith({
  1. String? rateId,
  2. String? laborTypeId,
  3. String? laborType,
  4. String? rateType,
  5. bool? includeAsProfitAndLossCategory,
  6. bool? includeInCost,
  7. double? averageCost,
  8. double? price,
  9. double? hourlyRate,
  10. double? dailyRate,
  11. double? weeklyRate,
  12. double? monthlyRate,
  13. double? hourlyCost,
  14. double? dailyCost,
  15. double? weeklyCost,
  16. double? monthlyCost,
  17. String? iCode,
  18. String? description,
  19. String? availFor,
  20. String? categoryId,
  21. String? category,
  22. int? subCategoryCount,
  23. String? subCategoryId,
  24. String? subCategory,
  25. String? classification,
  26. String? classificationDescription,
  27. String? classificationColor,
  28. String? unitId,
  29. String? unit,
  30. String? unitType,
  31. bool? nonDiscountable,
  32. bool? overrideProfitAndLossCategory,
  33. String? profitAndLossCategoryId,
  34. String? profitAndLossCategory,
  35. bool? autoCopyNotesToQuoteOrder,
  36. String? note,
  37. bool? printNoteOnInContract,
  38. bool? printNoteOnOutContract,
  39. bool? printNoteOnReceiveContract,
  40. bool? printNoteOnReturnContract,
  41. bool? printNoteOnInvoice,
  42. bool? printNoteOnOrder,
  43. bool? printNoteOnPickList,
  44. bool? printNoteOnPO,
  45. bool? printNoteOnQuote,
  46. bool? printNoteOnReturnList,
  47. bool? printNoteOnPoReceiveList,
  48. bool? printNoteOnPoReturnList,
  49. String? assetAccountId,
  50. String? assetAccountNo,
  51. String? assetAccountDescription,
  52. String? incomeAccountId,
  53. String? incomeAccountNo,
  54. String? incomeAccountDescription,
  55. String? subIncomeAccountId,
  56. String? subIncomeAccountNo,
  57. String? subIncomeAccountDescription,
  58. String? consignmentIncomeAccountId,
  59. String? consignmentIncomeAccountNo,
  60. String? consignmentIncomeAccountDescription,
  61. String? ldIncomeAccountId,
  62. String? ldIncomeAccountNo,
  63. String? ldIncomeAccountDescription,
  64. String? equipmentSaleIncomeAccountId,
  65. String? equipmentSaleIncomeAccountNo,
  66. String? equipmentSaleIncomeAccountDescription,
  67. String? expenseAccountId,
  68. String? expenseAccountNo,
  69. String? expenseAccountDescription,
  70. String? costOfGoodsSoldExpenseAccountId,
  71. String? costOfGoodsSoldExpenseAccountNo,
  72. String? costOfGoodsSoldExpenseAccountDescription,
  73. String? costOfGoodsRentedExpenseAccountId,
  74. String? costOfGoodsRentedExpenseAccountNo,
  75. String? costOfGoodsRentedExpenseAccountDescription,
  76. String? depreciationExpenseAccountId,
  77. String? depreciationExpenseAccountNo,
  78. String? depreciationExpenseAccountDescription,
  79. String? accumulatedDepreciationExpenseAccountId,
  80. String? accumulatedDepreciationExpenseAccountNo,
  81. String? accumulatedDepreciationExpenseAccountDescription,
  82. String? inputDate,
  83. String? inputByUsersId,
  84. String? category2,
  85. String? class2,
  86. String? stockClass,
  87. bool? inactive,
  88. String? dateStamp,
  89. bool? manifestShippingContainer,
  90. bool? manifestStandAloneItem,
  91. String? auditNote,
  92. String? recordTitle,
  93. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  94. List<FwStandardDataFwCustomValue>? custom,
  95. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  96. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsLaborSettingsLaborRateLaborRate copyWith(
    {String? rateId,
    String? laborTypeId,
    String? laborType,
    String? rateType,
    bool? includeAsProfitAndLossCategory,
    bool? includeInCost,
    double? averageCost,
    double? price,
    double? hourlyRate,
    double? dailyRate,
    double? weeklyRate,
    double? monthlyRate,
    double? hourlyCost,
    double? dailyCost,
    double? weeklyCost,
    double? monthlyCost,
    String? iCode,
    String? description,
    String? availFor,
    String? categoryId,
    String? category,
    int? subCategoryCount,
    String? subCategoryId,
    String? subCategory,
    String? classification,
    String? classificationDescription,
    String? classificationColor,
    String? unitId,
    String? unit,
    String? unitType,
    bool? nonDiscountable,
    bool? overrideProfitAndLossCategory,
    String? profitAndLossCategoryId,
    String? profitAndLossCategory,
    bool? autoCopyNotesToQuoteOrder,
    String? note,
    bool? printNoteOnInContract,
    bool? printNoteOnOutContract,
    bool? printNoteOnReceiveContract,
    bool? printNoteOnReturnContract,
    bool? printNoteOnInvoice,
    bool? printNoteOnOrder,
    bool? printNoteOnPickList,
    bool? printNoteOnPO,
    bool? printNoteOnQuote,
    bool? printNoteOnReturnList,
    bool? printNoteOnPoReceiveList,
    bool? printNoteOnPoReturnList,
    String? assetAccountId,
    String? assetAccountNo,
    String? assetAccountDescription,
    String? incomeAccountId,
    String? incomeAccountNo,
    String? incomeAccountDescription,
    String? subIncomeAccountId,
    String? subIncomeAccountNo,
    String? subIncomeAccountDescription,
    String? consignmentIncomeAccountId,
    String? consignmentIncomeAccountNo,
    String? consignmentIncomeAccountDescription,
    String? ldIncomeAccountId,
    String? ldIncomeAccountNo,
    String? ldIncomeAccountDescription,
    String? equipmentSaleIncomeAccountId,
    String? equipmentSaleIncomeAccountNo,
    String? equipmentSaleIncomeAccountDescription,
    String? expenseAccountId,
    String? expenseAccountNo,
    String? expenseAccountDescription,
    String? costOfGoodsSoldExpenseAccountId,
    String? costOfGoodsSoldExpenseAccountNo,
    String? costOfGoodsSoldExpenseAccountDescription,
    String? costOfGoodsRentedExpenseAccountId,
    String? costOfGoodsRentedExpenseAccountNo,
    String? costOfGoodsRentedExpenseAccountDescription,
    String? depreciationExpenseAccountId,
    String? depreciationExpenseAccountNo,
    String? depreciationExpenseAccountDescription,
    String? accumulatedDepreciationExpenseAccountId,
    String? accumulatedDepreciationExpenseAccountNo,
    String? accumulatedDepreciationExpenseAccountDescription,
    String? inputDate,
    String? inputByUsersId,
    String? category2,
    String? class2,
    String? stockClass,
    bool? inactive,
    String? dateStamp,
    bool? manifestShippingContainer,
    bool? manifestStandAloneItem,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsLaborSettingsLaborRateLaborRate(
      rateId: rateId ?? this.rateId,
      laborTypeId: laborTypeId ?? this.laborTypeId,
      laborType: laborType ?? this.laborType,
      rateType: rateType ?? this.rateType,
      includeAsProfitAndLossCategory: includeAsProfitAndLossCategory ??
          this.includeAsProfitAndLossCategory,
      includeInCost: includeInCost ?? this.includeInCost,
      averageCost: averageCost ?? this.averageCost,
      price: price ?? this.price,
      hourlyRate: hourlyRate ?? this.hourlyRate,
      dailyRate: dailyRate ?? this.dailyRate,
      weeklyRate: weeklyRate ?? this.weeklyRate,
      monthlyRate: monthlyRate ?? this.monthlyRate,
      hourlyCost: hourlyCost ?? this.hourlyCost,
      dailyCost: dailyCost ?? this.dailyCost,
      weeklyCost: weeklyCost ?? this.weeklyCost,
      monthlyCost: monthlyCost ?? this.monthlyCost,
      iCode: iCode ?? this.iCode,
      description: description ?? this.description,
      availFor: availFor ?? this.availFor,
      categoryId: categoryId ?? this.categoryId,
      category: category ?? this.category,
      subCategoryCount: subCategoryCount ?? this.subCategoryCount,
      subCategoryId: subCategoryId ?? this.subCategoryId,
      subCategory: subCategory ?? this.subCategory,
      classification: classification ?? this.classification,
      classificationDescription:
          classificationDescription ?? this.classificationDescription,
      classificationColor: classificationColor ?? this.classificationColor,
      unitId: unitId ?? this.unitId,
      unit: unit ?? this.unit,
      unitType: unitType ?? this.unitType,
      nonDiscountable: nonDiscountable ?? this.nonDiscountable,
      overrideProfitAndLossCategory:
          overrideProfitAndLossCategory ?? this.overrideProfitAndLossCategory,
      profitAndLossCategoryId:
          profitAndLossCategoryId ?? this.profitAndLossCategoryId,
      profitAndLossCategory:
          profitAndLossCategory ?? this.profitAndLossCategory,
      autoCopyNotesToQuoteOrder:
          autoCopyNotesToQuoteOrder ?? this.autoCopyNotesToQuoteOrder,
      note: note ?? this.note,
      printNoteOnInContract:
          printNoteOnInContract ?? this.printNoteOnInContract,
      printNoteOnOutContract:
          printNoteOnOutContract ?? this.printNoteOnOutContract,
      printNoteOnReceiveContract:
          printNoteOnReceiveContract ?? this.printNoteOnReceiveContract,
      printNoteOnReturnContract:
          printNoteOnReturnContract ?? this.printNoteOnReturnContract,
      printNoteOnInvoice: printNoteOnInvoice ?? this.printNoteOnInvoice,
      printNoteOnOrder: printNoteOnOrder ?? this.printNoteOnOrder,
      printNoteOnPickList: printNoteOnPickList ?? this.printNoteOnPickList,
      printNoteOnPO: printNoteOnPO ?? this.printNoteOnPO,
      printNoteOnQuote: printNoteOnQuote ?? this.printNoteOnQuote,
      printNoteOnReturnList:
          printNoteOnReturnList ?? this.printNoteOnReturnList,
      printNoteOnPoReceiveList:
          printNoteOnPoReceiveList ?? this.printNoteOnPoReceiveList,
      printNoteOnPoReturnList:
          printNoteOnPoReturnList ?? this.printNoteOnPoReturnList,
      assetAccountId: assetAccountId ?? this.assetAccountId,
      assetAccountNo: assetAccountNo ?? this.assetAccountNo,
      assetAccountDescription:
          assetAccountDescription ?? this.assetAccountDescription,
      incomeAccountId: incomeAccountId ?? this.incomeAccountId,
      incomeAccountNo: incomeAccountNo ?? this.incomeAccountNo,
      incomeAccountDescription:
          incomeAccountDescription ?? this.incomeAccountDescription,
      subIncomeAccountId: subIncomeAccountId ?? this.subIncomeAccountId,
      subIncomeAccountNo: subIncomeAccountNo ?? this.subIncomeAccountNo,
      subIncomeAccountDescription:
          subIncomeAccountDescription ?? this.subIncomeAccountDescription,
      consignmentIncomeAccountId:
          consignmentIncomeAccountId ?? this.consignmentIncomeAccountId,
      consignmentIncomeAccountNo:
          consignmentIncomeAccountNo ?? this.consignmentIncomeAccountNo,
      consignmentIncomeAccountDescription: consignmentIncomeAccountDescription ??
          this.consignmentIncomeAccountDescription,
      ldIncomeAccountId: ldIncomeAccountId ?? this.ldIncomeAccountId,
      ldIncomeAccountNo: ldIncomeAccountNo ?? this.ldIncomeAccountNo,
      ldIncomeAccountDescription:
          ldIncomeAccountDescription ?? this.ldIncomeAccountDescription,
      equipmentSaleIncomeAccountId:
          equipmentSaleIncomeAccountId ?? this.equipmentSaleIncomeAccountId,
      equipmentSaleIncomeAccountNo:
          equipmentSaleIncomeAccountNo ?? this.equipmentSaleIncomeAccountNo,
      equipmentSaleIncomeAccountDescription: equipmentSaleIncomeAccountDescription ??
          this.equipmentSaleIncomeAccountDescription,
      expenseAccountId: expenseAccountId ?? this.expenseAccountId,
      expenseAccountNo: expenseAccountNo ?? this.expenseAccountNo,
      expenseAccountDescription:
          expenseAccountDescription ?? this.expenseAccountDescription,
      costOfGoodsSoldExpenseAccountId: costOfGoodsSoldExpenseAccountId ??
          this.costOfGoodsSoldExpenseAccountId,
      costOfGoodsSoldExpenseAccountNo: costOfGoodsSoldExpenseAccountNo ??
          this.costOfGoodsSoldExpenseAccountNo,
      costOfGoodsSoldExpenseAccountDescription:
          costOfGoodsSoldExpenseAccountDescription ??
              this.costOfGoodsSoldExpenseAccountDescription,
      costOfGoodsRentedExpenseAccountId: costOfGoodsRentedExpenseAccountId ??
          this.costOfGoodsRentedExpenseAccountId,
      costOfGoodsRentedExpenseAccountNo: costOfGoodsRentedExpenseAccountNo ??
          this.costOfGoodsRentedExpenseAccountNo,
      costOfGoodsRentedExpenseAccountDescription:
          costOfGoodsRentedExpenseAccountDescription ??
              this.costOfGoodsRentedExpenseAccountDescription,
      depreciationExpenseAccountId:
          depreciationExpenseAccountId ?? this.depreciationExpenseAccountId,
      depreciationExpenseAccountNo:
          depreciationExpenseAccountNo ?? this.depreciationExpenseAccountNo,
      depreciationExpenseAccountDescription: depreciationExpenseAccountDescription ??
          this.depreciationExpenseAccountDescription,
      accumulatedDepreciationExpenseAccountId: accumulatedDepreciationExpenseAccountId ??
          this.accumulatedDepreciationExpenseAccountId,
      accumulatedDepreciationExpenseAccountNo:
          accumulatedDepreciationExpenseAccountNo ??
              this.accumulatedDepreciationExpenseAccountNo,
      accumulatedDepreciationExpenseAccountDescription:
          accumulatedDepreciationExpenseAccountDescription ??
              this.accumulatedDepreciationExpenseAccountDescription,
      inputDate: inputDate ?? this.inputDate,
      inputByUsersId: inputByUsersId ?? this.inputByUsersId,
      category2: category2 ?? this.category2,
      class2: class2 ?? this.class2,
      stockClass: stockClass ?? this.stockClass,
      inactive: inactive ?? this.inactive,
      dateStamp: dateStamp ?? this.dateStamp,
      manifestShippingContainer: manifestShippingContainer ?? this.manifestShippingContainer,
      manifestStandAloneItem: manifestStandAloneItem ?? this.manifestStandAloneItem,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes: defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}