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 ProductDetails Google documentation

    Inheritance
    object
    ProductMetadata
    GoogleProductMetadata
    Inherited Members
    ProductMetadata.localizedPriceString
    ProductMetadata.localizedTitle
    ProductMetadata.localizedDescription
    ProductMetadata.isoCurrencyCode
    ProductMetadata.localizedPrice
    ProductMetadata.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Purchasing
    Assembly: Unity.Purchasing.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

    Extension Methods

    GetAppleProductMetadataExtension.GetAppleProductMetadata(ProductMetadata)
    GetGoogleProductMetadataExtension.GetGoogleProductMetadata(ProductMetadata)
    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)