Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces
Inheritance Hierarchy
- FJsonSerializable
- FPurchaseReceipt
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlinePurchaseInterface.h |
| Include | #include "Interfaces/OnlinePurchaseInterface.h" |
Syntax
class FPurchaseReceipt : public FJsonSerializable
Remarks
Receipt result from checkout
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FReceiptOfferEntry > | ReceiptOffers | List of offers that were purchased | |
| FString | TransactionId | Unique Id for this transaction/order | |
| EPurchaseTransactionState | TransactionState | Current state of the purchase |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddReceiptOffer
(
const FReceiptOfferEntry& ReceiptOffer |
||
| void | AddReceiptOffer
(
FReceiptOfferEntry&& ReceiptOffer |
||
| void | AddReceiptOffer
(
const FOfferNamespace& InNamespace, |
Add a offer entry that has been purchased |
Overridden from FJsonSerializable
| Type | Name | Description | |
|---|---|---|---|
| void | Serialize
(
FJsonSerializerBase& Serializer, |
Abstract method that needs to be supplied using the macros |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FLineItemInfo | |||
| FReceiptOfferEntry | Single purchased offer offer |