API reference
API reference
Select your platform
No SDKs available
No versions available

FOvrPurchase Struct

A purchase is made when a user buys a FOvrProduct. The IAP product, which can represent a consumable item, a durable item, or a subscription, must be defined for purchase through the developer dashboard.

Fields

The developer payload feature is unimplemented.
The time when the purchased FOvrProduct expires. This value only applies to subscriptions, and will be null for durable and consumable IAP items.
The timestamp that represents when the user was granted entitlement to the FOvrProduct that was purchased.
The unique identifier of a FOvrPurchase represents a user's unique entitlement to a FOvrProduct. This value is 0 for shared IAP entitlements.
The Reporting ID feature is not implemented.
The SKU of the IAP FOvrProduct that was purchased. This value is case-sensitive. To retrieve the product information, you can use this value when calling UOvrRequestsBlueprintLibrary::IAP_GetProductsBySKU().
The Type of the IAP FOvrProduct that was purchased. The values can be EOvrProductType::DURABLE, EOvrProductType::CONSUMABLE, or a EOvrProductType::SUBSCRIPTION.

Member Functions

This is the default constructor for the struct, which initializes the ::ovrPurchaseHandle and TOvrMessageHandlePtr to their default values.
Copying values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Setting all values to their defaults, effectively clearing the struct.
Updating values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon