MetaPlatformSDK_Price
Inherits: RefCounted
Represents a price.
Description
Represents a price.
Properties
int |
|
|
String |
|
|
String |
|
Property Descriptions
int amount_in_hundredths = 0
int get_amount_in_hundredths ( )
The price of the product in hundredths of currency units.
String currency = ""
String get_currency ( )
The ISO 4217 currency code for the price of the product. For example, "USD", "GBP", "JPY".
String formatted = ""
String get_formatted ( )
The formatted string representation of the price, e.g., "$0.78". The value depends on the currency and amount_in_hundredths.