originalJson

val originalJson: JSONObject

JSONObject representing the original product class from Google.

Note: there's a convenience extension property that can be used to get the original SkuDetails class: ProductDetails.skuDetails. Alternatively, the original SkuDetails can be built doing the following: SkuDetails(this.originalJson.toString())

Sources

Link copied to clipboard