Loading...
Searching...
No Matches
AccelByte.Api.Entitlement Class Reference

Provide information of entitlements owned by the user. More...

Inheritance diagram for AccelByte.Api.Entitlement:

Public Member Functions

void QueryUserEntitlements (string entitlementName=null, string itemId=null, int offset=0, int limit=20, ResultCallback< EntitlementPagingSlicedResult > callback=null, EntitlementClazz entitlementClazz=EntitlementClazz.NONE, EntitlementAppType entitlementAppType=EntitlementAppType.NONE, string[] features=null)
 Query user entitlements.
void QueryUserEntitlements (QueryUserEntitlementsOptionalParameters optionalParameters, ResultCallback< EntitlementPagingSlicedResult > callback)
 Query user entitlements.
void QueryUserEntitlements (string targetUserId, ResultCallback< EntitlementPagingSlicedResult > callback)
 Query user entitlements.
void QueryUserEntitlements (string targetUserId, QueryUserEntitlementsOptionalParameters optionalParameters, ResultCallback< EntitlementPagingSlicedResult > callback)
 Query user entitlements.
void QueryUserSubscription (PlatformStoreId platformStoreId, string userId, ResultCallback< SubscriptionPagingSlicedResult > callback)
 Query other user's thirdparty subscription.
void QueryUserSubscription (PlatformStoreId platformStoreId, string userId, QueryUserSubscriptionRequestOptionalParameters optionalParameters, ResultCallback< SubscriptionPagingSlicedResult > callback)
 Query other user's thirdparty subscription.
void GetUserEntitlementById (string entitlementId, ResultCallback< EntitlementInfo > callback)
 Get user's entitlement by the entitlementId.
void GetUserEntitlementOwnershipByAppId (string appId, ResultCallback< Ownership > callback)
 Get user entitlement ownership by app id.
void GetUserEntitlementOwnershipBySku (string sku, ResultCallback< Ownership > callback)
 Get user entitlement ownership by SKU.
void GetUserEntitlementOwnershipByItemId (string ItemId, ResultCallback< Ownership > callback)
 Get user entitlement ownership by ItemId.
void GetUserEntitlementOwnershipAny (string[] itemIds, string[] appIds, string[] skus, ResultCallback< Ownership > callback)
 Get user entitlement ownership if any of item IDs, app IDs, or SKUs are true.
void GetUserEntitlementOwnershipToken (string key, string[] itemIds, string[] appIds, string[] skus, ResultCallback< OwnershipEntitlement[]> callback, bool verifyPublicKey=true, bool verifyExpiration=true, bool verifyUserId=true)
 Get user entitlement ownership if any of item IDs, app IDs, or SKUs are true.
void GetUserEntitlementOwnershipTokenOnly (string[] itemIds, string[] appIds, string[] skus, ResultCallback< OwnershipToken > callback)
 Get user entitlement ownership token if any of item IDs, app IDs, or SKUs are true.
void ConsumeUserEntitlement (string entitlementId, int useCount, ResultCallback< EntitlementInfo > callback, string[] options=null, string requestId=null)
 Consume a user entitlement.
void GetUserEntitlementHistory (string userId, ResultCallback< UserEntitlementHistoryResponse > callback)
 Get target user's entitlement history.
void GetUserEntitlementHistory (string userId, GetUserEntitlementHistoryOptionalParams optionalParams, ResultCallback< UserEntitlementHistoryResponse > callback)
 Get target user's entitlement history.
void CreateDistributionReceiver (string extUserId, Attributes attributes, ResultCallback callback)
 Create distribution receiver for current user.
void DeleteDistributionReceiver (string extUserId, ResultCallback callback)
 Delete distribution receiver from user.
void GetDistributionReceiver (string publisherNamespace, string publisherUserId, ResultCallback< DistributionReceiver[]> callback)
 Get distribution receiver from user You can target Publisher Namespace and Publisher UserId or Game Namespace and Game UserId.
void UpdateDistributionReceiver (string extUserId, Attributes attributes, ResultCallback callback)
 Update distribution receiver for current user.
void SyncMobilePlatformPurchaseApple (string productId, string transactionId, string receiptData, ResultCallback callback)
 Sync (Verify and fulfil) item entitlement from Apple Store platform purchase.
