{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class RedeemGooglePlayStorePurchaseArgs | Economy | 3.3.0
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RedeemGooglePlayStorePurchaseArgs

    Arguments for a RedeemGooglePlayStorePurchaseAsync call.

    Inheritance
    object
    RedeemGooglePlayStorePurchaseArgs
    Purchases.RedeemGooglePlayStorePurchaseArgs
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Economy
    Assembly: solution.dll
    Syntax
    public class RedeemGooglePlayStorePurchaseArgs

    Constructors

    Name Description
    RedeemGooglePlayStorePurchaseArgs(string, string, string, int, string)

    Takes a realMoneyPurchaseId. This is the configuration ID of the purchase to make. Takes a purchaseData. A JSON encoded string returned from a successful in app billing purchase. Takes a purchaseDataSignature. A signature of the PurchaseData returned from a successful in app billing purchase. Takes a localCost. This is the cost of the purchase as an integer in the minor currency format, e.g. $1.99 USD would be 199 Takes a localCurrency. ISO-4217 code of the currency used in the purchase.

    Properties

    Name Description
    LocalCost

    The cost of the purchase as an integer in the minor currency format, e.g. $1.99 USD would be 199

    LocalCurrency

    ISO-4217 code of the currency used in the purchase.

    PurchaseData

    A JSON encoded string returned from a successful in app billing purchase.

    PurchaseDataSignature

    A signature of the PurchaseData returned from a successful in app billing purchase.

    RealMoneyPurchaseId

    Configuration ID of the purchase to make.

    In This Article
    Back to top
    Copyright © 2023 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)