LootLocker Unreal SDK 10.4.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
ULootLockerPurchasesRequestHandler Class Reference

#include <LootLockerPurchasesRequestHandler.h>

Inheritance diagram for ULootLockerPurchasesRequestHandler:
Collaboration diagram for ULootLockerPurchasesRequestHandler:

Public Member Functions

 ULootLockerPurchasesRequestHandler ()
 

Static Public Member Functions

static FString ActivateRentalAsset (const FLootLockerPlayerData &PlayerData, int AssetInstanceId, const FActivateRentalAssetResponseDelegate &OnCompletedRequest)
 
static FString PurchaseCatalogItems (const FLootLockerPlayerData &PlayerData, const FString &WalletID, const TArray< FLootLockerCatalogItemAndQuantityPair > &ItemsToPurchase, const FLootLockerDefaultDelegate &OnCompleted)
 
static FString RedeemAppleAppStorePurchaseForPlayer (const FLootLockerPlayerData &PlayerData, const FString &TransactionId, const bool Sandboxed=false, const FLootLockerDefaultDelegate &OnCompleted=FLootLockerDefaultDelegate())
 
static FString RedeemAppleAppStorePurchaseForClass (const FLootLockerPlayerData &PlayerData, const int ClassId, const FString &TransactionId, const bool Sandboxed=false, const FLootLockerDefaultDelegate &OnCompleted=FLootLockerDefaultDelegate())
 
static FString RedeemGooglePlayStorePurchaseForPlayer (const FLootLockerPlayerData &PlayerData, const FString &ProductId, const FString &PurchaseToken, const FLootLockerDefaultDelegate &OnCompleted)
 
static FString RedeemGooglePlayStorePurchaseForClass (const FLootLockerPlayerData &PlayerData, const int ClassId, const FString &ProductId, const FString &PurchaseToken, const FLootLockerDefaultDelegate &OnCompleted)
 
static FString RedeemEpicStorePurchase (const FLootLockerPlayerData &PlayerData, const FString &AccountId, const FString &BearerToken, const TArray< FString > &EntitlementIds, const FString &SandboxId, const FLootLockerDefaultDelegate &OnCompleted)
 
static FString RedeemEpicStorePurchaseForCharacter (const FLootLockerPlayerData &PlayerData, const FString &CharacterId, const FString &AccountId, const FString &BearerToken, const TArray< FString > &EntitlementIds, const FString &SandboxId, const FLootLockerDefaultDelegate &OnCompleted)
 
static FString RedeemPlayStationStorePurchaseForPlayer (const FLootLockerPlayerData &PlayerData, const FString &TransactionId, const FString &AuthCode, const FString &EntitlementLabel, const FString &ServiceLabel="", const FString &ServiceName="", const int Environment=-1, const int UseCount=-1, const FLootLockerDefaultDelegate &OnCompleted=FLootLockerDefaultDelegate())
 
static FString RedeemPlayStationStorePurchaseForCharacter (const FLootLockerPlayerData &PlayerData, const FString &CharacterId, const FString &TransactionId, const FString &AuthCode, const FString &EntitlementLabel, const FString &ServiceLabel="", const FString &ServiceName="", const int Environment=-1, const int UseCount=-1, const FLootLockerDefaultDelegate &OnCompleted=FLootLockerDefaultDelegate())
 
static FString BeginSteamPurchaseRedemption (const FLootLockerPlayerData &PlayerData, const FString &SteamId, const FString &Currency, const FString &Language, const FString &CatalogItemId, const FLootLockerBeginSteamPurchaseRedemptionDelegate &OnCompleted)
 
static FString BeginSteamPurchaseRedemptionForClass (const FLootLockerPlayerData &PlayerData, const int ClassId, const FString &SteamId, const FString &Currency, const FString &Language, const FString &CatalogItemId, const FLootLockerBeginSteamPurchaseRedemptionDelegate &OnCompleted)
 
static FString QuerySteamPurchaseRedemptionStatus (const FLootLockerPlayerData &PlayerData, const FString &EntitlementId, const FLootLockerQuerySteamPurchaseRedemptionStatusDelegate &OnCompleted)
 
