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 — Image URL.
Price? price — Price in minor 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.

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 Image URL.
  • price Price in minor units (e.g., kopecks) (optional parameter).
  • promoImageUrl Promo image URL.
  • subscriptionInfo Subscription information.
  • title Product name 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;

Image URL.

property price

Price? price;

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

property productId

ProductId productId;

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.

property type

ProductType type;

Product type.


Назад