API/Autodoc/Classes/RuStore.PayClient.ProductPurchase.en.md
RuStore::PayClient::ProductPurchase
Purchase information.
Inherits from RuStore.PayClient.BaseFields, RuStore.PayClient.IPurchaseStatus< ProductPurchaseStatus >, RuStore.PayClient.IPurchase
Public Functions
| Name | |
|---|---|
| ProductPurchase(AmountLabel amountLabel, Currency currency, Description description, DeveloperPayload? developerPayload, InvoiceId invoiceId, OrderId? orderId, Price price, ProductId productId, ProductType productType, PurchaseId purchaseId, DateTime? purchaseTime, PurchaseType purchaseType, Quantity quantity, ProductPurchaseStatus status, bool sandbox) Constructor. |
Public Properties
| Name | |
|---|---|
| AmountLabel | amountLabel — Formatted purchase price, including the currency sign. |
| Currency | currency — ISO 4217 currency code. |
| Description | description — Description in the language. |
| DeveloperPayload? | developerPayload — String with additional order information that you can set when initializing the purchase process (optional parameter). |
| InvoiceId | invoiceId — Invoice ID. |
| 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 not specified, it will be generated automatically (uuid). Maximum length of 150 characters. |
| Price | price — Price in minimum units (e.g., kopecks). |
| ProductId | productId — Product ID assigned to the product in the RuStore console. |
| PurchaseId | purchaseId — Purchase ID. |
| DateTime? | purchaseTime — Purchase time (optional parameter). |
| Quantity | quantity — Product quantity. |
| bool | sandbox — Determines whether the payment is test. Values can be true or false, where true indicates a test payment, and false indicates a real payment. |
Additional inherited members
Public Functions inherited from RuStore.PayClient.BaseFields
| Name | |
|---|---|
| override bool | Equals(object obj) |
| override int | GetHashCode() |
| override string | ToString() |
function ProductPurchase
ProductPurchase(
AmountLabel amountLabel,
Currency currency,
Description description,
DeveloperPayload? developerPayload,
InvoiceId invoiceId,
OrderId? orderId,
Price price,
ProductId productId,
ProductType productType,
PurchaseId purchaseId,
DateTime? purchaseTime,
PurchaseType purchaseType,
Quantity quantity,
ProductPurchaseStatus status,
bool sandbox
)
Constructor.
Parameters:
- amountLabel Formatted purchase price, including the currency sign.
- currency ISO 4217 currency code.
- description Description in the language.
- developerPayload String with additional order information that you can set when initializing the purchase process (optional parameter).
- invoiceId Invoice ID.
- 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 not specified, it will be generated automatically (uuid). Maximum length of 150 characters.
- price Price in minimum units (e.g., kopecks).
- productType Product type.
- purchaseId Purchase ID.
- purchaseTime Purchase time (optional parameter).
- purchaseType Purchase type.
- quantity Product quantity.
- status Purchase status.
- sandbox Determines whether the payment is test. Values can be true or false, where true indicates a test payment, and false indicates a real payment.
property amountLabel
AmountLabel amountLabel;
Formatted purchase price, including the currency sign.
property currency
Currency currency;
ISO 4217 currency code.
property description
Description description;
Description in the language.
property developerPayload
DeveloperPayload? developerPayload;
String with additional order information that you can set when initializing the purchase process (optional parameter).
property invoiceId
InvoiceId invoiceId;
Invoice ID.
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 not specified, it will be generated automatically (uuid). Maximum length of 150 characters.
property price
Price price;
Price in minimum units (e.g., kopecks).
property productId
ProductId productId;
Product ID assigned to the product in the RuStore console.
property purchaseId
PurchaseId purchaseId;
Purchase ID.
property purchaseTime
DateTime? purchaseTime;
Purchase time (optional parameter).
property quantity
Quantity quantity;
Product quantity.
property sandbox
bool sandbox;
Determines whether the payment is test. Values can be true or false, where true indicates a test payment, and false indicates a real payment.
- Страницы
- RuStore.PayClient.AmountLabel.en
- RuStore.PayClient.AmountLabel
- RuStore.PayClient.AppUserEmail.en
- RuStore.PayClient.AppUserEmail
- RuStore.PayClient.AppUserId.en
- RuStore.PayClient.AppUserId
- RuStore.PayClient.BaseFields.en
- RuStore.PayClient.BaseFields
- RuStore.PayClient.BaseValue.en
- RuStore.PayClient.BaseValue
- RuStore.PayClient.Currency.en
- RuStore.PayClient.Currency
- RuStore.PayClient.Description.en
- RuStore.PayClient.Description
- RuStore.PayClient.DeveloperPayload.en
- RuStore.PayClient.DeveloperPayload
- RuStore.PayClient.GracePeriod.en
- RuStore.PayClient.GracePeriod
- RuStore.PayClient.HoldPeriod.en
- RuStore.PayClient.HoldPeriod
- RuStore.PayClient.IPurchase.en
- RuStore.PayClient.IPurchase
- RuStore.PayClient.IPurchaseStatus.en
- RuStore.PayClient.IPurchaseStatus
- RuStore.PayClient.Internal.CancelTwoStepPurchaseResponseListener.en
- RuStore.PayClient.Internal.CancelTwoStepPurchaseResponseListener
- RuStore.PayClient.Internal.ConfirmTwoStepPurchaseResponseListener.en
- RuStore.PayClient.Internal.ConfirmTwoStepPurchaseResponseListener
- RuStore.PayClient.Internal.DataConverter.en
- RuStore.PayClient.Internal.DataConverter
- RuStore.PayClient.Internal.ProductPurchaseResultListener.en
- RuStore.PayClient.Internal.ProductPurchaseResultListener
- RuStore.PayClient.Internal.ProductsResponseListener.en
- RuStore.PayClient.Internal.ProductsResponseListener
- RuStore.PayClient.Internal.PurchaseAvailabilityListener.en
- RuStore.PayClient.Internal.PurchaseAvailabilityListener
- RuStore.PayClient.Internal.PurchaseResponseListener.en
- RuStore.PayClient.Internal.PurchaseResponseListener
- RuStore.PayClient.Internal.PurchasesResponseListener.en
- RuStore.PayClient.Internal.PurchasesResponseListener
- RuStore.PayClient.Internal.UserAuthorizationStatusListener.en
- RuStore.PayClient.Internal.UserAuthorizationStatusListener
- RuStore.PayClient.InvoiceId.en
- RuStore.PayClient.InvoiceId
- RuStore.PayClient.MainPeriod.en
- RuStore.PayClient.MainPeriod
- RuStore.PayClient.OrderId.en
- RuStore.PayClient.OrderId
- RuStore.PayClient.Price.en
- RuStore.PayClient.Price
- RuStore.PayClient.Product.en
- RuStore.PayClient.Product
- RuStore.PayClient.ProductId.en
- RuStore.PayClient.ProductId
- RuStore.PayClient.ProductPurchase.en
- RuStore.PayClient.ProductPurchase
- RuStore.PayClient.ProductPurchaseParams.en
- RuStore.PayClient.ProductPurchaseParams
- RuStore.PayClient.ProductPurchaseResult.en
- RuStore.PayClient.ProductPurchaseResult
- RuStore.PayClient.PromoPeriod.en
- RuStore.PayClient.PromoPeriod
- RuStore.PayClient.PurchaseAvailabilityResult.en
- RuStore.PayClient.PurchaseAvailabilityResult
- RuStore.PayClient.PurchaseEventListener.en
- RuStore.PayClient.PurchaseEventListener
- RuStore.PayClient.PurchaseId.en
- RuStore.PayClient.PurchaseId
- RuStore.PayClient.Quantity.en
- RuStore.PayClient.Quantity
- RuStore.PayClient.RuStorePayClient.en
- RuStore.PayClient.RuStorePayClient
- RuStore.PayClient.RuStorePaymentException.ApplicationSchemeWasNotProvided.en
- RuStore.PayClient.RuStorePaymentException.ApplicationSchemeWasNotProvided
- RuStore.PayClient.RuStorePaymentException.EmptyPaymentTokenException.en
- RuStore.PayClient.RuStorePaymentException.EmptyPaymentTokenException
- RuStore.PayClient.RuStorePaymentException.InvalidCardBindingIdException.en
- RuStore.PayClient.RuStorePaymentException.InvalidCardBindingIdException
- RuStore.PayClient.RuStorePaymentException.ProductPurchaseCancelled.en
- RuStore.PayClient.RuStorePaymentException.ProductPurchaseCancelled
- RuStore.PayClient.RuStorePaymentException.ProductPurchaseException.en
- RuStore.PayClient.RuStorePaymentException.ProductPurchaseException
- RuStore.PayClient.RuStorePaymentException.RuStorePayClientAlreadyExist.en
- RuStore.PayClient.RuStorePaymentException.RuStorePayClientAlreadyExist
- RuStore.PayClient.RuStorePaymentException.RuStorePayClientNotCreated.en
- RuStore.PayClient.RuStorePaymentException.RuStorePayClientNotCreated
- RuStore.PayClient.RuStorePaymentException.RuStorePayInvalidActivePurchase.en
- RuStore.PayClient.RuStorePaymentException.RuStorePayInvalidActivePurchase
- RuStore.PayClient.RuStorePaymentException.RuStorePayInvalidConsoleAppId.en
- RuStore.PayClient.RuStorePaymentException.RuStorePayInvalidConsoleAppId
- RuStore.PayClient.RuStorePaymentException.RuStorePaySignatureException.en
- RuStore.PayClient.RuStorePaymentException.RuStorePaySignatureException
- RuStore.PayClient.RuStorePaymentException.RuStorePaymentCommonException.en
- RuStore.PayClient.RuStorePaymentException.RuStorePaymentCommonException
- RuStore.PayClient.RuStorePaymentException.RuStorePaymentNetworkException.en
- RuStore.PayClient.RuStorePaymentException.RuStorePaymentNetworkException
- RuStore.PayClient.RuStorePaymentException.en
- RuStore.PayClient.RuStorePaymentException
- RuStore.PayClient.SubscriptionInfo.en
- RuStore.PayClient.SubscriptionInfo
- RuStore.PayClient.SubscriptionPeriod.en
- RuStore.PayClient.SubscriptionPeriod
- RuStore.PayClient.SubscriptionPurchase.en
- RuStore.PayClient.SubscriptionPurchase
- RuStore.PayClient.SubscriptionToken.en
- RuStore.PayClient.SubscriptionToken
- RuStore.PayClient.Title.en
- RuStore.PayClient.Title
- RuStore.PayClient.TrialPeriod.en
- RuStore.PayClient.TrialPeriod
- RuStore.PayClient.Url.en
- RuStore.PayClient.Url
- ru.rustore.unitysdk.RuStoreDeeplinkActivityDefault.en
- ru.rustore.unitysdk.RuStoreDeeplinkActivityDefault
- RuStore.PayClient.AmountLabel.en
- RuStore.PayClient.AmountLabel
- RuStore.PayClient.AppUserEmail.en
- RuStore.PayClient.AppUserEmail
- RuStore.PayClient.AppUserId.en
- RuStore.PayClient.AppUserId
- RuStore.PayClient.BaseFields.en
- RuStore.PayClient.BaseFields
- RuStore.PayClient.BaseValue.en
- RuStore.PayClient.BaseValue
- RuStore.PayClient.Currency.en
- RuStore.PayClient.Currency
- RuStore.PayClient.Description.en
- RuStore.PayClient.Description
- RuStore.PayClient.DeveloperPayload.en
- RuStore.PayClient.DeveloperPayload
- RuStore.PayClient.GracePeriod.en
- RuStore.PayClient.GracePeriod
- RuStore.PayClient.HoldPeriod.en
- RuStore.PayClient.HoldPeriod
- RuStore.PayClient.IPurchase.en
- RuStore.PayClient.IPurchase
- RuStore.PayClient.IPurchaseStatus.en
- RuStore.PayClient.IPurchaseStatus
- RuStore.PayClient.Internal.CancelTwoStepPurchaseResponseListener.en
- RuStore.PayClient.Internal.CancelTwoStepPurchaseResponseListener
- RuStore.PayClient.Internal.ConfirmTwoStepPurchaseResponseListener.en
- RuStore.PayClient.Internal.ConfirmTwoStepPurchaseResponseListener
- RuStore.PayClient.Internal.DataConverter.en
- RuStore.PayClient.Internal.DataConverter
- RuStore.PayClient.Internal.ProductPurchaseResultListener.en
- RuStore.PayClient.Internal.ProductPurchaseResultListener
- RuStore.PayClient.Internal.ProductsResponseListener.en
- RuStore.PayClient.Internal.ProductsResponseListener
- RuStore.PayClient.Internal.PurchaseAvailabilityListener.en
- RuStore.PayClient.Internal.PurchaseAvailabilityListener
- RuStore.PayClient.Internal.PurchaseResponseListener.en
- RuStore.PayClient.Internal.PurchaseResponseListener
- RuStore.PayClient.Internal.PurchasesResponseListener.en
- RuStore.PayClient.Internal.PurchasesResponseListener
- RuStore.PayClient.Internal.UserAuthorizationStatusListener.en
- RuStore.PayClient.Internal.UserAuthorizationStatusListener
- RuStore.PayClient.InvoiceId.en
- RuStore.PayClient.InvoiceId
- RuStore.PayClient.MainPeriod.en
- RuStore.PayClient.MainPeriod
- RuStore.PayClient.OrderId.en
- RuStore.PayClient.OrderId
- RuStore.PayClient.Price.en
- RuStore.PayClient.Price
- RuStore.PayClient.Product.en
- RuStore.PayClient.Product
- RuStore.PayClient.ProductId.en
- RuStore.PayClient.ProductId
- RuStore.PayClient.ProductPurchase.en
- RuStore.PayClient.ProductPurchase
- RuStore.PayClient.ProductPurchaseParams.en
- RuStore.PayClient.ProductPurchaseParams
- RuStore.PayClient.ProductPurchaseResult.en
- RuStore.PayClient.ProductPurchaseResult
- RuStore.PayClient.PromoPeriod.en
- RuStore.PayClient.PromoPeriod
- RuStore.PayClient.PurchaseAvailabilityResult.en
- RuStore.PayClient.PurchaseAvailabilityResult
- RuStore.PayClient.PurchaseEventListener.en
- RuStore.PayClient.PurchaseEventListener
- RuStore.PayClient.PurchaseId.en
- RuStore.PayClient.PurchaseId
- RuStore.PayClient.Quantity.en
- RuStore.PayClient.Quantity
- RuStore.PayClient.RuStorePayClient.en
- RuStore.PayClient.RuStorePayClient
- RuStore.PayClient.RuStorePaymentException.ApplicationSchemeWasNotProvided.en
- RuStore.PayClient.RuStorePaymentException.ApplicationSchemeWasNotProvided
- RuStore.PayClient.RuStorePaymentException.EmptyPaymentTokenException.en
- RuStore.PayClient.RuStorePaymentException.EmptyPaymentTokenException
- RuStore.PayClient.RuStorePaymentException.InvalidCardBindingIdException.en
- RuStore.PayClient.RuStorePaymentException.InvalidCardBindingIdException
- RuStore.PayClient.RuStorePaymentException.ProductPurchaseCancelled.en
- RuStore.PayClient.RuStorePaymentException.ProductPurchaseCancelled
- RuStore.PayClient.RuStorePaymentException.ProductPurchaseException.en
- RuStore.PayClient.RuStorePaymentException.ProductPurchaseException
- RuStore.PayClient.RuStorePaymentException.RuStorePayClientAlreadyExist.en
- RuStore.PayClient.RuStorePaymentException.RuStorePayClientAlreadyExist
- RuStore.PayClient.RuStorePaymentException.RuStorePayClientNotCreated.en
- RuStore.PayClient.RuStorePaymentException.RuStorePayClientNotCreated
- RuStore.PayClient.RuStorePaymentException.RuStorePayInvalidActivePurchase.en
- RuStore.PayClient.RuStorePaymentException.RuStorePayInvalidActivePurchase
- RuStore.PayClient.RuStorePaymentException.RuStorePayInvalidConsoleAppId.en
- RuStore.PayClient.RuStorePaymentException.RuStorePayInvalidConsoleAppId
- RuStore.PayClient.RuStorePaymentException.RuStorePaySignatureException.en
- RuStore.PayClient.RuStorePaymentException.RuStorePaySignatureException
- RuStore.PayClient.RuStorePaymentException.RuStorePaymentCommonException.en
- RuStore.PayClient.RuStorePaymentException.RuStorePaymentCommonException
- RuStore.PayClient.RuStorePaymentException.RuStorePaymentNetworkException.en
- RuStore.PayClient.RuStorePaymentException.RuStorePaymentNetworkException
- RuStore.PayClient.RuStorePaymentException.en
- RuStore.PayClient.RuStorePaymentException
- RuStore.PayClient.SubscriptionInfo.en
- RuStore.PayClient.SubscriptionInfo
- RuStore.PayClient.SubscriptionPeriod.en
- RuStore.PayClient.SubscriptionPeriod
- RuStore.PayClient.SubscriptionPurchase.en
- RuStore.PayClient.SubscriptionPurchase
- RuStore.PayClient.SubscriptionToken.en
- RuStore.PayClient.SubscriptionToken
- RuStore.PayClient.Title.en
- RuStore.PayClient.Title
- RuStore.PayClient.TrialPeriod.en
- RuStore.PayClient.TrialPeriod
- RuStore.PayClient.Url.en
- RuStore.PayClient.Url
- ru.rustore.unitysdk.RuStoreDeeplinkActivityDefault.en
- ru.rustore.unitysdk.RuStoreDeeplinkActivityDefault