copyWith method

WebApiModulesInventoryRepairRepair copyWith({
  1. String? repairId,
  2. String? locationId,
  3. String? location,
  4. String? billingLocationId,
  5. String? billingLocation,
  6. String? warehouseId,
  7. String? itemWarehouseId,
  8. String? warehouse,
  9. String? warehouseCode,
  10. String? billingWarehouseId,
  11. String? billingWarehouse,
  12. String? departmentId,
  13. String? department,
  14. String? inventoryTypeId,
  15. String? inventoryType,
  16. bool? pendingRepair,
  17. String? repairNumber,
  18. String? repairNumberColor,
  19. String? repairDate,
  20. bool? outsideRepair,
  21. String? outsideRepairPoNumber,
  22. String? itemId,
  23. String? barCode,
  24. String? serialNumber,
  25. String? rfId,
  26. String? barCodeColor,
  27. String? inventoryId,
  28. String? availFor,
  29. String? availForDisplay,
  30. String? iCode,
  31. String? iCodeColor,
  32. String? itemDescription,
  33. int? quantity,
  34. String? quantityColor,
  35. String? damageDealId,
  36. String? damageDeal,
  37. String? damageDealColor,
  38. String? damageOrderId,
  39. String? damageOrderNumber,
  40. String? damageOrderDescription,
  41. String? damageContractId,
  42. String? damageContractNumber,
  43. String? damageContractDate,
  44. String? damageScannedById,
  45. String? damageScannedBy,
  46. String? lossAndDamageOrderId,
  47. String? lossAndDamageOrderNumber,
  48. String? lossAndDamageOrderDescription,
  49. String? chargeOrderId,
  50. String? chargeOrderNumber,
  51. String? chargeOrderDescription,
  52. String? chargeInvoiceId,
  53. String? chargeInvoiceNumber,
  54. String? chargeInvoiceDescription,
  55. String? taxOptionId,
  56. String? taxOption,
  57. String? taxId,
  58. double? rentalTaxRate1,
  59. double? salesTaxRate1,
  60. double? laborTaxRate1,
  61. double? rentalTaxRate2,
  62. double? salesTaxRate2,
  63. double? laborTaxRate2,
  64. String? status,
  65. String? statusColor,
  66. String? statusDate,
  67. bool? billable,
  68. String? billableDisplay,
  69. bool? notBilled,
  70. String? priority,
  71. String? priorityDescription,
  72. String? priorityColor,
  73. String? repairType,
  74. bool? poPending,
  75. String? poNumber,
  76. String? damage,
  77. String? correction,
  78. bool? released,
  79. double? releasedQuantity,
  80. String? transferId,
  81. String? transferredFromWarehouseId,
  82. String? dueDate,
  83. String? estimateByUserId,
  84. String? estimateBy,
  85. String? estimateDate,
  86. String? completeByUserId,
  87. String? completeBy,
  88. String? completeDate,
  89. String? inputDate,
  90. String? inputByUserId,
  91. String? inputByUserName,
  92. String? repairItemStatusId,
  93. String? repairItemStatus,
  94. String? currencyId,
  95. String? officeLocationDefaultCurrencyId,
  96. String? currencyCode,
  97. String? currencySymbol,
  98. String? currencyColor,
  99. String? notes,
  100. bool? inactive,
  101. bool? qcRequired,
  102. bool? autoCompleteQC,
  103. String? qcNote,
  104. String? conditionId,
  105. String? condition,
  106. double? costExtended,
  107. double? costTax,
  108. double? costTotal,
  109. double? partsExtended,
  110. double? partsTax,
  111. double? partsTotal,
  112. double? totalRepairExtended,
  113. double? totalRepairTax,
  114. double? totalRepairTotal,
  115. String? dateStamp,
  116. String? auditNote,
  117. String? recordTitle,
  118. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  119. List<FwStandardDataFwCustomValue>? custom,
  120. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
})

Implementation

