docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GooglePlayReceipt

    A GooglePlay purchase receipt

    Inheritance
    object
    GooglePlayReceipt
    Implements
    IPurchaseReceipt
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.Purchasing.Security
    Assembly: solution.dll
    Syntax
    public class GooglePlayReceipt : IPurchaseReceipt

    Constructors

    Name Description
    GooglePlayReceipt(string, string, string, string, DateTime, GooglePurchaseState)

    Constructor that initializes the members from the input parameters.

    GooglePlayReceipt(string, string, string, string, DateTime, GooglePurchaseState)

    Constructor that initializes the members from the input parameters.

    Properties

    Name Description
    orderID

    A unique order identifier for the transaction. This identifier corresponds to the Google payments order ID.

    orderID

    A unique order identifier for the transaction. This identifier corresponds to the Google payments order ID.

    packageName

    The package name of the app.

    packageName

    The package name of the app.

    productID

    The item's product identifier.

    productID

    The item's product identifier.

    purchaseDate

    The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).

    purchaseDate

    The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).

    purchaseState

    The purchase state of the order.

    purchaseState

    The purchase state of the order.

    purchaseToken

    A token that uniquely identifies a purchase for a given item and user pair.

    purchaseToken

    A token that uniquely identifies a purchase for a given item and user pair.

    transactionID

    The ID of the transaction.

    transactionID

    The ID of the transaction.

    In This Article
    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