void SyncMobilePlatformPurchaseApple (string productId, string transactionId, string receiptData, PlatformSyncMobileAppleOptionalParam optionalParameters, ResultCallback callback)
 Sync (Verify and fulfil) item entitlement from Apple Store platform purchase.
void SyncMobilePlatformSubscriptionApple (string transactionId, ResultCallback callback)
 Sync (Verify and fulfil) subscription item entitlement from Apple Store platform purchase.
void SyncMobilePlatformPurchaseGoogle (string orderId, string packageName, string productId, long purchaseTime, string purchaseToken, bool autoAck, ResultCallback< GoogleReceiptResolveResult > callback)
 Sync (Verify and fulfil) item entitlement from Google Play platform purchase.
void SyncMobilePlatformPurchaseGoogle (string orderId, string packageName, string productId, long purchaseTime, string purchaseToken, bool autoAck, PlatformSyncMobileGoogleOptionalParameters optionalParameters, ResultCallback< GoogleReceiptResolveResult > callback)
 Sync (Verify and fulfil) item entitlement from Google Play platform purchase.
void SyncMobilePlatformSubscriptionGoogle (string orderId, string packageName, string productId, long purchaseTime, string purchaseToken, bool autoAck, ResultCallback< GoogleReceiptResolveResult > callback)
 Sync (Verify and fulfil) item subscription from Google Play platform purchase.
void SyncMobilePlatformSubscriptionGoogle (string orderId, string packageName, string productId, long purchaseTime, string purchaseToken, bool autoAck, PlatformSyncMobileGoogleOptionalParameters optionalParameters, ResultCallback< GoogleReceiptResolveResult > callback)
 Sync (Verify and fulfil) item subscription from Google Play platform purchase.
void SyncXBoxDLC (XBoxDLCSync XboxDLCSync, ResultCallback callback)
 Synchronize Xbox inventory's DLC items.
void SyncSteamDLC (string userSteamId, string userAppId, ResultCallback callback)
 Synchronize Steam DLC.
void SyncSteamInventory (string userSteamId, string appId, string productId, double price, string currencyCode, ResultCallback callback)
 Sync steam inventory's items.
void SyncSteamInventory (string userSteamId, string appId, string productId, double price, string currencyCode, SyncSteamInventoryOptionalParameters optionalParameters=null, ResultCallback callback=null)
 Sync steam inventory's items.
void SyncPSNDLC (PlayStationDLCSync PSSyncModel, ResultCallback callback)
 Synchronize with DLC entitlements in PSN Store.
void SyncTwitchDropItem (TwitchDropSync TwitchDropSyncReq, ResultCallback callback)
 Synchronize with Twitch entitlements in Twitch Drop.
void SyncEpicGamesDurableItems (string epicGamesJwtToken, ResultCallback callback)
 Synchronize Epic Game Durable/dlc Items.
void SyncPSNDLCMultipleService (PlayStationDLCSyncMultipleService playStationDlcSyncMultipleService, ResultCallback callback)
 Synchronize with dlc entitlements in PSN Store with multiple service labels.
void ValidateUserItemPurchaseCondition (string[] items, ResultCallback< PlatformValidateUserItemPurchaseResponse[]> callback)
 Validate User Item Purchase Condition.
void GetUserEntitlementOwnershipByItemIds (string[] ids, ResultCallback< EntitlementOwnershipItemIds[]> callback)
 Get user entitlement ownership by itemIds.
void SyncEntitlementPSNStore (PlayStationDLCSync psnModel, ResultCallback callback)
 Synchronize with entitlements in PSN Store.
void SyncXboxInventory (XboxInventoryRequest model, ResultCallback< XboxInventoryResponse[]> callback)
 Synchronize Comsumable Entitlement in XBOX Inventory.
void SyncEntitlementPSNMultipleService (PlayStationMultipleServiceRequest playStationMultipleServiceRequest, ResultCallback< PlayStationMultipleServiceResponse[]> callback)
 Synchronize with entitlements in PSN Store with multiple service labels.
void SellUserEntitlement (UserEntitlementSoldParams userEntitlementSoldParams, EntitlementSoldRequest entitlementSoldRequest, ResultCallback< SellItemEntitlementInfo > callback)
 Sell User Entitlement back to the platform if the item is configured to be sellable.
void SellUserEntitlement (UserEntitlementSoldParams userEntitlementSoldParams, EntitlementSoldRequest entitlementSoldRequest, SellUserEntitlementOptionalParameters optionalParameters, ResultCallback< SellItemEntitlementInfo > callback)
 Sell User Entitlement back to the platform if the item is configured to be sellable.
