package Ġopen api . map pers Ċ Ċ import Ġmodel . Money Ċ import Ġorg . map struct . Mapper Ċ import Ġorg . map struct . Reporting Policy Ċ import Ġorg . map struct . factory . Map pers Ċ Ċ @ Mapper ( un mapped Source Policy Ġ= ĠReporting Policy . ERROR ) Ċ open Ġclass ĠMoney Mapper Ġ{ ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġval ĠINSTANCE : Ġ ĠMoney Mapper = ĠMap pers . get Mapper ( Money Mapper :: class . java ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġto Open Api ( money Back Model : ĠMoney ): Ġorg . example . transport . openapi . models . Money Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġorg . example . transport . openapi . models . Money ( money Back Model . amount , Ġmoney Back Model . currency Code ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġto Back ( money Mp Model : Ġorg . example . transport . openapi . models . Money ): ĠMoney Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠMoney ( money Mp Model . amount , Ġmoney Mp Model . currency Code ) ĊĠĠĠ Ġ} Ċ }