package Ġcom . th org il . cash book . core . use case . business . transaction Ċ Ċ import Ġcom . th org il . cash book . core . entity . Business Transaction Ċ import Ġjava . time . Year Month Ċ Ċ interface ĠFetch Business Transactions Ġ{ ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠFetch Ġall ĠBusiness Transactions Ġduring Ġa Ġspecific Ġyear Ġand / or Ġmonth . ĊĠĠĠĠ Ġ* ĊĠĠĠĠ Ġ* Ġ@ param Ġperiod ĊĠĠĠĠ Ġ* Ġ@ return Ġa Ġlist Ġof ĠBusiness Transactions , Ġmay Ġbe Ġan Ġempty Ġlist ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġfun Ġfetch Business Transactions ( period : ĠYear Month ): ĠList < Business Transaction > ĊĊĠĠĠ Ġfun Ġfetch Business Transaction ( uuid : ĠString ): ĠBusiness Transaction ? Ċ Ċ } Ċ Ċ open Ġclass ĠFetch Business Transactions UseCase ( private Ġval Ġfetch Business Transactions : ĠFetch Business Transactions From Repository ): ĠFetch Business Transactions Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġfetch Business Transactions ( period : ĠYear Month ): ĠList < Business Transaction > Ġ{ ĊĠĠĠĠĠĠĠĠ Ġreturn Ġfetch Business Transactions . fetch Business Transactions From Repository ( period ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġfetch Business Transaction ( uuid : ĠString ): ĠBusiness Transaction ? Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġfetch Business Transactions . fetch Business Transaction From Repository ( uuid ) ĊĠĠĠ Ġ} Ċ Ċ }