> ## Documentation Index
> Fetch the complete documentation index at: https://docs.summerengine.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SummerInventoryItem

> One immutable revisioned platform item projection.

**Class:** `SummerInventoryItem` · **Inherits:** RefCounted

One immutable revisioned platform item projection.

An immutable canonical owned-item projection with identity, definition, presentation, rights, cosmetic and passport data. Use [`get_owned_item_id()`](/api-reference/gdscript/types/inventory-item#get_owned_item_id) to correlate the owned-item identity reported by a committed purchase. The same resource supports authority inventory; identity aliases describe the same item and never create a second ownership source. Optional presentation and passport values may be empty when absent.

## Properties

| Property | Type | Access | Description |
| - | - | - | - |
| <a id="as_of_event_sequence" />`as_of_event_sequence` | int | read-only, `get_as_of_event_sequence()` | Monotonic platform event sequence this projection reflects. |
| <a id="item_id" />`item_id` | String | read-only, `get_item_id()` | Same stable identity as `get_owned_item_id`, including in authority projections. |
| <a id="item_template_version_id" />`item_template_version_id` | String | read-only, `get_item_template_version_id()` | Same identity as `get_definition_revision_id` in canonical owner inventory; retained for authority consumers. |
| <a id="listing_id" />`listing_id` | String | read-only, `get_listing_id()` | Marketplace listing identity in the client projection; empty when absent or in authority projections. |
| <a id="marketable_after_unix_msec" />`marketable_after_unix_msec` | int | read-only, `get_marketable_after_unix_msec()` | Earliest marketplace time in the client projection; zero when absent or in authority projections. |
| <a id="quantity" />`quantity` | int | read-only, `get_quantity()` | Owned quantity at this revision. |
| <a id="revision" />`revision` | int | read-only, `get_revision()` | Monotonic per-item revision. |
| <a id="rights" />`rights` | [`SummerItemRights`](/api-reference/gdscript/types/item-rights) | read-only, `get_rights()` | Platform-owned rights projection for this item. |
| <a id="state" />`state` | StringName | read-only, `get_state()` | Stable platform ownership state identifier, such as `owned`. |
| <a id="updated_at_unix_msec" />`updated_at_unix_msec` | int | read-only, `get_updated_at_unix_msec()` | Platform update time of this revision in Unix milliseconds. |

## Methods

### is\_owned

```gdscript theme={null}
func is_owned() -> bool const
```

Returns true for positive quantity in a supported owned projection state. This convenience check does not authorize a client selection; the authority validates its own inventory.

**Returns:** bool

### get\_owned\_item\_id

```gdscript theme={null}
func get_owned_item_id() -> String const
```

Stable canonical owned-item identity. This is the same identity as [`item_id`](/api-reference/gdscript/types/inventory-item#item_id).

**Returns:** String

### get\_definition\_id

```gdscript theme={null}
func get_definition_id() -> String const
```

Canonical item definition identity.

**Returns:** String

### get\_definition\_revision\_id

```gdscript theme={null}
func get_definition_revision_id() -> String const
```

Canonical definition revision identity; also exposed by [`item_template_version_id`](/api-reference/gdscript/types/inventory-item#item_template_version_id).

**Returns:** String

### get\_item\_class

```gdscript theme={null}
func get_item_class() -> StringName const
```

Canonical item class; empty or zero when absent.

**Returns:** StringName

### get\_ownership\_mode

```gdscript theme={null}
func get_ownership_mode() -> StringName const
```

Canonical ownership mode; empty or zero when absent.

**Returns:** StringName

### get\_visibility

```gdscript theme={null}
func get_visibility() -> StringName const
```

Canonical visibility; empty or zero when absent.

**Returns:** StringName

### get\_visibility\_mutable

```gdscript theme={null}
func get_visibility_mutable() -> bool const
```

Whether the platform permits changing this item visibility.

**Returns:** bool

### get\_name

```gdscript theme={null}
func get_name() -> String const
```

Canonical name; empty or zero when absent.

**Returns:** String

### get\_media

```gdscript theme={null}
func get_media() -> SummerItemMedia[] const
```

Immutable typed presentation media for this item.

**Returns:** [`SummerItemMedia`](/api-reference/gdscript/types/item-media)\[]

### get\_obtained\_at\_unix\_msec

```gdscript theme={null}
func get_obtained_at_unix_msec() -> int const
```

Ownership acquisition time in Unix milliseconds.

**Returns:** int

### get\_cosmetic\_family\_id

```gdscript theme={null}
func get_cosmetic_family_id() -> String const
```

Canonical cosmetic family id; empty or zero when absent.

**Returns:** String

### get\_cosmetic\_variant\_key

```gdscript theme={null}
func get_cosmetic_variant_key() -> String const
```

Canonical cosmetic variant key; empty or zero when absent.

**Returns:** String

### get\_passport\_instance\_id

```gdscript theme={null}
func get_passport_instance_id() -> String const
```

Canonical passport instance id; empty or zero when absent.

**Returns:** String

### get\_passport\_source\_game\_id

```gdscript theme={null}
func get_passport_source_game_id() -> String const
```

Canonical passport source game id; empty or zero when absent.

**Returns:** String

### get\_passport\_legacy

```gdscript theme={null}
func get_passport_legacy() -> bool const
```

Canonical passport legacy; empty or zero when absent.

**Returns:** bool

### get\_passport\_issuer\_kind

```gdscript theme={null}
func get_passport_issuer_kind() -> StringName const
```

Canonical passport issuer kind; empty or zero when absent.

**Returns:** StringName

### get\_passport\_issuer\_id

```gdscript theme={null}
func get_passport_issuer_id() -> String const
```

Canonical passport issuer id; empty or zero when absent.

**Returns:** String

### get\_passport\_issuer\_verified\_name

```gdscript theme={null}
func get_passport_issuer_verified_name() -> String const
```

Canonical passport issuer verified name; empty or zero when absent.

**Returns:** String

### get\_passport\_story\_kind

```gdscript theme={null}
func get_passport_story_kind() -> StringName const
```

Canonical passport story kind; empty or zero when absent.

**Returns:** StringName

### get\_passport\_story\_text

```gdscript theme={null}
func get_passport_story_text() -> String const
```

Canonical passport story text; empty or zero when absent.

**Returns:** String

### get\_passport\_edition\_number

```gdscript theme={null}
func get_passport_edition_number() -> int const
```

Canonical passport edition number; empty or zero when absent.

**Returns:** int

### get\_passport\_edition\_size

```gdscript theme={null}
func get_passport_edition_size() -> int const
```

Canonical passport edition size; empty or zero when absent.

**Returns:** int

### get\_passport\_tombstone\_state

```gdscript theme={null}
func get_passport_tombstone_state() -> StringName const
```

Canonical passport tombstone state; empty or zero when absent.

**Returns:** StringName

### get\_passport\_manifestation\_id

```gdscript theme={null}
func get_passport_manifestation_id() -> String const
```

Canonical passport manifestation id; empty or zero when absent.

**Returns:** String

### get\_passport\_manifestation\_revision\_id

```gdscript theme={null}
func get_passport_manifestation_revision_id() -> String const
```

Canonical passport manifestation revision id; empty or zero when absent.

**Returns:** String

### get\_passport\_minted\_at\_unix\_msec

```gdscript theme={null}
func get_passport_minted_at_unix_msec() -> int const
```

Canonical passport minted at unix msec; empty or zero when absent.

**Returns:** int

### get\_passport\_taken\_down\_at\_unix\_msec

```gdscript theme={null}
func get_passport_taken_down_at_unix_msec() -> int const
```

Canonical passport taken down at unix msec; empty or zero when absent.

**Returns:** int

### get\_passport\_trait\_ids

```gdscript theme={null}
func get_passport_trait_ids() -> PackedStringArray const
```

Canonical passport trait ids; empty or zero when absent.

**Returns:** PackedStringArray

### get\_passport\_trait\_value

```gdscript theme={null}
func get_passport_trait_value(trait_id: String) -> String const
```

Canonical passport trait value for `trait_id`; empty when absent.

| Parameter | Type | Default |
| - | - | - |
| `trait_id` | String | required |

**Returns:** String

***

What is live on the platform today: [platform capability status](/knowledge-base/source-status). Check availability at runtime before you offer a feature.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.