package Ġcom . d restaurant . order . domain . model Ċ Ċ import Ġcom . d restaurant . common . domain . model . Money Ċ import Ġorg . apache . commons . lang . builder . Equals Builder Ċ import Ġorg . apache . commons . lang . builder . HashCode Builder Ċ import Ġorg . apache . commons . lang . builder . ToString Builder Ċ Ċ /** Ċ Ġ* ĠOrder Ġ' details ' Ġextends Ġthe Ġ[ Order Info ] Ġwith Ġthe Ġtotal Ġamount Ċ Ġ*/ Ċ class ĠOrder Details ( order Info : ĠOrder Info , Ġval Ġorder Total : ĠMoney ) Ġ: ĠOrder Info ( order Info . consumer Id , Ġorder Info . restaurant Id , Ġorder Info . line Items ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠtoString (): ĠString Ġ= ĠTo StringBuilder . reflection ToString ( this ) ĊĊĠĠĠ Ġoverride Ġfun Ġequals ( other : ĠAny ?): ĠBoolean Ġ= ĠEquals Builder . reflection Equals ( this , Ġother ) ĊĊĠĠĠ Ġoverride Ġfun ĠhashCode (): ĠInt Ġ= ĠHash Code Builder . reflection HashCode ( this ) Ċ } Ċ