Interface UM_iProduct
Product template.
Namespace: SA.CrossPlatform.InApp
Assembly: cs.temp.dll.dll
Syntax
public interface UM_iProduct
Properties
Description
A description of the product.
Declaration
string Description { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Icon
Gets icon of the product. Please not, that this is an icon that was set using the Editor UI for the product.
Declaration
Texture2D Icon { get; }
Property Value
| Type | Description |
|---|---|
| Texture2D |
Id
The string that identifies the product to the payment service.
Declaration
string Id { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
IsActive
Indicates if products if product was recognized by the payment service.
Value is always false before you connect to the service.
If after connection to the payment service, property value remains false,
it means that this product wasn't recognized by a payment service and not available for purchase.
Declaration
bool IsActive { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
NativeTemplate
Native product template originally provided by the platform specific SDK. This template was used to fill in all the object properties, and may contain more platform specific information.
Declaration
object NativeTemplate { get; }
Property Value
| Type | Description |
|---|---|
| System.Object |
Price
The locale used to format the price of the product.
Declaration
string Price { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
PriceCurrencyCode
The currency code for the locale. Example currency codes include "USD", "EUR", and "JPY".
Declaration
string PriceCurrencyCode { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
PriceInMicros
Gets the price in micros.
Declaration
long PriceInMicros { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
Title
The name of the product.
Declaration
string Title { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Type
Type of the product.
Declaration
UM_ProductType Type { get; }
Property Value
| Type | Description |
|---|---|
| UM_ProductType |