Documentation

VirtualPurchaseResource

Properties

Optional Costs

The costs deducted from the player when making the purchase. A cost is an ID of a currency or inventory item, plus an amount.

memberof

VirtualPurchaseResource

Created

memberof

VirtualPurchaseResource

Optional Custom Data

  • customData: object
memberof

VirtualPurchaseResource

Id

  • id: string

Identifier for the resource.

memberof

VirtualPurchaseResource

Modified

memberof

VirtualPurchaseResource

Name

  • name: string

Name of the resource.

memberof

VirtualPurchaseResource

Optional Rewards

The rewards credited to the player when making the purchase. A reward is composed of the ID of a currency or inventory item, the amount of that currency or item, and the default instance data (for inventory items).

memberof

VirtualPurchaseResource

Type

  • type: "VIRTUAL_PURCHASE"

Type of the item, for example CURRENCY, INVENTORY_ITEM, VIRTUAL_PURCHASE, MONEY_PURCHASE.

memberof

VirtualPurchaseResource