API/Autodoc/Classes/RuStorePayProductPurchaseResult.en.md


RuStorePayProductPurchaseResult

class_name RuStorePayProductPurchaseResult extends RefCounted

Result of a successful digital product purchase.

Properties

var invoiceId: RuStorePayInvoiceId = null
Invoice identifier.
var orderId: RuStorePayOrderId = 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 is 150 characters.
var productId: RuStorePayProductId = null
Product identifier assigned to the product in the RuStore console.
var productType: ERuStorePayProductType
Product type.
var purchaseId: RuStorePayPurchaseId = null
Purchase identifier.
var purchaseType: ERuStorePayPurchaseType
Purchase type.
var quantity: RuStorePayQuantity = null
Quantity of the purchased product.
var sandbox: bool = false
Determines whether the payment is a test payment.
Values can be true or false, where true indicates a test payment and false indicates a real payment.
Назад