docs.unity3d.com
    Show / Hide Table of Contents

    Class GoogleProductMetadata

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

    Inheritance
    Object
    ProductMetadata
    GoogleProductMetadata
    Inherited Members
    ProductMetadata.localizedPriceString
    ProductMetadata.localizedTitle
    ProductMetadata.localizedDescription
    ProductMetadata.isoCurrencyCode
    ProductMetadata.localizedPrice
    Namespace: UnityEngine.Purchasing
    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
    Int32

    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

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