`SubscriptionInfo` class reference
Reference the `SubscriptionInfo` class methods to retrieve subscription product information and status.
Read time 2 minutesLast updated 15 hours ago
Unity IAP provides detailed subscription product information through the
SubsciptionInfoSubscriptionInfo
class methods
The SubscriptionInfoSubscriptionInfoSubscriptionInfoMethod | Description |
|---|---|
| Returns a product’s store ID. |
| Returns the product’s purchase date. For Apple, the purchase date is the date when the subscription was either purchased or renewed. For Google, the purchase date is the date when the subscription was originally purchased. |
| Indicates if a product is currently subscribed. Non-renewable products in the Apple store return a |
| Indicates if the subscription has expired. * Non-renewable products in the Apple store return a * Auto-renewable products in the Apple store and subscription products in the Google Play store return a |
| Indicates if the subscription has been cancelled. A cancelled subscription means the product is currently subscribed, but does not renew on the next billing date. Non-renewable products in the Apple store return a |
| Indicates if the product is in a free trial. * Products in the Google Play store return Non-renewable products in the Apple store return a |
| Indicates if the subscription is auto-renewable. Non-renewable products in the Apple store return a |
| Returns a Products in the Google Play store return |
| Indicates if the subscription is in an introductory price period. Non-renewable products in the Apple store return a |
| Returns a Subscription products with no introductory price period return |
| Returns number of introductory price cycles. Products in the Apple store return 0 if the application does not support iOS version 11.2+, macOS 10.13.2+, or tvOS 11.2+. |
| Returns the introductory price string. Products with no introductory price return a |
| Returns the date of the Product’s next auto-renew or expiration (for a cancelled auto-renewing subscription). Products in the Google Play store return |