Loading...
Searching...
No Matches
AccelByte.Server.ServerEcommerce Class Reference
Inheritance diagram for AccelByte.Server.ServerEcommerce:

Public Member Functions

void GetUserEntitlementById (string entitlementId, ResultCallback< EntitlementInfo > callback)
 Get a user's entitlement by the entitlementId.
void GrantUserEntitlement (string userId, GrantUserEntitlementRequest[] grantUserEntitlementsRequest, ResultCallback< StackableEntitlementInfo[]> callback)
 Granting Entitlement(s) to a user.
void CreditUserWallet (string userId, string currencyCode, CreditUserWalletRequest creditUserWalletRequest, ResultCallback< WalletInfo > callback)
 Credit a user wallet by currency code, if the wallet does not exist, it will create a new wallet.
void CreditUserWalletV2 (string userId, string currencyCode, CreditUserWalletRequest creditUserWalletRequest, ResultCallback< CreditUserWalletResponse > callback)
 Credit a user wallet by currency code, if the wallet does not exist, it will create a new wallet.
void FulfillUserItem (string userId, FulfillmentRequest fulfillmentRequest, ResultCallback< FulfillmentResult > callback)
 Fulfill item to a user.
void GetStoreList (ResultCallback< PlatformStore[]> callback)
 Get List All Store.
void QueryItemsByCriteria (ItemCriteriaV2 criteria, ResultCallback< ItemPagingSlicedResultV2 > callback)
 Get Items by criteria. Set ItemCriteria fields as null if you don't want to specify the criteria. The result callback will returns a ItemPagingSlicedResult that contains Items within it.
void QueryItemsByCriteriaV2 (ItemCriteriaV3 criteria, ResultCallback< ItemPagingSlicedResultV2 > callback)
 Get Items by criteria Endpoint Version 2. Set ItemCriteria fields as null if you don't want to specify the criteria. The result callback will returns a ItemPagingSlicedResult that contains Items within it.

Additional Inherited Members

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

Member Function Documentation

◆ CreditUserWallet()

void AccelByte.Server.ServerEcommerce.CreditUserWallet ( string userId,
string currencyCode,
CreditUserWalletRequest creditUserWalletRequest,
ResultCallback< WalletInfo > callback )
inline

Credit a user wallet by currency code, if the wallet does not exist, it will create a new wallet.

Parameters
userIdUserId of a user
currencyCodeThe currency code
creditUserWalletRequestThe request to credit a user wallet
callbackReturns Wallet info via callback when completed

◆ CreditUserWalletV2()

void AccelByte.Server.ServerEcommerce.CreditUserWalletV2 ( string userId,
string currencyCode,
CreditUserWalletRequest creditUserWalletRequest,
ResultCallback< CreditUserWalletResponse > callback )
inline

Credit a user wallet by currency code, if the wallet does not exist, it will create a new wallet.

Parameters
userIdUserId of a user
currencyCodeThe currency code
creditUserWalletRequestThe request to credit a user wallet
callbackReturns Wallet info via callback when completed

◆ FulfillUserItem()

void AccelByte.Server.ServerEcommerce.FulfillUserItem ( string userId,
FulfillmentRequest fulfillmentRequest,
ResultCallback< FulfillmentResult > callback )
inline

Fulfill item to a user.

Parameters
userIdUserId of a user who will receive item.
fulfillmentRequestThe request to fulfill an item to user.
callbackReturns Wallet info via callback when completed.

◆ GetStoreList()

void AccelByte.Server.ServerEcommerce.GetStoreList ( ResultCallback< PlatformStore[]> callback)
inline

Get List All Store.

Parameters
callbackReturns Store info via callback when completed.

◆ GetUserEntitlementById()

void AccelByte.Server.ServerEcommerce.GetUserEntitlementById ( string entitlementId,
ResultCallback< EntitlementInfo > callback )
inline

Get a user's entitlement by the entitlementId.

Parameters
entitlementIdThe id of the entitlement
callbackReturns all StackableEntitlements Info via callback when completed

◆ GrantUserEntitlement()

void AccelByte.Server.ServerEcommerce.GrantUserEntitlement ( string userId,
GrantUserEntitlementRequest[] grantUserEntitlementsRequest,
ResultCallback< StackableEntitlementInfo[]> callback )
inline

Granting Entitlement(s) to a user.

Parameters
publisherNamespaceDifferent than Config Namespace
userIdUserId of a user
grantUserEntitlementsRequestConsist of the entitlement(s) that will be granted
callbackReturns all StackableEntitlements Info via callback when completed

◆ QueryItemsByCriteria()

void AccelByte.Server.ServerEcommerce.QueryItemsByCriteria ( ItemCriteriaV2 criteria,
ResultCallback< ItemPagingSlicedResultV2 > callback )
inline

Get Items by criteria. Set ItemCriteria fields as null if you don't want to specify the criteria. The result callback will returns a ItemPagingSlicedResult that contains Items within it.

Parameters
criteriaCriteria to search items
callbackReturns a Result that contains ItemPagingSlicedResult via callback when completed.

◆ QueryItemsByCriteriaV2()

void AccelByte.Server.ServerEcommerce.QueryItemsByCriteriaV2 ( ItemCriteriaV3 criteria,
ResultCallback< ItemPagingSlicedResultV2 > callback )
inline

Get Items by criteria Endpoint Version 2. Set ItemCriteria fields as null if you don't want to specify the criteria. The result callback will returns a ItemPagingSlicedResult that contains Items within it.

Parameters
criteriaCriteria to search items
callbackReturns a Result that contains ItemPagingSlicedResult via callback when completed.