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 sign.
Currency currency — ISO 4217 currency code.
Description? description — Description in the 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 not be null if the product type is SUBSCRIPTION.
Title title — Product title in the 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 sign.
  • currency ISO 4217 currency code.
  • description Description in the language (optional parameter).
  • imageUrl Link to the image.
  • price Price in minimum units (e.g., kopecks) (optional parameter).
  • promoImageUrl
  • subscriptionInfo Subscription information.
  • title Product title in the language.
  • type Product type.

property amountLabel

AmountLabel amountLabel;

Formatted purchase price including currency sign.

property currency

Currency currency;

ISO 4217 currency code.

property description

Description? description;

Description in the 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;

property promoImageUrl

Url? promoImageUrl;

property subscriptionInfo

SubscriptionInfo? subscriptionInfo;

Subscription information, will not be null if the product type is SUBSCRIPTION.

property title

Title title;

Product title in the language.

property type

ProductType type;

Product type.


Назад