File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -579,6 +579,7 @@ public static void Initialize()
579579 x . CreateMap < Metacritic , StoreMetacriticModel > ( ) ;
580580 x . CreateMap < Platforms , StorePlatformsModel > ( ) ;
581581 x . CreateMap < PackageGroup , StorePackageGroupModel > ( ) ;
582+ x . CreateMap < Price , StorePriceOverview > ( ) ;
582583 x . CreateMap < Sub , StoreSubModel > ( ) ;
583584
584585 x . CreateMap < FeaturedCategoriesContainer , StoreFeaturedCategoriesModel > ( ) ;
@@ -658,4 +659,4 @@ public static void Reset()
658659 mapper = null ;
659660 }
660661 }
661- }
662+ }
Original file line number Diff line number Diff line change @@ -159,6 +159,27 @@ internal class SupportInfo
159159 public string Email { get ; set ; }
160160 }
161161
162+ internal class Price
163+ {
164+ [ JsonProperty ( "currency" ) ]
165+ public string Currency { get ; set ; }
166+
167+ [ JsonProperty ( "initial" ) ]
168+ public uint Initial { get ; set ; }
169+
170+ [ JsonProperty ( "final" ) ]
171+ public uint Final { get ; set ; }
172+
173+ [ JsonProperty ( "discount_percent" ) ]
174+ public uint DiscountPercent { get ; set ; }
175+
176+ [ JsonProperty ( "initial_formatted" ) ]
177+ public string InitialFormatted { get ; set ; }
178+
179+ [ JsonProperty ( "final_formatted" ) ]
180+ public string FinalFormatted { get ; set ; }
181+ }
182+
162183 internal class Data
163184 {
164185 [ JsonProperty ( "type" ) ]
@@ -206,6 +227,9 @@ internal class Data
206227 [ JsonProperty ( "developers" ) ]
207228 public string [ ] Developers { get ; set ; }
208229
230+ [ JsonProperty ( "price_overview" ) ]
231+ public Price PriceOverview { get ; set ; }
232+
209233 [ JsonProperty ( "publishers" ) ]
210234 public string [ ] Publishers { get ; set ; }
211235
@@ -255,4 +279,4 @@ internal class AppDetailsContainer
255279 [ JsonProperty ( "data" ) ]
256280 public Data Data { get ; set ; }
257281 }
258- }
282+ }
You can’t perform that action at this time.
0 commit comments