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