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] Price currency code
  • description (Text): [Read-Write] Short description for display
  • discount_type (OnlineProxyStoreOfferDiscountType): [Read-Write] Type of discount currently running on this offer (if any)
  • dynamic_fields (Map(str, str)): [Read-Write] Dynamic Fields
  • expiration_date (DateTime): [Read-Write] Date this information is no longer valid (maybe due to sale ending, etc)
  • long_description (Text): [Read-Write] Full description for display
  • numeric_price (int32): [Read-Write] Final-Price (Post-Sales/Discounts) in numeric form for comparison/sorting
  • offer_id (str): [Read-Write] Unique offer identifier
  • price_text (Text): [Read-Write] Final-Pricing (Post-Sales/Discounts) as text for display
  • regular_price (int32): [Read-Write] Regular non-sale price in numeric form for comparison/sorting
  • regular_price_text (Text): [Read-Write] Regular non-sale price as text for display
  • release_date (DateTime): [Read-Write] Date the offer was released
  • title (Text): [Read-Write] Title for display
currency_code

(str) – [Read-Only] Price currency code

description

(Text) – [Read-Only] Short description for display

discount_type

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

dynamic_fields

(Map(str, str)) – [Read-Only] Dynamic Fields

expiration_date

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

long_description

(Text) – [Read-Only] Full description for display

numeric_price

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

offer_id

(str) – [Read-Only] Unique offer identifier

price_text

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

regular_price

(int32) – [Read-Only] Regular non-sale price in numeric form for comparison/sorting

regular_price_text

(Text) – [Read-Only] Regular non-sale price as text for display

release_date

(DateTime) – [Read-Only] Date the offer was released

title

(Text) – [Read-Only] Title for display