package Ġcom . tri an . data . repository Ċ Ċ import Ġandroid . graphics . Bitmap Ċ import Ġcom . google . android . gms . tasks . Task Ċ import Ġcom . google . firebase . firestore . Collection Reference Ċ import Ġcom . google . firebase . firestore . Document Reference Ċ import Ġcom . google . firebase . firestore . Query Ċ import Ġcom . google . firebase . firestore . Query Snapshot Ċ import Ġcom . tri an . domain . models . Chat Item Ċ import Ġcom . tri an . domain . models . Transaction Ċ import Ġcom . tri an . domain . models . network . Get Status Ċ Ċ interface ĠTransaction Repository Ġ{ ĊĠĠĠ Ġsuspend Ġfun Ġget Detail Transaction ( transaction Id : String ): Get Status < Transaction > ĊĠĠĠ Ġsuspend Ġfun Ġget My Transaction As S eller ( seller U Id : String ): Get Status < List < Transaction >> ĊĠĠĠ Ġsuspend Ġfun Ġget My Transaction As Buyer ( buyer Uid : String ): Get Status < List < Transaction >> ĊĊĠĠĠ Ġfun Ġnew Transaction ( transaction : ĠTransaction , onComplete :( success : Boolean , transaction Id : String , message : String )-> Unit ) ĊĠĠĠ Ġfun Ġupdate Transaction ( transaction : ĠTransaction , onComplete :( success : Boolean , message : String )-> Unit ) ĊĠĠĠ Ġfun Ġupload Receipt ( bitmap : ĠBitmap , transaction Id : ĠString , onComplete : Ġ( success : ĠBoolean , url : String , message : ĠString ) Ġ-> ĠUnit ) ĊĠĠĠ Ġfun Ġsend Chat ( chat Item : ĠChat Item , Ġtransaction : ĠTransaction , onComplete :( success : Boolean , Ġmessage : String )-> Unit ) ĊĠĠĠ Ġfun Ġprovide Chat Collection ( store Id : String ): ĠCollection Reference ĊĠĠĠ Ġfun Ġprovide Detail Order Collection ( store Id : String ): ĠDocument Reference ĊĊĠĠĠ Ġfun Ġprovide List Order As Buyer Collection ( buyer Id : String ): ĠCollection Reference ĊĠĠĠ Ġfun Ġprovide List Order As S eller Collection ( seller Id : String ): ĠCollection Reference Ċ }