docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AppleInAppPurchaseReceipt

    The details of an individual purchase.

    Inheritance
    object
    AppleInAppPurchaseReceipt
    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 AppleInAppPurchaseReceipt : IPurchaseReceipt

    Properties

    Name Description
    cancellationDate

    For a transaction that was canceled by Apple customer support, the time and date of the cancellation. For an auto-renewable subscription plan that was upgraded, the time and date of the upgrade transaction.

    isFreeTrial

    For a subscription, whether or not it is in the free trial period.

    isIntroductoryPricePeriod

    For an auto-renewable subscription, whether or not it is in the introductory price period.

    originalPurchaseDate

    For a transaction that restores a previous transaction, the date of the original transaction.

    originalTransactionIdentifier

    For a transaction that restores a previous transaction, the transaction ID of the original transaction. Otherwise, identical to the transactionID.

    productID

    The product ID

    productType

    The type of product.

    purchaseDate

    The date of purchase.

    quantity

    The number of items purchased.

    subscriptionExpirationDate

    The expiration date for the subscription, expressed as the number of milliseconds since January 1, 1970, 00:00:00 GMT.

    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