Package item

An included variant in a package.

An included variant in a package. Access via package.items.

Properties

id

The item's unique identifier.

Returns: String — a UUID.

quantity

How many units of the variant are included in the package.

Returns: Integer

variant

The variant included in the package. When the item is tied to a fixed experience slot, returns a slot-scoped ExperienceVariantDrop or ExtraDrop; otherwise returns the variant's default drop.

Returns: VariantDrop or ExperienceVariantDrop or ExtraDrop or AccommodationVariantDrop

{% for package_item in package.items %}
  {{ package_item.variant.name }}
{% endfor %}

On this page