docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct RealCurrency

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Services.Analytics
    Assembly: Unity.Services.Analytics.dll
    Syntax
    [Obsolete("Please create a TransactionEvent/TransactionFailedEvent and use RecordEvent(...) instead. There is a replacement TransactionRealCurrency class there.")]
    public struct RealCurrency

    Fields

    RealCurrencyAmount

    The amount of real currency, in the smallest unit applicable to that currency. Use AnalyticsService.Instance.ConvertCurrencyToMinorUnits to calculate currency if required.

    Declaration
    public long RealCurrencyAmount
    Field Value
    Type Description
    long

    RealCurrencyType

    The type of currency, for example GBP, USD, etc.

    Declaration
    public string RealCurrencyType
    Field Value
    Type Description
    string
    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)