AmazonStoreProduct
data class AmazonStoreProduct(val id: String, val type: ProductType, val title: String, val description: String, val period: Period?, val price: Price, val subscriptionOptions: SubscriptionOptions?, val defaultOption: SubscriptionOption?, val iconUrl: String, val freeTrialPeriod: Period?, val originalProductJSON: JSONObject, val presentedOfferingIdentifier: String? = null) : StoreProduct
Constructors
Link copied to clipboard
constructor(id: String, type: ProductType, title: String, description: String, period: Period?, price: Price, subscriptionOptions: SubscriptionOptions?, defaultOption: SubscriptionOption?, iconUrl: String, freeTrialPeriod: Period?, originalProductJSON: JSONObject, presentedOfferingIdentifier: String? = null)
Properties
Link copied to clipboard
StoreProduct object containing Amazon-specific fields: originalProductJson
freeTrialPeriod
iconUrl
Link copied to clipboard
Always null for AmazonStoreProduct
Link copied to clipboard
The description of the product.
Link copied to clipboard
The Period of a subscription's free trial. Null for INAPP.
Link copied to clipboard
StoreProduct object containing Google-specific fields: productId
basePlanId
productDetails
Link copied to clipboard
JSONObject representing the original Product class from Amazon.
Link copied to clipboard
The offering ID this AmazonStoreProduct
was returned from.
Link copied to clipboard
Contains only data that is required to make the purchase.
Link copied to clipboard
Always null for AmazonStoreProduct
Link copied to clipboard
Type of product. One of ProductType.