docs.unity3d.com
    Show / Hide Table of Contents

    Class UdpSynchronizationApi

    Synchronize store data from UDP and IAP

    Inheritance
    Object
    UdpSynchronizationApi
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Purchasing
    Syntax
    public static class UdpSynchronizationApi

    Methods

    CreateStoreItem(String, String, IapItem)

    Call UDP store asynchronously to create a store item.

    Declaration
    [Obsolete("Internal API, it will be removed soon.")]
    public static object CreateStoreItem(string accessToken, string orgId, IapItem iapItem)
    Parameters
    Type Name Description
    String accessToken

    The bearer token to UDP.

    String orgId

    The organization identifier to create the store item under.

    IapItem iapItem

    The store item to create.

    Returns
    Type Description
    Object

    The HTTP POST Request to create a store item.

    GetAccessToken(String)

    Get Access Token according to authCode.

    Declaration
    [Obsolete("Internal API, it will be removed soon.")]
    public static object GetAccessToken(string authCode)
    Parameters
    Type Name Description
    String authCode

    Acquired by UnityOAuth

    Returns
    Type Description
    Object

    GetOrgId(String, String)

    Call UDP store asynchronously to retrieve the Organization Identifier.

    Declaration
    [Obsolete("Internal API, it will be removed soon.")]
    public static object GetOrgId(string accessToken, string projectGuid)
    Parameters
    Type Name Description
    String accessToken

    The bearer token to UDP.

    String projectGuid

    The project id.

    Returns
    Type Description
    Object

    The HTTP GET Request to get the organization identifier.

    SearchStoreItem(String, String, String)

    Call UDP store asynchronously to search for a store item.

    Declaration
    [Obsolete("Internal API, it will be removed soon.")]
    public static object SearchStoreItem(string accessToken, string orgId, string appItemSlug)
    Parameters
    Type Name Description
    String accessToken

    The bearer token to UDP.

    String orgId

    The organization identifier where to find the store item.

    String appItemSlug

    The store item slug name.

    Returns
    Type Description
    Object

    The HTTP GET Request to update a store item.

    UpdateStoreItem(String, IapItem)

    Call UDP store asynchronously to update a store item.

    Declaration
    [Obsolete("Internal API, it will be removed soon.")]
    public static object UpdateStoreItem(string accessToken, IapItem iapItem)
    Parameters
    Type Name Description
    String accessToken

    The bearer token to UDP.

    IapItem iapItem

    The updated store item.

    Returns
    Type Description
    Object

    The HTTP PUT Request to update a store item.

    Back to top
    Terms of use
    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