copyWith method
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,
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);
}