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