unreal.OnlineProxyStoreOffer

class unreal.OnlineProxyStoreOffer(offer_id='', title='', description='', long_description='', regular_price_text='', regular_price=0, price_text='', numeric_price=0, currency_code='', release_date=[], expiration_date=[], discount_type=OnlineProxyStoreOfferDiscountType.NOT_ON_SALE, dynamic_fields={})

Bases: unreal.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 code

  • description (Text): [Read-Write] Description: Short description for display

  • discount_type (OnlineProxyStoreOfferDiscountType): [Read-Write] Discount Type: Type of discount currently running on this offer (if any)

  • dynamic_fields (Map(str, str)): [Read-Write] Dynamic Fields

  • expiration_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 display

  • numeric_price (int32): [Read-Write] Numeric Price: Final-Price (Post-Sales/Discounts) in numeric form for comparison/sorting

  • offer_id (str): [Read-Write] Offer Id: Unique offer identifier

  • price_text (Text): [Read-Write] Price Text: Final-Pricing (Post-Sales/Discounts) as text for display

  • regular_price (int32): [Read-Write] Regular Price: Regular non-sale price in numeric form for comparison/sorting

  • regular_price_text (Text): [Read-Write] Regular Price Text: Regular non-sale price as text for display

  • release_date (DateTime): [Read-Write] Release Date: Date the offer was released

  • title (Text): [Read-Write] Title: Title for display

property currency_code

[Read-Only] Currency Code: Price currency code

Type

(str)

property description

[Read-Only] Description: Short description for display

Type

(Text)

property discount_type

[Read-Only] Discount Type: Type of discount currently running on this offer (if any)

Type

(OnlineProxyStoreOfferDiscountType)

property dynamic_fields

[Read-Only] Dynamic Fields

Type

(Map(str, str))

property expiration_date

[Read-Only] Expiration Date: Date this information is no longer valid (maybe due to sale ending, etc)

Type

(DateTime)

property long_description

[Read-Only] Long Description: Full description for display

Type

(Text)

property numeric_price

[Read-Only] Numeric Price: Final-Price (Post-Sales/Discounts) in numeric form for comparison/sorting

Type

(int32)

property offer_id

[Read-Only] Offer Id: Unique offer identifier

Type

(str)

property price_text

[Read-Only] Price Text: Final-Pricing (Post-Sales/Discounts) as text for display

Type

(Text)

property regular_price

[Read-Only] Regular Price: Regular non-sale price in numeric form for comparison/sorting

Type

(int32)

property regular_price_text

[Read-Only] Regular Price Text: Regular non-sale price as text for display

Type

(Text)

property release_date

[Read-Only] Release Date: Date the offer was released

Type

(DateTime)

property title

[Read-Only] Title: Title for display

Type

(Text)