package Ġcom . rent my car . rent my car . network . service Ċ Ċ import Ġcom . rent my car . rent my car . network . response . Post Payment Response Ċ import Ġretrofit 2 . Response Ċ import Ġretrofit 2 . http . Body Ċ import Ġretrofit 2 . http . POST Ċ import Ġcom . rent my car . rent my car . network . request . Post Payment Callback Request Ċ import Ġcom . rent my car . rent my car . network . request . Post Payment Request Ċ import Ġcom . rent my car . rent my car . network . response . Get Payment Response Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ Ċ interface ĠPayment Service Ġ{ ĊĊĠĠĠ Ġ@ POST (" payment /") ĊĠĠĠ Ġsuspend Ġfun Ġpost Payment ( ĊĠĠĠĠĠĠĠ Ġ@ Body Ġpayment : ĠPost Payment Request ĊĠĠĠ Ġ): ĠResponse < Get Payment Response > ĊĊĠĠĠ Ġ@ GET (" payment /{ id }/ ") ĊĠĠĠ Ġsuspend Ġfun Ġget Payment ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" id ") Ġid : ĠInt ĊĠĠĠ Ġ): ĠResponse < Get Payment Response > ĊĊĠĠĠ Ġ@ POST (" payment /{ id }/ callback /") ĊĠĠĠ Ġsuspend Ġfun Ġpost Payment Callback ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" id ") Ġid : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Body Ġcallback : ĠPost Payment Callback Request ĊĠĠĠ Ġ): ĠResponse < String > Ċ }