Package com.adapty.models
Class AdaptyPaywallProduct
-
- All Implemented Interfaces:
public final class AdaptyPaywallProduct
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAdaptyPaywallProduct.Price
-
Field Summary
Fields Modifier and Type Field Description private final StringvendorProductIdprivate final StringlocalizedTitleprivate final StringlocalizedDescriptionprivate final StringpaywallNameprivate final StringpaywallABTestNameprivate final StringvariationIdprivate final AdaptyPaywallProduct.Pricepriceprivate final AdaptyProductSubscriptionDetailssubscriptionDetailsprivate final ProductDetailsproductDetails
-
Method Summary
Modifier and Type Method Description final StringgetVendorProductId()Unique identifier of a product from App Store Connect or Google Play Console. final StringgetLocalizedTitle()The name of the product. final StringgetLocalizedDescription()A description of the product. final StringgetPaywallName()Same as name property of the parent AdaptyPaywall. final StringgetPaywallABTestName()Same as abTestName property of the parent paywall's AdaptyPlacement. final StringgetVariationId()Same as variationId property of the parent AdaptyPaywall. final AdaptyPaywallProduct.PricegetPrice()The price of the product in the local currency. final AdaptyProductSubscriptionDetailsgetSubscriptionDetails()Consolidates all subscription-related properties if the product is a subscription, otherwise null.final ProductDetailsgetProductDetails()Underlying system representation of the product. Booleanequals(Object other)IntegerhashCode()StringtoString()-
-
Method Detail
-
getVendorProductId
final String getVendorProductId()
Unique identifier of a product from App Store Connect or Google Play Console.
-
getLocalizedTitle
final String getLocalizedTitle()
The name of the product.
-
getLocalizedDescription
final String getLocalizedDescription()
A description of the product.
-
getPaywallName
final String getPaywallName()
Same as name property of the parent AdaptyPaywall.
-
getPaywallABTestName
final String getPaywallABTestName()
Same as abTestName property of the parent paywall's AdaptyPlacement.
-
getVariationId
final String getVariationId()
Same as variationId property of the parent AdaptyPaywall.
-
getPrice
final AdaptyPaywallProduct.Price getPrice()
The price of the product in the local currency.
-
getSubscriptionDetails
final AdaptyProductSubscriptionDetails getSubscriptionDetails()
Consolidates all subscription-related properties if the product is a subscription, otherwise
null.
-
getProductDetails
final ProductDetails getProductDetails()
Underlying system representation of the product.
-
-
-
-