public interface InvoicePaymentsApi
| Modifier and Type | Method and Description |
|---|---|
InvoicePayment |
create(Reference<Invoice> invoiceReference,
InvoicePayment creationInfo)
Create a new InvoicePayment
|
void |
delete(Reference<Invoice> invoiceReference,
Reference<InvoicePayment> invoicePaymentReference)
Delete an existing InvoicePayment.
|
List<InvoicePayment> |
list(Reference<Invoice> invoiceReference,
Instant updatedSince) |
Pagination<InvoicePayment> |
list(Reference<Invoice> invoiceReference,
Instant updatedSince,
int page,
int perPage) |
List<InvoicePayment> list(Reference<Invoice> invoiceReference, Instant updatedSince)
updatedSince - return only InvoicePayments that have been updated at least 1
second after updatedSince. Set to null to disable filtering.invoiceReference - the invoice containing the paymentsPagination<InvoicePayment> list(Reference<Invoice> invoiceReference, Instant updatedSince, int page, int perPage)
updatedSince - return only InvoicePayments that have been updated at least 1
second after updatedSince. Set to null to disable filtering.invoiceReference - the invoice containing the paymentspage - the page numberperPage - how many results to return for one page. Max 100InvoicePayment create(Reference<Invoice> invoiceReference, InvoicePayment creationInfo)
invoiceReference - the invoice that will contain the paymentcreationInfo - creation informationvoid delete(Reference<Invoice> invoiceReference, Reference<InvoicePayment> invoicePaymentReference)
invoiceReference - the invoice that contains the paymentinvoicePaymentReference - An existing InvoicePayment to be deleted