void SellUserEntitlement (string entitlementId, EntitlementSoldRequest entitlementSoldRequest, ResultCallback< SellItemEntitlementInfo > callback)
 Sell User Entitlement back to the platform if the item is configured to be sellable.
void SellUserEntitlement (string entitlementId, EntitlementSoldRequest entitlementSoldRequest, SellUserEntitlementOptionalParameters optionalParameters, ResultCallback< SellItemEntitlementInfo > callback)
 Sell User Entitlement back to the platform if the item is configured to be sellable.
void SyncOculusConsumableEntitlements (ResultCallback< SyncOculusConsumableEntitlementResponse[]> callback)
 Synchronize Oculus Consumable Entitlement/IAP.
void SyncOculusDLC (ResultCallback callback)
 Synchronize Oculus Downloadable Content/DLC.
void SyncEpicGameInventory (string epicGamesJwtToken, ResultCallback< SyncEpicGamesInventoryResponse[]> callback)
 Synchronize Epic Games Inventory/IAP.
void GetDlcDurableRewardSimpleMap (PlatformType platformType, ResultCallback< DlcConfigRewardShortInfo > callback)
 Get any "Durable" DLC type from a specific namespace It will not get "Consumables".
void GetDlcDurableRewardSimpleMap (string platformTypeId, ResultCallback< DlcConfigRewardShortInfo > callback)
 Get any "Durable" DLC type from a specific namespace It will not get "Consumables".

Static Public Member Functions

static string ConvertActivePlatformToGetDlcDurableReward (PlatformType platformType)

Additional Inherited Members

Properties inherited from AccelByte.Core.WrapperBase
Utils.AccelByteIdValidator IdValidator [get]

Detailed Description

Provide information of entitlements owned by the user.

Member Function Documentation

◆ ConsumeUserEntitlement()

void AccelByte.Api.Entitlement.ConsumeUserEntitlement ( string entitlementId,
int useCount,
ResultCallback< EntitlementInfo > callback,
string[] options = null,
string requestId = null )
inline

Consume a user entitlement.

Parameters
entitlementIdThe id of the user entitlement.
useCountNumber of consumed entitlement
callbackReturns a Result that contains EntitlementInfo via callback when completed
Parameters
optionsOptions of consumed entitlement
requestIdRequest id(Optional), A unique tracking ID provided by the developer, can just left it empty if they don't want to track, When a request id is submitted, it will return original successful response

◆ CreateDistributionReceiver()

void AccelByte.Api.Entitlement.CreateDistributionReceiver ( string extUserId,
Attributes attributes,
ResultCallback callback )
inline

Create distribution receiver for current user.

Parameters
extUserIdExternal user id is a random string that can be generated by yourself for the receiver
attributesAttributes that contain of serverId, serverName, characterId, and characterName
callbackReturns a Result via callback when completed

◆ DeleteDistributionReceiver()

void AccelByte.Api.Entitlement.DeleteDistributionReceiver ( string extUserId,
ResultCallback callback )
inline

Delete distribution receiver from user.

Parameters
extUserIdExternal User Id that want to be deleted in receiver
callbackReturns a Result via callback when completed

◆ GetDistributionReceiver()

void AccelByte.Api.Entitlement.GetDistributionReceiver ( string publisherNamespace,
string publisherUserId,
ResultCallback< DistributionReceiver[]> callback )
inline

Get distribution receiver from user You can target Publisher Namespace and Publisher UserId or Game Namespace and Game UserId.

Parameters
publisherNamespacePublisher Namespace that used to find user
publisherUserIdPublisher UserId that want to be get
callbackReturns a Result of Distribution Receivers via callback when completed

◆ GetDlcDurableRewardSimpleMap() [1/2]

void AccelByte.Api.Entitlement.GetDlcDurableRewardSimpleMap ( PlatformType platformType,
ResultCallback< DlcConfigRewardShortInfo > callback )
inline

Get any "Durable" DLC type from a specific namespace It will not get "Consumables".

Parameters
platformTypeTarget platform to be queried
callbackReturns a result via callback when completed

◆ GetDlcDurableRewardSimpleMap() [2/2]

