copyWithWrapped method

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryItemsAdded copyWithWrapped({
  1. Wrapped<String?>? physicalInventoryId,
  2. Wrapped<String?>? inventoryId,
  3. Wrapped<String?>? iCode,
  4. Wrapped<String?>? description,
  5. Wrapped<int?>? orderBy,
  6. Wrapped<int?>? owned,
  7. Wrapped<int?>? counted,
  8. Wrapped<int?>? qty,
  9. Wrapped<double?>? extended,
  10. Wrapped<double?>? newPurchaseCost,
  11. Wrapped<double?>? lastPurchaseCost,
  12. Wrapped<String?>? purchaseCurrencyCode,
  13. Wrapped<String?>? auditNote,
  14. Wrapped<String?>? recordTitle,
  15. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  16. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  17. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  18. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryItemsAdded
    copyWithWrapped(
        {Wrapped<String?>? physicalInventoryId,
        Wrapped<String?>? inventoryId,
        Wrapped<String?>? iCode,
        Wrapped<String?>? description,
        Wrapped<int?>? orderBy,
        Wrapped<int?>? owned,
        Wrapped<int?>? counted,
        Wrapped<int?>? qty,
        Wrapped<double?>? extended,
        Wrapped<double?>? newPurchaseCost,
        Wrapped<double?>? lastPurchaseCost,
        Wrapped<String?>? purchaseCurrencyCode,
        Wrapped<String?>? auditNote,
        Wrapped<String?>? recordTitle,
        Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
            fields,
        Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
        Wrapped<List<FwStandardDataFwDefaultAttribute>?>?
            defaultFieldAttributes,
        Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesInventoryPhysicalInventoryPhysicalInventoryItemsAdded(
      physicalInventoryId: (physicalInventoryId != null
          ? physicalInventoryId.value
          : this.physicalInventoryId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      iCode: (iCode != null ? iCode.value : this.iCode),
      description:
          (description != null ? description.value : this.description),
      orderBy: (orderBy != null ? orderBy.value : this.orderBy),
      owned: (owned != null ? owned.value : this.owned),
      counted: (counted != null ? counted.value : this.counted),
      qty: (qty != null ? qty.value : this.qty),
      extended: (extended != null ? extended.value : this.extended),
      newPurchaseCost: (newPurchaseCost != null
          ? newPurchaseCost.value
          : this.newPurchaseCost),
      lastPurchaseCost: (lastPurchaseCost != null
          ? lastPurchaseCost.value
          : this.lastPurchaseCost),
      purchaseCurrencyCode: (purchaseCurrencyCode != null
          ? purchaseCurrencyCode.value
          : this.purchaseCurrencyCode),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes),
      translation:
          (translation != null ? translation.value : this.translation));
}