getPriceSub

open fun getPriceSub(productId: String): String

Returns the formatted base (post-trial / post-intro) price for a subscription.

Resolved via getBaseOffer, so multi-offer products return the INFINITE_RECURRING phase rather than whichever offer happens to be last in the list.

Return

Locale-formatted price (e.g. "$9.99"), or empty string if no subscription details are loaded.

Parameters

productId

Subscription product id.