copyWith method

WebApiModulesHomeControlsSubPurchaseOrderItemSubPurchaseOrderItem copyWith({
  1. String? sessionId,
  2. String? orderId,
  3. String? orderItemId,
  4. String? primaryOrderItemId,
  5. String? parentId,
  6. String? inventoryId,
  7. String? iCode,
  8. String? iCodeColor,
  9. String? description,
  10. String? descriptionColor,
  11. bool? nonDiscountable,
  12. bool? isRecurring,
  13. bool? prorateWeeks,
  14. bool? prorateMonths,
  15. bool? prorate,
  16. String? prorateMonthsBy,
  17. bool? recurringRateType,
  18. bool? isLaborHourly,
  19. String? fromDate,
  20. String? toDate,
  21. double? hours,
  22. double? overTimeHours,
  23. double? doubleTimeHours,
  24. double? subQuantity,
  25. double? quantityOrdered,
  26. double? vendorRate,
  27. double? vendorDaysPerWeek,
  28. double? vendorDiscountPercent,
  29. double? vendorDiscountPercentDisplay,
  30. double? vendorBillablePeriods,
  31. double? vendorWeeklySubTotal,
  32. double? vendorWeeklyDiscount,
  33. double? vendorWeeklyExtended,
  34. double? vendorWeeklyTax,
  35. double? vendorWeeklyTotal,
  36. double? vendorMonthlySubTotal,
  37. double? vendorMonthlyDiscount,
  38. double? vendorMonthlyExtended,
  39. double? vendorMonthlyTax,
  40. double? vendorMonthlyTotal,
  41. double? vendorPeriodSubTotal,
  42. double? vendorPeriodDiscount,
  43. double? vendorPeriodExtended,
  44. double? vendorPeriodTax,
  45. double? vendorPeriodTotal,
  46. double? dealRate,
  47. double? dealDaysPerWeek,
  48. double? dealDiscountPercent,
  49. double? dealDiscountPercentDisplay,
  50. double? dealBillablePeriods,
  51. double? dealWeeklySubTotal,
  52. double? dealWeeklyDiscount,
  53. double? dealWeeklyExtended,
  54. double? dealMonthlySubTotal,
  55. double? dealMonthlyDiscount,
  56. double? dealMonthlyExtended,
  57. double? dealPeriodSubTotal,
  58. double? dealPeriodDiscount,
  59. double? dealPeriodExtended,
  60. double? variance,
  61. String? varianceColor,
  62. double? markupPercent,
  63. double? marginPercent,
  64. String? itemClass,
  65. String? itemOrder,
  66. bool? optionColor,
  67. String? recType,
  68. bool? taxable,
  69. String? unitId,
  70. String? nestedOrderItemId,
  71. double? accessoryRatio,
  72. String? vendorCurrencyId,
  73. String? vendorCurrencyCode,
  74. String? vendorCurrencySymbol,
  75. String? dealCurrencyId,
  76. String? dealCurrencyCode,
  77. String? dealCurrencySymbol,
  78. double? currencyExchangeRate,
  79. double? currencyConvertedRate,
  80. double? currencyConvertedWeeklyExtended,
  81. double? currencyConvertedMonthlyExtended,
  82. double? currencyConvertedPeriodExtended,
  83. int? nestingLevel,
  84. String? auditNote,
  85. String? recordTitle,
  86. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  87. List<FwStandardDataFwCustomValue>? custom,
  88. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  89. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeControlsSubPurchaseOrderItemSubPurchaseOrderItem copyWith(
    {String? sessionId,
    String? orderId,
    String? orderItemId,
    String? primaryOrderItemId,
    String? parentId,
    String? inventoryId,
    String? iCode,
    String? iCodeColor,
    String? description,
    String? descriptionColor,
    bool? nonDiscountable,
    bool? isRecurring,
    bool? prorateWeeks,
    bool? prorateMonths,
    bool? prorate,
    String? prorateMonthsBy,
    bool? recurringRateType,
    bool? isLaborHourly,
    String? fromDate,
    String? toDate,
    double? hours,
    double? overTimeHours,
    double? doubleTimeHours,
    double? subQuantity,
    double? quantityOrdered,
    double? vendorRate,
    double? vendorDaysPerWeek,
    double? vendorDiscountPercent,
    double? vendorDiscountPercentDisplay,
    double? vendorBillablePeriods,
    double? vendorWeeklySubTotal,
    double? vendorWeeklyDiscount,
    double? vendorWeeklyExtended,
    double? vendorWeeklyTax,
    double? vendorWeeklyTotal,
    double? vendorMonthlySubTotal,
    double? vendorMonthlyDiscount,
    double? vendorMonthlyExtended,
    double? vendorMonthlyTax,
    double? vendorMonthlyTotal,
    double? vendorPeriodSubTotal,
    double? vendorPeriodDiscount,
    double? vendorPeriodExtended,
    double? vendorPeriodTax,
    double? vendorPeriodTotal,
    double? dealRate,
    double? dealDaysPerWeek,
    double? dealDiscountPercent,
    double? dealDiscountPercentDisplay,
    double? dealBillablePeriods,
    double? dealWeeklySubTotal,
    double? dealWeeklyDiscount,
    double? dealWeeklyExtended,
    double? dealMonthlySubTotal,
    double? dealMonthlyDiscount,
    double? dealMonthlyExtended,
    double? dealPeriodSubTotal,
    double? dealPeriodDiscount,
    double? dealPeriodExtended,
    double? variance,
    String? varianceColor,
    double? markupPercent,
    double? marginPercent,
    String? itemClass,
    String? itemOrder,
    bool? optionColor,
    String? recType,
    bool? taxable,
    String? unitId,
    String? nestedOrderItemId,
    double? accessoryRatio,
    String? vendorCurrencyId,
    String? vendorCurrencyCode,
    String? vendorCurrencySymbol,
    String? dealCurrencyId,
    String? dealCurrencyCode,
    String? dealCurrencySymbol,
    double? currencyExchangeRate,
    double? currencyConvertedRate,
    double? currencyConvertedWeeklyExtended,
    double? currencyConvertedMonthlyExtended,
    double? currencyConvertedPeriodExtended,
    int? nestingLevel,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsSubPurchaseOrderItemSubPurchaseOrderItem(
      sessionId: sessionId ?? this.sessionId,
      orderId: orderId ?? this.orderId,
      orderItemId: orderItemId ?? this.orderItemId,
      primaryOrderItemId: primaryOrderItemId ?? this.primaryOrderItemId,
      parentId: parentId ?? this.parentId,
      inventoryId: inventoryId ?? this.inventoryId,
      iCode: iCode ?? this.iCode,
      iCodeColor: iCodeColor ?? this.iCodeColor,
      description: description ?? this.description,
      descriptionColor: descriptionColor ?? this.descriptionColor,
      nonDiscountable: nonDiscountable ?? this.nonDiscountable,
      isRecurring: isRecurring ?? this.isRecurring,
      prorateWeeks: prorateWeeks ?? this.prorateWeeks,
      prorateMonths: prorateMonths ?? this.prorateMonths,
      prorate: prorate ?? this.prorate,
      prorateMonthsBy: prorateMonthsBy ?? this.prorateMonthsBy,
      recurringRateType: recurringRateType ?? this.recurringRateType,
      isLaborHourly: isLaborHourly ?? this.isLaborHourly,
      fromDate: fromDate ?? this.fromDate,
      toDate: toDate ?? this.toDate,
      hours: hours ?? this.hours,
      overTimeHours: overTimeHours ?? this.overTimeHours,
      doubleTimeHours: doubleTimeHours ?? this.doubleTimeHours,
      subQuantity: subQuantity ?? this.subQuantity,
      quantityOrdered: quantityOrdered ?? this.quantityOrdered,
      vendorRate: vendorRate ?? this.vendorRate,
      vendorDaysPerWeek: vendorDaysPerWeek ?? this.vendorDaysPerWeek,
      vendorDiscountPercent:
          vendorDiscountPercent ?? this.vendorDiscountPercent,
      vendorDiscountPercentDisplay:
          vendorDiscountPercentDisplay ?? this.vendorDiscountPercentDisplay,
      vendorBillablePeriods:
          vendorBillablePeriods ?? this.vendorBillablePeriods,
      vendorWeeklySubTotal: vendorWeeklySubTotal ?? this.vendorWeeklySubTotal,
      vendorWeeklyDiscount: vendorWeeklyDiscount ?? this.vendorWeeklyDiscount,
      vendorWeeklyExtended: vendorWeeklyExtended ?? this.vendorWeeklyExtended,
      vendorWeeklyTax: vendorWeeklyTax ?? this.vendorWeeklyTax,
      vendorWeeklyTotal: vendorWeeklyTotal ?? this.vendorWeeklyTotal,
      vendorMonthlySubTotal:
          vendorMonthlySubTotal ?? this.vendorMonthlySubTotal,
      vendorMonthlyDiscount:
          vendorMonthlyDiscount ?? this.vendorMonthlyDiscount,
      vendorMonthlyExtended:
          vendorMonthlyExtended ?? this.vendorMonthlyExtended,
      vendorMonthlyTax: vendorMonthlyTax ?? this.vendorMonthlyTax,
      vendorMonthlyTotal: vendorMonthlyTotal ?? this.vendorMonthlyTotal,
      vendorPeriodSubTotal: vendorPeriodSubTotal ?? this.vendorPeriodSubTotal,
      vendorPeriodDiscount: vendorPeriodDiscount ?? this.vendorPeriodDiscount,
      vendorPeriodExtended: vendorPeriodExtended ?? this.vendorPeriodExtended,
      vendorPeriodTax: vendorPeriodTax ?? this.vendorPeriodTax,
      vendorPeriodTotal: vendorPeriodTotal ?? this.vendorPeriodTotal,
      dealRate: dealRate ?? this.dealRate,
      dealDaysPerWeek: dealDaysPerWeek ?? this.dealDaysPerWeek,
      dealDiscountPercent: dealDiscountPercent ?? this.dealDiscountPercent,
      dealDiscountPercentDisplay:
          dealDiscountPercentDisplay ?? this.dealDiscountPercentDisplay,
      dealBillablePeriods: dealBillablePeriods ?? this.dealBillablePeriods,
      dealWeeklySubTotal: dealWeeklySubTotal ?? this.dealWeeklySubTotal,
      dealWeeklyDiscount: dealWeeklyDiscount ?? this.dealWeeklyDiscount,
      dealWeeklyExtended: dealWeeklyExtended ?? this.dealWeeklyExtended,
      dealMonthlySubTotal: dealMonthlySubTotal ?? this.dealMonthlySubTotal,
      dealMonthlyDiscount: dealMonthlyDiscount ?? this.dealMonthlyDiscount,
      dealMonthlyExtended: dealMonthlyExtended ?? this.dealMonthlyExtended,
      dealPeriodSubTotal: dealPeriodSubTotal ?? this.dealPeriodSubTotal,
      dealPeriodDiscount: dealPeriodDiscount ?? this.dealPeriodDiscount,
      dealPeriodExtended: dealPeriodExtended ?? this.dealPeriodExtended,
      variance: variance ?? this.variance,
      varianceColor: varianceColor ?? this.varianceColor,
      markupPercent: markupPercent ?? this.markupPercent,
      marginPercent: marginPercent ?? this.marginPercent,
      itemClass: itemClass ?? this.itemClass,
      itemOrder: itemOrder ?? this.itemOrder,
      optionColor: optionColor ?? this.optionColor,
      recType: recType ?? this.recType,
      taxable: taxable ?? this.taxable,
      unitId: unitId ?? this.unitId,
      nestedOrderItemId: nestedOrderItemId ?? this.nestedOrderItemId,
      accessoryRatio: accessoryRatio ?? this.accessoryRatio,
      vendorCurrencyId: vendorCurrencyId ?? this.vendorCurrencyId,
      vendorCurrencyCode: vendorCurrencyCode ?? this.vendorCurrencyCode,
      vendorCurrencySymbol: vendorCurrencySymbol ?? this.vendorCurrencySymbol,
      dealCurrencyId: dealCurrencyId ?? this.dealCurrencyId,
      dealCurrencyCode: dealCurrencyCode ?? this.dealCurrencyCode,
      dealCurrencySymbol: dealCurrencySymbol ?? this.dealCurrencySymbol,
      currencyExchangeRate: currencyExchangeRate ?? this.currencyExchangeRate,
      currencyConvertedRate:
          currencyConvertedRate ?? this.currencyConvertedRate,
      currencyConvertedWeeklyExtended: currencyConvertedWeeklyExtended ??
          this.currencyConvertedWeeklyExtended,
      currencyConvertedMonthlyExtended: currencyConvertedMonthlyExtended ??
          this.currencyConvertedMonthlyExtended,
      currencyConvertedPeriodExtended: currencyConvertedPeriodExtended ??
          this.currencyConvertedPeriodExtended,
      nestingLevel: nestingLevel ?? this.nestingLevel,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}