copyWith method

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

Implementation

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