void AccelByte.Api.Entitlement.GetDlcDurableRewardSimpleMap ( string platformTypeId,
ResultCallback< DlcConfigRewardShortInfo > callback )
inline

Get any "Durable" DLC type from a specific namespace It will not get "Consumables".

Parameters
platformTypeIdTarget platform to be queried
callbackReturns a result via callback when completed

◆ GetUserEntitlementById()

void AccelByte.Api.Entitlement.GetUserEntitlementById ( string entitlementId,
ResultCallback< EntitlementInfo > callback )
inline

Get user's entitlement by the entitlementId.

Parameters
entitlementIdThe id of the entitlement
callbackReturns a Result that contains EntitlementInfo via callback when completed

◆ GetUserEntitlementHistory() [1/2]

void AccelByte.Api.Entitlement.GetUserEntitlementHistory ( string userId,
GetUserEntitlementHistoryOptionalParams optionalParams,
ResultCallback< UserEntitlementHistoryResponse > callback )
inline

Get target user's entitlement history.

Parameters
userIdUser Id of user to get entitlement history for.
optionalParamsQuery parameters
callbackResult callback containing user's entitlement history data

◆ GetUserEntitlementHistory() [2/2]

void AccelByte.Api.Entitlement.GetUserEntitlementHistory ( string userId,
ResultCallback< UserEntitlementHistoryResponse > callback )
inline

Get target user's entitlement history.

Parameters
userIdUser Id of user to get entitlement history for.
callbackResult callback containing user's entitlement history data

◆ GetUserEntitlementOwnershipAny()

void AccelByte.Api.Entitlement.GetUserEntitlementOwnershipAny ( string[] itemIds,
string[] appIds,
string[] skus,
ResultCallback< Ownership > callback )
inline

Get user entitlement ownership if any of item IDs, app IDs, or SKUs are true.

Parameters
itemIdsthe item Ids
appIdsthe app Ids
skusthe skus
callbackReturns user's entitlement ownership result if any parameters are true via callback when completed

◆ GetUserEntitlementOwnershipByAppId()

void AccelByte.Api.Entitlement.GetUserEntitlementOwnershipByAppId ( string appId,
ResultCallback< Ownership > callback )
inline

Get user entitlement ownership by app id.

Parameters
appIdThe game's app id
callbackReturns a result that contains user ownership info via callback when completed

◆ GetUserEntitlementOwnershipByItemId()

void AccelByte.Api.Entitlement.GetUserEntitlementOwnershipByItemId ( string ItemId,
ResultCallback< Ownership > callback )
inline

Get user entitlement ownership by ItemId.

Parameters
ItemIdthe item's ItemId
callbackReturns user's entitlement ownership result via callback when completed

◆ GetUserEntitlementOwnershipByItemIds()

void AccelByte.Api.Entitlement.GetUserEntitlementOwnershipByItemIds ( string[] ids,
ResultCallback< EntitlementOwnershipItemIds[]> callback )
inline

Get user entitlement ownership by itemIds.

Parameters
idsContains ids ItemIds
callbackReturns a Result via callback when completed

◆ GetUserEntitlementOwnershipBySku()

void AccelByte.Api.Entitlement.GetUserEntitlementOwnershipBySku ( string sku,
ResultCallback< Ownership > callback )
inline

Get user entitlement ownership by SKU.

Parameters
skuthe item's SKU
callbackReturns user's entitlement ownership result via callback when completed

◆ GetUserEntitlementOwnershipToken()

void AccelByte.Api.Entitlement.GetUserEntitlementOwnershipToken ( string key,
string[] itemIds,
string[] appIds,
string[] skus,
ResultCallback< OwnershipEntitlement[]> callback,
bool verifyPublicKey = true,
bool verifyExpiration = true,
bool verifyUserId = true )
inline

Get user entitlement ownership if any of item IDs, app IDs, or SKUs are true.

Parameters
keythe public key
itemIdsthe item Ids
appIdsthe app Ids
skusthe skus
callbackR eturns user's entitlement ownership result if any parameters are true via callback when completed
verifyPublicKeyDo verification on public key. Set False to skip
verifyExpirationDo verification on expiration. Set False to skip
verifyUserIdDo verification on current user id and sub. Set False to skip

◆ GetUserEntitlementOwnershipTokenOnly()

void AccelByte.Api.Entitlement.GetUserEntitlementOwnershipTokenOnly ( string[] itemIds,
string[] appIds,
string[] skus,
ResultCallback< OwnershipToken > callback )
inline

