API/Autodoc/Classes/FURuStorePayPurchase.en.md


FURuStorePayPurchase

Container for common purchase fields.

#include <FURuStorePayPurchase.h>

Public Functions

Name
FURuStorePayPurchase()
Constructor.

Public Attributes

Name
URuStorePayProductId * productId — Product identifier assigned to the product in the RuStore console.
EURuStorePayProductType productType — Product type.
URuStorePayPurchaseId * purchaseId — Purchase identifier.
URuStorePayInvoiceId * invoiceId — Invoice identifier.
URuStorePayOrderId * orderId — Unique payment identifier generated by the application (optional parameter).
EURuStorePayPurchaseType purchaseType — Purchase type.
URuStorePayDescription * description — Purchase description.
URuStorePayDate * purchaseTime — Purchase time (optional parameter).
URuStorePayPrice * price — Price in minimum units (e.g., in kopecks).
URuStorePayAmountLabel * amountLabel — Formatted purchase price, including currency sign.
URuStorePayCurrency * currency — ISO 4217 currency code.
URuStorePayDeveloperPayload * developerPayload — String with additional order information that you can set when initializing the purchase process (optional parameter).
bool sandbox — Determines whether the payment is test.
EURuStorePayAcknowledgementState acknowledgementState — Purchase acknowledgement state by the developer.
FURuStorePayProductPurchase productPurchase — Product-specific data.
FURuStorePaySubscriptionPurchase subscriptionPurchase — Subscription-specific data.

function FURuStorePayPurchase

inline FURuStorePayPurchase()

Constructor.

variable productId

URuStorePayProductId * productId;

Product identifier assigned to the product in the RuStore console.

variable productType

EURuStorePayProductType productType;

Product type.

variable purchaseId

URuStorePayPurchaseId * purchaseId;

Purchase identifier.

variable invoiceId

URuStorePayInvoiceId * invoiceId;

Invoice identifier.

variable orderId

URuStorePayOrderId * orderId;

Unique payment identifier generated by the application (optional parameter).

variable purchaseType

EURuStorePayPurchaseType purchaseType;

Purchase type.

variable description

URuStorePayDescription * description;

Purchase description.

variable purchaseTime

URuStorePayDate * purchaseTime;

Purchase time (optional parameter).

variable price

URuStorePayPrice * price;

Price in minimum units (e.g., in kopecks).

variable amountLabel

URuStorePayAmountLabel * amountLabel;

Formatted purchase price, including currency sign.

variable currency

URuStorePayCurrency * currency;

ISO 4217 currency code.

variable developerPayload

URuStorePayDeveloperPayload * developerPayload;

String with additional order information that you can set when initializing the purchase process (optional parameter).

variable sandbox

bool sandbox;

Determines whether the payment is test.

variable acknowledgementState

EURuStorePayAcknowledgementState acknowledgementState;

Purchase acknowledgement state by the developer.

variable productPurchase

FURuStorePayProductPurchase productPurchase;

Product-specific data.

variable subscriptionPurchase

FURuStorePaySubscriptionPurchase subscriptionPurchase;

Subscription-specific data.


Назад