StoreProduct

Inherits: RefCounted < Object

Represents a product available for purchase in the App Store.

Description

This class contains information about a product, such as its ID, display name, description, and price. It is returned by StoreKitManager.request_products().

Properties

String

description_value

""

String

display_name

""

String

display_price

""

bool

is_family_shareable

false

String

json_representation

""

float

price

0.0

String

product_id

""


Property Descriptions

String description_value = "" 🔗

  • String get_description_value()

The description of the product, used for display in the UI.


String display_name = "" 🔗

  • String get_display_name()

The localized display name of the product.


String display_price = "" 🔗

  • String get_display_price()

The formatted price of the product, including the currency symbol (e.g. “$0.99”).


bool is_family_shareable = false 🔗

  • bool get_is_family_shareable()

Indicates whether the product can be shared with family members.


String json_representation = "" 🔗

  • String get_json_representation()

A JSON debug representation of the product.


float price = 0.0 🔗

  • float get_price()

The price of the product in the local currency.


String product_id = "" 🔗

  • String get_product_id()

The unique identifier for the product.