copyWith method

WebApiModulesAgentOrderItemOrderItemDefaultRequest copyWith({
  1. String? inventoryId,
  2. String? classification,
  3. String? recType,
  4. String? orderType,
  5. String? orderId,
  6. String? warehouseId,
  7. String? rateType,
  8. String? orderTypeId,
  9. bool? nonTaxable,
  10. double? rentalTaxRate1,
  11. bool? rentalExempt,
  12. double? salesTaxRate1,
  13. bool? salesExempt,
  14. double? laborTaxRate1,
  15. bool? laborExempt,
  16. bool? consignment,
  17. String? poTypeId,
  18. String? vendorId,
  19. bool? isSub,
  20. bool? useEstimatedDatesForBilling,
  21. String? estimatedStartDate,
  22. String? estimatedStopDate,
  23. double? quantityOrdered,
  24. double? hours,
  25. double? hoursOvertime,
  26. double? hoursDoubletime,
  27. double? daysPerWeek,
  28. String? locationId,
  29. String? currencyId,
  30. 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,
  );
}