This reference document contains the details of ProductDetails
class and the corresponding public methods.
Contains Product Details of in-app products/subscriptions.
public class ProductDetails extends Object java.lang.Object ↳ gg.now.billingclient.api.ProductDetails
Method | Usage | Description |
---|---|---|
getPricingPhase() | PricingPhase getPricingPhase() |
Returns a pricing phase. |
getDescription() | string getDescription() |
Returns the description of the product |
setDescription() | void setDescription(String description)) |
Sets the description of the product |
setPricingPhase() | void setPricingPhase(PricingPhase pricingPhase) |
Represents a user’s pricing phase, describing how they paid. |
getName() | String getName() |
Returns the name of the product. |
setName() | void setName(String name) |
Sets the name of the product. |
getOneTimePurchaseOfferDetails() | OneTimePurchaseOfferDetails getOneTimePurchaseOfferDetails() |
Returns one-time purchase offer details. |
setOneTimePurchaseOfferDetails() | void setOneTimePurchaseOfferDetails(OneTimePurchaseOfferDetails oneTimePurchaseOfferDetails) |
Sets the offer details to buy a one-time purchase product. |
getTitle() | String getTitle() |
Returns the title of the product. |
setTitle() | void setTitle(String title) |
Sets the title of the product. |
getProductId() | String getProductId() |
Returns the product ID associated with a product. |
setProductId() | void setProductId(String productId) |
Sets the product ID of a product. |
getProductType() | String getProductType() |
Returns the product type. |
setProductType() | void setProductType(String productType) |
Sets the product type of a product. |
Class | Description |
---|---|
ProductDetails.PricingPhase | Describes the pricing phase of a user and how they pay at a point in time. |
ProductDetails.SubscriptionOfferDetails | Describes the offer details to buy a one-time purchase product. |
ProductDetails.PricingPhases | Pricing phases for purchasing an item through a offer. Pricing phases contains time ordered list of PricingPhase. |
Payments Module
Payments Module
Document Rev. 1.0