copyWith method

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

Implementation

WebApiModulesUtilitiesRateUpdateItemRateUpdateItem copyWith(
    {String? inventoryId,
    String? warehouseId,
    String? description,
    String? iCode,
    String? warehouseCode,
    String? warehouse,
    String? availableFor,
    String? rank,
    String? classification,
    String? inventoryTypeId,
    String? inventoryType,
    String? categoryId,
    String? category,
    String? subCategoryId,
    String? subCategory,
    String? unitId,
    String? partNumber,
    String? manufacturerId,
    String? manufacturer,
    double? cost,
    double? newCost,
    double? defaultCost,
    double? newDefaultCost,
    double? price,
    double? newPrice,
    double? hourlyRate,
    double? dailyRate,
    double? weeklyRate,
    double? monthlyRate,
    double? newHourlyRate,
    double? newDailyRate,
    double? newWeeklyRate,
    double? newMonthlyRate,
    double? week2Rate,
    double? week3Rate,
    double? week4Rate,
    double? week5Rate,
    double? newWeek2Rate,
    double? newWeek3Rate,
    double? newWeek4Rate,
    double? newWeek5Rate,
    double? maxDiscount,
    double? newMaxDiscount,
    double? hourlyCost,
    double? newHourlyCost,
    double? dailyCost,
    double? newDailyCost,
    double? weeklyCost,
    double? newWeeklyCost,
    double? monthlyCost,
    double? newMonthlyCost,
    double? unitValue,
    double? newUnitValue,
    double? replacementCost,
    double? newReplacementCost,
    double? retail,
    double? newRetail,
    double? minDaysPerWeek,
    double? newMinDaysPerWeek,
    String? currencyId,
    String? currency,
    String? currencySymbol,
    String? currencyCode,
    bool? isForeignCurrency,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesUtilitiesRateUpdateItemRateUpdateItem(
      inventoryId: inventoryId ?? this.inventoryId,
      warehouseId: warehouseId ?? this.warehouseId,
      description: description ?? this.description,
      iCode: iCode ?? this.iCode,
      warehouseCode: warehouseCode ?? this.warehouseCode,
      warehouse: warehouse ?? this.warehouse,
      availableFor: availableFor ?? this.availableFor,
      rank: rank ?? this.rank,
      classification: classification ?? this.classification,
      inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
      inventoryType: inventoryType ?? this.inventoryType,
      categoryId: categoryId ?? this.categoryId,
      category: category ?? this.category,
      subCategoryId: subCategoryId ?? this.subCategoryId,
      subCategory: subCategory ?? this.subCategory,
      unitId: unitId ?? this.unitId,
      partNumber: partNumber ?? this.partNumber,
      manufacturerId: manufacturerId ?? this.manufacturerId,
      manufacturer: manufacturer ?? this.manufacturer,
      cost: cost ?? this.cost,
      newCost: newCost ?? this.newCost,
      defaultCost: defaultCost ?? this.defaultCost,
      newDefaultCost: newDefaultCost ?? this.newDefaultCost,
      price: price ?? this.price,
      newPrice: newPrice ?? this.newPrice,
      hourlyRate: hourlyRate ?? this.hourlyRate,
      dailyRate: dailyRate ?? this.dailyRate,
      weeklyRate: weeklyRate ?? this.weeklyRate,
      monthlyRate: monthlyRate ?? this.monthlyRate,
      newHourlyRate: newHourlyRate ?? this.newHourlyRate,
      newDailyRate: newDailyRate ?? this.newDailyRate,
      newWeeklyRate: newWeeklyRate ?? this.newWeeklyRate,
      newMonthlyRate: newMonthlyRate ?? this.newMonthlyRate,
      week2Rate: week2Rate ?? this.week2Rate,
      week3Rate: week3Rate ?? this.week3Rate,
      week4Rate: week4Rate ?? this.week4Rate,
      week5Rate: week5Rate ?? this.week5Rate,
      newWeek2Rate: newWeek2Rate ?? this.newWeek2Rate,
      newWeek3Rate: newWeek3Rate ?? this.newWeek3Rate,
      newWeek4Rate: newWeek4Rate ?? this.newWeek4Rate,
      newWeek5Rate: newWeek5Rate ?? this.newWeek5Rate,
      maxDiscount: maxDiscount ?? this.maxDiscount,
      newMaxDiscount: newMaxDiscount ?? this.newMaxDiscount,
      hourlyCost: hourlyCost ?? this.hourlyCost,
      newHourlyCost: newHourlyCost ?? this.newHourlyCost,
      dailyCost: dailyCost ?? this.dailyCost,
      newDailyCost: newDailyCost ?? this.newDailyCost,
      weeklyCost: weeklyCost ?? this.weeklyCost,
      newWeeklyCost: newWeeklyCost ?? this.newWeeklyCost,
      monthlyCost: monthlyCost ?? this.monthlyCost,
      newMonthlyCost: newMonthlyCost ?? this.newMonthlyCost,
      unitValue: unitValue ?? this.unitValue,
      newUnitValue: newUnitValue ?? this.newUnitValue,
      replacementCost: replacementCost ?? this.replacementCost,
      newReplacementCost: newReplacementCost ?? this.newReplacementCost,
      retail: retail ?? this.retail,
      newRetail: newRetail ?? this.newRetail,
      minDaysPerWeek: minDaysPerWeek ?? this.minDaysPerWeek,
      newMinDaysPerWeek: newMinDaysPerWeek ?? this.newMinDaysPerWeek,
      currencyId: currencyId ?? this.currencyId,
      currency: currency ?? this.currency,
      currencySymbol: currencySymbol ?? this.currencySymbol,
      currencyCode: currencyCode ?? this.currencyCode,
      isForeignCurrency: isForeignCurrency ?? this.isForeignCurrency,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}