Package ch.aaap.harvestclient.service
Interface InvoiceMessagesService
public interface InvoiceMessagesService
- 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<InvoiceMessage>create(long invoiceId, InvoiceMessage creationInfo) retrofit2.Call<Void>delete(long invoiceId, long invoiceMessageId) retrofit2.Call<InvoiceMessage>get(long invoiceId, long invoiceMessageId) retrofit2.Call<PaginatedList> 
- 
Field Details
- 
messageId
- See Also:
 
 - 
invId
- See Also:
 
 - 
basePath
- See Also:
 
 - 
path
- See Also:
 
 
 - 
 - 
Method Details
- 
list
@GET("invoices/{invoiceId}/messages") retrofit2.Call<PaginatedList> list(@Path("invoiceId") long invoiceId, @Query("updated_since") Instant updatedSince, @Query("page") int page, @Query("per_page") int perPage)  - 
get
@GET("invoices/{invoiceId}/messages/{id}") retrofit2.Call<InvoiceMessage> get(@Path("invoiceId") long invoiceId, @Path("id") long invoiceMessageId)  - 
create
@POST("invoices/{invoiceId}/messages") retrofit2.Call<InvoiceMessage> create(@Path("invoiceId") long invoiceId, @Body InvoiceMessage creationInfo)  - 
delete
@DELETE("invoices/{invoiceId}/messages/{id}") retrofit2.Call<Void> delete(@Path("invoiceId") long invoiceId, @Path("id") long invoiceMessageId)  
 -