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