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


RuStore::PayClient::IPurchase

Common interface IPurchase.

Inherited by RuStore.PayClient.IPurchaseStatus< T >

Public Properties

Name
PurchaseId purchaseId — Purchase identifier. Used to obtain information about a purchase in the SDK.
InvoiceId invoiceId — Invoice identifier. Used for server-side payment validation, searching for payments in the developer console, and is 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 minimum units (for example, 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 a test payment. Values can be true or false, where true denotes a test payment and false denotes a real payment.

property purchaseId

PurchaseId purchaseId;

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

property invoiceId

InvoiceId invoiceId;

Invoice identifier. Used for server-side payment validation, searching for payments in the developer console, and is 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 minimum units (for example, 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 a test payment. Values can be true or false, where true denotes a test payment and false denotes a real payment.


Назад