unreal.OnlineProxyStoreOffer
¶
- class unreal.OnlineProxyStoreOffer(offer_id: str = '', title: Text = '', description: Text = '', long_description: Text = '', regular_price_text: Text = '', regular_price: int = 0, price_text: Text = '', numeric_price: int = 0, currency_code: str = '', release_date: DateTime = [], expiration_date: DateTime = [], discount_type: OnlineProxyStoreOfferDiscountType = Ellipsis, dynamic_fields: Map[str, str] = {})¶
Bases:
StructBase
Offer entry for display from online store
C++ Source:
Plugin: OnlineSubsystemUtils
Module: OnlineSubsystemUtils
File: InAppPurchaseQueryCallbackProxy2.h
Editor Properties: (see get_editor_property/set_editor_property)
currency_code
(str): [Read-Write] Currency Code: Price currency codedescription
(Text): [Read-Write] Description: Short description for displaydiscount_type
(OnlineProxyStoreOfferDiscountType): [Read-Write] Discount Type: Type of discount currently running on this offer (if any)dynamic_fields
(Map[str, str]): [Read-Write] Dynamic Fieldsexpiration_date
(DateTime): [Read-Write] Expiration Date: Date this information is no longer valid (maybe due to sale ending, etc)long_description
(Text): [Read-Write] Long Description: Full description for displaynumeric_price
(int32): [Read-Write] Numeric Price: Final-Price (Post-Sales/Discounts) in numeric form for comparison/sortingoffer_id
(str): [Read-Write] Offer Id: Unique offer identifierprice_text
(Text): [Read-Write] Price Text: Final-Pricing (Post-Sales/Discounts) as text for displayregular_price
(int32): [Read-Write] Regular Price: Regular non-sale price in numeric form for comparison/sortingregular_price_text
(Text): [Read-Write] Regular Price Text: Regular non-sale price as text for displayrelease_date
(DateTime): [Read-Write] Release Date: Date the offer was releasedtitle
(Text): [Read-Write] Title: Title for display
- property discount_type: OnlineProxyStoreOfferDiscountType¶
[Read-Only] Discount Type: Type of discount currently running on this offer (if any)
- property expiration_date: DateTime¶
[Read-Only] Expiration Date: Date this information is no longer valid (maybe due to sale ending, etc)
- Type:
(DateTime)
- property long_description: Text¶
[Read-Only] Long Description: Full description for display
- Type:
(Text)
- property numeric_price: int¶
[Read-Only] Numeric Price: Final-Price (Post-Sales/Discounts) in numeric form for comparison/sorting
- Type:
(int32)
- property price_text: Text¶
[Read-Only] Price Text: Final-Pricing (Post-Sales/Discounts) as text for display
- Type:
(Text)
- property regular_price: int¶
[Read-Only] Regular Price: Regular non-sale price in numeric form for comparison/sorting
- Type:
(int32)
- property regular_price_text: Text¶
[Read-Only] Regular Price Text: Regular non-sale price as text for display
- Type:
(Text)