API/Autodoc/Classes/RuStorePayPurchase.en.md


RuStorePayPurchase

class_name RuStorePayPurchase extends RefCounted

Purchase information.

Public Member Functions

func get_status():
Purchase status.

Properties

var purchaseId: RuStorePayPurchaseId = null
Purchase identifier.
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 purchaseType: ERuStorePayPurchaseType
Purchase type.
var description: RuStorePayDescription = null
Description in the language specified by language.
var purchaseTime: RuStorePayTime = null
Purchase time (optional parameter).
var price: RuStorePayPrice = null
Price in the smallest units (for example, in kopecks).
var amountLabel: RuStorePayAmountLabel = null
Formatted purchase price, including the currency symbol.
var currency: RuStorePayCurrency = null
ISO 4217 currency code.
var developerPayload: RuStorePayDeveloperPayload = null
A string with additional order information
that you can set when initializing the purchase process (optional parameter).
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 one.
Назад