/* Ċ Ġ* ĠCopyright ĠÂ© Ġ 2 0 2 1 ĠBy ĠG eek s ĠEmp ire . Ċ Ġ* Ċ Ġ* ĠCreated Ġby ĠE li as ĠF azel Ċ Ġ* ĠLast Ġmodified Ġ 8 / 1 3 / 2 1 , Ġ 7 : 1 8 ĠAM Ċ Ġ* Ċ Ġ* ĠLicensed ĠUnder ĠMIT ĠLicense . Ċ Ġ* Ġhttps :// opensource . org / licenses / MIT Ċ Ġ*/ Ċ Ċ package Ġco . ge ek semp ire . premium . sto refront . movies . Sto refront For Movies Configurations . Data Structure Ċ Ċ import Ġandroidx . annotation . Keep Ċ Ċ object ĠFeature d Movies Data Key Ġ{ ĊĠĠĠ Ġconst Ġval ĠProduct Id Ġ= Ġ" ProductId " ĊĠĠĠ Ġconst Ġval ĠMovie Genre Ġ= Ġ" Movie Genre " Ċ } Ċ Ċ object ĠMov ies Data Key Ġ{ ĊĠĠĠ Ġconst Ġval ĠMovie Id = Ġ" Movie ĠId " ĊĠĠĠ Ġconst Ġval ĠMovie Gen res Ġ= Ġ Ġ" Movie ĠGen res " ĊĊĠĠĠ Ġconst Ġval ĠMovie Purchase Price Ġ= Ġ" Movie ĠP urch asing ĠPrice " ĊĠĠĠ Ġconst Ġval ĠMovie Rent ing Price Ġ= Ġ" Movie ĠR ent ing ĠPrice " ĊĊĠĠĠ Ġconst Ġval ĠMovie Tr ailer Ġ= Ġ" Movie ĠTr ailer " ĊĊĠĠĠ Ġconst Ġval ĠMovie Subtitle Languages Ġ= Ġ" Movie ĠSub title ĠLanguage s " ĊĠĠĠ Ġconst Ġval ĠMovie Audio Languages Ġ= Ġ" Movie ĠAudio ĠLanguage s " ĊĊĠĠĠ Ġconst Ġval ĠMovie St ars Ġ= Ġ" Movie ĠSt ars " ĊĠĠĠ Ġconst Ġval ĠMovie Studio Ġ= Ġ" Movie ĠStudio " ĊĠĠĠ Ġconst Ġval ĠMovie Direct ors Ġ= Ġ" Movie ĠDirect ors " ĊĊĠĠĠ Ġconst Ġval ĠMovie Release Data Ġ= Ġ" Movie ĠRelease ĠDate " ĊĊĠĠĠ Ġconst Ġval ĠMovie Content Safety Rating Ġ= Ġ" Content ĠS afety ĠRating " ĊĠĠĠ Ġconst Ġval ĠMovie Content Safety Rating Icon Ġ= Ġ" Content ĠS afety ĠRating ĠIcon " ĊĊĠĠĠ Ġconst Ġval ĠMovie Rating Ġ= Ġ" Rating " ĊĊĠĠĠ Ġconst Ġval ĠMovie ProductId Ġ= Ġ" productId " ĊĊĠĠĠ Ġconst Ġval ĠMovie Name Ġ= Ġ" product Name " ĊĠĠĠ Ġconst Ġval ĠMovie Description Ġ= Ġ" product Description " ĊĠĠĠ Ġconst Ġval ĠMovie Summary Ġ= Ġ" product Summary " ĊĠĠĠ Ġconst Ġval ĠMovie Post er Ġ= Ġ" product Post er " ĊĊĠĠĠ Ġconst Ġval ĠMovie Primary Genre Ġ= Ġ" primary Genre " ĊĊĠĠĠ Ġconst Ġval ĠMovie Unique Recommendation Ġ= Ġ" unique Recommendation " Ċ } Ċ Ċ class ĠMov ies Data Structure ( private Ġval Ġmovie Data : ĠMutable Map < String , ĠAny >) Ġ{ ĊĊĠĠĠ Ġfun Ġmovie Id () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Id ]. toString () ĊĠĠĠ Ġfun Ġmovie Gen res () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Gen res ]. toString () ĊĊĠĠĠ Ġfun Ġmovie Purchase Price () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Purchase Price ]. toString () ĊĠĠĠ Ġfun Ġmovie Rent ing Price () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Rent ing Price ]. toString () ĊĊĠĠĠ Ġfun Ġmovie Tr ailer () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Tr ailer ]. toString () ĊĊĠĠĠ Ġfun Ġmovie Subtitle Languages () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Subtitle Languages ]. toString () ĊĠĠĠ Ġfun Ġmovie Audio Languages () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Audio Languages ]. toString () ĊĊĠĠĠ Ġfun Ġmovie St ars () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie St ars ]. toString () ĊĠĠĠ Ġfun Ġmovie St ud ios () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Studio ]. toString () ĊĠĠĠ Ġfun Ġmovie Direct ors () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Direct ors ]. toString () ĊĊĠĠĠ Ġfun Ġmovie Release Date () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Release Data ]. toString () ĊĊĠĠĠ Ġfun Ġmovie Content Safety Rating () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Content Safety Rating ]. toString () ĊĠĠĠ Ġfun Ġmovie Content Safety Rating Icon () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Content Safety Rating Icon ]. toString () ĊĊĠĠĠ Ġfun Ġmovie Rating () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Rating ]. toString () ĊĊĠĠĠ Ġfun Ġmovie ProductId () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie ProductId ]. toString () ĊĊĠĠĠ Ġfun Ġmovie Name () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Name ]. toString () ĊĠĠĠ Ġfun Ġmovie Description () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Description ]. toString () ĊĠĠĠ Ġfun Ġmovie Summary () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Summary ]. toString () ĊĠĠĠ Ġfun Ġmovie Post er () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Post er ]. toString () ĊĊĠĠĠ Ġfun Ġmovie Primary Genre () Ġ: ĠString Ġ= Ġmovie Data [ Movies Data Key . Movie Primary Genre ]. toString () ĊĊĠĠĠ Ġfun Ġmovie Unique Recommendation () Ġ: ĠBoolean Ġ= Ġmovie Data [ Movies Data Key . Movie Unique Recommendation ]. toString (). to Boolean () Ċ Ċ } Ċ Ċ @ Keep Ċ data Ġclass ĠSto refront Movies Contents Data Ġ( var Ġmovie Id : ĠString , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġvar Ġmovie Name : ĠString , Ġvar Ġmovie Description : ĠString , Ġvar Ġmovie Summary : ĠString , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġvar Ġmovie Post er Link : ĠString , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġvar Ġproduct Attributes : ĠHashMap < String , ĠString ?> ) Ċ Ċ object ĠGen re Data Key Ġ{ ĊĠĠĠ Ġconst Ġval ĠGen re Id Ġ= Ġ" genre Id " ĊĠĠĠ Ġconst Ġval ĠGen re Name Ġ= Ġ" genre Name " ĊĠĠĠ Ġconst Ġval ĠGen re Icon Link Ġ= Ġ" genre Icon Link " ĊĠĠĠ Ġconst Ġval ĠProduct Count Ġ= Ġ" product Count " Ċ } Ċ Ċ @ Keep Ċ data Ġclass ĠGen re Ids ( var ĠGen re Ids : ĠArrayList < HashMap < String , ĠAny >> ? Ġ= Ġnull ) Ċ Ċ @ Keep Ċ data Ġclass ĠSto refront Gen res Data ( var Ġgenre Id : ĠInt , Ġvar Ġgenre Name : ĠString , Ġvar Ġgenre Icon Link : ĠString , Ġvar Ġproduct Count : ĠInt , Ġvar Ġselected Category : ĠBoolean Ġ= Ġfalse )