copyWith method
WebApiModulesSettingsRateWarehouseRateWarehouse
copyWith({
- String? rateId,
- double? hourlyRate,
- double? hourlyCost,
- double? hourlyMarkupPercent,
- double? dailyRate,
- double? dailyCost,
- double? dailyMarkupPercent,
- double? weeklyRate,
- double? weeklyCost,
- double? weeklyMarkupPercent,
- double? monthlyRate,
- double? monthlyCost,
- double? monthlyMarkupPercent,
- double? price,
- double? cost,
- double? markupPercent,
- String? defaultStartTime,
- String? defaultStopTime,
- String? itemDescription,
- String? warehouseId,
- String? warehouseCode,
- String? warehouse,
- int? warehouseOrderBy,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesSettingsRateWarehouseRateWarehouse copyWith(
{String? rateId,
double? hourlyRate,
double? hourlyCost,
double? hourlyMarkupPercent,
double? dailyRate,
double? dailyCost,
double? dailyMarkupPercent,
double? weeklyRate,
double? weeklyCost,
double? weeklyMarkupPercent,
double? monthlyRate,
double? monthlyCost,
double? monthlyMarkupPercent,
double? price,
double? cost,
double? markupPercent,
String? defaultStartTime,
String? defaultStopTime,
String? itemDescription,
String? warehouseId,
String? warehouseCode,
String? warehouse,
int? warehouseOrderBy,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesSettingsRateWarehouseRateWarehouse(
rateId: rateId ?? this.rateId,
hourlyRate: hourlyRate ?? this.hourlyRate,
hourlyCost: hourlyCost ?? this.hourlyCost,
hourlyMarkupPercent: hourlyMarkupPercent ?? this.hourlyMarkupPercent,
dailyRate: dailyRate ?? this.dailyRate,
dailyCost: dailyCost ?? this.dailyCost,
dailyMarkupPercent: dailyMarkupPercent ?? this.dailyMarkupPercent,
weeklyRate: weeklyRate ?? this.weeklyRate,
weeklyCost: weeklyCost ?? this.weeklyCost,
weeklyMarkupPercent: weeklyMarkupPercent ?? this.weeklyMarkupPercent,
monthlyRate: monthlyRate ?? this.monthlyRate,
monthlyCost: monthlyCost ?? this.monthlyCost,
monthlyMarkupPercent: monthlyMarkupPercent ?? this.monthlyMarkupPercent,
price: price ?? this.price,
cost: cost ?? this.cost,
markupPercent: markupPercent ?? this.markupPercent,
defaultStartTime: defaultStartTime ?? this.defaultStartTime,
defaultStopTime: defaultStopTime ?? this.defaultStopTime,
itemDescription: itemDescription ?? this.itemDescription,
warehouseId: warehouseId ?? this.warehouseId,
warehouseCode: warehouseCode ?? this.warehouseCode,
warehouse: warehouse ?? this.warehouse,
warehouseOrderBy: warehouseOrderBy ?? this.warehouseOrderBy,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}