docs.unity3d.com
    Show / Hide Table of Contents

    Struct TransactionParameters

    Namespace: Unity.Services.Analytics
    Syntax
    public struct TransactionParameters

    Fields

    PaymentCountry

    (Optional) The country where the transaction is taking place. If this is left null or empty, the machine's locale will be used.

    Declaration
    public string PaymentCountry
    Field Value
    Type Description
    String

    ProductID

    (Optional) The product identifier (known as a SKU) found in the store

    Declaration
    public string ProductID
    Field Value
    Type Description
    String

    ProductsReceived

    (Required) The products received as part of this transaction

    Declaration
    public Product ProductsReceived
    Field Value
    Type Description
    Product

    ProductsSpent

    (Required) The products spent as part of this transaction

    Declaration
    public Product ProductsSpent
    Field Value
    Type Description
    Product

    RevenueValidated

    (Optional) Parameter used by the IAP validation service

    Declaration
    public long? RevenueValidated
    Field Value
    Type Description
    Nullable<Int64>

    StoreID

    (Optional) The store where the transaction is taking place

    Declaration
    public string StoreID
    Field Value
    Type Description
    String

    StoreItemID

    (Optional) A unique ID for the purchased item

    Declaration
    public string StoreItemID
    Field Value
    Type Description
    String

    StoreItemSkuID

    (Optional) A unique ID for the SKU, linked to the store SKU ID

    Declaration
    public string StoreItemSkuID
    Field Value
    Type Description
    String

    StoreSourceID

    (Optional) Identifies the source of the IAP

    Declaration
    public string StoreSourceID
    Field Value
    Type Description
    String

    TransactionID

    (Optional) An ID that uniquely identifies the transaction

    Declaration
    public string TransactionID
    Field Value
    Type Description
    String

    TransactionName

    (Required) A name that identifies the transaction

    Declaration
    public string TransactionName
    Field Value
    Type Description
    String

    TransactionReceipt

    (Optional) Transaction receipt data as provided by the IAP store, used for validation

    Declaration
    public string TransactionReceipt
    Field Value
    Type Description
    String

    TransactionReceiptSignature

    (Optional) The receipt signature from a Google store IAP

    Declaration
    public string TransactionReceiptSignature
    Field Value
    Type Description
    String

    TransactionServer

    (Optional) The server to use for receipt verification, if applicable

    Declaration
    public TransactionServer? TransactionServer
    Field Value
    Type Description
    Nullable<TransactionServer>

    TransactionType

    (Required) The type of transaction

    Declaration
    public TransactionType TransactionType
    Field Value
    Type Description
    TransactionType

    TransactorID

    (Optional) The ID of the person or entity who is being transacted with

    Declaration
    public string TransactorID
    Field Value
    Type Description
    String
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023