Get user entitlement ownership token if any of item IDs, app IDs, or SKUs are true.

Parameters
itemIdsthe item Ids
appIdsthe app Ids
skusthe skus
callbackReturns user's entitlement ownership token if any parameters are true via callback when completed

◆ QueryUserEntitlements() [1/4]

void AccelByte.Api.Entitlement.QueryUserEntitlements ( QueryUserEntitlementsOptionalParameters optionalParameters,
ResultCallback< EntitlementPagingSlicedResult > callback )
inline

Query user entitlements.

Parameters
optionalParametersList of optional parameter that can be set to narrow the query result
callbackReturns a Result that contains EntitlementPagingSlicedResult via callback when completed

◆ QueryUserEntitlements() [2/4]

void AccelByte.Api.Entitlement.QueryUserEntitlements ( string entitlementName = null,
string itemId = null,
int offset = 0,
int limit = 20,
ResultCallback< EntitlementPagingSlicedResult > callback = null,
EntitlementClazz entitlementClazz = EntitlementClazz::NONE,
EntitlementAppType entitlementAppType = EntitlementAppType::NONE,
string[] features = null )
inline

Query user entitlements.

Parameters
entitlementNameThe name of the entitlement (optional)
itemIdItem's id (optional)
offsetOffset of the list that has been sliced based on Limit parameter (optional, default = 0)
limitThe limit of item on page (optional)
callbackReturns a Result that contains EntitlementPagingSlicedResult via callback when completed
entitlementClazzClass of the entitlement (optional)
entitlementAppTypeThis is the type of application that entitled (optional)
featuresThe feature array

◆ QueryUserEntitlements() [3/4]

void AccelByte.Api.Entitlement.QueryUserEntitlements ( string targetUserId,
QueryUserEntitlementsOptionalParameters optionalParameters,
ResultCallback< EntitlementPagingSlicedResult > callback )
inline

Query user entitlements.

Parameters
targetUserIdTarget user to be queried
optionalParametersList of optional parameter that can be set to narrow the query result
callbackReturns a Result that contains EntitlementPagingSlicedResult via callback when completed

◆ QueryUserEntitlements() [4/4]

void AccelByte.Api.Entitlement.QueryUserEntitlements ( string targetUserId,
ResultCallback< EntitlementPagingSlicedResult > callback )
inline

Query user entitlements.

Parameters
targetUserIdTarget user to be queried
callbackReturns a Result that contains EntitlementPagingSlicedResult via callback when completed

◆ QueryUserSubscription() [1/2]

void AccelByte.Api.Entitlement.QueryUserSubscription ( PlatformStoreId platformStoreId,
string userId,
QueryUserSubscriptionRequestOptionalParameters optionalParameters,
ResultCallback< SubscriptionPagingSlicedResult > callback )
inline

Query other user's thirdparty subscription.

Parameters
platformStoreIdA thirdparty platform id to be queried
userIduser Id to be queried
optionalParametersoptional parameter for query
callbackReturns a Result that contains SubscriptionPagingSlicedResult via callback when completed

◆ QueryUserSubscription() [2/2]

void AccelByte.Api.Entitlement.QueryUserSubscription ( PlatformStoreId platformStoreId,
string userId,
ResultCallback< SubscriptionPagingSlicedResult > callback )
inline

Query other user's thirdparty subscription.

Parameters
platformStoreIdA thirdparty platform id to be queried
userIduser Id to be queried
callbackReturns a Result that contains SubscriptionPagingSlicedResult via callback when completed

◆ SellUserEntitlement() [1/4]

void AccelByte.Api.Entitlement.SellUserEntitlement ( string entitlementId,
EntitlementSoldRequest entitlementSoldRequest,
ResultCallback< SellItemEntitlementInfo > callback )
inline

Sell User Entitlement back to the platform if the item is configured to be sellable.

Parameters
entitlementIdThe user entitlement ID to sell.
entitlementSoldRequestThe entitlement sold request containing the use count and request ID.
callbackReturns a Result via callback when completed

◆ SellUserEntitlement() [2/4]

void AccelByte.Api.Entitlement.SellUserEntitlement ( string entitlementId,
EntitlementSoldRequest entitlementSoldRequest,
SellUserEntitlementOptionalParameters optionalParameters,
ResultCallback< SellItemEntitlementInfo > callback )
inline

