Method getSubscriptionInfo
getSubscriptionInfo()
Convert my Product into a SubscriptionInfo.
My Product.receipt must have a "Payload" JSON key containing supported native app store
information, which will be converted here.
Declaration
public SubscriptionInfo getSubscriptionInfo()
Returns
| Type | Description |
|---|---|
| SubscriptionInfo |
Exceptions
| Type | Condition |
|---|---|
| NullProductIdException | My Product must have a non-null product identifier |
| StoreSubscriptionInfoNotSupportedException | A supported app store must be used as my product |
| NullReceiptException | My product must have |