static FString FinalizeSteamPurchaseRedemption (const FLootLockerPlayerData &PlayerData, const FString &EntitlementId, const FLootLockerDefaultDelegate &OnCompleted)
 
static FString RefundByEntitlementIds (const FLootLockerPlayerData &PlayerData, const TArray< FString > &EntitlementIds, const FLootLockerRefundByEntitlementIdsDelegate &OnCompleted)
 
static FString CreateStripeCheckoutSession (const FLootLockerPlayerData &PlayerData, const FString &CatalogItemId, const FLootLockerCreateStripeCheckoutSessionDelegate &OnCompleted)
 
static FString InitiateAsyncPurchase (const FLootLockerPlayerData &PlayerData, const FString &WalletId, const TArray< FLootLockerCatalogItemAndQuantityPair > &Items, const FLootLockerAsyncPurchaseInitiatedDelegate &OnCompleted)
 
static FString GetAsyncPurchaseStatus (const FLootLockerPlayerData &PlayerData, const FString &EntitlementId, const FLootLockerAsyncPurchaseStatusDelegate &OnCompleted)
 
static FString RetryAsyncPurchase (const FLootLockerPlayerData &PlayerData, const FString &EntitlementId, const FString &WalletId, const TArray< FLootLockerCatalogItemAndQuantityPair > &Items, const FLootLockerAsyncPurchaseInitiatedDelegate &OnCompleted)
 
static FString StartAsyncPurchasePolling (const FLootLockerPlayerData &PlayerData, const FString &WalletId, const TArray< FLootLockerCatalogItemAndQuantityPair > &Items, const FLootLockerAsyncPurchaseStatusDelegate &OnStatusUpdate, const FLootLockerAsyncPurchaseStatusDelegate &OnComplete, float PollingIntervalSeconds=1.0f, float TimeoutAfterMinutes=5.0f)
 
static void CancelAsyncPurchasePolling (const FString &ProcessID)
 
static FString ContinualAsyncPurchasePollAction (const FString &ProcessID, const FLootLockerAsyncPurchaseStatusDelegate &OnStatusUpdate, const FLootLockerAsyncPurchaseStatusDelegate &OnComplete)
 
static void KillAsyncPurchaseProcess (const FString &ProcessID)
 

Static Protected Member Functions

static FString GetAsyncPurchaseStatus (const FLootLockerPlayerData &PlayerData, const FString &EntitlementId, const LLAPI< FLootLockerAsyncPurchaseStatusResponse >::FResponseInspectorCallback &OnCompleted)
 
static void SetAsyncPurchaseTimer (FTimerHandle &TimerHandle, const FTimerDelegate &Delegate, float Time)
 
static void ClearAsyncPurchaseTimer (FTimerHandle &TimerHandle)
 

Constructor & Destructor Documentation

◆ ULootLockerPurchasesRequestHandler()

ULootLockerPurchasesRequestHandler::ULootLockerPurchasesRequestHandler ( )
inline

Member Function Documentation

◆ ActivateRentalAsset()

static FString ULootLockerPurchasesRequestHandler::ActivateRentalAsset ( const FLootLockerPlayerData PlayerData,
int  AssetInstanceId,
const FActivateRentalAssetResponseDelegate OnCompletedRequest 
)
static

◆ BeginSteamPurchaseRedemption()

static FString ULootLockerPurchasesRequestHandler::BeginSteamPurchaseRedemption ( const FLootLockerPlayerData PlayerData,
const FString &  SteamId,
const FString &  Currency,
const FString &  Language,
const FString &  CatalogItemId,
const FLootLockerBeginSteamPurchaseRedemptionDelegate OnCompleted 
)
static

◆ BeginSteamPurchaseRedemptionForClass()

static FString ULootLockerPurchasesRequestHandler::BeginSteamPurchaseRedemptionForClass ( const FLootLockerPlayerData PlayerData,
const int  ClassId,
const FString &  SteamId,
const FString &  Currency,
const FString &  Language,
const FString &  CatalogItemId,
const FLootLockerBeginSteamPurchaseRedemptionDelegate OnCompleted 
)
static

◆ CancelAsyncPurchasePolling()

