API reference
API reference
Select your platform
No SDKs available
No versions available

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 IAP.GetProductsBySKU()

Constructors

Product ( o )
Signature
Oculus.Platform.Models.Product.Product(IntPtr o)
Parameters
o: IntPtr

Fields

BillingPlans : readonly BillingPlanList
Signature
readonly BillingPlanList Oculus.Platform.Models.Product.BillingPlans
BillingPlansOptional : readonly BillingPlanList
Billing plans related to the product.
Signature
readonly BillingPlanList Oculus.Platform.Models.Product.BillingPlansOptional
ContentRating : readonly ContentRating
Signature
readonly ContentRating Oculus.Platform.Models.Product.ContentRating
ContentRatingOptional : readonly ContentRating
The content rating of a Models.Product that specifies the age rating as well as other important information that needs to be displayed to the user per local regulations.
Signature
readonly ContentRating Oculus.Platform.Models.Product.ContentRatingOptional
CoverUrl : readonly string
The URI for the cover image for the Models.Product being sold.
Signature
readonly string Oculus.Platform.Models.Product.CoverUrl
Description : readonly string
The description for the product. The description should be meaningful and explanatory to help outline the product and its features.
Signature
readonly string Oculus.Platform.Models.Product.Description
FormattedPrice : readonly string
The formatted string for the Models.Price. This is the same value stored in Models.Price.
Signature
readonly string Oculus.Platform.Models.Product.FormattedPrice
IconUrl : readonly string
The URI for Models.Product icon.
Signature
readonly string Oculus.Platform.Models.Product.IconUrl
Name : readonly string
The name of the product. This will be used as a the display name and should be aligned with the user facing title.
Signature
readonly string Oculus.Platform.Models.Product.Name
Price : readonly Price
The Models.Price of the product contains the currency code, the amount in hundredths, and the formatted string representation.
Signature
readonly Price Oculus.Platform.Models.Product.Price
ShortDescription : readonly string
The short description of a Models.Product which provides more information about the Models.Product. To be used in conjunction with the description of the Models.Product.
Signature
readonly string Oculus.Platform.Models.Product.ShortDescription
Sku : readonly string
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.
Signature
readonly string Oculus.Platform.Models.Product.Sku
Type : readonly ProductType
The type of product. An In-app purchase (IAP) add-on can be ProductType.DURABLE, ProductType.CONSUMABLE, or a ProductType.SUBSCRIPTION.
Signature
readonly ProductType Oculus.Platform.Models.Product.Type