copyWith method

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

Implementation

WebApiModulesInventoryRetiredRetired copyWith({
  String? retiredId,
  String? inventoryId,
  String? iCode,
  String? description,
  String? availableFor,
  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? billedInvoiceId,
  String? billedInvoiceNumber,
  String? billedInvoiceDate,
  double? billedAmount,
  String? billedCurrencyId,
  String? billedCurrency,
  String? billedCurrencyCode,
  String? billedCurrencySymbol,
  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 WebApiModulesInventoryRetiredRetired(
    retiredId: retiredId ?? this.retiredId,
    inventoryId: inventoryId ?? this.inventoryId,
    iCode: iCode ?? this.iCode,
    description: description ?? this.description,
    availableFor: availableFor ?? this.availableFor,
    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,
    billedInvoiceId: billedInvoiceId ?? this.billedInvoiceId,
    billedInvoiceNumber: billedInvoiceNumber ?? this.billedInvoiceNumber,
    billedInvoiceDate: billedInvoiceDate ?? this.billedInvoiceDate,
    billedAmount: billedAmount ?? this.billedAmount,
    billedCurrencyId: billedCurrencyId ?? this.billedCurrencyId,
    billedCurrency: billedCurrency ?? this.billedCurrency,
    billedCurrencyCode: billedCurrencyCode ?? this.billedCurrencyCode,
    billedCurrencySymbol: billedCurrencySymbol ?? this.billedCurrencySymbol,
    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,
  );
}