copyWithWrapped method

WebApiModulesUtilitiesRateUpdateBatchItemRateUpdateBatchItem copyWithWrapped({
  1. Wrapped<int?>? rateUpdateBatchItemId,
  2. Wrapped<String?>? inventoryId,
  3. Wrapped<String?>? iCode,
  4. Wrapped<String?>? currencyId,
  5. Wrapped<String?>? description,
  6. Wrapped<String?>? availableFor,
  7. Wrapped<bool?>? rank,
  8. Wrapped<String?>? classification,
  9. Wrapped<String?>? inventoryTypeId,
  10. Wrapped<String?>? inventoryType,
  11. Wrapped<String?>? categoryId,
  12. Wrapped<String?>? category,
  13. Wrapped<String?>? subCategoryId,
  14. Wrapped<String?>? subCategory,
  15. Wrapped<String?>? warehouseId,
  16. Wrapped<String?>? warehouseCode,
  17. Wrapped<String?>? warehouse,
  18. Wrapped<String?>? manufacturerId,
  19. Wrapped<String?>? manufacturer,
  20. Wrapped<String?>? unitId,
  21. Wrapped<String?>? partNumber,
  22. Wrapped<double?>? oldDefaultCost,
  23. Wrapped<double?>? newDefaultCost,
  24. Wrapped<double?>? oldCost,
  25. Wrapped<double?>? newCost,
  26. Wrapped<double?>? oldPrice,
  27. Wrapped<double?>? newPrice,
  28. Wrapped<double?>? oldRetail,
  29. Wrapped<double?>? newRetail,
  30. Wrapped<double?>? oldHourlyRate,
  31. Wrapped<double?>? newHourlyRate,
  32. Wrapped<double?>? oldHourlyCost,
  33. Wrapped<double?>? newHourlyCost,
  34. Wrapped<double?>? oldDailyRate,
  35. Wrapped<double?>? newDailyRate,
  36. Wrapped<double?>? oldDailyCost,
  37. Wrapped<double?>? newDailyCost,
  38. Wrapped<double?>? oldWeeklyRate,
  39. Wrapped<double?>? oldWeek2Rate,
  40. Wrapped<double?>? oldWeek3Rate,
  41. Wrapped<double?>? oldWeek4Rate,
  42. Wrapped<double?>? oldWeek5Rate,
  43. Wrapped<double?>? oldWeeklyCost,
  44. Wrapped<double?>? newWeeklyRate,
  45. Wrapped<double?>? newWeek2Rate,
  46. Wrapped<double?>? newWeek3Rate,
  47. Wrapped<double?>? newWeek4Rate,
  48. Wrapped<double?>? newWeek5Rate,
  49. Wrapped<double?>? newWeeklyCost,
  50. Wrapped<double?>? oldMonthlyRate,
  51. Wrapped<double?>? oldMonthlyCost,
  52. Wrapped<double?>? oldMaxDiscount,
  53. Wrapped<double?>? newMonthlyRate,
  54. Wrapped<double?>? newMonthlyCost,
  55. Wrapped<double?>? newMaxDiscount,
  56. Wrapped<double?>? oldUnitValue,
  57. Wrapped<double?>? newUnitValue,
  58. Wrapped<double?>? oldReplacementCost,
  59. Wrapped<double?>? newReplacementCost,
  60. Wrapped<double?>? oldMinDaysPerWeek,
  61. Wrapped<double?>? newMinDaysPerWeek,
  62. Wrapped<int?>? rateUpdateBatchId,
  63. Wrapped<String?>? dateStamp,
  64. Wrapped<String?>? auditNote,
  65. Wrapped<String?>? recordTitle,
  66. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  67. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  68. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  69. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesUtilitiesRateUpdateBatchItemRateUpdateBatchItem copyWithWrapped(
    {Wrapped<int?>? rateUpdateBatchItemId,
    Wrapped<String?>? inventoryId,
    Wrapped<String?>? iCode,
    Wrapped<String?>? currencyId,
    Wrapped<String?>? description,
    Wrapped<String?>? availableFor,
    Wrapped<bool?>? rank,
    Wrapped<String?>? classification,
    Wrapped<String?>? inventoryTypeId,
    Wrapped<String?>? inventoryType,
    Wrapped<String?>? categoryId,
    Wrapped<String?>? category,
    Wrapped<String?>? subCategoryId,
    Wrapped<String?>? subCategory,
    Wrapped<String?>? warehouseId,
    Wrapped<String?>? warehouseCode,
    Wrapped<String?>? warehouse,
    Wrapped<String?>? manufacturerId,
    Wrapped<String?>? manufacturer,
    Wrapped<String?>? unitId,
    Wrapped<String?>? partNumber,
    Wrapped<double?>? oldDefaultCost,
    Wrapped<double?>? newDefaultCost,
    Wrapped<double?>? oldCost,
    Wrapped<double?>? newCost,
    Wrapped<double?>? oldPrice,
    Wrapped<double?>? newPrice,
    Wrapped<double?>? oldRetail,
    Wrapped<double?>? newRetail,
    Wrapped<double?>? oldHourlyRate,
    Wrapped<double?>? newHourlyRate,
    Wrapped<double?>? oldHourlyCost,
    Wrapped<double?>? newHourlyCost,
    Wrapped<double?>? oldDailyRate,
    Wrapped<double?>? newDailyRate,
    Wrapped<double?>? oldDailyCost,
    Wrapped<double?>? newDailyCost,
    Wrapped<double?>? oldWeeklyRate,
    Wrapped<double?>? oldWeek2Rate,
    Wrapped<double?>? oldWeek3Rate,
    Wrapped<double?>? oldWeek4Rate,
    Wrapped<double?>? oldWeek5Rate,
    Wrapped<double?>? oldWeeklyCost,
    Wrapped<double?>? newWeeklyRate,
    Wrapped<double?>? newWeek2Rate,
    Wrapped<double?>? newWeek3Rate,
    Wrapped<double?>? newWeek4Rate,
    Wrapped<double?>? newWeek5Rate,
    Wrapped<double?>? newWeeklyCost,
    Wrapped<double?>? oldMonthlyRate,
    Wrapped<double?>? oldMonthlyCost,
    Wrapped<double?>? oldMaxDiscount,
    Wrapped<double?>? newMonthlyRate,
    Wrapped<double?>? newMonthlyCost,
    Wrapped<double?>? newMaxDiscount,
    Wrapped<double?>? oldUnitValue,
    Wrapped<double?>? newUnitValue,
    Wrapped<double?>? oldReplacementCost,
    Wrapped<double?>? newReplacementCost,
    Wrapped<double?>? oldMinDaysPerWeek,
    Wrapped<double?>? newMinDaysPerWeek,
    Wrapped<int?>? rateUpdateBatchId,
    Wrapped<String?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesUtilitiesRateUpdateBatchItemRateUpdateBatchItem(
      rateUpdateBatchItemId: (rateUpdateBatchItemId != null
          ? rateUpdateBatchItemId.value
          : this.rateUpdateBatchItemId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      iCode: (iCode != null ? iCode.value : this.iCode),
      currencyId: (currencyId != null ? currencyId.value : this.currencyId),
      description:
          (description != null ? description.value : this.description),
      availableFor:
          (availableFor != null ? availableFor.value : this.availableFor),
      rank: (rank != null ? rank.value : this.rank),
      classification: (classification != null
          ? classification.value
          : this.classification),
      inventoryTypeId: (inventoryTypeId != null
          ? inventoryTypeId.value
          : this.inventoryTypeId),
      inventoryType:
          (inventoryType != null ? inventoryType.value : this.inventoryType),
      categoryId: (categoryId != null ? categoryId.value : this.categoryId),
      category: (category != null ? category.value : this.category),
      subCategoryId:
          (subCategoryId != null ? subCategoryId.value : this.subCategoryId),
      subCategory:
          (subCategory != null ? subCategory.value : this.subCategory),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      warehouseCode:
          (warehouseCode != null ? warehouseCode.value : this.warehouseCode),
      warehouse: (warehouse != null ? warehouse.value : this.warehouse),
      manufacturerId: (manufacturerId != null
          ? manufacturerId.value
          : this.manufacturerId),
      manufacturer:
          (manufacturer != null ? manufacturer.value : this.manufacturer),
      unitId: (unitId != null ? unitId.value : this.unitId),
      partNumber: (partNumber != null ? partNumber.value : this.partNumber),
      oldDefaultCost: (oldDefaultCost != null
          ? oldDefaultCost.value
          : this.oldDefaultCost),
      newDefaultCost: (newDefaultCost != null
          ? newDefaultCost.value
          : this.newDefaultCost),
      oldCost: (oldCost != null ? oldCost.value : this.oldCost),
      newCost: (newCost != null ? newCost.value : this.newCost),
      oldPrice: (oldPrice != null ? oldPrice.value : this.oldPrice),
      newPrice: (newPrice != null ? newPrice.value : this.newPrice),
      oldRetail: (oldRetail != null ? oldRetail.value : this.oldRetail),
      newRetail: (newRetail != null ? newRetail.value : this.newRetail),
      oldHourlyRate:
          (oldHourlyRate != null ? oldHourlyRate.value : this.oldHourlyRate),
      newHourlyRate:
          (newHourlyRate != null ? newHourlyRate.value : this.newHourlyRate),
      oldHourlyCost:
          (oldHourlyCost != null ? oldHourlyCost.value : this.oldHourlyCost),
      newHourlyCost:
          (newHourlyCost != null ? newHourlyCost.value : this.newHourlyCost),
      oldDailyRate:
          (oldDailyRate != null ? oldDailyRate.value : this.oldDailyRate),
      newDailyRate:
          (newDailyRate != null ? newDailyRate.value : this.newDailyRate),
      oldDailyCost:
          (oldDailyCost != null ? oldDailyCost.value : this.oldDailyCost),
      newDailyCost:
          (newDailyCost != null ? newDailyCost.value : this.newDailyCost),
      oldWeeklyRate:
          (oldWeeklyRate != null ? oldWeeklyRate.value : this.oldWeeklyRate),
      oldWeek2Rate:
          (oldWeek2Rate != null ? oldWeek2Rate.value : this.oldWeek2Rate),
      oldWeek3Rate:
          (oldWeek3Rate != null ? oldWeek3Rate.value : this.oldWeek3Rate),
      oldWeek4Rate:
          (oldWeek4Rate != null ? oldWeek4Rate.value : this.oldWeek4Rate),
      oldWeek5Rate:
          (oldWeek5Rate != null ? oldWeek5Rate.value : this.oldWeek5Rate),
      oldWeeklyCost:
          (oldWeeklyCost != null ? oldWeeklyCost.value : this.oldWeeklyCost),
      newWeeklyRate:
          (newWeeklyRate != null ? newWeeklyRate.value : this.newWeeklyRate),
      newWeek2Rate:
          (newWeek2Rate != null ? newWeek2Rate.value : this.newWeek2Rate),
      newWeek3Rate:
          (newWeek3Rate != null ? newWeek3Rate.value : this.newWeek3Rate),
      newWeek4Rate:
          (newWeek4Rate != null ? newWeek4Rate.value : this.newWeek4Rate),
      newWeek5Rate:
          (newWeek5Rate != null ? newWeek5Rate.value : this.newWeek5Rate),
      newWeeklyCost:
          (newWeeklyCost != null ? newWeeklyCost.value : this.newWeeklyCost),
      oldMonthlyRate: (oldMonthlyRate != null
          ? oldMonthlyRate.value
          : this.oldMonthlyRate),
      oldMonthlyCost: (oldMonthlyCost != null
          ? oldMonthlyCost.value
          : this.oldMonthlyCost),
      oldMaxDiscount: (oldMaxDiscount != null
          ? oldMaxDiscount.value
          : this.oldMaxDiscount),
      newMonthlyRate: (newMonthlyRate != null
          ? newMonthlyRate.value
          : this.newMonthlyRate),
      newMonthlyCost: (newMonthlyCost != null
          ? newMonthlyCost.value
          : this.newMonthlyCost),
      newMaxDiscount: (newMaxDiscount != null
          ? newMaxDiscount.value
          : this.newMaxDiscount),
      oldUnitValue:
          (oldUnitValue != null ? oldUnitValue.value : this.oldUnitValue),
      newUnitValue:
          (newUnitValue != null ? newUnitValue.value : this.newUnitValue),
      oldReplacementCost: (oldReplacementCost != null
          ? oldReplacementCost.value
          : this.oldReplacementCost),
      newReplacementCost: (newReplacementCost != null
          ? newReplacementCost.value
          : this.newReplacementCost),
      oldMinDaysPerWeek: (oldMinDaysPerWeek != null
          ? oldMinDaysPerWeek.value
          : this.oldMinDaysPerWeek),
      newMinDaysPerWeek: (newMinDaysPerWeek != null
          ? newMinDaysPerWeek.value
          : this.newMinDaysPerWeek),
      rateUpdateBatchId: (rateUpdateBatchId != null
          ? rateUpdateBatchId.value
          : this.rateUpdateBatchId),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      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));
}