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


RuStore::PayClient::Product

Product information.

Inherits from RuStore.PayClient.BaseFields

Public Functions

Name
Product(AmountLabel amountLabel, Currency currency, Description? description, Url imageUrl, Price? price, ProductId productId, Url? promoImageUrl, SubscriptionInfo? subscriptionInfo, Title title, ProductType type)
Constructor.

Public Properties

Name
AmountLabel amountLabel — Formatted purchase price, including currency symbol.
Currency currency — ISO 4217 currency code.
Description? description — Description in the language language (optional parameter).
Url imageUrl — Link to the image.
Price? price — Price in minimum units (e.g., kopecks) (optional parameter).
ProductId productId — Product identifier assigned to the product in the RuStore console.
Url? promoImageUrl
SubscriptionInfo? subscriptionInfo — Subscription information; will be non-null if the product type is SUBSCRIPTION.
Title title — Product name in the language language.

Additional inherited members

Public Functions inherited from RuStore.PayClient.BaseFields

Name
override bool Equals(object obj)
override int GetHashCode()
override string ToString()

function Product

Product(
    AmountLabel amountLabel,
    Currency currency,
    Description? description,
    Url imageUrl,
    Price? price,
    ProductId productId,
    Url? promoImageUrl,
    SubscriptionInfo? subscriptionInfo,
    Title title,
    ProductType type
)

Constructor.

Parameters:

  • amountLabel Formatted purchase price, including currency symbol.
  • currency ISO 4217 currency code.
  • description Description in the language language (optional parameter).
  • imageUrl Link to the image.
  • price Price in minimum units (e.g., kopecks) (optional parameter).
  • promoImageUrl
  • subscriptionInfo Subscription information.
  • title Product name in the language language.
  • type Product type.

property amountLabel

AmountLabel amountLabel;

Formatted purchase price, including currency symbol.

property currency

Currency currency;

ISO 4217 currency code.

property description

Description? description;

Description in the language language (optional parameter).

property imageUrl

Url imageUrl;

Link to the image.

property price

Price? price;

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

property productId

ProductId productId;

Product identifier assigned to the product in the RuStore console.

property promoImageUrl

Url? promoImageUrl;

property subscriptionInfo

SubscriptionInfo? subscriptionInfo;

Subscription information; will be non-null if the product type is SUBSCRIPTION.

property title

Title title;

Product name in the language language.

property type

ProductType type;

Product type.

Назад