copyWith method

WebApiModulesInventoryRetiredRetired copyWith({
  1. String? retiredId,
  2. String? inventoryId,
  3. String? iCode,
  4. String? description,
  5. String? barCode,
  6. String? itemId,
  7. String? serialNumber,
  8. String? warehouseId,
  9. String? warehouseCode,
  10. String? warehouse,
  11. String? consignorId,
  12. String? consignor,
  13. String? consignorAgreementId,
  14. String? agreementNumber,
  15. String? retiredDate,
  16. String? retiredReason,
  17. String? retiredReasonType,
  18. String? retiredBy,
  19. String? retiredReasonId,
  20. String? retiredByUserId,
  21. String? retiredNotes,
  22. double? retiredQuantity,
  23. double? unretiredQuantity,
  24. String? lostOrderId,
  25. String? lostOrderNumber,
  26. String? lostName,
  27. String? lostAddress1,
  28. String? lostAddress2,
  29. String? lostCity,
  30. String? lostState,
  31. String? lostZipCode,
  32. String? lostPhone,
  33. String? lostCountryId,
  34. String? lostCountry,
  35. String? lostCountryCodeIsoAlpha2,
  36. int? lostCountryCodePhone,
  37. String? soldToOrderDescription,
  38. String? soldToOrderReferenceNumber,
  39. String? soldToOrderId,
  40. String? soldToOrderItemId,
  41. String? soldToOrderNumber,
  42. String? soldDate,
  43. double? soldAmount,
  44. String? soldToName,
  45. String? soldToAddress1,
  46. String? soldToAddress2,
  47. String? soldToCity,
  48. String? soldToState,
  49. String? soldToZipCode,
  50. String? soldToPhone,
  51. String? soldToCountryId,
  52. String? soldToCountry,
  53. String? soldToCountryCodeIsoAlpha2,
  54. int? soldToCountryCodePhone,
  55. String? soldCurrencyId,
  56. String? soldCurrency,
  57. String? soldCurrencyCode,
  58. String? soldCurrencySymbol,
  59. String? inventoryTypeId,
  60. String? replacementInventoryId,
  61. String? replacementItemId,
  62. String? replacementItemICode,
  63. String? replacementItemDescription,
  64. String? replacementItemBarCode,
  65. String? replacementItemSerialNumber,
  66. bool? changeICode,
  67. String? donatedOrderId,
  68. String? donatedOrderNumber,
  69. String? donatedDate,
  70. String? donatedToName,
  71. String? donatedToAddress1,
  72. String? donatedToAddress2,
  73. String? donatedToCity,
  74. String? donatedToState,
  75. String? donatedToZipCode,
  76. String? donatedToPhone,
  77. String? donatedToCountryId,
  78. String? donatedToCountry,
  79. String? donatedToCountryCodeIsoAlpha2,
  80. int? donatedToCountryCodePhone,
  81. String? donatedCurrencyId,
  82. String? donatedCurrency,
  83. String? donatedCurrencyCode,
  84. String? donatedCurrencySymbol,
  85. String? auditNote,
  86. String? recordTitle,
  87. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  88. List<FwStandardDataFwCustomValue>? custom,
  89. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  90. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesInventoryRetiredRetired copyWith(
    {String? retiredId,
    String? inventoryId,
    String? iCode,
    String? description,
    String? barCode,
    String? itemId,
    String? serialNumber,
    String? warehouseId,
    String? warehouseCode,
    String? warehouse,
    String? consignorId,
    String? consignor,
    String? consignorAgreementId,
    String? agreementNumber,
    String? retiredDate,
    String? retiredReason,
    String? retiredReasonType,
    String? retiredBy,
    String? retiredReasonId,
    String? retiredByUserId,
    String? retiredNotes,
    double? retiredQuantity,
    double? unretiredQuantity,
    String? lostOrderId,
    String? lostOrderNumber,
    String? lostName,
    String? lostAddress1,
    String? lostAddress2,
    String? lostCity,
    String? lostState,
    String? lostZipCode,
    String? lostPhone,
    String? lostCountryId,
    String? lostCountry,
    String? lostCountryCodeIsoAlpha2,
    int? lostCountryCodePhone,
    String? soldToOrderDescription,
    String? soldToOrderReferenceNumber,
    String? soldToOrderId,
    String? soldToOrderItemId,
    String? soldToOrderNumber,
    String? soldDate,
    double? soldAmount,
    String? soldToName,
    String? soldToAddress1,
    String? soldToAddress2,
    String? soldToCity,
    String? soldToState,
    String? soldToZipCode,
    String? soldToPhone,
    String? soldToCountryId,
    String? soldToCountry,
    String? soldToCountryCodeIsoAlpha2,
    int? soldToCountryCodePhone,
    String? soldCurrencyId,
    String? soldCurrency,
    String? soldCurrencyCode,
    String? soldCurrencySymbol,
    String? inventoryTypeId,
    String? replacementInventoryId,
    String? replacementItemId,
    String? replacementItemICode,
    String? replacementItemDescription,
    String? replacementItemBarCode,
    String? replacementItemSerialNumber,
    bool? changeICode,
    String? donatedOrderId,
    String? donatedOrderNumber,
    String? donatedDate,
    String? donatedToName,
    String? donatedToAddress1,
    String? donatedToAddress2,
    String? donatedToCity,
    String? donatedToState,
    String? donatedToZipCode,
    String? donatedToPhone,
    String? donatedToCountryId,
    String? donatedToCountry,
    String? donatedToCountryCodeIsoAlpha2,
    int? donatedToCountryCodePhone,
    String? donatedCurrencyId,
    String? donatedCurrency,
    String? donatedCurrencyCode,
    String? donatedCurrencySymbol,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesInventoryRetiredRetired(
      retiredId: retiredId ?? this.retiredId,
      inventoryId: inventoryId ?? this.inventoryId,
      iCode: iCode ?? this.iCode,
      description: description ?? this.description,
      barCode: barCode ?? this.barCode,
      itemId: itemId ?? this.itemId,
      serialNumber: serialNumber ?? this.serialNumber,
      warehouseId: warehouseId ?? this.warehouseId,
      warehouseCode: warehouseCode ?? this.warehouseCode,
      warehouse: warehouse ?? this.warehouse,
      consignorId: consignorId ?? this.consignorId,
      consignor: consignor ?? this.consignor,
      consignorAgreementId: consignorAgreementId ?? this.consignorAgreementId,
      agreementNumber: agreementNumber ?? this.agreementNumber,
      retiredDate: retiredDate ?? this.retiredDate,
      retiredReason: retiredReason ?? this.retiredReason,
      retiredReasonType: retiredReasonType ?? this.retiredReasonType,
      retiredBy: retiredBy ?? this.retiredBy,
      retiredReasonId: retiredReasonId ?? this.retiredReasonId,
      retiredByUserId: retiredByUserId ?? this.retiredByUserId,
      retiredNotes: retiredNotes ?? this.retiredNotes,
      retiredQuantity: retiredQuantity ?? this.retiredQuantity,
      unretiredQuantity: unretiredQuantity ?? this.unretiredQuantity,
      lostOrderId: lostOrderId ?? this.lostOrderId,
      lostOrderNumber: lostOrderNumber ?? this.lostOrderNumber,
      lostName: lostName ?? this.lostName,
      lostAddress1: lostAddress1 ?? this.lostAddress1,
      lostAddress2: lostAddress2 ?? this.lostAddress2,
      lostCity: lostCity ?? this.lostCity,
      lostState: lostState ?? this.lostState,
      lostZipCode: lostZipCode ?? this.lostZipCode,
      lostPhone: lostPhone ?? this.lostPhone,
      lostCountryId: lostCountryId ?? this.lostCountryId,
      lostCountry: lostCountry ?? this.lostCountry,
      lostCountryCodeIsoAlpha2:
          lostCountryCodeIsoAlpha2 ?? this.lostCountryCodeIsoAlpha2,
      lostCountryCodePhone: lostCountryCodePhone ?? this.lostCountryCodePhone,
      soldToOrderDescription:
          soldToOrderDescription ?? this.soldToOrderDescription,
      soldToOrderReferenceNumber:
          soldToOrderReferenceNumber ?? this.soldToOrderReferenceNumber,
      soldToOrderId: soldToOrderId ?? this.soldToOrderId,
      soldToOrderItemId: soldToOrderItemId ?? this.soldToOrderItemId,
      soldToOrderNumber: soldToOrderNumber ?? this.soldToOrderNumber,
      soldDate: soldDate ?? this.soldDate,
      soldAmount: soldAmount ?? this.soldAmount,
      soldToName: soldToName ?? this.soldToName,
      soldToAddress1: soldToAddress1 ?? this.soldToAddress1,
      soldToAddress2: soldToAddress2 ?? this.soldToAddress2,
      soldToCity: soldToCity ?? this.soldToCity,
      soldToState: soldToState ?? this.soldToState,
      soldToZipCode: soldToZipCode ?? this.soldToZipCode,
      soldToPhone: soldToPhone ?? this.soldToPhone,
      soldToCountryId: soldToCountryId ?? this.soldToCountryId,
      soldToCountry: soldToCountry ?? this.soldToCountry,
      soldToCountryCodeIsoAlpha2:
          soldToCountryCodeIsoAlpha2 ?? this.soldToCountryCodeIsoAlpha2,
      soldToCountryCodePhone:
          soldToCountryCodePhone ?? this.soldToCountryCodePhone,
      soldCurrencyId: soldCurrencyId ?? this.soldCurrencyId,
      soldCurrency: soldCurrency ?? this.soldCurrency,
      soldCurrencyCode: soldCurrencyCode ?? this.soldCurrencyCode,
      soldCurrencySymbol: soldCurrencySymbol ?? this.soldCurrencySymbol,
      inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
      replacementInventoryId:
          replacementInventoryId ?? this.replacementInventoryId,
      replacementItemId: replacementItemId ?? this.replacementItemId,
      replacementItemICode: replacementItemICode ?? this.replacementItemICode,
      replacementItemDescription:
          replacementItemDescription ?? this.replacementItemDescription,
      replacementItemBarCode:
          replacementItemBarCode ?? this.replacementItemBarCode,
      replacementItemSerialNumber:
          replacementItemSerialNumber ?? this.replacementItemSerialNumber,
      changeICode: changeICode ?? this.changeICode,
      donatedOrderId: donatedOrderId ?? this.donatedOrderId,
      donatedOrderNumber: donatedOrderNumber ?? this.donatedOrderNumber,
      donatedDate: donatedDate ?? this.donatedDate,
      donatedToName: donatedToName ?? this.donatedToName,
      donatedToAddress1: donatedToAddress1 ?? this.donatedToAddress1,
      donatedToAddress2: donatedToAddress2 ?? this.donatedToAddress2,
      donatedToCity: donatedToCity ?? this.donatedToCity,
      donatedToState: donatedToState ?? this.donatedToState,
      donatedToZipCode: donatedToZipCode ?? this.donatedToZipCode,
      donatedToPhone: donatedToPhone ?? this.donatedToPhone,
      donatedToCountryId: donatedToCountryId ?? this.donatedToCountryId,
      donatedToCountry: donatedToCountry ?? this.donatedToCountry,
      donatedToCountryCodeIsoAlpha2:
          donatedToCountryCodeIsoAlpha2 ?? this.donatedToCountryCodeIsoAlpha2,
      donatedToCountryCodePhone:
          donatedToCountryCodePhone ?? this.donatedToCountryCodePhone,
      donatedCurrencyId: donatedCurrencyId ?? this.donatedCurrencyId,
      donatedCurrency: donatedCurrency ?? this.donatedCurrency,
      donatedCurrencyCode: donatedCurrencyCode ?? this.donatedCurrencyCode,
      donatedCurrencySymbol:
          donatedCurrencySymbol ?? this.donatedCurrencySymbol,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}