Package ch.aaap.harvestclient.service
Interface ExpenseService
public interface ExpenseService
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<Expense>
attachFile
(long expenseId, okhttp3.MultipartBody.Part receipt) retrofit2.Call<Expense>
retrofit2.Call<Void>
delete
(long expenseId) retrofit2.Call<Expense>
get
(long expenseId) retrofit2.Call<PaginatedList>
retrofit2.Call<Expense>
update
(long expenseId, ExpenseUpdateInfo updateInfo)
-
Field Details
-
basePath
- See Also:
-
id
- See Also:
-
path
- See Also:
-
-
Method Details
-
list
-
get
-
create
-
update
@PATCH("expenses/{expenseId}") retrofit2.Call<Expense> update(@Path("expenseId") long expenseId, @Body ExpenseUpdateInfo updateInfo) -
attachFile
@Multipart @PATCH("expenses/{expenseId}") retrofit2.Call<Expense> attachFile(@Path("expenseId") long expenseId, @Part okhttp3.MultipartBody.Part receipt) -
delete
-