Sell User Entitlement back to the platform if the item is configured to be sellable.

Parameters
entitlementIdThe user entitlement ID to sell.
entitlementSoldRequestThe entitlement sold request containing the use count and request ID.
optionalParametersThe optional parameter that can be set.
callbackReturns a Result via callback when completed

◆ SellUserEntitlement() [3/4]

void AccelByte.Api.Entitlement.SellUserEntitlement ( UserEntitlementSoldParams userEntitlementSoldParams,
EntitlementSoldRequest entitlementSoldRequest,
ResultCallback< SellItemEntitlementInfo > callback )
inline

Sell User Entitlement back to the platform if the item is configured to be sellable.

Parameters
userEntitlementSoldParamsThe user entitlement parameters containing the user ID and entitlement ID to sell.
entitlementSoldRequestThe entitlement sold request containing the use count and request ID.
callbackReturns a Result via callback when completed

◆ SellUserEntitlement() [4/4]

void AccelByte.Api.Entitlement.SellUserEntitlement ( UserEntitlementSoldParams userEntitlementSoldParams,
EntitlementSoldRequest entitlementSoldRequest,
SellUserEntitlementOptionalParameters optionalParameters,
ResultCallback< SellItemEntitlementInfo > callback )
inline

Sell User Entitlement back to the platform if the item is configured to be sellable.

Parameters
userEntitlementSoldParamsThe user entitlement parameters containing the user ID and entitlement ID to sell.
entitlementSoldRequestThe entitlement sold request containing the use count and request ID.
optionalParametersThe optional parameter that can be set.
callbackReturns a Result via callback when completed

◆ SyncEntitlementPSNMultipleService()

void AccelByte.Api.Entitlement.SyncEntitlementPSNMultipleService ( PlayStationMultipleServiceRequest playStationMultipleServiceRequest,
ResultCallback< PlayStationMultipleServiceResponse[]> callback )
inline

Synchronize with entitlements in PSN Store with multiple service labels.

Parameters
playStationMultipleServiceRequestPlaystation's Multiple Service Labels Model Sync Request
callbackReturns a Result via callback when completed

◆ SyncEntitlementPSNStore()

void AccelByte.Api.Entitlement.SyncEntitlementPSNStore ( PlayStationDLCSync psnModel,
ResultCallback callback )
inline

Synchronize with entitlements in PSN Store.

Parameters
psnModelPlaystation's DLC Model Sync Request
callbackReturns a Result via callback when completed

◆ SyncEpicGameInventory()

void AccelByte.Api.Entitlement.SyncEpicGameInventory ( string epicGamesJwtToken,
ResultCallback< SyncEpicGamesInventoryResponse[]> callback )
inline

Synchronize Epic Games Inventory/IAP.

Parameters
epicGamesJwtTokenEpic Game Jwt Token.
callbackReturns a Result via callback when completed

◆ SyncEpicGamesDurableItems()

void AccelByte.Api.Entitlement.SyncEpicGamesDurableItems ( string epicGamesJwtToken,
ResultCallback callback )
inline

Synchronize Epic Game Durable/dlc Items.

Parameters
epicGamesJwtTokenContains epicGamesJwtToken needed for EpicGames Durable sync
callbackReturns a Result via callback when completed

◆ SyncMobilePlatformPurchaseApple() [1/2]

void AccelByte.Api.Entitlement.SyncMobilePlatformPurchaseApple ( string productId,
string transactionId,
string receiptData,
PlatformSyncMobileAppleOptionalParam optionalParameters,
ResultCallback callback )
inline

Sync (Verify and fulfil) item entitlement from Apple Store platform purchase.

Parameters
productIdpurchased product id or entitlement's SKU
transactionIdpurchased transaction id
receiptDatapurchased product Payload in form of encrypted Apple Receipt
optionalParametersOptional parameters containing exclude old transaction, product region and language
callbackReturns a Result via callback when completed

◆ SyncMobilePlatformPurchaseApple() [2/2]

void AccelByte.Api.Entitlement.SyncMobilePlatformPurchaseApple ( string productId,
string transactionId,
string receiptData,
ResultCallback callback )
inline

Sync (Verify and fulfil) item entitlement from Apple Store platform purchase.

