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