API/Autodoc/Classes/RuStorePurchase.en.md


RuStorePurchase

class_name RuStorePurchase extends RefCounted

Purchase information.

Properties

var purchaseId = null
Purchase identifier.
var productId: String = ""
Product identifier assigned to the product in the RuStore console.
var productType = null
Product type.
var invoiceId = null
Invoice identifier.
var language = null
Language specified using BCP 47 encoding.
var purchaseTime = null
Purchase time.
var orderId = null
Unique payment identifier generated by the application (optional parameter).
If you specify this parameter in your system, you will receive it in the response when working with the API.
If you do not specify it, it will be generated automatically (uuid).
Maximum length 150 characters.
var amountLabel = null
Formatted purchase price including currency sign.
var amount = null
Price in the smallest currency units (e.g., cents).
var currency = null
Currency code ISO 4217.
var quantity = null
Product quantity.
var purchaseState = null
Purchase state.
var developerPayload = null
A string with additional information about the order that you can set when initializing the purchase process.
var subscriptionToken = null
Token for validating the purchase on the server.