Class TransactionReceipt
Contains a set of data to describe how a transaction occurred.
Namespace: UnityEngine.GameFoundation
Assembly: solution.dll
Syntax
public class TransactionReceipt
Constructors
| Name | Description |
|---|---|
| TransactionReceipt(long, bool, string, string, string, Price, Payout) | Basic constructor takes in values for all fields of this receipt. Because the receipt is readonly, these values become set in stone once the receipt is made. |
Properties
| Name | Description |
|---|---|
| failed | Whether or not the transaction was a failure |
| failureReason | The reason this transaction failed (if it failed.) |
| inputInventory | The id of the input inventory used for the transaction. |
| inputItems | The inputs used for this transaction |
| outputInventory | The id of the output inventory used for the transaction |
| outputItems | The outputs used for this transaction |
| succeeded | Whether or not the transaction was a success |
| transactionDateTime | The date time this transaction occured Format is CultureInfo.InvariantCulture |
| transactionId | The unique id for this receipt |