Package com.adyen.service.management
Class PayoutSettingsMerchantLevelApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.management.PayoutSettingsMerchantLevelApi
-
public class PayoutSettingsMerchantLevelApi extends Service
-
-
Constructor Summary
Constructors Constructor Description PayoutSettingsMerchantLevelApi(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PayoutSettingsaddPayoutSetting(String merchantId, PayoutSettingsRequest payoutSettingsRequest)Add a payout settingPayoutSettingsaddPayoutSetting(String merchantId, PayoutSettingsRequest payoutSettingsRequest, RequestOptions requestOptions)Add a payout settingvoiddeletePayoutSetting(String merchantId, String payoutSettingsId)Delete a payout settingvoiddeletePayoutSetting(String merchantId, String payoutSettingsId, RequestOptions requestOptions)Delete a payout settingPayoutSettingsgetPayoutSetting(String merchantId, String payoutSettingsId)Get a payout settingPayoutSettingsgetPayoutSetting(String merchantId, String payoutSettingsId, RequestOptions requestOptions)Get a payout settingPayoutSettingsResponselistPayoutSettings(String merchantId)Get a list of payout settingsPayoutSettingsResponselistPayoutSettings(String merchantId, RequestOptions requestOptions)Get a list of payout settingsPayoutSettingsupdatePayoutSetting(String merchantId, String payoutSettingsId, UpdatePayoutSettingsRequest updatePayoutSettingsRequest)Update a payout settingPayoutSettingsupdatePayoutSetting(String merchantId, String payoutSettingsId, UpdatePayoutSettingsRequest updatePayoutSettingsRequest, RequestOptions requestOptions)Update a payout setting-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Field Detail
-
baseURL
protected String baseURL
-
-
Constructor Detail
-
PayoutSettingsMerchantLevelApi
public PayoutSettingsMerchantLevelApi(Client client)
-
-
Method Detail
-
deletePayoutSetting
public void deletePayoutSetting(String merchantId, String payoutSettingsId) throws ApiException, IOException
Delete a payout setting- Parameters:
merchantId-StringThe unique identifier of the merchant account. (required)payoutSettingsId-StringThe unique identifier of the payout setting. (required)- Throws:
ApiException- if fails to make API callIOException
-
deletePayoutSetting
public void deletePayoutSetting(String merchantId, String payoutSettingsId, RequestOptions requestOptions) throws ApiException, IOException
Delete a payout setting- Parameters:
merchantId-StringThe unique identifier of the merchant account. (required)payoutSettingsId-StringThe unique identifier of the payout setting. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Throws:
ApiException- if fails to make API callIOException
-
listPayoutSettings
public PayoutSettingsResponse listPayoutSettings(String merchantId) throws ApiException, IOException
Get a list of payout settings- Parameters:
merchantId-StringThe unique identifier of the merchant account. (required)- Returns:
PayoutSettingsResponse- Throws:
ApiException- if fails to make API callIOException
-
listPayoutSettings
public PayoutSettingsResponse listPayoutSettings(String merchantId, RequestOptions requestOptions) throws ApiException, IOException
Get a list of payout settings- Parameters:
merchantId-StringThe unique identifier of the merchant account. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PayoutSettingsResponse- Throws:
ApiException- if fails to make API callIOException
-
getPayoutSetting
public PayoutSettings getPayoutSetting(String merchantId, String payoutSettingsId) throws ApiException, IOException
Get a payout setting- Parameters:
merchantId-StringThe unique identifier of the merchant account. (required)payoutSettingsId-StringThe unique identifier of the payout setting. (required)- Returns:
PayoutSettings- Throws:
ApiException- if fails to make API callIOException
-
getPayoutSetting
public PayoutSettings getPayoutSetting(String merchantId, String payoutSettingsId, RequestOptions requestOptions) throws ApiException, IOException
Get a payout setting- Parameters:
merchantId-StringThe unique identifier of the merchant account. (required)payoutSettingsId-StringThe unique identifier of the payout setting. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PayoutSettings- Throws:
ApiException- if fails to make API callIOException
-
updatePayoutSetting
public PayoutSettings updatePayoutSetting(String merchantId, String payoutSettingsId, UpdatePayoutSettingsRequest updatePayoutSettingsRequest) throws ApiException, IOException
Update a payout setting- Parameters:
merchantId-StringThe unique identifier of the merchant account. (required)payoutSettingsId-StringThe unique identifier of the payout setting. (required)updatePayoutSettingsRequest-UpdatePayoutSettingsRequest(required)- Returns:
PayoutSettings- Throws:
ApiException- if fails to make API callIOException
-
updatePayoutSetting
public PayoutSettings updatePayoutSetting(String merchantId, String payoutSettingsId, UpdatePayoutSettingsRequest updatePayoutSettingsRequest, RequestOptions requestOptions) throws ApiException, IOException
Update a payout setting- Parameters:
merchantId-StringThe unique identifier of the merchant account. (required)payoutSettingsId-StringThe unique identifier of the payout setting. (required)updatePayoutSettingsRequest-UpdatePayoutSettingsRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PayoutSettings- Throws:
ApiException- if fails to make API callIOException
-
addPayoutSetting
public PayoutSettings addPayoutSetting(String merchantId, PayoutSettingsRequest payoutSettingsRequest) throws ApiException, IOException
Add a payout setting- Parameters:
merchantId-StringThe unique identifier of the merchant account. (required)payoutSettingsRequest-PayoutSettingsRequest(required)- Returns:
PayoutSettings- Throws:
ApiException- if fails to make API callIOException
-
addPayoutSetting
public PayoutSettings addPayoutSetting(String merchantId, PayoutSettingsRequest payoutSettingsRequest, RequestOptions requestOptions) throws ApiException, IOException
Add a payout setting- Parameters:
merchantId-StringThe unique identifier of the merchant account. (required)payoutSettingsRequest-PayoutSettingsRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PayoutSettings- Throws:
ApiException- if fails to make API callIOException
-
-