Navigation
API > API/Plugins > API/Plugins/OnlineServicesInterface
| Name | ICommerce |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineServices/Source/OnlineServicesInterface/Public/Online/Commerce.h |
| Include Path | #include "Online/Commerce.h" |
Syntax
class ICommerce
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TOnlineAsyncOpHandle< FCommerceCheckout > Checkout
(
FCommerceCheckout::Params&& Params |
Initiate the checkout process for purchasing one or more offers | Online/Commerce.h | |
TOnlineResult< FCommerceGetEntitlements > GetEntitlements
(
FCommerceGetEntitlements::Params&& Params |
Get the complete list of cached entitlements | Online/Commerce.h | |
TOnlineResult< FCommerceGetOffers > GetOffers
(
FCommerceGetOffers::Params&& Params |
Get the complete list of cached offers | Online/Commerce.h | |
TOnlineResult< FCommerceGetOffersById > GetOffersById
(
FCommerceGetOffersById::Params&& Params |
Get the offers for a list of offer ids | Online/Commerce.h | |
TOnlineEvent< void(const FCommerceOnPurchaseComplete &)> OnPurchaseCompleted() |
Fires whenever a purchase is completed | Online/Commerce.h | |
TOnlineAsyncOpHandle< FCommerceQueryEntitlements > QueryEntitlements
(
FCommerceQueryEntitlements::Params&& Params |
Get the list of all entitlements | Online/Commerce.h | |
TOnlineAsyncOpHandle< FCommerceQueryOffers > QueryOffers
(
FCommerceQueryOffers::Params&& Params |
Query the list of all offers for the target user | Online/Commerce.h | |
TOnlineAsyncOpHandle< FCommerceQueryOffersById > QueryOffersById
(
FCommerceQueryOffersById::Params&& Params |
Query the offers matching specified offer ids | Online/Commerce.h | |
TOnlineAsyncOpHandle< FCommerceQueryTransactionEntitlements > QueryTransactionEntitlements
(
FCommerceQueryTransactionEntitlements::Params&& Params |
Retrieve the list of entitlements from a transaction id returned from a checkout call | Online/Commerce.h | |
| Mark an entitlement as redeemed. | Online/Commerce.h | ||
TOnlineAsyncOpHandle< FCommerceRetrieveS2SToken > RetrieveS2SToken
(
FCommerceRetrieveS2SToken::Params&& Params |
Get a token suitable for making service to service Commerce related calls | Online/Commerce.h | |
TOnlineAsyncOpHandle< FCommerceShowStoreUI > ShowStoreUI
(
FCommerceShowStoreUI::Params&& Params |
Bring up the platform store ui | Online/Commerce.h |