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

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,
  String? trackedBy,
  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? tax1Name,
  String? tax2Name,
  String? rentalTaxAlias,
  String? salesTaxAlias,
  String? laborTaxAlias,
  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,
  String? voidNotes,
  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,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  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,
    trackedBy: trackedBy ?? this.trackedBy,
    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,
    tax1Name: tax1Name ?? this.tax1Name,
    tax2Name: tax2Name ?? this.tax2Name,
    rentalTaxAlias: rentalTaxAlias ?? this.rentalTaxAlias,
    salesTaxAlias: salesTaxAlias ?? this.salesTaxAlias,
    laborTaxAlias: laborTaxAlias ?? this.laborTaxAlias,
    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,
    voidNotes: voidNotes ?? this.voidNotes,
    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,
    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,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}