docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class WinProductDescription

    A common format for Billing Subsystems to use to describe available In App Purchases to the Biller, including purchase state via Receipt and Transaction Identifiers.

    Inheritance
    object
    WinProductDescription
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Purchasing.Default
    Assembly: UnityEngine.Purchasing.WinRTCore.dll
    Syntax
    public class WinProductDescription

    Constructors

    WinProductDescription(string, string, string, string, string, decimal, string, string, bool)

    Constructor which initialized member from parametars.

    Declaration
    public WinProductDescription(string id, string price, string title, string description, string isoCode, decimal priceD, string receipt = null, string transactionId = null, bool consumable = false)
    Parameters
    Type Name Description
    string id

    The product's specific ID on the Windows Store.

    string price

    The product's price, as text.

    string title

    The product's title, or name.

    string description

    The product's description.

    string isoCode

    The product's currency code.

    decimal priceD

    The product's price, as a decimal.

    string receipt

    The product's purchase receipt.

    string transactionId

    The product's purchase transaction ID.

    bool consumable

    Whether or not the product is consumable.

    Properties

    ISOCurrencyCode

    The product's currency code.

    Declaration
    public string ISOCurrencyCode { get; }
    Property Value
    Type Description
    string

    consumable

    Whether or not the product is consumable.

    Declaration
    public bool consumable { get; }
    Property Value
    Type Description
    bool

    description

    The product's description.

    Declaration
    public string description { get; }
    Property Value
    Type Description
    string

    platformSpecificID

    The product's specific ID on the Windows Store.

    Declaration
    public string platformSpecificID { get; }
    Property Value
    Type Description
    string

    price

    The product's price, as text.

    Declaration
    public string price { get; }
    Property Value
    Type Description
    string

    priceDecimal

    The product's price, as a decimal.

    Declaration
    public decimal priceDecimal { get; }
    Property Value
    Type Description
    decimal

    receipt

    The product's purchase receipt.

    Declaration
    public string receipt { get; }
    Property Value
    Type Description
    string

    title

    The product's title, or name.

    Declaration
    public string title { get; }
    Property Value
    Type Description
    string

    transactionID

    The product's purchase transaction ID.

    Declaration
    public string transactionID { get; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)