CotC C# SDK for Unity  v1.4.0.1
Making social games is easy !
Properties | List of all members
CotcSdk.PurchaseTransaction Class Reference

Description

Information about a purchased product transaction.

Properties

StoreType Store [get]
 The type of Store on which the purchase has been made. More...
 
string ProductId [get]
 The ID of the product purchased. More...
 
DateTime PurchaseDate [get]
 Time of purchase. More...
 
float Price [get]
 The price paid (the price might have been changed since then on iTunes Connect; any such change does not reflect here). More...
 
string Currency [get]
 Currency unit of the price paid. More...
 
string StoreTransactionId [get]
 The ID of transaction on the original store. You might want to use it for customer service. Depends on the store type. More...
 
- Properties inherited from CotcSdk.PropertiesObject
Bundle this[string key] [get]
 Allows to query additional properties via an indexer (can be enriched via hooks). More...
 

Additional Inherited Members

- Public Member Functions inherited from CotcSdk.PropertiesObject
Bundle AsBundle ()
 Gets the underlying Bundle. Dangerous, only use internally, when you want to put the contents of a properties object into an existing bundle. More...
 
Dictionary< string, Bundle >.KeyCollection Keys ()
 Allows to browse all keys (might include some that are already exposed as typed properties in the object). More...
 
Dictionary< string, Bundle >.Enumerator GetEnumerator ()
 Allows to browse all keys (might include some that are already exposed as typed properties in the object). More...
 
override string ToString ()
 You may use this to debug what is inside this property object. More...
 
string ToJson ()
 Builds a JSON representation of this object, same as ToString actually. More...
 
- Protected Member Functions inherited from CotcSdk.PropertiesObject
 PropertiesObject (Bundle baseData)
 
- Protected Attributes inherited from CotcSdk.PropertiesObject
Bundle Props
 
Inheritance diagram for CotcSdk.PurchaseTransaction:
CotcSdk.PropertiesObject

Property Documentation

◆ Currency

string CotcSdk.PurchaseTransaction.Currency
get

Currency unit of the price paid.

◆ Price

float CotcSdk.PurchaseTransaction.Price
get

The price paid (the price might have been changed since then on iTunes Connect; any such change does not reflect here).

◆ ProductId

string CotcSdk.PurchaseTransaction.ProductId
get

The ID of the product purchased.

◆ PurchaseDate

DateTime CotcSdk.PurchaseTransaction.PurchaseDate
get

Time of purchase.

◆ Store

StoreType CotcSdk.PurchaseTransaction.Store
get

The type of Store on which the purchase has been made.

◆ StoreTransactionId

string CotcSdk.PurchaseTransaction.StoreTransactionId
get

The ID of transaction on the original store. You might want to use it for customer service. Depends on the store type.