getCurrency

open fun getCurrency(productId: String, typeIAP: Int): String

Returns the ISO-4217 currency code for a product's price.

Return

Currency code (e.g. "USD"), or empty string if details are not loaded.

Parameters

productId

Play product id.

typeIAP

PURCHASE for one-time products, SUBSCRIPTION for subscriptions.