Package ch.aaap.harvestclient.service
Interface InvoiceItemCategoryService
public interface InvoiceItemCategoryService
- 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<InvoiceItem.Category>create(InvoiceItem.Category creationInfo) retrofit2.Call<Void>delete(long categoryId) retrofit2.Call<InvoiceItem.Category>get(long categoryId) retrofit2.Call<PaginatedList>retrofit2.Call<InvoiceItem.Category>update(long categoryId, InvoiceItem.Category updateInfo)  
- 
Field Details
- 
basePath
- See Also:
 
 - 
id
- See Also:
 
 - 
path
- See Also:
 
 
 - 
 - 
Method Details
- 
list
@GET("invoice_item_categories") retrofit2.Call<PaginatedList> list(@Query("updated_since") Instant updatedSince, @Query("page") int page, @Query("per_page") int perPage)  - 
get
@GET("invoice_item_categories/{categoryId}") retrofit2.Call<InvoiceItem.Category> get(@Path("categoryId") long categoryId)  - 
create
@POST("invoice_item_categories") retrofit2.Call<InvoiceItem.Category> create(@Body InvoiceItem.Category creationInfo)  - 
update
@PATCH("invoice_item_categories/{categoryId}") retrofit2.Call<InvoiceItem.Category> update(@Path("categoryId") long categoryId, @Body InvoiceItem.Category updateInfo)  - 
delete
@DELETE("invoice_item_categories/{categoryId}") retrofit2.Call<Void> delete(@Path("categoryId") long categoryId)  
 -