Class BillingProductDefinition
Represents an object containing additional information related to billing product.
Inheritance
System.Object
BillingProductDefinition
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VoxelBusters.EssentialKit
Assembly: cs.temp.dll.dll
Syntax
public class BillingProductDefinition
Constructors
BillingProductDefinition(String, String, NativePlatformConstantSet, BillingProductType, String, String, BillingProductDefinition.IosPlatformProperties, Object)
Creates the product settings object.
Declaration
public BillingProductDefinition(string id = null, string platformId = null, NativePlatformConstantSet platformIdOverrides = null, BillingProductType productType = BillingProductType.Consumable, string title = null, string description = null, BillingProductDefinition.IosPlatformProperties iosProperties = null, object tag = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | The string that identifies the product within Unity environment. |
| System.String | platformId | |
| NativePlatformConstantSet | platformIdOverrides | |
| BillingProductType | productType | The type of the product. |
| System.String | title | The name of the product. |
| System.String | description | The description of the product. |
| BillingProductDefinition.IosPlatformProperties | iosProperties | iOS platform specific settings. |
| System.Object | tag | Additional information associated with this product. |
Properties
Description
The description of the product. (read-only)
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Id
The string that identifies the product within Unity environment. (read-only)
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
IosProperties
Declaration
public BillingProductDefinition.IosPlatformProperties IosProperties { get; }
Property Value
| Type | Description |
|---|---|
| BillingProductDefinition.IosPlatformProperties |
ProductType
The type of the product. (read-only)
Declaration
public BillingProductType ProductType { get; }
Property Value
| Type | Description |
|---|---|
| BillingProductType |
Tag
Additional information associated with this product. This information is provided by the developer.
Declaration
public object Tag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object |
Title
The name of the product. (read-only)
Declaration
public string Title { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
GetPlatformIdForActivePlatform()
Returns the store identifier for active platform.
Declaration
public string GetPlatformIdForActivePlatform()
Returns
| Type | Description |
|---|---|
| System.String |