Navigation
API > API/Plugins > API/Plugins/OnlineServicesInterface > API/Plugins/OnlineServicesInterface/Online
References
| Module | OnlineServicesInterface |
| Header | /Engine/Plugins/Online/OnlineServices/Source/OnlineServicesInterface/Public/Online/Commerce.h |
| Include | #include "Online/Commerce.h" |
Syntax
struct FOffer
Remarks
Contains all the information required to display an offer to a user.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FString, FString > | AdditionalData | Additional implementation specified fields. | |
| FString | CurrencyCode | Currency Code for this offer | |
| FText | Description | Localized description of this offer | |
| TOptional< FDateTime > | ExpirationDate | Date the information is no longer valid (offer no longer available or discount expires) | |
| FText | FormattedPrice | Final-Pricing (Post-Sales/Discounts) as text for display | |
| FText | FormattedRegularPrice | Regular non-sale price as text for display | |
| FText | LongDescription | Localized long description of this offer | |
| FOfferId | OfferId | The Id of this offer | |
| uint64 | Price | Final-Price (Post-Sales/Discounts) in numeric form for comparison/sorting | |
| int32 | PriceDecimalPoint | Number of decimal places in Price/RegularPrice | |
| int32 | PurchaseLimit | The maximum number of times the offer can be purchased (-1 for no limit) | |
| uint64 | RegularPrice | Regular non-sale price in numeric form for comparison/sorting | |
| TOptional< FDateTime > | ReleaseDate | Date the offer was first available/will be available | |
| FText | Title | Localized title of this offer |