API/Autodoc/Classes/RuStore.PayClient.IPurchase.en.md


RuStore::PayClient::IPurchase

General interface IPurchase.

Inherited by RuStore.PayClient.IPurchaseStatus< T >

Public Properties

Name
PurchaseId purchaseId — Purchase identifier. Used to obtain information about the purchase in the SDK.
InvoiceId invoiceId — Invoice identifier. Used for server-side payment validation, searching for payments in the developer console, and also displayed to the buyer in the payment history.
OrderId? 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.
Enum status — Purchase status.
Description description — Description in the language language.
DateTime? purchaseTime — Purchase time (optional parameter).
Price price — Price in minimal units (e.g., in kopecks).
AmountLabel amountLabel — Formatted purchase price, including the currency sign.
Currency currency — ISO 4217 currency code.
DeveloperPayload? developerPayload — A string with additional order information that you can set when initializing the purchase process (optional parameter).
bool sandbox — Determines whether the payment is test. The values can be true or false, where true indicates a test payment and false indicates a real one.

property purchaseId

PurchaseId purchaseId;

Purchase identifier. Used to obtain information about the purchase in the SDK.

property invoiceId

InvoiceId invoiceId;

Invoice identifier. Used for server-side payment validation, searching for payments in the developer console, and also displayed to the buyer in the payment history.

property orderId

OrderId? 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.

property purchaseType

PurchaseType purchaseType;

Purchase type.

property status

Enum status;

Purchase status.

Reimplemented by: RuStore::PayClient::IPurchaseStatus::status

property description

Description description;

Description in the language language.

property purchaseTime

DateTime? purchaseTime;

Purchase time (optional parameter).

property price

Price price;

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

property amountLabel

AmountLabel amountLabel;

Formatted purchase price, including the currency sign.

property currency

Currency currency;

ISO 4217 currency code.

property developerPayload

DeveloperPayload? developerPayload;

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

property sandbox

bool sandbox;

Determines whether the payment is test. The values can be true or false, where true indicates a test payment and false indicates a real one.


Назад