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? rentalInventoryId,
  66. String? salesInventoryId,
  67. String? partsInventoryId,
  68. String? miscRateId,
  69. String? laborRateId,
  70. String? rateId,
  71. String? rentalICode,
  72. String? salesICode,
  73. String? partsICode,
  74. String? miscICode,
  75. String? laborICode,
  76. String? dateStamp,
  77. String? auditNote,
  78. String? recordTitle,
  79. dynamic urlIdentifier,
  80. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  81. List<FwStandardDataFwCustomValue>? custom,
  82. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  83. FwStandardBusinessLogicFwBusinessLogic? original,
  84. List<FwStandardDataFwTranslatedValue>? translation,
  85. bool? hasImport,
  86. bool? hasDocuments,
  87. String? createdByUserId,
  88. String? createdByUserName,
  89. String? createdDateTime,
  90. String? modifiedByUserId,
  91. String? modifiedByUserName,
  92. String? modifiedDateTime,
})

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? rentalInventoryId,
  String? salesInventoryId,
  String? partsInventoryId,
  String? miscRateId,
  String? laborRateId,
  String? rateId,
  String? rentalICode,
  String? salesICode,
  String? partsICode,
  String? miscICode,
  String? laborICode,
  String? dateStamp,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  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,
    rentalInventoryId: rentalInventoryId ?? this.rentalInventoryId,
    salesInventoryId: salesInventoryId ?? this.salesInventoryId,
    partsInventoryId: partsInventoryId ?? this.partsInventoryId,
    miscRateId: miscRateId ?? this.miscRateId,
    laborRateId: laborRateId ?? this.laborRateId,
    rateId: rateId ?? this.rateId,
    rentalICode: rentalICode ?? this.rentalICode,
    salesICode: salesICode ?? this.salesICode,
    partsICode: partsICode ?? this.partsICode,
    miscICode: miscICode ?? this.miscICode,
    laborICode: laborICode ?? this.laborICode,
    dateStamp: dateStamp ?? this.dateStamp,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}