package Ġio . must el id ae . ot ter . ne ot rop ical . api . domain . booking . api . gateway Ċ Ċ import Ġio . must el id ae . ot ter . ne ot rop ical . api . config . App Environment Ċ import Ġio . must el id ae . ot ter . ne ot rop ical . api . domain . booking . Booking Ċ import Ġio . must el id ae . ot ter . ne ot rop ical . utils . Uri String Maker Ċ Ċ class ĠLand ing Page ( ĊĠĠĠ Ġprivate Ġval Ġbooking : ĠBook ing , ĊĠĠĠ Ġapp Env : ĠApp Environment Ċ ) Ġ{ ĊĠĠĠ Ġprivate Ġval Ġproduct Env Ġ= Ġapp Env . products . find Ġ{ Ġit . product Code Ġ== Ġbooking . product Code Ġ} ĊĠĠĠ Ġprivate Ġval Ġtopic : ĠApp Environment . Product . Topic ? Ġ= Ġproduct Env ?. topics ?. find Ġ{ Ġit . id Ġ== Ġbooking . topic Id Ġ} ĊĊĠĠĠ Ġfun Ġget Active Detail (): ĠString ? Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ( product Env Ġ== Ġnull Ġ|| Ġtopic Ġ== Ġnull ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġnull ĊĊĠĠĠĠĠĠĠ Ġreturn ĠUri String Maker . replace ( product Env . host , Ġtopic . landing . active Detail !! , Ġmap Of (" booking Id " Ġto Ġbooking . id !! )) ĊĠĠĠ Ġ} ĊĠĠĠ Ġfun Ġget Record Detail (): ĠString ? Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ( product Env Ġ== Ġnull Ġ|| Ġtopic Ġ== Ġnull ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġnull ĊĊĠĠĠĠĠĠĠ Ġreturn ĠUri String Maker . replace ( product Env . host , Ġtopic . landing . record Detail !! , Ġmap Of (" booking Id " Ġto Ġbooking . id !! )) ĊĠĠĠ Ġ} ĊĠĠĠ Ġfun Ġget Landing Way (): ĠLand ing Way Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġtopic ?. landing Way Ġ?: ĠLand ing Way . NONE ĊĠĠĠ Ġ} Ċ } Ċ