Interface InvoicePaymentService


public interface InvoicePaymentService
  • Field Details

  • 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)