WebApiModulesInventoryRepairRepair copyWith(
    {String? repairId,
    String? locationId,
    String? location,
    String? billingLocationId,
    String? billingLocation,
    String? warehouseId,
    String? itemWarehouseId,
    String? warehouse,
    String? warehouseCode,
    String? billingWarehouseId,
    String? billingWarehouse,
    String? departmentId,
    String? department,
    String? inventoryTypeId,
    String? inventoryType,
    bool? pendingRepair,
    String? repairNumber,
    String? repairNumberColor,
    String? repairDate,
    bool? outsideRepair,
    String? outsideRepairPoNumber,
    String? itemId,
    String? barCode,
    String? serialNumber,
    String? rfId,
    String? barCodeColor,
    String? inventoryId,
    String? availFor,
    String? availForDisplay,
    String? iCode,
    String? iCodeColor,
    String? itemDescription,
    int? quantity,
    String? quantityColor,
    String? damageDealId,
    String? damageDeal,
    String? damageDealColor,
    String? damageOrderId,
    String? damageOrderNumber,
    String? damageOrderDescription,
    String? damageContractId,
    String? damageContractNumber,
    String? damageContractDate,
    String? damageScannedById,
    String? damageScannedBy,
    String? lossAndDamageOrderId,
    String? lossAndDamageOrderNumber,
    String? lossAndDamageOrderDescription,
    String? chargeOrderId,
    String? chargeOrderNumber,
    String? chargeOrderDescription,
    String? chargeInvoiceId,
    String? chargeInvoiceNumber,
    String? chargeInvoiceDescription,
    String? taxOptionId,
    String? taxOption,
    String? taxId,
    double? rentalTaxRate1,
    double? salesTaxRate1,
    double? laborTaxRate1,
    double? rentalTaxRate2,
    double? salesTaxRate2,
    double? laborTaxRate2,
    String? status,
    String? statusColor,
    String? statusDate,
    bool? billable,
    String? billableDisplay,
    bool? notBilled,
    String? priority,
    String? priorityDescription,
    String? priorityColor,
    String? repairType,
    bool? poPending,
    String? poNumber,
    String? damage,
    String? correction,
    bool? released,
    double? releasedQuantity,
    String? transferId,
    String? transferredFromWarehouseId,
    String? dueDate,
    String? estimateByUserId,
    String? estimateBy,
    String? estimateDate,
    String? completeByUserId,
    String? completeBy,
    String? completeDate,
    String? inputDate,
    String? inputByUserId,
    String? inputByUserName,
    String? repairItemStatusId,
    String? repairItemStatus,
    String? currencyId,
    String? officeLocationDefaultCurrencyId,
    String? currencyCode,
    String? currencySymbol,
    String? currencyColor,
    String? notes,
    bool? inactive,
    bool? qcRequired,
    bool? autoCompleteQC,
    String? qcNote,
    String? conditionId,
    String? condition,
    double? costExtended,
    double? costTax,
    double? costTotal,
    double? partsExtended,
    double? partsTax,
    double? partsTotal,
    double? totalRepairExtended,
    double? totalRepairTax,
    double? totalRepairTotal,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes}) {
  return WebApiModulesInventoryRepairRepair(
      repairId: repairId ?? this.repairId,
      locationId: locationId ?? this.locationId,
      location: location ?? this.location,
      billingLocationId: billingLocationId ?? this.billingLocationId,
      billingLocation: billingLocation ?? this.billingLocation,
      warehouseId: warehouseId ?? this.warehouseId,
      itemWarehouseId: itemWarehouseId ?? this.itemWarehouseId,
      warehouse: warehouse ?? this.warehouse,
      warehouseCode: warehouseCode ?? this.warehouseCode,
      billingWarehouseId: billingWarehouseId ?? this.billingWarehouseId,
      billingWarehouse: billingWarehouse ?? this.billingWarehouse,
      departmentId: departmentId ?? this.departmentId,
      department: department ?? this.department,
      inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
      inventoryType: inventoryType ?? this.inventoryType,
      pendingRepair: pendingRepair ?? this.pendingRepair,
      repairNumber: repairNumber ?? this.repairNumber,
      repairNumberColor: repairNumberColor ?? this.repairNumberColor,
      repairDate: repairDate ?? this.repairDate,
      outsideRepair: outsideRepair ?? this.outsideRepair,
      outsideRepairPoNumber:
          outsideRepairPoNumber ?? this.outsideRepairPoNumber,
      itemId: itemId ?? this.itemId,
      barCode: barCode ?? this.barCode,
      serialNumber: serialNumber ?? this.serialNumber,
      rfId: rfId ?? this.rfId,
      barCodeColor: barCodeColor ?? this.barCodeColor,
      inventoryId: inventoryId ?? this.inventoryId,
      availFor: availFor ?? this.availFor,
      availForDisplay: availForDisplay ?? this.availForDisplay,
      iCode: iCode ?? this.iCode,
      iCodeColor: iCodeColor ?? this.iCodeColor,
      itemDescription: itemDescription ?? this.itemDescription,
      quantity: quantity ?? this.quantity,
      quantityColor: quantityColor ?? this.quantityColor,
      damageDealId: damageDealId ?? this.damageDealId,
      damageDeal: damageDeal ?? this.damageDeal,
      damageDealColor: damageDealColor ?? this.damageDealColor,
      damageOrderId: damageOrderId ?? this.damageOrderId,
      damageOrderNumber: damageOrderNumber ?? this.damageOrderNumber,
      damageOrderDescription:
          damageOrderDescription ?? this.damageOrderDescription,
      damageContractId: damageContractId ?? this.damageContractId,
      damageContractNumber: damageContractNumber ?? this.damageContractNumber,
      damageContractDate: damageContractDate ?? this.damageContractDate,
      damageScannedById: damageScannedById ?? this.damageScannedById,
      damageScannedBy: damageScannedBy ?? this.damageScannedBy,
      lossAndDamageOrderId: lossAndDamageOrderId ?? this.lossAndDamageOrderId,
      lossAndDamageOrderNumber:
          lossAndDamageOrderNumber ?? this.lossAndDamageOrderNumber,
      lossAndDamageOrderDescription:
          lossAndDamageOrderDescription ?? this.lossAndDamageOrderDescription,
      chargeOrderId: chargeOrderId ?? this.chargeOrderId,
      chargeOrderNumber: chargeOrderNumber ?? this.chargeOrderNumber,
      chargeOrderDescription:
          chargeOrderDescription ?? this.chargeOrderDescription,
      chargeInvoiceId: chargeInvoiceId ?? this.chargeInvoiceId,
      chargeInvoiceNumber: chargeInvoiceNumber ?? this.chargeInvoiceNumber,
      chargeInvoiceDescription:
          chargeInvoiceDescription ?? this.chargeInvoiceDescription,
      taxOptionId: taxOptionId ?? this.taxOptionId,
      taxOption: taxOption ?? this.taxOption,
      taxId: taxId ?? this.taxId,
      rentalTaxRate1: rentalTaxRate1 ?? this.rentalTaxRate1,
      salesTaxRate1: salesTaxRate1 ?? this.salesTaxRate1,
      laborTaxRate1: laborTaxRate1 ?? this.laborTaxRate1,
      rentalTaxRate2: rentalTaxRate2 ?? this.rentalTaxRate2,
      salesTaxRate2: salesTaxRate2 ?? this.salesTaxRate2,
      laborTaxRate2: laborTaxRate2 ?? this.laborTaxRate2,
      status: status ?? this.status,
      statusColor: statusColor ?? this.statusColor,
      statusDate: statusDate ?? this.statusDate,
      billable: billable ?? this.billable,
      billableDisplay: billableDisplay ?? this.billableDisplay,
      notBilled: notBilled ?? this.notBilled,
      priority: priority ?? this.priority,
      priorityDescription: priorityDescription ?? this.priorityDescription,
      priorityColor: priorityColor ?? this.priorityColor,
      repairType: repairType ?? this.repairType,
      poPending: poPending ?? this.poPending,
      poNumber: poNumber ?? this.poNumber,
      damage: damage ?? this.damage,
      correction: correction ?? this.correction,
      released: released ?? this.released,
      releasedQuantity: releasedQuantity ?? this.releasedQuantity,
      transferId: transferId ?? this.transferId,
      transferredFromWarehouseId:
          transferredFromWarehouseId ?? this.transferredFromWarehouseId,
      dueDate: dueDate ?? this.dueDate,
      estimateByUserId: estimateByUserId ?? this.estimateByUserId,
      estimateBy: estimateBy ?? this.estimateBy,
      estimateDate: estimateDate ?? this.estimateDate,
      completeByUserId: completeByUserId ?? this.completeByUserId,
      completeBy: completeBy ?? this.completeBy,
      completeDate: completeDate ?? this.completeDate,
      inputDate: inputDate ?? this.inputDate,
      inputByUserId: inputByUserId ?? this.inputByUserId,
      inputByUserName: inputByUserName ?? this.inputByUserName,
      repairItemStatusId: repairItemStatusId ?? this.repairItemStatusId,
      repairItemStatus: repairItemStatus ?? this.repairItemStatus,
      currencyId: currencyId ?? this.currencyId,
      officeLocationDefaultCurrencyId: officeLocationDefaultCurrencyId ??
          this.officeLocationDefaultCurrencyId,
      currencyCode: currencyCode ?? this.currencyCode,
      currencySymbol: currencySymbol ?? this.currencySymbol,
      currencyColor: currencyColor ?? this.currencyColor,
      notes: notes ?? this.notes,
      inactive: inactive ?? this.inactive,
      qcRequired: qcRequired ?? this.qcRequired,
      autoCompleteQC: autoCompleteQC ?? this.autoCompleteQC,
      qcNote: qcNote ?? this.qcNote,
      conditionId: conditionId ?? this.conditionId,
      condition: condition ?? this.condition,
      costExtended: costExtended ?? this.costExtended,
      costTax: costTax ?? this.costTax,
      costTotal: costTotal ?? this.costTotal,
      partsExtended: partsExtended ?? this.partsExtended,
      partsTax: partsTax ?? this.partsTax,
      partsTotal: partsTotal ?? this.partsTotal,
      totalRepairExtended: totalRepairExtended ?? this.totalRepairExtended,
      totalRepairTax: totalRepairTax ?? this.totalRepairTax,
      totalRepairTotal: totalRepairTotal ?? this.totalRepairTotal,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes);
}