Parameters
productIdpurchased product id or entitlement's SKU
transactionIdpurchased transaction id
receiptDatapurchased product Payload in form of encrypted Apple Receipt
callbackReturns a Result via callback when completed

◆ SyncMobilePlatformPurchaseGoogle() [1/2]

void AccelByte.Api.Entitlement.SyncMobilePlatformPurchaseGoogle ( string orderId,
string packageName,
string productId,
long purchaseTime,
string purchaseToken,
bool autoAck,
PlatformSyncMobileGoogleOptionalParameters optionalParameters,
ResultCallback< GoogleReceiptResolveResult > callback )
inline

Sync (Verify and fulfil) item entitlement from Google Play platform purchase.

Parameters
orderIdGoogle receipt's order id
packageNameGoogle receipt's package name
productIdGoogle receipt's product id
purchaseTimeGoogle receipt's purchase time
purchaseTokenGoogle receipt's purchase token
autoAckSet true if it is a durable item
optionalParametersOptional parameters containing product region and language
callbackReturns a Result that contain whether client should confirm pending purchase or not

◆ SyncMobilePlatformPurchaseGoogle() [2/2]

void AccelByte.Api.Entitlement.SyncMobilePlatformPurchaseGoogle ( string orderId,
string packageName,
string productId,
long purchaseTime,
string purchaseToken,
bool autoAck,
ResultCallback< GoogleReceiptResolveResult > callback )
inline

Sync (Verify and fulfil) item entitlement from Google Play platform purchase.

Parameters
orderIdGoogle receipt's order id
packageNameGoogle receipt's package name
productIdGoogle receipt's product id
purchaseTimeGoogle receipt's purchase time
purchaseTokenGoogle receipt's purchase token
autoAckSet true if it is a durable item
callbackReturns a Result that contain whether client should confirm pending purchase or not

◆ SyncMobilePlatformSubscriptionApple()

void AccelByte.Api.Entitlement.SyncMobilePlatformSubscriptionApple ( string transactionId,
ResultCallback callback )
inline

Sync (Verify and fulfil) subscription item entitlement from Apple Store platform purchase.

Parameters
transactionIdpurchased transaction id
callbackReturns a Result via callback when completed

◆ SyncMobilePlatformSubscriptionGoogle() [1/2]

void AccelByte.Api.Entitlement.SyncMobilePlatformSubscriptionGoogle ( string orderId,
string packageName,
string productId,
long purchaseTime,
string purchaseToken,
bool autoAck,
PlatformSyncMobileGoogleOptionalParameters optionalParameters,
ResultCallback< GoogleReceiptResolveResult > callback )
inline

Sync (Verify and fulfil) item subscription from Google Play platform purchase.

Parameters
orderIdGoogle receipt's order id
packageNameGoogle receipt's package name
productIdGoogle receipt's product id
purchaseTimeGoogle receipt's purchase time
purchaseTokenGoogle receipt's purchase token
autoAckAuto acknowledge the purchase. By setting it as false, Game client needs manualy acknowledge it, otherwise this transaction will be expired. By setting it as true, AGS will automatically acknowledged it
optionalParametersOptional parameters containing product region and language
callbackReturns a Result that contain whether client should confirm pending purchase or not

◆ SyncMobilePlatformSubscriptionGoogle() [2/2]

void AccelByte.Api.Entitlement.SyncMobilePlatformSubscriptionGoogle ( string orderId,
string packageName,
string productId,
long purchaseTime,
string purchaseToken,
bool autoAck,
ResultCallback< GoogleReceiptResolveResult > callback )
inline

Sync (Verify and fulfil) item subscription from Google Play platform purchase.

Parameters
orderIdGoogle receipt's order id
packageNameGoogle receipt's package name
productIdGoogle receipt's product id
purchaseTimeGoogle receipt's purchase time
purchaseTokenGoogle receipt's purchase token
autoAckAuto acknowledge the purchase. By setting it as false, Game client needs manualy acknowledge it, otherwise this transaction will be expired. By setting it as true, AGS will automatically acknowledged it
callbackReturns a Result that contain whether client should confirm pending purchase or not

◆ SyncOculusConsumableEntitlements()

void AccelByte.Api.Entitlement.SyncOculusConsumableEntitlements ( ResultCallback< SyncOculusConsumableEntitlementResponse[]> callback)
inline

Synchronize Oculus Consumable Entitlement/IAP.

Parameters
callbackReturns a Result via callback when completed

