docs.unity3d.com
    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(Int32)
    PageableResult<PlayerBalance, GetBalancesResult>.GetNextAsync(Int32)
    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 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(Int32)

    Fetches the next set of results.

    Declaration
    [Preserve]
    protected override async Task<GetBalancesResult> GetNextResultsAsync(int itemsPerFetch)
    Parameters
    Type Name Description
    Int32 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
    Unity.Services.Economy.Model.PageableResult<Unity.Services.Economy.Model.PlayerBalance, Unity.Services.Economy.Model.GetBalancesResult>.GetNextResultsAsync(System.Int32)
    Exceptions
    Type Condition
    EconomyException

    Thrown if request is unsuccessful

    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