static void ULootLockerPurchasesRequestHandler::CancelAsyncPurchasePolling ( const FString &  ProcessID)
static

◆ ClearAsyncPurchaseTimer()

static void ULootLockerPurchasesRequestHandler::ClearAsyncPurchaseTimer ( FTimerHandle &  TimerHandle)
staticprotected

◆ ContinualAsyncPurchasePollAction()

static FString ULootLockerPurchasesRequestHandler::ContinualAsyncPurchasePollAction ( const FString &  ProcessID,
const FLootLockerAsyncPurchaseStatusDelegate OnStatusUpdate,
const FLootLockerAsyncPurchaseStatusDelegate OnComplete 
)
static

◆ CreateStripeCheckoutSession()

static FString ULootLockerPurchasesRequestHandler::CreateStripeCheckoutSession ( const FLootLockerPlayerData PlayerData,
const FString &  CatalogItemId,
const FLootLockerCreateStripeCheckoutSessionDelegate OnCompleted 
)
static

◆ FinalizeSteamPurchaseRedemption()

static FString ULootLockerPurchasesRequestHandler::FinalizeSteamPurchaseRedemption ( const FLootLockerPlayerData PlayerData,
const FString &  EntitlementId,
const FLootLockerDefaultDelegate OnCompleted 
)
static

◆ GetAsyncPurchaseStatus() [1/2]

static FString ULootLockerPurchasesRequestHandler::GetAsyncPurchaseStatus ( const FLootLockerPlayerData PlayerData,
const FString &  EntitlementId,
const FLootLockerAsyncPurchaseStatusDelegate OnCompleted 
)
static

◆ GetAsyncPurchaseStatus() [2/2]

static FString ULootLockerPurchasesRequestHandler::GetAsyncPurchaseStatus ( const FLootLockerPlayerData PlayerData,
const FString &  EntitlementId,
const LLAPI< FLootLockerAsyncPurchaseStatusResponse >::FResponseInspectorCallback &  OnCompleted 
)
staticprotected

◆ InitiateAsyncPurchase()

static FString ULootLockerPurchasesRequestHandler::InitiateAsyncPurchase ( const FLootLockerPlayerData PlayerData,
const FString &  WalletId,
const TArray< FLootLockerCatalogItemAndQuantityPair > &  Items,
const FLootLockerAsyncPurchaseInitiatedDelegate OnCompleted 
)
static

◆ KillAsyncPurchaseProcess()

static void ULootLockerPurchasesRequestHandler::KillAsyncPurchaseProcess ( const FString &  ProcessID)
static

◆ PurchaseCatalogItems()

static FString ULootLockerPurchasesRequestHandler::PurchaseCatalogItems ( const FLootLockerPlayerData PlayerData,
const FString &  WalletID,
const TArray< FLootLockerCatalogItemAndQuantityPair > &  ItemsToPurchase,
const FLootLockerDefaultDelegate OnCompleted 
)
static

◆ QuerySteamPurchaseRedemptionStatus()

static FString ULootLockerPurchasesRequestHandler::QuerySteamPurchaseRedemptionStatus ( const FLootLockerPlayerData PlayerData,
const FString &  EntitlementId,
const FLootLockerQuerySteamPurchaseRedemptionStatusDelegate OnCompleted 
)
static

◆ RedeemAppleAppStorePurchaseForClass()

static FString ULootLockerPurchasesRequestHandler::RedeemAppleAppStorePurchaseForClass ( const FLootLockerPlayerData PlayerData,
const int  ClassId,
const FString &  TransactionId,
const bool  Sandboxed = false,
const FLootLockerDefaultDelegate OnCompleted = FLootLockerDefaultDelegate() 
)
static

◆ RedeemAppleAppStorePurchaseForPlayer()

static FString ULootLockerPurchasesRequestHandler::RedeemAppleAppStorePurchaseForPlayer ( const FLootLockerPlayerData PlayerData,
const FString &  TransactionId,
const bool  Sandboxed = false,
const FLootLockerDefaultDelegate OnCompleted = FLootLockerDefaultDelegate() 
)
static

◆ RedeemEpicStorePurchase()

