docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TransactionRealCurrency

    Inheritance
    object
    TransactionRealCurrency
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Analytics
    Assembly: Unity.Services.Analytics.dll
    Syntax
    public class TransactionRealCurrency

    Fields

    RealCurrencyAmount

    (Required) The amount of real currency, in the smallest unit applicable to that currency. The AnalyticsService.Instance.ConvertCurrencyToMinorUnits method is available to convert a decimal currency value into minor units if required.

    Declaration
    public long RealCurrencyAmount
    Field Value
    Type Description
    long

    RealCurrencyType

    (Required) The ISO 4217 three-letter currency code for the real currency. For example, GBP or USD.

    Declaration
    public string RealCurrencyType
    Field Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 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)