Class WinProductDescription
A common format for Billing Subsystems to use to describe available In App Purchases to the Biller, including purchase state via Receipt and Transaction Identifiers.
Inherited Members
Namespace: UnityEngine.Purchasing.Default
Syntax
public class WinProductDescription
Constructors
WinProductDescription(String, String, String, String, String, Decimal, String, String, Boolean)
Constructor which initialized member from parametars.
Declaration
public WinProductDescription(string id, string price, string title, string description, string isoCode, decimal priceD, string receipt = null, string transactionId = null, bool consumable = false)
Parameters
Type | Name | Description |
---|---|---|
String | id | The product's specific ID on the Windows Store. |
String | price | The product's price, as text. |
String | title | The product's title, or name. |
String | description | The product's description. |
String | isoCode | The product's currency code. |
Decimal | priceD | The product's price, as a decimal. |
String | receipt | The product's purchase receipt. |
String | transactionId | The product's purchase transaction ID. |
Boolean | consumable | Whether or not the product is consumable. |
Properties
consumable
Whether or not the product is consumable.
Declaration
public bool consumable { get; }
Property Value
Type | Description |
---|---|
Boolean |
description
The product's description.
Declaration
public string description { get; }
Property Value
Type | Description |
---|---|
String |
ISOCurrencyCode
The product's currency code.
Declaration
public string ISOCurrencyCode { get; }
Property Value
Type | Description |
---|---|
String |
platformSpecificID
The product's specific ID on the Windows Store.
Declaration
public string platformSpecificID { get; }
Property Value
Type | Description |
---|---|
String |
price
The product's price, as text.
Declaration
public string price { get; }
Property Value
Type | Description |
---|---|
String |
priceDecimal
The product's price, as a decimal.
Declaration
public decimal priceDecimal { get; }
Property Value
Type | Description |
---|---|
Decimal |
receipt
The product's purchase receipt.
Declaration
public string receipt { get; }
Property Value
Type | Description |
---|---|
String |
title
The product's title, or name.
Declaration
public string title { get; }
Property Value
Type | Description |
---|---|
String |
transactionID
The product's purchase transaction ID.
Declaration
public string transactionID { get; }
Property Value
Type | Description |
---|---|
String |