docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor GooglePlayReceipt

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

    Constructor that initializes the members from the input parameters.

    Declaration
    public GooglePlayReceipt(string productID, string orderID, string packageName, string purchaseToken, DateTime purchaseTime, GooglePurchaseState purchaseState)
    Parameters
    Type Name Description
    string productID

    The item's product identifier.

    string orderID

    The unique order identifier for the transaction.

    string packageName

    The package name of the app.

    string purchaseToken

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

    DateTime purchaseTime

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

    GooglePurchaseState purchaseState

    The purchase state of the order.

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

    Constructor that initializes the members from the input parameters.

    Declaration
    public GooglePlayReceipt(string productID, string orderID, string packageName, string purchaseToken, DateTime purchaseTime, GooglePurchaseState purchaseState)
    Parameters
    Type Name Description
    string productID

    The item's product identifier.

    string orderID

    The unique order identifier for the transaction.

    string packageName

    The package name of the app.

    string purchaseToken

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

    DateTime purchaseTime

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

    GooglePurchaseState purchaseState

    The purchase state of the order.

    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