copyWithWrapped method

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