docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CurrencyExchangeItem

    CurrencyExchangeItem

    Inheritance
    object
    CurrencyExchangeItem
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.Economy
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class CurrencyExchangeItem

    Constructors

    CurrencyExchangeItem(string, long)

    Initializes a new instance of the CurrencyExchangeItem class.

    Declaration
    [Preserve]
    public CurrencyExchangeItem(string id = null, long amount = 0)
    Parameters
    Type Name Description
    string id

    ID of the currency. (required).

    long amount

    Amount of currency added or deducted. (required).

    Properties

    Amount

    Amount of currency added or deducted.

    Declaration
    [Preserve]
    public long Amount { get; set; }
    Property Value
    Type Description
    long

    Amount of currency added or deducted.

    Id

    ID of the currency.

    Declaration
    [Preserve]
    public string Id { get; set; }
    Property Value
    Type Description
    string

    ID of the currency.

    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)