◆ SyncOculusDLC()

void AccelByte.Api.Entitlement.SyncOculusDLC ( ResultCallback callback)
inline

Synchronize Oculus Downloadable Content/DLC.

Parameters
callbackReturns a Result via callback when completed

◆ SyncPSNDLC()

void AccelByte.Api.Entitlement.SyncPSNDLC ( PlayStationDLCSync PSSyncModel,
ResultCallback callback )
inline

Synchronize with DLC entitlements in PSN Store.

Parameters
PSSyncModelContains ServiceLabel needed for PlayStation DLC sync
callbackReturns a Result via callback when completed

◆ SyncPSNDLCMultipleService()

void AccelByte.Api.Entitlement.SyncPSNDLCMultipleService ( PlayStationDLCSyncMultipleService playStationDlcSyncMultipleService,
ResultCallback callback )
inline

Synchronize with dlc entitlements in PSN Store with multiple service labels.

Parameters
playStationDlcSyncMultipleServiceContains ServiceLabel needed for PlayStation DLC Multiple Service sync
callbackReturns a Result via callback when completed

◆ SyncSteamDLC()

void AccelByte.Api.Entitlement.SyncSteamDLC ( string userSteamId,
string userAppId,
ResultCallback callback )
inline

Synchronize Steam DLC.

Parameters
userSteamIdSteam ID of the user
userAppIdSteam app id
callbackReturns a Result via callback when completed

◆ SyncSteamInventory() [1/2]

void AccelByte.Api.Entitlement.SyncSteamInventory ( string userSteamId,
string appId,
string productId,
double price,
string currencyCode,
ResultCallback callback )
inline

Sync steam inventory's items.

Parameters
userSteamIdSteam user id
appIdSteam application id
productIdSteam item def id
priceSteam item price
currencyCodeSteam item currency code
callbackReturns a Result via callback when completed

◆ SyncSteamInventory() [2/2]

void AccelByte.Api.Entitlement.SyncSteamInventory ( string userSteamId,
string appId,
string productId,
double price,
string currencyCode,
SyncSteamInventoryOptionalParameters optionalParameters = null,
ResultCallback callback = null )
inline

Sync steam inventory's items.

Parameters
userSteamIdSteam user id
appIdSteam application id
productIdSteam item def id
priceSteam item price
currencyCodeSteam item currency code
optionalParametersOptional parameters containing product region and language
callbackReturns a Result via callback when completed

◆ SyncTwitchDropItem()

void AccelByte.Api.Entitlement.SyncTwitchDropItem ( TwitchDropSync TwitchDropSyncReq,
ResultCallback callback )
inline

Synchronize with Twitch entitlements in Twitch Drop.

Parameters
TwitchDropSyncReqContains gameId, region, and language needed for Twitch Drop sync
callbackReturns a Result via callback when completed

◆ SyncXBoxDLC()

void AccelByte.Api.Entitlement.SyncXBoxDLC ( XBoxDLCSync XboxDLCSync,
ResultCallback callback )
inline

Synchronize Xbox inventory's DLC items.

Parameters
XboxDLCSyncContains XSTSToken needed for Xbox DLC sync
callbackReturns a Result via callback when completed

◆ SyncXboxInventory()

void AccelByte.Api.Entitlement.SyncXboxInventory ( XboxInventoryRequest model,
ResultCallback< XboxInventoryResponse[]> callback )
inline

Synchronize Comsumable Entitlement in XBOX Inventory.

Parameters
modelXBOX's Consumable Entitlement Model Sync Request
callbackReturns a Result via callback when completed

◆ UpdateDistributionReceiver()

void AccelByte.Api.Entitlement.UpdateDistributionReceiver ( string extUserId,
Attributes attributes,
ResultCallback callback )
inline

Update distribution receiver for current user.

Parameters
extUserIdExternal User Id that has been created before for receiver
attributesAttributes that contain of serverId, serverName, characterId, and characterName
callbackReturns a Result via callback when completed

◆ ValidateUserItemPurchaseCondition()

void AccelByte.Api.Entitlement.ValidateUserItemPurchaseCondition ( string[] items,
ResultCallback< PlatformValidateUserItemPurchaseResponse[]> callback )
inline

Validate User Item Purchase Condition.

Parameters
itemsContains item that needed for Validate User Item Purchase Condition
callbackReturns a Result via callback when completed