package Ġcom . r 3 . cord a . finance . cash . issuer . client . flows Ċ Ċ import Ġco . parallel universe . fib ers . Suspend able Ċ import Ġcom . r 3 . cord a . lib . tokens . contracts . types . TokenType Ċ import Ġcom . r 3 . cord a . lib . tokens . contracts . utilities . of Ċ import Ġcom . r 3 . cord a . lib . tokens . money . Fi at Currency Ċ import Ġcom . r 3 . cord a . lib . tokens . workflows . flows . re deem . Conf idential Re deem F ung ible Tokens Flow Ċ import Ġcom . r 3 . cord a . sdk . issuer . common . workflows . flows . Abstract Re deem Cash Ċ import Ġnet . cord a . core . contracts . Amount Ċ import Ġnet . cord a . core . flows . Flow Logic Ċ import Ġnet . cord a . core . flows . Start able By RPC Ċ import Ġnet . cord a . core . identity . Party Ċ import Ġnet . cord a . core . transactions . Signed Transaction Ċ import Ġnet . cord a . core . utilities . Progress Tracker Ċ Ċ class ĠRe deem Cash ( val Ġamount : ĠAmount < TokenType >, Ġval Ġissuer : ĠParty ) Ġ: ĠAbstract Re deem Cash () Ġ{ ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġobject ĠRE DE EM ING Ġ: ĠProgress Tracker . Step (" Re deem ing Ġcash .") ĊĠĠĠĠĠĠĠ Ġ@ Jvm Static ĊĠĠĠĠĠĠĠ Ġfun Ġtracker () Ġ= ĠProgress Tracker ( RE DE EM ING ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġval Ġprogress Tracker : ĠProgress Tracker Ġ= Ġtracker () ĊĊĠĠĠ Ġ@ Suspend able ĊĠĠĠ Ġoverride Ġfun Ġcall (): ĠSigned Transaction Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġissuer Session Ġ= Ġinitiate Flow ( issuer ) ĊĠĠĠĠĠĠĠ Ġreturn Ġsub Flow ( Conf idential Re deem F ung ible Tokens Flow ( amount , Ġissuer Session )) ĊĠĠĠ Ġ} Ċ } Ċ Ċ @ Start able By RPC Ċ class ĠRe deem Cash Shell ( val Ġamount : ĠLong , Ġval Ġcurrency : ĠString , Ġval Ġissuer : ĠParty ) Ġ: ĠFlow Logic < Signed Transaction >() Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġprogress Tracker : ĠProgress Tracker Ġ= ĠProgress Tracker () ĊĊĠĠĠ Ġ@ Suspend able ĊĠĠĠ Ġoverride Ġfun Ġcall (): ĠSigned Transaction Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġfi at Currency Ġ= ĠF iat Currency . getInstance ( currency ) ĊĠĠĠĠĠĠĠ Ġreturn Ġsub Flow ( Re deem Cash ( amount Ġof Ġfi at Currency , Ġissuer )) ĊĠĠĠ Ġ} Ċ }