static FString ULootLockerPurchasesRequestHandler::RedeemEpicStorePurchase ( const FLootLockerPlayerData PlayerData,
const FString &  AccountId,
const FString &  BearerToken,
const TArray< FString > &  EntitlementIds,
const FString &  SandboxId,
const FLootLockerDefaultDelegate OnCompleted 
)
static

◆ RedeemEpicStorePurchaseForCharacter()

static FString ULootLockerPurchasesRequestHandler::RedeemEpicStorePurchaseForCharacter ( const FLootLockerPlayerData PlayerData,
const FString &  CharacterId,
const FString &  AccountId,
const FString &  BearerToken,
const TArray< FString > &  EntitlementIds,
const FString &  SandboxId,
const FLootLockerDefaultDelegate OnCompleted 
)
static

◆ RedeemGooglePlayStorePurchaseForClass()

static FString ULootLockerPurchasesRequestHandler::RedeemGooglePlayStorePurchaseForClass ( const FLootLockerPlayerData PlayerData,
const int  ClassId,
const FString &  ProductId,
const FString &  PurchaseToken,
const FLootLockerDefaultDelegate OnCompleted 
)
static

◆ RedeemGooglePlayStorePurchaseForPlayer()

static FString ULootLockerPurchasesRequestHandler::RedeemGooglePlayStorePurchaseForPlayer ( const FLootLockerPlayerData PlayerData,
const FString &  ProductId,
const FString &  PurchaseToken,
const FLootLockerDefaultDelegate OnCompleted 
)
static

◆ RedeemPlayStationStorePurchaseForCharacter()

static FString ULootLockerPurchasesRequestHandler::RedeemPlayStationStorePurchaseForCharacter ( const FLootLockerPlayerData PlayerData,
const FString &  CharacterId,
const FString &  TransactionId,
const FString &  AuthCode,
const FString &  EntitlementLabel,
const FString &  ServiceLabel = "",
const FString &  ServiceName = "",
const int  Environment = -1,
const int  UseCount = -1,
const FLootLockerDefaultDelegate OnCompleted = FLootLockerDefaultDelegate() 
)
static

◆ RedeemPlayStationStorePurchaseForPlayer()

static FString ULootLockerPurchasesRequestHandler::RedeemPlayStationStorePurchaseForPlayer ( const FLootLockerPlayerData PlayerData,
const FString &  TransactionId,
const FString &  AuthCode,
const FString &  EntitlementLabel,
const FString &  ServiceLabel = "",
const FString &  ServiceName = "",
const int  Environment = -1,
const int  UseCount = -1,
const FLootLockerDefaultDelegate OnCompleted = FLootLockerDefaultDelegate() 
)
static

◆ RefundByEntitlementIds()

static FString ULootLockerPurchasesRequestHandler::RefundByEntitlementIds ( const FLootLockerPlayerData PlayerData,
const TArray< FString > &  EntitlementIds,
const FLootLockerRefundByEntitlementIdsDelegate OnCompleted 
)
static

◆ RetryAsyncPurchase()

static FString ULootLockerPurchasesRequestHandler::RetryAsyncPurchase ( const FLootLockerPlayerData PlayerData,
const FString &  EntitlementId,
const FString &  WalletId,
const TArray< FLootLockerCatalogItemAndQuantityPair > &  Items,
const FLootLockerAsyncPurchaseInitiatedDelegate OnCompleted 
)
static

◆ SetAsyncPurchaseTimer()

static void ULootLockerPurchasesRequestHandler::SetAsyncPurchaseTimer ( FTimerHandle &  TimerHandle,
const FTimerDelegate &  Delegate,
float  Time 
)
staticprotected

◆ StartAsyncPurchasePolling()

static FString ULootLockerPurchasesRequestHandler::StartAsyncPurchasePolling ( const FLootLockerPlayerData PlayerData,
const FString &  WalletId,
const TArray< FLootLockerCatalogItemAndQuantityPair > &  Items,
const FLootLockerAsyncPurchaseStatusDelegate OnStatusUpdate,
const FLootLockerAsyncPurchaseStatusDelegate OnComplete,
float  PollingIntervalSeconds = 1.0f,
float  TimeoutAfterMinutes = 5.0f 
)
static