PlayerIapModel

Description: The PlayerIapModel represents the relationship between a player an in-app purchase.

Fields:

  • PlayerIapInfo info - Info about the player in-app purchase. Contains the following fields:
    • bool isPurchasable - The in-app purchase can currently be purchased by the player.
    • int purchaseCount - The number of times the user has purchased this in-app purchase.

Methods:

  • Promise<IapModel> GetIap() - Get the in-app purchase this data is associated with.