MetaPlatformSDK_Purchase

Inherits: RefCounted

Represents a purchase.

Description

Represents a purchase.

Properties

String

developer_payload

""

int

expiration_time

0

int

grant_time

0

String

purchase_str_id

""

String

reporting_id

""

String

sku

""

ProductType

type

0


Property Descriptions

String developer_payload = ""

  • String get_developer_payload ( )

The developer payload feature is unimplemented.


int expiration_time = 0

  • int get_expiration_time ( )

The time when the purchased MetaPlatformSDK_Product expires. This value only applies to subscriptions, and will be null for durable and consumable IAP items.


int grant_time = 0

  • int get_grant_time ( )

The timestamp that represents when the user was granted entitlement to the MetaPlatformSDK_Product that was purchased.


String purchase_str_id = ""

  • String get_purchase_str_id ( )

The ID string of the purchase.


String reporting_id = ""

  • String get_reporting_id ( )

The Reporting ID feature is not implemented.


String sku = ""

  • String get_sku ( )

The SKU of the IAP MetaPlatformSDK_Product that was purchased. This value is case-sensitive. To retrieve the product information, you can use this value when calling MetaPlatformSDK.iap_get_products_by_sku_async.


ProductType type = 0

The type of the IAP MetaPlatformSDK_Product that was purchased.