copyWithWrapped method

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

Implementation

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