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)

Functions

Link copied to clipboard
open override fun copyWithOfferingId(offeringId: String): StoreProduct

For internal RevenueCat use.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int

Properties

Link copied to clipboard

StoreProduct object containing Amazon-specific fields: originalProductJson freeTrialPeriod iconUrl

Link copied to clipboard
open override val defaultOption: SubscriptionOption?

Always null for AmazonStoreProduct

Link copied to clipboard
open override val description: String

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

The icon URL of the product.

Link copied to clipboard
open override val id: String

The productId For subscriptions: the term sku For INAPP: the sku

Link copied to clipboard

JSONObject representing the original Product class from Amazon.

Link copied to clipboard
open override val period: Period?

Subscription period.

Link copied to clipboard
open override val presentedOfferingIdentifier: String? = null

The offering ID this AmazonStoreProduct was returned from.

Link copied to clipboard
open override val price: Price

Price information for a non-subscription product. Term price for a subscription.

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
open override val title: String

Title of the product.

Link copied to clipboard
open override val type: ProductType

Type of product. One of ProductType.