docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TransactionReceipt

    Contains a set of data to describe how a transaction occurred.

    Inheritance
    object
    TransactionReceipt
    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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)