Class UdpSynchronizationApi
Inherited Members
Namespace: UnityEditor .Purchasing
Assembly: solution.dll
Syntax
[Obsolete("UDP support will be removed in the next major update of In-App Purchasing. Right now, the UDP SDK will still function normally in tandem with IAP.")]
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. |
Iap |
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. |
Iap |
iapItem | The updated store item. |
Returns
Type | Description |
---|---|
object | The HTTP PUT Request to update a store item. |