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

Price Class

The price of a Models.Product. A price contains a currency code, an amount in hundredths, and its formatted string representation. For example, a price with a currency code of "USD" and an amount in hundredths of 99 has a formatted string of "$0.99".

Constructors

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

Fields

AmountInHundredths : readonly uint
The price of the product in hundredths of currency units.
Signature
readonly uint Oculus.Platform.Models.Price.AmountInHundredths
Currency : readonly string
The ISO 4217 currency code for the price of the product. For example, "USD", "GBP", "JPY".
Signature
readonly string Oculus.Platform.Models.Price.Currency
Formatted : readonly string
The formatted string representation of the price, e.g., "$0.78". The value depends on the Price::Currency and Price::AmountInHundredths.
Signature
readonly string Oculus.Platform.Models.Price.Formatted