API/Autodoc/Classes/FURuStorePayProductPurchaseResult.en.md


FURuStorePayProductPurchaseResult

Result of a successful purchase of a digital product.

#include <FURuStorePayProductPurchaseResult.h>

Public Functions

Name
FURuStorePayProductPurchaseResult()
Constructor.

Public Attributes

Name
URuStorePayOrderId * 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 you do not specify it, it will be generated automatically (uuid). Maximum length is 150 characters.
URuStorePayPurchaseId * purchaseId — Purchase identifier.
URuStorePayProductId * productId — Product identifier assigned to the product in the RuStore console.
EURuStorePayProductType productType — Product type.
URuStorePayInvoiceId * invoiceId — Invoice identifier.
EURuStorePayPurchaseType purchaseType — Purchase type.
URuStorePayQuantity * quantity — Quantity of the purchased product.
bool sandbox — 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.

function FURuStorePayProductPurchaseResult

inline FURuStorePayProductPurchaseResult()

Constructor.

variable orderId

URuStorePayOrderId * 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 you do not specify it, it will be generated automatically (uuid). Maximum length is 150 characters.

variable purchaseId

URuStorePayPurchaseId * purchaseId;

Purchase identifier.

variable productId

URuStorePayProductId * productId;

Product identifier assigned to the product in the RuStore console.

variable productType

EURuStorePayProductType productType;

Product type.

variable invoiceId

URuStorePayInvoiceId * invoiceId;

Invoice identifier.

variable purchaseType

EURuStorePayPurchaseType purchaseType;

Purchase type.

variable quantity

URuStorePayQuantity * quantity;

Quantity of the purchased product.

variable sandbox

bool sandbox;

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.


Назад