copyWith method

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

Implementation

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