◆ Transaction() [1/2]
| MindstormStudios::Analytics::Transaction::Transaction |
( |
string | name, |
|
|
Product | spent, |
|
|
Product | received ) |
|
inline |
Constructor for Economy Transactions.
⚠️ Note that productsSpent and productsReceived were inverted compared to the old constructor.
- Parameters
-
| name | The name of the transaction |
| spent | The product that the player spent. Null if the player only received something. |
| received | The product that the player received. |
◆ Transaction() [2/2]
Constructor for IAP Transactions. Typically used only by IAP Validation package.
⚠️ Note that productsSpent and productsReceived were inverted compared to the old constructor.
⚠️ productId and transactionId were also inverted.
- Parameters
-
| name | The name of the transaction |
| spent | The product that the player spent. Null if the player only received something. |
| received | The product that the player received. |
| productID | The product ID of the IAP. |
| transactionID | The transaction ID of the IAP purchase. |
◆ name
| string MindstormStudios::Analytics::Transaction::name |
◆ productID
| string MindstormStudios::Analytics::Transaction::productID |
◆ productReceived
| Product MindstormStudios::Analytics::Transaction::productReceived |
◆ productSpent
| Product MindstormStudios::Analytics::Transaction::productSpent |
◆ transactionID
| string MindstormStudios::Analytics::Transaction::transactionID |
The documentation for this class was generated from the following file: