unreal.InAppPurchaseProductRequest2

class unreal.InAppPurchaseProductRequest2(product_identifier: str = '', is_consumable: bool = False)

Bases: StructBase

Micro-transaction request information

C++ Source:

  • Plugin: OnlineSubsystemUtils

  • Module: OnlineSubsystemUtils

  • File: InAppPurchaseDataTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • is_consumable (bool): [Read-Write] Flag to determine whether this is a consumable purchase, or not.

  • product_identifier (str): [Read-Write] The unique product identifier that matches the one from your targeted store.

property is_consumable: bool

[Read-Write] Flag to determine whether this is a consumable purchase, or not.

Type:

(bool)

property product_identifier: str

[Read-Write] The unique product identifier that matches the one from your targeted store.

Type:

(str)