Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem
IOnlinePurchase - Interface for IAP (In App Purchases) services
| Name | IOnlinePurchase |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlinePurchaseInterface.h |
| Include Path | #include "Interfaces/OnlinePurchaseInterface.h" |
Syntax
class IOnlinePurchase
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IOnlinePurchase() |
Interfaces/OnlinePurchaseInterface.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnUnexpectedPurchaseReceiptDelegates | FOnUnexpectedPurchaseReceipt | Delegate fired when the local system tells us of a new completed purchase we may not have initiated in-game. | Interfaces/OnlinePurchaseInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FDelegateHandle AddOnUnexpectedPurchaseReceiptDelegate_Handle
(
const FOnUnexpectedPurchaseReceiptDelegate& Delegate |
Interfaces/OnlinePurchaseInterface.h | ||
void Checkout
(
const FUniqueNetId& UserId, |
Initiate the checkout process for purchasing offers via payment | Interfaces/OnlinePurchaseInterface.h | |
void Checkout
(
const FUniqueNetId& UserId, |
Initiate the checkout process for purchasing offers via payment without receipts returned Recommended for use when the entitlement or receipt information of the purchase is not needed by the caller | Interfaces/OnlinePurchaseInterface.h | |
virtual void ClearOnUnexpectedPurchaseReceiptDelegate_Handle
(
FDelegateHandle& Handle |
Interfaces/OnlinePurchaseInterface.h | ||
virtual void ClearOnUnexpectedPurchaseReceiptDelegates
(
FDelegateUserObject Object |
Interfaces/OnlinePurchaseInterface.h | ||
void FinalizePurchase
(
const FUniqueNetId& UserId, |
Finalizes a purchase with the supporting platform Acknowledges that the purchase has been properly redeemed by the application | Interfaces/OnlinePurchaseInterface.h | |
virtual void FinalizePurchase
(
const FUniqueNetId& UserId, |
Finalizes a purchase with the supporting platform Acknowledges that the purchase has been properly redeemed by the application. | Interfaces/OnlinePurchaseInterface.h | |
void FinalizeReceiptValidationInfo
(
const FUniqueNetId& UserId, |
Interfaces/OnlinePurchaseInterface.h | ||
void GetReceipts
(
const FUniqueNetId& UserId, |
Get list of cached receipts for user (includes transactions currently being processed) | Interfaces/OnlinePurchaseInterface.h | |
bool IsAllowedToPurchase
(
const FUniqueNetId& UserId |
Determine if user is allowed to purchase from store | Interfaces/OnlinePurchaseInterface.h | |
void QueryReceipts
(
const FUniqueNetId& UserId, |
Query for all of the user's receipts from prior purchases | Interfaces/OnlinePurchaseInterface.h | |
void RedeemCode
(
const FUniqueNetId& UserId, |
Initiate the checkout process for obtaining offers via code redemption | Interfaces/OnlinePurchaseInterface.h | |
virtual void TriggerOnUnexpectedPurchaseReceiptDelegates
(
const FUniqueNetId& Param1 |
Interfaces/OnlinePurchaseInterface.h |