API reference

Product Class

The class that represents the product information for a specific IAP which is available for purchase in your app. You can retrieve more information about the product(s) by using their SKU with com.meta.horizon.platform.ovr.requests.IAP#getProductsBySKU(String[] skus)

Member Functions

Product
( final long ptr )
BillingPlanArray getBillingPlans ( )
Billing plans related to the product.
Returns
ContentRating getContentRating ( )
The content rating of a com.meta.horizon.platform.ovr.models.Product that specifies the age rating as well as other important information that needs to be displayed to the user per local regulations.
Returns
String getCoverUrl ( )
The URI for the cover image for the com.meta.horizon.platform.ovr.models.Product being sold.
Returns
String
String getDescription ( )
The description for the product. The description should be meaningful and explanatory to help outline the product and its features.
Returns
String
String getFormattedPrice ( )
The formatted string for the com.meta.horizon.platform.ovr.models.Price. This is the same value stored in com.meta.horizon.platform.ovr.models.Price.
Returns
String
String getIconUrl ( )
The URI for com.meta.horizon.platform.ovr.models.Product icon.
Returns
String
String getName ( )
The name of the product. This will be used as a the display name and should be aligned with the user facing title.
Returns
String
Price getPrice ( )
The com.meta.horizon.platform.ovr.models.Price of the product contains the currency code, the amount in hundredths, and the formatted string representation.
Returns
String getShortDescription ( )
The short description of a com.meta.horizon.platform.ovr.models.Product which provides more information about the com.meta.horizon.platform.ovr.models.Product. To be used in conjunction with the description of the com.meta.horizon.platform.ovr.models.Product.
Returns
String
String getSku ( )
The unique string that you use to reference the product in your app. The SKU is case-sensitive and should match the SKU reference in your code.
Returns
String
ProductType getType ( )