Class TransferInstrumentsApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.legalentitymanagement.TransferInstrumentsApi
-
public class TransferInstrumentsApi extends Service
-
-
Constructor Summary
Constructors Constructor Description TransferInstrumentsApi(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferInstrumentcreateTransferInstrument(TransferInstrumentInfo transferInstrumentInfo)Create a transfer instrumentTransferInstrumentcreateTransferInstrument(TransferInstrumentInfo transferInstrumentInfo, RequestOptions requestOptions)Create a transfer instrumentvoiddeleteTransferInstrument(String id)Delete a transfer instrumentvoiddeleteTransferInstrument(String id, RequestOptions requestOptions)Delete a transfer instrumentTransferInstrumentgetTransferInstrument(String id)Get a transfer instrumentTransferInstrumentgetTransferInstrument(String id, RequestOptions requestOptions)Get a transfer instrumentTransferInstrumentupdateTransferInstrument(String id, TransferInstrumentInfo transferInstrumentInfo)Update a transfer instrumentTransferInstrumentupdateTransferInstrument(String id, TransferInstrumentInfo transferInstrumentInfo, RequestOptions requestOptions)Update a transfer instrument-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Constructor Detail
-
TransferInstrumentsApi
public TransferInstrumentsApi(Client client)
-
-
Method Detail
-
deleteTransferInstrument
public void deleteTransferInstrument(String id) throws ApiException, IOException
Delete a transfer instrument- Parameters:
id-StringThe unique identifier of the transfer instrument to be deleted. (required)- Throws:
ApiException- if fails to make API callIOException
-
deleteTransferInstrument
public void deleteTransferInstrument(String id, RequestOptions requestOptions) throws ApiException, IOException
Delete a transfer instrument- Parameters:
id-StringThe unique identifier of the transfer instrument to be deleted. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Throws:
ApiException- if fails to make API callIOException
-
getTransferInstrument
public TransferInstrument getTransferInstrument(String id) throws ApiException, IOException
Get a transfer instrument- Parameters:
id-StringThe unique identifier of the transfer instrument. (required)- Returns:
TransferInstrument- Throws:
ApiException- if fails to make API callIOException
-
getTransferInstrument
public TransferInstrument getTransferInstrument(String id, RequestOptions requestOptions) throws ApiException, IOException
Get a transfer instrument- Parameters:
id-StringThe unique identifier of the transfer instrument. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
TransferInstrument- Throws:
ApiException- if fails to make API callIOException
-
updateTransferInstrument
public TransferInstrument updateTransferInstrument(String id, TransferInstrumentInfo transferInstrumentInfo) throws ApiException, IOException
Update a transfer instrument- Parameters:
id-StringThe unique identifier of the transfer instrument. (required)transferInstrumentInfo-TransferInstrumentInfo(required)- Returns:
TransferInstrument- Throws:
ApiException- if fails to make API callIOException
-
updateTransferInstrument
public TransferInstrument updateTransferInstrument(String id, TransferInstrumentInfo transferInstrumentInfo, RequestOptions requestOptions) throws ApiException, IOException
Update a transfer instrument- Parameters:
id-StringThe unique identifier of the transfer instrument. (required)transferInstrumentInfo-TransferInstrumentInfo(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
TransferInstrument- Throws:
ApiException- if fails to make API callIOException
-
createTransferInstrument
public TransferInstrument createTransferInstrument(TransferInstrumentInfo transferInstrumentInfo) throws ApiException, IOException
Create a transfer instrument- Parameters:
transferInstrumentInfo-TransferInstrumentInfo(required)- Returns:
TransferInstrument- Throws:
ApiException- if fails to make API callIOException
-
createTransferInstrument
public TransferInstrument createTransferInstrument(TransferInstrumentInfo transferInstrumentInfo, RequestOptions requestOptions) throws ApiException, IOException
Create a transfer instrument- Parameters:
transferInstrumentInfo-TransferInstrumentInfo(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
TransferInstrument- Throws:
ApiException- if fails to make API callIOException
-
-