copyWith method
WebApiModulesAgentOrderItemOrderItemDefaultRequest
copyWith({
- String? inventoryId,
- String? classification,
- String? recType,
- String? orderType,
- String? orderId,
- String? warehouseId,
- String? rateType,
- String? orderTypeId,
- bool? nonTaxable,
- double? rentalTaxRate1,
- bool? rentalExempt,
- double? salesTaxRate1,
- bool? salesExempt,
- double? laborTaxRate1,
- bool? laborExempt,
- bool? consignment,
- String? poTypeId,
- String? vendorId,
- bool? isSub,
- bool? useEstimatedDatesForBilling,
- String? estimatedStartDate,
- String? estimatedStopDate,
- double? quantityOrdered,
- double? hours,
- double? hoursOvertime,
- double? hoursDoubletime,
- double? daysPerWeek,
- String? locationId,
- String? currencyId,
- double? replacementCost,
Implementation
WebApiModulesAgentOrderItemOrderItemDefaultRequest copyWith({
String? inventoryId,
String? classification,
String? recType,
String? orderType,
String? orderId,
String? warehouseId,
String? rateType,
String? orderTypeId,
bool? nonTaxable,
double? rentalTaxRate1,
bool? rentalExempt,
double? salesTaxRate1,
bool? salesExempt,
double? laborTaxRate1,
bool? laborExempt,
bool? consignment,
String? poTypeId,
String? vendorId,
bool? isSub,
bool? useEstimatedDatesForBilling,
String? estimatedStartDate,
String? estimatedStopDate,
double? quantityOrdered,
double? hours,
double? hoursOvertime,
double? hoursDoubletime,
double? daysPerWeek,
String? locationId,
String? currencyId,
double? replacementCost,
}) {
return WebApiModulesAgentOrderItemOrderItemDefaultRequest(
inventoryId: inventoryId ?? this.inventoryId,
classification: classification ?? this.classification,
recType: recType ?? this.recType,
orderType: orderType ?? this.orderType,
orderId: orderId ?? this.orderId,
warehouseId: warehouseId ?? this.warehouseId,
rateType: rateType ?? this.rateType,
orderTypeId: orderTypeId ?? this.orderTypeId,
nonTaxable: nonTaxable ?? this.nonTaxable,
rentalTaxRate1: rentalTaxRate1 ?? this.rentalTaxRate1,
rentalExempt: rentalExempt ?? this.rentalExempt,
salesTaxRate1: salesTaxRate1 ?? this.salesTaxRate1,
salesExempt: salesExempt ?? this.salesExempt,
laborTaxRate1: laborTaxRate1 ?? this.laborTaxRate1,
laborExempt: laborExempt ?? this.laborExempt,
consignment: consignment ?? this.consignment,
poTypeId: poTypeId ?? this.poTypeId,
vendorId: vendorId ?? this.vendorId,
isSub: isSub ?? this.isSub,
useEstimatedDatesForBilling:
useEstimatedDatesForBilling ?? this.useEstimatedDatesForBilling,
estimatedStartDate: estimatedStartDate ?? this.estimatedStartDate,
estimatedStopDate: estimatedStopDate ?? this.estimatedStopDate,
quantityOrdered: quantityOrdered ?? this.quantityOrdered,
hours: hours ?? this.hours,
hoursOvertime: hoursOvertime ?? this.hoursOvertime,
hoursDoubletime: hoursDoubletime ?? this.hoursDoubletime,
daysPerWeek: daysPerWeek ?? this.daysPerWeek,
locationId: locationId ?? this.locationId,
currencyId: currencyId ?? this.currencyId,
replacementCost: replacementCost ?? this.replacementCost,
);
}