public interface TransfersApi
| Modifier and Type | Method and Description |
|---|---|
TransferResponse |
create(Transfer transfer)
Creates a new transfer and returns its details.
|
TransferResponse |
fetch(java.lang.String transferToken)
Returns the details of a transfer.
|
TransferListResponse |
list(int page)
Returns a paginated list of all transfers.
|
TransferLineItemListResponse |
listLineItems(java.lang.String transferToken,
int page)
Returns the line items associated with transfer.
|
TransferListResponse |
search(SearchCriteria searchCriteria)
Returns a paginated list of transfers matching the search criteria.
|
TransferResponse create(Transfer transfer) throws java.io.IOException
transfer - The transfer specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.TransferListResponse list(int page) throws java.io.IOException
page - The page number specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.TransferListResponse search(SearchCriteria searchCriteria) throws java.io.IOException
searchCriteria - The search criteria specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.TransferResponse fetch(java.lang.String transferToken) throws java.io.IOException
transferToken - The transfer token specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.TransferLineItemListResponse listLineItems(java.lang.String transferToken, int page) throws java.io.IOException
transferToken - The transfer token specified.page - The page number specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.