docs.unity3d.com
    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
    Namespace: UnityEngine.Purchasing.Default
    Syntax
    public class WinProductDescription : object

    Constructors

    WinProductDescription(String, String, String, String, String, Decimal, String, String, Boolean)

    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.

    Boolean consumable

    Whether or not the product is consumable.

    Properties

    consumable

    Whether or not the product is consumable.

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

    description

    The product's description.

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

    ISOCurrencyCode

    The product's currency code.

    Declaration
    public string ISOCurrencyCode { 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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023