API/Autodoc/Files/Product.cs.en.md


Namespaces

Name

Classes

Name
class RuStore::PayClient::Product — Product information.

Source code

#nullable enable

namespace RuStore.PayClient {

    public class Product : BaseFields {

        public AmountLabel amountLabel { get; }

        public Currency currency { get; }

        public Description? description { get; }

        public Url imageUrl { get; }

        public Price? price { get; }

        public ProductId productId { get; }
        
        public Url? promoImageUrl { get; }

        public SubscriptionInfo? subscriptionInfo { get; }

        public Title title { get; }

        public ProductType type { get; }

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

            this.amountLabel = amountLabel;
            this.currency = currency;
            this.description = description;
            this.imageUrl = imageUrl;
            this.price = price;
            this.productId = productId;
            this.promoImageUrl = promoImageUrl;
            this.subscriptionInfo = subscriptionInfo;
            this.title = title;
            this.type = type;
        }
    }
}
Назад