docs.unity3d.com
    目次を表示する/隠す

    Class AppleInAppPurchaseReceipt

    The details of an individual purchase.

    Inheritance
    Object
    AppleInAppPurchaseReceipt
    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
    Syntax
    public class AppleInAppPurchaseReceipt : IPurchaseReceipt

    Properties

    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.

    Declaration
    public DateTime cancellationDate { get; }
    Property Value
    Type Description
    DateTime

    isFreeTrial

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

    Declaration
    public int isFreeTrial { get; }
    Property Value
    Type Description
    Int32

    isIntroductoryPricePeriod

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

    Declaration
    public int isIntroductoryPricePeriod { get; }
    Property Value
    Type Description
    Int32

    originalPurchaseDate

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

    Declaration
    public DateTime originalPurchaseDate { get; }
    Property Value
    Type Description
    DateTime

    originalTransactionIdentifier

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

    Declaration
    public string originalTransactionIdentifier { get; }
    Property Value
    Type Description
    String

    productID

    The product ID

    Declaration
    public string productID { get; }
    Property Value
    Type Description
    String
    Implements
    IPurchaseReceipt.productID

    productType

    The type of product.

    Declaration
    public int productType { get; }
    Property Value
    Type Description
    Int32

    purchaseDate

    The date of purchase.

    Declaration
    public DateTime purchaseDate { get; }
    Property Value
    Type Description
    DateTime
    Implements
    IPurchaseReceipt.purchaseDate

    quantity

    The number of items purchased.

    Declaration
    public int quantity { get; }
    Property Value
    Type Description
    Int32

    subscriptionExpirationDate

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

    Declaration
    public DateTime subscriptionExpirationDate { get; }
    Property Value
    Type Description
    DateTime

    transactionID

    The ID of the transaction.

    Declaration
    public string transactionID { get; }
    Property Value
    Type Description
    String
    Implements
    IPurchaseReceipt.transactionID
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)