FPurchaseReceipt

Receipt result from checkout

Windows
MacOS
Linux

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

Name Description

Public variable

TArray< FReceip...

 

ReceiptOffers

List of offers that were purchased

Public variable

FString

 

TransactionId

Unique Id for this transaction/order

Public variable

EPurchaseTransa...

 

TransactionState

Current state of the purchase

Constructors

Name Description

Public function

FPurchaseReceipt()

Functions

Name Description

Public function

void

 

AddReceiptOffer

(
    const FReceiptOfferEntry& ReceiptO...
)

Public function

void

 

AddReceiptOffer

(
    const FOfferNamespace& InNamespace,
    const FUniqueOfferId& InOfferId,
    int32 InQuantity
)

Add a offer entry that has been purchased

Overridden from FJsonSerializable

Name Description

Public function Virtual

void

 

Serialize

(
    FJsonSerializerBase& Serializer,
    bool bFlatObject
)

Abstract method that needs to be supplied using the macros

Classes

Name

Description

Public struct

FLineItemInfo

Public struct

FReceiptOfferEntry

Single purchased offer offer

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss