copyWithWrapped method

WebApiModulesUtilitiesRateUpdateItemRateUpdateItem copyWithWrapped({
  1. Wrapped<String?>? inventoryId,
  2. Wrapped<String?>? warehouseId,
  3. Wrapped<String?>? description,
  4. Wrapped<String?>? iCode,
  5. Wrapped<String?>? warehouseCode,
  6. Wrapped<String?>? warehouse,
  7. Wrapped<String?>? availableFor,
  8. Wrapped<String?>? rank,
  9. Wrapped<String?>? classification,
  10. Wrapped<String?>? inventoryTypeId,
  11. Wrapped<String?>? inventoryType,
  12. Wrapped<String?>? categoryId,
  13. Wrapped<String?>? category,
  14. Wrapped<String?>? subCategoryId,
  15. Wrapped<String?>? subCategory,
  16. Wrapped<String?>? unitId,
  17. Wrapped<String?>? partNumber,
  18. Wrapped<String?>? manufacturerId,
  19. Wrapped<String?>? manufacturer,
  20. Wrapped<double?>? cost,
  21. Wrapped<double?>? newCost,
  22. Wrapped<double?>? defaultCost,
  23. Wrapped<double?>? newDefaultCost,
  24. Wrapped<double?>? price,
  25. Wrapped<double?>? newPrice,
  26. Wrapped<double?>? hourlyRate,
  27. Wrapped<double?>? dailyRate,
  28. Wrapped<double?>? weeklyRate,
  29. Wrapped<double?>? monthlyRate,
  30. Wrapped<double?>? newHourlyRate,
  31. Wrapped<double?>? newDailyRate,
  32. Wrapped<double?>? newWeeklyRate,
  33. Wrapped<double?>? newMonthlyRate,
  34. Wrapped<double?>? week2Rate,
  35. Wrapped<double?>? week3Rate,
  36. Wrapped<double?>? week4Rate,
  37. Wrapped<double?>? week5Rate,
  38. Wrapped<double?>? newWeek2Rate,
  39. Wrapped<double?>? newWeek3Rate,
  40. Wrapped<double?>? newWeek4Rate,
  41. Wrapped<double?>? newWeek5Rate,
  42. Wrapped<double?>? maxDiscount,
  43. Wrapped<double?>? newMaxDiscount,
  44. Wrapped<double?>? hourlyCost,
  45. Wrapped<double?>? newHourlyCost,
  46. Wrapped<double?>? dailyCost,
  47. Wrapped<double?>? newDailyCost,
  48. Wrapped<double?>? weeklyCost,
  49. Wrapped<double?>? newWeeklyCost,
  50. Wrapped<double?>? monthlyCost,
  51. Wrapped<double?>? newMonthlyCost,
  52. Wrapped<double?>? unitValue,
  53. Wrapped<double?>? newUnitValue,
  54. Wrapped<double?>? replacementCost,
  55. Wrapped<double?>? newReplacementCost,
  56. Wrapped<double?>? retail,
  57. Wrapped<double?>? newRetail,
  58. Wrapped<double?>? minDaysPerWeek,
  59. Wrapped<double?>? newMinDaysPerWeek,
  60. Wrapped<String?>? currencyId,
  61. Wrapped<String?>? currency,
  62. Wrapped<String?>? currencySymbol,
  63. Wrapped<String?>? currencyCode,
  64. Wrapped<bool?>? isForeignCurrency,
  65. Wrapped<String?>? dateStamp,
  66. Wrapped<String?>? auditNote,
  67. Wrapped<String?>? recordTitle,
  68. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  69. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  70. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  71. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesUtilitiesRateUpdateItemRateUpdateItem copyWithWrapped(
    {Wrapped<String?>? inventoryId,
    Wrapped<String?>? warehouseId,
    Wrapped<String?>? description,
    Wrapped<String?>? iCode,
    Wrapped<String?>? warehouseCode,
    Wrapped<String?>? warehouse,
    Wrapped<String?>? availableFor,
    Wrapped<String?>? rank,
    Wrapped<String?>? classification,
    Wrapped<String?>? inventoryTypeId,
    Wrapped<String?>? inventoryType,
    Wrapped<String?>? categoryId,
    Wrapped<String?>? category,
    Wrapped<String?>? subCategoryId,
    Wrapped<String?>? subCategory,
    Wrapped<String?>? unitId,
    Wrapped<String?>? partNumber,
    Wrapped<String?>? manufacturerId,
    Wrapped<String?>? manufacturer,
    Wrapped<double?>? cost,
    Wrapped<double?>? newCost,
    Wrapped<double?>? defaultCost,
    Wrapped<double?>? newDefaultCost,
    Wrapped<double?>? price,
    Wrapped<double?>? newPrice,
    Wrapped<double?>? hourlyRate,
    Wrapped<double?>? dailyRate,
    Wrapped<double?>? weeklyRate,
    Wrapped<double?>? monthlyRate,
    Wrapped<double?>? newHourlyRate,
    Wrapped<double?>? newDailyRate,
    Wrapped<double?>? newWeeklyRate,
    Wrapped<double?>? newMonthlyRate,
    Wrapped<double?>? week2Rate,
    Wrapped<double?>? week3Rate,
    Wrapped<double?>? week4Rate,
    Wrapped<double?>? week5Rate,
    Wrapped<double?>? newWeek2Rate,
    Wrapped<double?>? newWeek3Rate,
    Wrapped<double?>? newWeek4Rate,
    Wrapped<double?>? newWeek5Rate,
    Wrapped<double?>? maxDiscount,
    Wrapped<double?>? newMaxDiscount,
    Wrapped<double?>? hourlyCost,
    Wrapped<double?>? newHourlyCost,
    Wrapped<double?>? dailyCost,
    Wrapped<double?>? newDailyCost,
    Wrapped<double?>? weeklyCost,
    Wrapped<double?>? newWeeklyCost,
    Wrapped<double?>? monthlyCost,
    Wrapped<double?>? newMonthlyCost,
    Wrapped<double?>? unitValue,
    Wrapped<double?>? newUnitValue,
    Wrapped<double?>? replacementCost,
    Wrapped<double?>? newReplacementCost,
    Wrapped<double?>? retail,
    Wrapped<double?>? newRetail,
    Wrapped<double?>? minDaysPerWeek,
    Wrapped<double?>? newMinDaysPerWeek,
    Wrapped<String?>? currencyId,
    Wrapped<String?>? currency,
    Wrapped<String?>? currencySymbol,
    Wrapped<String?>? currencyCode,
    Wrapped<bool?>? isForeignCurrency,
    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 WebApiModulesUtilitiesRateUpdateItemRateUpdateItem(
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      description:
          (description != null ? description.value : this.description),
      iCode: (iCode != null ? iCode.value : this.iCode),
      warehouseCode:
          (warehouseCode != null ? warehouseCode.value : this.warehouseCode),
      warehouse: (warehouse != null ? warehouse.value : this.warehouse),
      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),
      unitId: (unitId != null ? unitId.value : this.unitId),
      partNumber: (partNumber != null ? partNumber.value : this.partNumber),
      manufacturerId: (manufacturerId != null
          ? manufacturerId.value
          : this.manufacturerId),
      manufacturer:
          (manufacturer != null ? manufacturer.value : this.manufacturer),
      cost: (cost != null ? cost.value : this.cost),
      newCost: (newCost != null ? newCost.value : this.newCost),
      defaultCost:
          (defaultCost != null ? defaultCost.value : this.defaultCost),
      newDefaultCost: (newDefaultCost != null
          ? newDefaultCost.value
          : this.newDefaultCost),
      price: (price != null ? price.value : this.price),
      newPrice: (newPrice != null ? newPrice.value : this.newPrice),
      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),
      newHourlyRate:
          (newHourlyRate != null ? newHourlyRate.value : this.newHourlyRate),
      newDailyRate:
          (newDailyRate != null ? newDailyRate.value : this.newDailyRate),
      newWeeklyRate:
          (newWeeklyRate != null ? newWeeklyRate.value : this.newWeeklyRate),
      newMonthlyRate: (newMonthlyRate != null
          ? newMonthlyRate.value
          : this.newMonthlyRate),
      week2Rate: (week2Rate != null ? week2Rate.value : this.week2Rate),
      week3Rate: (week3Rate != null ? week3Rate.value : this.week3Rate),
      week4Rate: (week4Rate != null ? week4Rate.value : this.week4Rate),
      week5Rate: (week5Rate != null ? week5Rate.value : this.week5Rate),
      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),
      maxDiscount:
          (maxDiscount != null ? maxDiscount.value : this.maxDiscount),
      newMaxDiscount: (newMaxDiscount != null
          ? newMaxDiscount.value
          : this.newMaxDiscount),
      hourlyCost: (hourlyCost != null ? hourlyCost.value : this.hourlyCost),
      newHourlyCost:
          (newHourlyCost != null ? newHourlyCost.value : this.newHourlyCost),
      dailyCost: (dailyCost != null ? dailyCost.value : this.dailyCost),
      newDailyCost:
          (newDailyCost != null ? newDailyCost.value : this.newDailyCost),
      weeklyCost: (weeklyCost != null ? weeklyCost.value : this.weeklyCost),
      newWeeklyCost:
          (newWeeklyCost != null ? newWeeklyCost.value : this.newWeeklyCost),
      monthlyCost:
          (monthlyCost != null ? monthlyCost.value : this.monthlyCost),
      newMonthlyCost: (newMonthlyCost != null
          ? newMonthlyCost.value
          : this.newMonthlyCost),
      unitValue: (unitValue != null ? unitValue.value : this.unitValue),
      newUnitValue:
          (newUnitValue != null ? newUnitValue.value : this.newUnitValue),
      replacementCost: (replacementCost != null
          ? replacementCost.value
          : this.replacementCost),
      newReplacementCost: (newReplacementCost != null
          ? newReplacementCost.value
          : this.newReplacementCost),
      retail: (retail != null ? retail.value : this.retail),
      newRetail: (newRetail != null ? newRetail.value : this.newRetail),
      minDaysPerWeek: (minDaysPerWeek != null
          ? minDaysPerWeek.value
          : this.minDaysPerWeek),
      newMinDaysPerWeek: (newMinDaysPerWeek != null
          ? newMinDaysPerWeek.value
          : this.newMinDaysPerWeek),
      currencyId: (currencyId != null ? currencyId.value : this.currencyId),
      currency: (currency != null ? currency.value : this.currency),
      currencySymbol: (currencySymbol != null
          ? currencySymbol.value
          : this.currencySymbol),
      currencyCode:
          (currencyCode != null ? currencyCode.value : this.currencyCode),
      isForeignCurrency: (isForeignCurrency != null
          ? isForeignCurrency.value
          : this.isForeignCurrency),
      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));
}