This reference document contains the details of SkuDetails class and the corresponding public methods.
Contains SKU details of in-app purchase products.
public class SkuDetails extends Object
java.lang.Object
↳ gg.now.billingclient.api.SkuDetails
SkuDetails(String jsonSkuDetails)
| Method | Usage | Description |
|---|---|---|
| equals | boolean equals (Object o) |
Returns boolean |
| getDescription | string getDescription() |
Returns the description of the product |
| getPrice | string getPrice() |
Returns the formatted price of an item, including currency sign, excluding tax |
| getPriceAmountMicros | long getPriceAmountMicros() |
Returns the price in micro-units |
| getPriceCurrencyCode | string getPriceCurrencyCode() |
Returns the currency code for pricing |
| getSku | string getSku() |
Returns the associated product ID |
| getTitle | string getTitle() |
Returns the title of the product |
| getType | string getType() |
Returns the SKU type |
| hashCode | int hashCode() |
Returns the hash value |
| toString | string toString() |
Returns a String |
| isRewarded | boolean inRewarded() |
Returns true if SKU is rewarded and not paid for |
| getSubscriptionPeriod | string getSubscriptionPeriod() |
Returns subscription period in ISO 8601 format. |
| getBenefits() | List getBenefits() |
Returns benefits associated with Subscription. |
Payments Module
Payments Module
Document Rev. 1.0