copyWithWrapped method

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

Implementation

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