SkuDetails

This reference document contains the details of SkuDetails class and the corresponding public methods.

Details

Contains SKU details of in-app purchase products.

    public class SkuDetails extends Object 
                            
          java.lang.Object
              ↳    gg.now.billingclient.api.SkuDetails

Public Constructor

    SkuDetails(String jsonSkuDetails)

Public Methods

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.
×
Text copied to clipboard
Link copied to clipbord
Questions? Please reach out to us at dev-support@now.gg