getSubscriptionState

abstract suspend fun getSubscriptionState(purchase: Purchase, product: StoreProduct?): LatestSubscriptionState(source)

Gets the subscription state for a purchase.