API/Autodoc/Classes/RuStore.PayClient.BillingSubscription.md
RuStore::PayClient::BillingSubscription
Информация о подписке, оформленной в SDK Billing Client.
Inherits from RuStore.PayClient.BaseFields, RuStore.PayClient.IPurchaseStatus< SubscriptionPurchaseStatus >, RuStore.PayClient.IPurchase
Public Functions
| Name | |
|---|---|
| BillingSubscription(PurchaseId purchaseId, InvoiceId invoiceId, OrderId? orderId, PurchaseType purchaseType, SubscriptionPurchaseStatus status, Description description, DateTime? purchaseTime, Price price, AmountLabel amountLabel, Currency currency, DeveloperPayload? developerPayload, bool sandbox, ProductId productId, DateTime? expirationDate, bool gracePeriodEnabled, SubscriptionToken subscriptionToken) Конструктор. |
Public Properties
| Name | |
|---|---|
| PurchaseId | purchaseId — Идентификатор покупки. |
| InvoiceId | invoiceId — Идентификатор счёта. |
| OrderId? | orderId — Уникальный идентификатор оплаты, сформированный приложением (необязательный параметр). Если вы укажете этот параметр в вашей системе, вы получите его в ответе при работе с API. Если не укажете, он будет сгенерирован автоматически (uuid). Максимальная длина 150 символов. |
| Description | description — Описание на языке language. |
| DateTime? | purchaseTime — Время покупки (необязательный параметр). |
| Price | price — Цена в минимальных единицах (например в копейках). |
| AmountLabel | amountLabel — Отформатированная цена покупки, включая валютный знак. |
| Currency | currency — Код валюты ISO 4217. |
| DeveloperPayload? | developerPayload — Строка с дополнительной информацией о заказе, которую вы можете установить при инициализации процесса покупки (необязательный параметр). |
| bool | sandbox — Определяет, является ли платёж тестовым. Значения могут быть true или false, где true обозначает тестовый платёж, а false – реальный. |
| ProductId | productId — Идентификатор продукта, который был присвоен продукту в консоли RuStore. |
| DateTime? | expirationDate — Дата окончания срока действия подписки. |
| bool | gracePeriodEnabled — Флаг, указывающий, активен ли льготный период для подписки. |
| SubscriptionToken | subscriptionToken — Токен для серверной валидации покупки подписки. |
Additional inherited members
Public Functions inherited from RuStore.PayClient.BaseFields
| Name | |
|---|---|
| override bool | Equals(object obj) |
| override int | GetHashCode() |
| override string | ToString() |
function BillingSubscription
BillingSubscription(
PurchaseId purchaseId,
InvoiceId invoiceId,
OrderId? orderId,
PurchaseType purchaseType,
SubscriptionPurchaseStatus status,
Description description,
DateTime? purchaseTime,
Price price,
AmountLabel amountLabel,
Currency currency,
DeveloperPayload? developerPayload,
bool sandbox,
ProductId productId,
DateTime? expirationDate,
bool gracePeriodEnabled,
SubscriptionToken subscriptionToken
)
Конструктор.
Parameters:
- purchaseId Идентификатор покупки.
- invoiceId Идентификатор счёта.
- orderId Уникальный идентификатор оплаты, сформированный приложением (необязательный параметр). Если вы укажете этот параметр в вашей системе, вы получите его в ответе при работе с API. Если не укажете, он будет сгенерирован автоматически (uuid). Максимальная длина 150 символов.
- purchaseType Тип покупки.
- status Состояние подписки.
- description Описание на языке language.
- purchaseTime Время покупки (необязательный параметр).
- price Цена в минимальных единицах (например в копейках).
- amountLabel Отформатированная цена покупки, включая валютный знак.
- currency Код валюты ISO 4217.
- developerPayload Строка с дополнительной информацией о заказе, которую вы можете установить при инициализации процесса покупки (необязательный параметр).
- sandbox Определяет, является ли платёж тестовым. Значения могут быть true или false, где true обозначает тестовый платёж, а false – реальный.
- expirationDate Дата окончания срока действия подписки.
- gracePeriodEnabled Флаг, указывающий, активен ли льготный период для подписки.
- subscriptionToken Токен для серверной валидации покупки подписки.
property purchaseId
PurchaseId purchaseId;
Идентификатор покупки.
property invoiceId
InvoiceId invoiceId;
Идентификатор счёта.
property orderId
OrderId? orderId;
Уникальный идентификатор оплаты, сформированный приложением (необязательный параметр). Если вы укажете этот параметр в вашей системе, вы получите его в ответе при работе с API. Если не укажете, он будет сгенерирован автоматически (uuid). Максимальная длина 150 символов.
property purchaseType
PurchaseType purchaseType;
Тип покупки.
property status
SubscriptionPurchaseStatus status;
Состояние подписки.
property description
Description description;
Описание на языке language.
property purchaseTime
DateTime? purchaseTime;
Время покупки (необязательный параметр).
property price
Price price;
Цена в минимальных единицах (например в копейках).
property amountLabel
AmountLabel amountLabel;
Отформатированная цена покупки, включая валютный знак.
property currency
Currency currency;
Код валюты ISO 4217.
property developerPayload
DeveloperPayload? developerPayload;
Строка с дополнительной информацией о заказе, которую вы можете установить при инициализации процесса покупки (необязательный параметр).
property sandbox
bool sandbox;
Определяет, является ли платёж тестовым. Значения могут быть true или false, где true обозначает тестовый платёж, а false – реальный.
property productId
ProductId productId;
property expirationDate
DateTime? expirationDate;
Дата окончания срока действия подписки.
property gracePeriodEnabled
bool gracePeriodEnabled;
Флаг, указывающий, активен ли льготный период для подписки.
property subscriptionToken
SubscriptionToken subscriptionToken;
Токен для серверной валидации покупки подписки.
- Страницы
- 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.BillingSubscription.en
- RuStore.PayClient.BillingSubscription
- 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.BillingSubscriptionsResponseListener.en
- RuStore.PayClient.Internal.BillingSubscriptionsResponseListener
- 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.UpdateAcknowledgementStateResponseListener.en
- RuStore.PayClient.Internal.UpdateAcknowledgementStateResponseListener
- 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.BillingSubscription.en
- RuStore.PayClient.BillingSubscription
- 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.BillingSubscriptionsResponseListener.en
- RuStore.PayClient.Internal.BillingSubscriptionsResponseListener
- 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.UpdateAcknowledgementStateResponseListener.en
- RuStore.PayClient.Internal.UpdateAcknowledgementStateResponseListener
- 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