API/Autodoc/Classes/class_name_RuStorePayPurchase_extends_RefCounted.en.md


RuStorePayPurchase

class_name RuStorePayPurchase extends RefCounted

Purchase information.

Public Member Functions

| | | | | - | - | - | | func | get_status(): | Purchase status.
|

Properties

| | | | | - | - | - | | var | purchaseId: RuStorePayPurchaseId = null | Purchase ID.
| | 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 is 150 characters.
| | var | purchaseType: ERuStorePayPurchaseType | Purchase type.
| | var | description: RuStorePayDescription = null | Description in the language language.
| | var | purchaseTime: RuStorePayTime = null | Purchase time (optional parameter).
| | var | price: RuStorePayPrice = null | Price in minimum units (e.g., in kopecks).
| | var | amountLabel: RuStorePayAmountLabel = null | Formatted purchase price including currency sign.
| | var | currency: RuStorePayCurrency = null | ISO 4217 currency code.
| | var | developerPayload: RuStorePayDeveloperPayload = null |
String with additional order information,
which you can set when initializing the purchase process (optional parameter).
| | var | sandbox: bool = false |
Determines whether the payment is test.
Values can be true or false, where true denotes a test payment and false denotes a real one.
|

Назад