docs.unity3d.com
    Show / Hide Table of Contents

    Class CurrencyExchangeItem

    Represents a currency that was part of a purchase.

    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.Economy.Model
    Syntax
    [Preserve]
    public class CurrencyExchangeItem

    Constructors

    CurrencyExchangeItem(String, Int32)

    Declaration
    [Preserve]
    public CurrencyExchangeItem(string id, int amount)
    Parameters
    Type Name Description
    String id
    Int32 amount

    Fields

    Amount

    The amount of this currency that was used/rewarded in the purchase.

    Declaration
    [Preserve]
    public int Amount
    Field Value
    Type Description
    Int32

    Id

    The ID of the currency.

    Declaration
    [Preserve]
    public string Id
    Field Value
    Type Description
    String
    Back to top
    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