GoogleStoreProduct
data class GoogleStoreProduct(val productId: String, val basePlanId: String?, val type: ProductType, val price: Price, val title: String, val description: String, val period: Period?, val subscriptionOptions: SubscriptionOptions?, val defaultOption: SubscriptionOption?, val productDetails: ProductDetails, val presentedOfferingIdentifier: String? = null) : StoreProduct
Constructors
Link copied to clipboard
constructor(productId: String, basePlanId: String?, type: ProductType, price: Price, title: String, description: String, period: Period?, subscriptionOptions: SubscriptionOptions?, defaultOption: SubscriptionOption?, productDetails: ProductDetails, presentedOfferingIdentifier: String? = null)
Properties
Link copied to clipboard
StoreProduct object containing Amazon-specific fields: originalProductJson
freeTrialPeriod
iconUrl
Link copied to clipboard
The basePlanId for subscription products. Null for INAPP.
Link copied to clipboard
The default SubscriptionOption that will be used when purchasing and not specifying a different option. Null for INAPP products.
Link copied to clipboard
The description of the product.
Link copied to clipboard
StoreProduct object containing Google-specific fields: productId
basePlanId
productDetails
Link copied to clipboard
The offering ID this GoogleStoreProduct
was returned from.
Link copied to clipboard
The ProductDetails object returned from BillingClient that was used to construct this product.
Link copied to clipboard
Contains only data that is required to make the purchase.
Link copied to clipboard
Contains all SubscriptionOptions. Null for INAPP products.
Link copied to clipboard
Type of product. One of ProductType.