MetaPlatformSDK_Product
Inherits: RefCounted
Represents a product.
Description
Represents a product.
Properties
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
String |
|
|
|
Property Descriptions
MetaPlatformSDK_BillingPlanArray billing_plans
MetaPlatformSDK_BillingPlanArray get_billing_plans ( )
The billing plans related to the product. This may be null
. This indicates that the value is not present or that the curent app or user is not permitted to access it.
MetaPlatformSDK_ContentRating content_rating
MetaPlatformSDK_ContentRating get_content_rating ( )
The content rating that specifies the age rating as well as other important information that needs to be displayed to the user per local regulations. This may be null
. This indicates that the value is not present or that the curent app or user is not permitted to access it.
String cover_url = ""
String get_cover_url ( )
The URI for the cover image for the product being sold.
String description = ""
String get_description ( )
The description for the product. The description should be meaningful and explanatory to help outline the product and its features.
String formatted_price = ""
String get_formatted_price ( )
The formatted string for the MetaPlatformSDK_Price.
String icon_url = ""
String get_icon_url ( )
The URI for the product icon.
String name = ""
String get_name ( )
The name of the product. This will be used as a the display name and should be aligned with the user facing title.
MetaPlatformSDK_Price price
MetaPlatformSDK_Price get_price ( )
The MetaPlatformSDK_Price of the product contains the currency code, the amount in hundredths, and the formatted string representation.
String short_description = ""
String get_short_description ( )
The short description of the product. To be used in conjunction with the description.
String sku = ""
String get_sku ( )
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.
ProductType type = 0
ProductType get_type ( )
The type of product.