docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GoogleProductMetadata

    Product definition used by Google Play Store. This is a representation of SkuDetails Google documentation

    Inheritance
    object
    GoogleProductMetadata
    Namespace: UnityEngine.Purchasing
    Assembly: UnityEngine.Purchasing.Stores.dll
    Syntax
    public class GoogleProductMetadata : ProductMetadata

    Properties

    freeTrialPeriod

    Trial period configured in Google Play Console, specified in ISO 8601 format.

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

    introductoryPrice

    Formatted introductory price of a subscription, including its currency sign, such as €3.99.

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

    introductoryPriceCycles

    The number of subscription billing periods for which the user will be given the introductory price, such as 3.

    Declaration
    public int introductoryPriceCycles { get; }
    Property Value
    Type Description
    int

    introductoryPricePeriod

    The billing period of the introductory price, specified in ISO 8601 format.

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

    originalJson

    Returns a String in JSON format that contains SKU details.

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

    subscriptionPeriod

    Subscription period, specified in ISO 8601 format.

    Declaration
    public string subscriptionPeriod { 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)