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. String? ownedItemDescription,
  34. int? quantity,
  35. String? quantityColor,
  36. String? damageDealId,
  37. String? damageDeal,
  38. String? damageDealColor,
  39. String? damageOrderId,
  40. String? damageOrderNumber,
  41. String? damageOrderDescription,
  42. String? damageContractId,
  43. String? damageContractNumber,
  44. String? damageContractDate,
  45. String? damageScannedById,
  46. String? damageScannedBy,
  47. String? lossAndDamageOrderId,
  48. String? lossAndDamageOrderNumber,
  49. String? lossAndDamageOrderDescription,
  50. String? chargeOrderId,
  51. String? chargeOrderNumber,
  52. String? chargeOrderDescription,
  53. String? chargeInvoiceId,
  54. String? chargeInvoiceNumber,
  55. String? chargeInvoiceDescription,
  56. String? taxOptionId,
  57. String? taxOption,
  58. String? taxId,
  59. double? rentalTaxRate1,
  60. double? salesTaxRate1,
  61. double? laborTaxRate1,
  62. double? rentalTaxRate2,
  63. double? salesTaxRate2,
  64. double? laborTaxRate2,
  65. String? status,
  66. String? statusColor,
  67. String? statusDate,
  68. bool? billable,
  69. String? billableDisplay,
  70. bool? notBilled,
  71. String? priority,
  72. String? priorityDescription,
  73. String? priorityColor,
  74. String? repairType,
  75. bool? poPending,
  76. String? poNumber,
  77. String? damage,
  78. String? correction,
  79. bool? released,
  80. double? releasedQuantity,
  81. String? transferId,
  82. String? transferredFromWarehouseId,
  83. String? dueDate,
  84. String? estimateByUserId,
  85. String? estimateBy,
  86. String? estimateDate,
  87. String? completeByUserId,
  88. String? completeBy,
  89. String? completeDate,
  90. String? inputDate,
  91. String? inputByUserId,
  92. String? inputByUserName,
  93. String? repairItemStatusId,
  94. String? repairItemStatus,
  95. String? currencyId,
  96. String? officeLocationDefaultCurrencyId,
  97. String? currencyCode,
  98. String? currencySymbol,
  99. String? currencyColor,
  100. String? notes,
  101. bool? inactive,
  102. bool? qcRequired,
  103. bool? autoCompleteQC,
  104. String? qcNote,
  105. String? conditionId,
  106. String? condition,
  107. String? externalPoTypeId,
  108. String? externalPoType,
  109. double? costExtended,
  110. double? costTax,
  111. double? costTotal,
  112. double? partsExtended,
  113. double? partsTax,
  114. double? partsTotal,
  115. double? totalRepairExtended,
  116. double? totalRepairTax,
  117. double? totalRepairTotal,
  118. String? consignorId,
  119. String? consignor,
  120. String? consignorAgreementId,
  121. String? agreementNumber,
  122. String? dateStamp,
  123. String? auditNote,
  124. String? recordTitle,
  125. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  126. List<FwStandardDataFwCustomValue>? custom,
  127. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  128. List<FwStandardDataFwTranslatedValue>? translation,
})

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,
    String? ownedItemDescription,
    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,
    String? externalPoTypeId,
    String? externalPoType,
    double? costExtended,
    double? costTax,
    double? costTotal,
    double? partsExtended,
    double? partsTax,
    double? partsTotal,
    double? totalRepairExtended,
    double? totalRepairTax,
    double? totalRepairTotal,
    String? consignorId,
    String? consignor,
    String? consignorAgreementId,
    String? agreementNumber,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  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,
      ownedItemDescription: ownedItemDescription ?? this.ownedItemDescription,
      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,
      externalPoTypeId: externalPoTypeId ?? this.externalPoTypeId,
      externalPoType: externalPoType ?? this.externalPoType,
      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,
      consignorId: consignorId ?? this.consignorId,
      consignor: consignor ?? this.consignor,
      consignorAgreementId: consignorAgreementId ?? this.consignorAgreementId,
      agreementNumber: agreementNumber ?? this.agreementNumber,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}