API/Autodoc/Classes/FURuStorePayProductPurchaseResult.en.md


FURuStorePayProductPurchaseResult

Result of a successful digital product purchase.

#include <FURuStorePayProductPurchaseResult.h>

Public Functions

Name
FURuStorePayProductPurchaseResult()
Constructor.

Public Attributes

Name
URuStorePayOrderId * orderId — Unique payment identifier formed 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 automatically generated (uuid). Maximum length 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 purchased product.
bool sandbox — Determines whether the payment is test. Values can be true or false, where true denotes a test payment, and false – a real one.

function FURuStorePayProductPurchaseResult

inline FURuStorePayProductPurchaseResult()

Constructor.

variable orderId

URuStorePayOrderId * orderId;

Unique payment identifier formed 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 automatically generated (uuid). Maximum length 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 purchased product.

variable sandbox

bool sandbox;

Determines whether the payment is test. Values can be true or false, where true denotes a test payment, and false – a real one.


Назад