docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GetBalancesResult

    Provides paginated access to the list of balances retrieved and allows you to retrieve the next page.

    Inheritance
    object
    PageableResult<PlayerBalance, GetBalancesResult>
    GetBalancesResult
    Inherited Members
    PageableResult<PlayerBalance, GetBalancesResult>.m_Results
    PageableResult<PlayerBalance, GetBalancesResult>.HasNext
    PageableResult<PlayerBalance, GetBalancesResult>.GetNextResultsAsync(int)
    PageableResult<PlayerBalance, GetBalancesResult>.GetNextAsync(int)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Economy.Model
    Assembly: Unity.Services.Economy.dll
    Syntax
    [Preserve]
    public class GetBalancesResult : PageableResult<PlayerBalance, GetBalancesResult>

    Properties

    Balances

    The list of currently fetched balances.

    Declaration
    [Preserve]
    public List<PlayerBalance> Balances { get; }
    Property Value
    Type Description
    List<PlayerBalance>

    Methods

    GetNextResultsAsync(int)

    Fetches the next set of results.

    Declaration
    [Preserve]
    protected override Task<GetBalancesResult> GetNextResultsAsync(int itemsPerFetch)
    Parameters
    Type Name Description
    int itemsPerFetch

    The number of items to fetch. Can be between 1-100 inclusive and defaults to 20.

    Returns
    Type Description
    Task<GetBalancesResult>

    A new GetBalancesResult

    Overrides
    PageableResult<PlayerBalance, GetBalancesResult>.GetNextResultsAsync(int)
    Exceptions
    Type Condition
    EconomyException

    Thrown if request is unsuccessful

    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)