package Ġcom . micro services . chapter 1 2 . domains . customers . services Ċ Ċ import Ġcom . micro services . chapter 1 2 . domains . accounts . services . Account Service Ċ import Ġcom . micro services . chapter 1 2 . domains . customers . model . Customer Ċ Ċ class ĠCustomer ServiceImpl ( val Ġaccount Service : ĠAccount Service ) Ġ: ĠCustomer Service Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġget Customer ( id : ĠInt ): ĠCustomer Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġaccounts Ġ= Ġaccount Service . get Account sBy Customer ( id ) ĊĠĠĠĠĠĠĠ Ġreturn ĠCustomer ( id , Ġ" customer -$ id ", Ġaccounts ) ĊĠĠĠ Ġ} Ċ }