Package com.adyen.service.capital
Class GrantAccountsApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.capital.GrantAccountsApi
-
public class GrantAccountsApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description GrantAccountsApi(Client client)Grant accounts constructor inpackage.GrantAccountsApi(Client client, String baseURL)Grant accounts constructor inpackage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GrantAccountgetGrantAccountInformation(String id)Get the information of your grant accountGrantAccountgetGrantAccountInformation(String id, RequestOptions requestOptions)Get the information of your grant account-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Field Detail
-
API_VERSION
public static final String API_VERSION
- See Also:
- Constant Field Values
-
baseURL
protected String baseURL
-
-
Constructor Detail
-
GrantAccountsApi
public GrantAccountsApi(Client client)
Grant accounts constructor inpackage.- Parameters:
client-Client(required)
-
-
Method Detail
-
getGrantAccountInformation
public GrantAccount getGrantAccountInformation(String id) throws ApiException, IOException
Get the information of your grant account- Parameters:
id-StringThe unique identifier of the grant account. (required)- Returns:
GrantAccount- Throws:
ApiException- if fails to make API callIOException
-
getGrantAccountInformation
public GrantAccount getGrantAccountInformation(String id, RequestOptions requestOptions) throws ApiException, IOException
Get the information of your grant account- Parameters:
id-StringThe unique identifier of the grant account. (required)requestOptions-RequestOptionsObject to store additional HTTP headers such as idempotency-keys (optional)- Returns:
GrantAccount- Throws:
ApiException- if fails to make API callIOException
-
-