Class IAPProduct
Represents an in-app product in the Easy Mobile APIs. This class is
different from
Inheritance
System.Object
IAPProduct
Namespace: EasyMobile
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class IAPProduct
Constructors
IAPProduct(String, IAPProduct.StoreSpecificId[], String, IAPProductType, String, String)
Creates a new IAP product definition.
Declaration
public IAPProduct(string id, IAPProduct.StoreSpecificId[] storeSpecificIds, string name, IAPProductType type, string price, string description = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | |
IAPProduct.StoreSpecificId[] | storeSpecificIds | |
System.String | name | |
IAPProductType | type | |
System.String | price | |
System.String | description |
IAPProduct(String, String, IAPProductType, String, String)
Creates a new IAP product definition.
Declaration
public IAPProduct(string id, string name, IAPProductType type, string price, string description = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | |
System.String | name | |
IAPProductType | type | |
System.String | price | |
System.String | description |
Properties
Description
Product description.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | The description. |
Id
The unified Id of the product.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String | The identifier. |
Name
Product name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Price
Product price.
Declaration
public string Price { get; set; }
Property Value
Type | Description |
---|---|
System.String | The price. |
StoreSpecificIds
Store-specific product Ids, these Ids if given will override the unified Id for the corresponding stores.
Declaration
public IAPProduct.StoreSpecificId[] StoreSpecificIds { get; }
Property Value
Type | Description |
---|---|
IAPProduct.StoreSpecificId[] | The store specific identifiers. |
Type
Product type.
Declaration
public IAPProductType Type { get; }
Property Value
Type | Description |
---|---|
IAPProductType | The type. |