API/Autodoc/Classes/FURuStorePurchase.en.md


FURuStorePurchase

Purchase information.

#include <FURuStorePurchase.h>

Public Functions

Name
FURuStorePurchase()
Constructor.

Public Attributes

Name
FString purchaseId — Purchase ID.
FString productId — Product ID, which was assigned to the product in the RuStore console.
FString invoiceId — Invoice ID.
FString language — Language, specified via BCP 47 encoding.
FDateTime purchaseTime — Purchase time.
FString purchaseTimeLabel — Purchase time as a string in D.M.Y H:M:S format.
FString orderId — 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 not specified, it will be auto-generated (uuid). Maximum length is 150 characters.
FString amountLabel — Formatted purchase price, including currency sign.
int amount — Price in the smallest currency units (e.g., in cents).
FString currency — ISO 4217 currency code.
int quantity — Product quantity.
EURuStorePurchaseState purchaseState — Purchase state.
EURuStoreProductType productType — Product type.
FString developerPayload — String with additional information about the order that you can set when initializing the purchase process.
FString subscriptionToken — Token for purchase validation on the server.

function FURuStorePurchase

inline FURuStorePurchase()

Constructor.

variable purchaseId

FString purchaseId;

Purchase ID.

variable productId

FString productId;

Product ID, which was assigned to the product in the RuStore console.

variable invoiceId

FString invoiceId;

Invoice ID.

variable language

FString language;

Language, specified via BCP 47 encoding.

variable purchaseTime

FDateTime purchaseTime;

Purchase time.

variable purchaseTimeLabel

FString purchaseTimeLabel;

Purchase time as a string in D.M.Y H:M:S format.

variable orderId

FString orderId;

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 not specified, it will be auto-generated (uuid). Maximum length is 150 characters.

variable amountLabel

FString amountLabel;

Formatted purchase price, including currency sign.

variable amount

int amount;

Price in the smallest currency units (e.g., in cents).

variable currency

FString currency;

ISO 4217 currency code.

variable quantity

int quantity;

Product quantity.

variable purchaseState

EURuStorePurchaseState purchaseState;

Purchase state.

variable productType

EURuStoreProductType productType;

Product type.

variable developerPayload

FString developerPayload;

String with additional information about the order that you can set when initializing the purchase process.

variable subscriptionToken

FString subscriptionToken;

Token for purchase validation on the server.


Назад