Class AppleInAppPurchaseReceipt
The details of an individual purchase.
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
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
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 |