copyWithWrapped method

WebApiModulesBillingInvoiceItemInvoiceItem copyWithWrapped({
  1. Wrapped<String?>? invoiceItemId,
  2. Wrapped<String?>? invoiceId,
  3. Wrapped<String?>? itemId,
  4. Wrapped<String?>? itemClass,
  5. Wrapped<String?>? itemOrder,
  6. Wrapped<String?>? inventoryId,
  7. Wrapped<String?>? orderId,
  8. Wrapped<String?>? parentId,
  9. Wrapped<String?>? repairId,
  10. Wrapped<String?>? repairNumber,
  11. Wrapped<String?>? recType,
  12. Wrapped<String?>? availableFor,
  13. Wrapped<bool?>? bold,
  14. Wrapped<String?>? optionColor,
  15. Wrapped<String?>? orderItemId,
  16. Wrapped<String?>? nestedOrderItemId,
  17. Wrapped<bool?>? isAdjusted,
  18. Wrapped<bool?>? isRecurring,
  19. Wrapped<bool?>? isManualBill,
  20. Wrapped<String?>? voidInvoiceItemId,
  21. Wrapped<bool?>? isProfitCenter,
  22. Wrapped<String?>? profitCenterChargeCode1,
  23. Wrapped<String?>? profitCenterChargeCode2,
  24. Wrapped<String?>? profitCenterChargeCode,
  25. Wrapped<String?>? activity,
  26. Wrapped<String?>? activityExportCode,
  27. Wrapped<String?>? orderNumber,
  28. Wrapped<String?>? poNumber,
  29. Wrapped<String?>? iCode,
  30. Wrapped<String?>? description,
  31. Wrapped<String?>? barCode,
  32. Wrapped<String?>? serialNumber,
  33. Wrapped<String?>? fromDate,
  34. Wrapped<String?>? fromTime,
  35. Wrapped<String?>? toDate,
  36. Wrapped<String?>? toTime,
  37. Wrapped<double?>? days,
  38. Wrapped<double?>? billableDays,
  39. Wrapped<double?>? quantity,
  40. Wrapped<double?>? cost,
  41. Wrapped<double?>? rate,
  42. Wrapped<String?>? unit,
  43. Wrapped<double?>? daysPerWeek,
  44. Wrapped<double?>? discountPercent,
  45. Wrapped<double?>? discountAmount,
  46. Wrapped<int?>? split,
  47. Wrapped<double?>? hours,
  48. Wrapped<double?>? hoursOvertime,
  49. Wrapped<double?>? hoursDoubletime,
  50. Wrapped<bool?>? crewActualHours,
  51. Wrapped<double?>? meterOut,
  52. Wrapped<double?>? meterIn,
  53. Wrapped<double?>? lineTotalBeforeDiscount,
  54. Wrapped<double?>? extended,
  55. Wrapped<double?>? lineTotal,
  56. Wrapped<bool?>? taxable,
  57. Wrapped<double?>? tax,
  58. Wrapped<double?>? tax2,
  59. Wrapped<double?>? lineTotalWithTax,
  60. Wrapped<double?>? adjustment,
  61. Wrapped<double?>? rebateAmount,
  62. Wrapped<double?>? adjustedRevenue,
  63. Wrapped<double?>? quikPayExtended,
  64. Wrapped<String?>? currencyId,
  65. Wrapped<String?>? currencyCode,
  66. Wrapped<String?>? currencySymbol,
  67. Wrapped<int?>? nestingLevel,
  68. Wrapped<String?>? invoiceNumber,
  69. Wrapped<String?>? invoiceStatus,
  70. Wrapped<String?>? invoiceDate,
  71. Wrapped<String?>? dealId,
  72. Wrapped<String?>? deal,
  73. Wrapped<bool?>? isFixedContainerComponent,
  74. Wrapped<String?>? auditNote,
  75. Wrapped<String?>? recordTitle,
  76. Wrapped? urlIdentifier,
  77. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  78. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  79. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  80. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  81. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  82. Wrapped<bool?>? hasImport,
  83. Wrapped<bool?>? hasDocuments,
  84. Wrapped<String?>? createdByUserId,
  85. Wrapped<String?>? createdByUserName,
  86. Wrapped<String?>? createdDateTime,
  87. Wrapped<String?>? modifiedByUserId,
  88. Wrapped<String?>? modifiedByUserName,
  89. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesBillingInvoiceItemInvoiceItem copyWithWrapped({
  Wrapped<String?>? invoiceItemId,
  Wrapped<String?>? invoiceId,
  Wrapped<String?>? itemId,
  Wrapped<String?>? itemClass,
  Wrapped<String?>? itemOrder,
  Wrapped<String?>? inventoryId,
  Wrapped<String?>? orderId,
  Wrapped<String?>? parentId,
  Wrapped<String?>? repairId,
  Wrapped<String?>? repairNumber,
  Wrapped<String?>? recType,
  Wrapped<String?>? availableFor,
  Wrapped<bool?>? bold,
  Wrapped<String?>? optionColor,
  Wrapped<String?>? orderItemId,
  Wrapped<String?>? nestedOrderItemId,
  Wrapped<bool?>? isAdjusted,
  Wrapped<bool?>? isRecurring,
  Wrapped<bool?>? isManualBill,
  Wrapped<String?>? voidInvoiceItemId,
  Wrapped<bool?>? isProfitCenter,
  Wrapped<String?>? profitCenterChargeCode1,
  Wrapped<String?>? profitCenterChargeCode2,
  Wrapped<String?>? profitCenterChargeCode,
  Wrapped<String?>? activity,
  Wrapped<String?>? activityExportCode,
  Wrapped<String?>? orderNumber,
  Wrapped<String?>? poNumber,
  Wrapped<String?>? iCode,
  Wrapped<String?>? description,
  Wrapped<String?>? barCode,
  Wrapped<String?>? serialNumber,
  Wrapped<String?>? fromDate,
  Wrapped<String?>? fromTime,
  Wrapped<String?>? toDate,
  Wrapped<String?>? toTime,
  Wrapped<double?>? days,
  Wrapped<double?>? billableDays,
  Wrapped<double?>? quantity,
  Wrapped<double?>? cost,
  Wrapped<double?>? rate,
  Wrapped<String?>? unit,
  Wrapped<double?>? daysPerWeek,
  Wrapped<double?>? discountPercent,
  Wrapped<double?>? discountAmount,
  Wrapped<int?>? split,
  Wrapped<double?>? hours,
  Wrapped<double?>? hoursOvertime,
  Wrapped<double?>? hoursDoubletime,
  Wrapped<bool?>? crewActualHours,
  Wrapped<double?>? meterOut,
  Wrapped<double?>? meterIn,
  Wrapped<double?>? lineTotalBeforeDiscount,
  Wrapped<double?>? extended,
  Wrapped<double?>? lineTotal,
  Wrapped<bool?>? taxable,
  Wrapped<double?>? tax,
  Wrapped<double?>? tax2,
  Wrapped<double?>? lineTotalWithTax,
  Wrapped<double?>? adjustment,
  Wrapped<double?>? rebateAmount,
  Wrapped<double?>? adjustedRevenue,
  Wrapped<double?>? quikPayExtended,
  Wrapped<String?>? currencyId,
  Wrapped<String?>? currencyCode,
  Wrapped<String?>? currencySymbol,
  Wrapped<int?>? nestingLevel,
  Wrapped<String?>? invoiceNumber,
  Wrapped<String?>? invoiceStatus,
  Wrapped<String?>? invoiceDate,
  Wrapped<String?>? dealId,
  Wrapped<String?>? deal,
  Wrapped<bool?>? isFixedContainerComponent,
  Wrapped<String?>? auditNote,
  Wrapped<String?>? recordTitle,
  Wrapped<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesBillingInvoiceItemInvoiceItem(
    invoiceItemId: (invoiceItemId != null
        ? invoiceItemId.value
        : this.invoiceItemId),
    invoiceId: (invoiceId != null ? invoiceId.value : this.invoiceId),
    itemId: (itemId != null ? itemId.value : this.itemId),
    itemClass: (itemClass != null ? itemClass.value : this.itemClass),
    itemOrder: (itemOrder != null ? itemOrder.value : this.itemOrder),
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    orderId: (orderId != null ? orderId.value : this.orderId),
    parentId: (parentId != null ? parentId.value : this.parentId),
    repairId: (repairId != null ? repairId.value : this.repairId),
    repairNumber: (repairNumber != null
        ? repairNumber.value
        : this.repairNumber),
    recType: (recType != null ? recType.value : this.recType),
    availableFor: (availableFor != null
        ? availableFor.value
        : this.availableFor),
    bold: (bold != null ? bold.value : this.bold),
    optionColor: (optionColor != null ? optionColor.value : this.optionColor),
    orderItemId: (orderItemId != null ? orderItemId.value : this.orderItemId),
    nestedOrderItemId: (nestedOrderItemId != null
        ? nestedOrderItemId.value
        : this.nestedOrderItemId),
    isAdjusted: (isAdjusted != null ? isAdjusted.value : this.isAdjusted),
    isRecurring: (isRecurring != null ? isRecurring.value : this.isRecurring),
    isManualBill: (isManualBill != null
        ? isManualBill.value
        : this.isManualBill),
    voidInvoiceItemId: (voidInvoiceItemId != null
        ? voidInvoiceItemId.value
        : this.voidInvoiceItemId),
    isProfitCenter: (isProfitCenter != null
        ? isProfitCenter.value
        : this.isProfitCenter),
    profitCenterChargeCode1: (profitCenterChargeCode1 != null
        ? profitCenterChargeCode1.value
        : this.profitCenterChargeCode1),
    profitCenterChargeCode2: (profitCenterChargeCode2 != null
        ? profitCenterChargeCode2.value
        : this.profitCenterChargeCode2),
    profitCenterChargeCode: (profitCenterChargeCode != null
        ? profitCenterChargeCode.value
        : this.profitCenterChargeCode),
    activity: (activity != null ? activity.value : this.activity),
    activityExportCode: (activityExportCode != null
        ? activityExportCode.value
        : this.activityExportCode),
    orderNumber: (orderNumber != null ? orderNumber.value : this.orderNumber),
    poNumber: (poNumber != null ? poNumber.value : this.poNumber),
    iCode: (iCode != null ? iCode.value : this.iCode),
    description: (description != null ? description.value : this.description),
    barCode: (barCode != null ? barCode.value : this.barCode),
    serialNumber: (serialNumber != null
        ? serialNumber.value
        : this.serialNumber),
    fromDate: (fromDate != null ? fromDate.value : this.fromDate),
    fromTime: (fromTime != null ? fromTime.value : this.fromTime),
    toDate: (toDate != null ? toDate.value : this.toDate),
    toTime: (toTime != null ? toTime.value : this.toTime),
    days: (days != null ? days.value : this.days),
    billableDays: (billableDays != null
        ? billableDays.value
        : this.billableDays),
    quantity: (quantity != null ? quantity.value : this.quantity),
    cost: (cost != null ? cost.value : this.cost),
    rate: (rate != null ? rate.value : this.rate),
    unit: (unit != null ? unit.value : this.unit),
    daysPerWeek: (daysPerWeek != null ? daysPerWeek.value : this.daysPerWeek),
    discountPercent: (discountPercent != null
        ? discountPercent.value
        : this.discountPercent),
    discountAmount: (discountAmount != null
        ? discountAmount.value
        : this.discountAmount),
    split: (split != null ? split.value : this.split),
    hours: (hours != null ? hours.value : this.hours),
    hoursOvertime: (hoursOvertime != null
        ? hoursOvertime.value
        : this.hoursOvertime),
    hoursDoubletime: (hoursDoubletime != null
        ? hoursDoubletime.value
        : this.hoursDoubletime),
    crewActualHours: (crewActualHours != null
        ? crewActualHours.value
        : this.crewActualHours),
    meterOut: (meterOut != null ? meterOut.value : this.meterOut),
    meterIn: (meterIn != null ? meterIn.value : this.meterIn),
    lineTotalBeforeDiscount: (lineTotalBeforeDiscount != null
        ? lineTotalBeforeDiscount.value
        : this.lineTotalBeforeDiscount),
    extended: (extended != null ? extended.value : this.extended),
    lineTotal: (lineTotal != null ? lineTotal.value : this.lineTotal),
    taxable: (taxable != null ? taxable.value : this.taxable),
    tax: (tax != null ? tax.value : this.tax),
    tax2: (tax2 != null ? tax2.value : this.tax2),
    lineTotalWithTax: (lineTotalWithTax != null
        ? lineTotalWithTax.value
        : this.lineTotalWithTax),
    adjustment: (adjustment != null ? adjustment.value : this.adjustment),
    rebateAmount: (rebateAmount != null
        ? rebateAmount.value
        : this.rebateAmount),
    adjustedRevenue: (adjustedRevenue != null
        ? adjustedRevenue.value
        : this.adjustedRevenue),
    quikPayExtended: (quikPayExtended != null
        ? quikPayExtended.value
        : this.quikPayExtended),
    currencyId: (currencyId != null ? currencyId.value : this.currencyId),
    currencyCode: (currencyCode != null
        ? currencyCode.value
        : this.currencyCode),
    currencySymbol: (currencySymbol != null
        ? currencySymbol.value
        : this.currencySymbol),
    nestingLevel: (nestingLevel != null
        ? nestingLevel.value
        : this.nestingLevel),
    invoiceNumber: (invoiceNumber != null
        ? invoiceNumber.value
        : this.invoiceNumber),
    invoiceStatus: (invoiceStatus != null
        ? invoiceStatus.value
        : this.invoiceStatus),
    invoiceDate: (invoiceDate != null ? invoiceDate.value : this.invoiceDate),
    dealId: (dealId != null ? dealId.value : this.dealId),
    deal: (deal != null ? deal.value : this.deal),
    isFixedContainerComponent: (isFixedContainerComponent != null
        ? isFixedContainerComponent.value
        : this.isFixedContainerComponent),
    auditNote: (auditNote != null ? auditNote.value : this.auditNote),
    recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}