API/Autodoc/Classes/RuStorePayProductPurchaseResult.en.md


RuStorePayProductPurchaseResult

Class name RuStorePayProductPurchaseResult extends RefCounted

Result of successful digital product purchase.

Properties

var invoiceId: RuStorePayInvoiceId = null
Invoice ID.
var orderId: RuStorePayOrderId = null
Unique payment ID 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 not specified, it will be generated automatically (uuid).
Maximum length 150 characters.
var productId: RuStorePayProductId = null
Product ID that was assigned to the product in the RuStore console.
var productType: ERuStorePayProductType
Product type.
var purchaseId: RuStorePayPurchaseId = null
Purchase ID.
var purchaseType: ERuStorePayPurchaseType
Purchase type.
var quantity: RuStorePayQuantity = null
Quantity of purchased product.
var sandbox: bool = false
Determines whether the payment is a test payment.
Values can be true or false, where true denotes a test payment and false denotes a real one.
Назад