Package com.adyen.service
Class RecurringApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.RecurringApi
-
public class RecurringApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description RecurringApi(Client client)Default constructor inpackage.RecurringApi(Client client, String baseURL)Alternative constructor inpackage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePermitResultcreatePermit(CreatePermitRequest createPermitRequest)Create new permits linked to a recurring contract.CreatePermitResultcreatePermit(CreatePermitRequest createPermitRequest, RequestOptions requestOptions)Create new permits linked to a recurring contract.DisableResultdisable(DisableRequest disableRequest)Disable stored payment detailsDisableResultdisable(DisableRequest disableRequest, RequestOptions requestOptions)Disable stored payment detailsDisablePermitResultdisablePermit(DisablePermitRequest disablePermitRequest)Disable an existing permit.DisablePermitResultdisablePermit(DisablePermitRequest disablePermitRequest, RequestOptions requestOptions)Disable an existing permit.RecurringDetailsResultlistRecurringDetails(RecurringDetailsRequest recurringDetailsRequest)Get stored payment detailsRecurringDetailsResultlistRecurringDetails(RecurringDetailsRequest recurringDetailsRequest, RequestOptions requestOptions)Get stored payment detailsNotifyShopperResultnotifyShopper(NotifyShopperRequest notifyShopperRequest)Ask issuer to notify the shopperNotifyShopperResultnotifyShopper(NotifyShopperRequest notifyShopperRequest, RequestOptions requestOptions)Ask issuer to notify the shopperScheduleAccountUpdaterResultscheduleAccountUpdater(ScheduleAccountUpdaterRequest scheduleAccountUpdaterRequest)Schedule running the Account UpdaterScheduleAccountUpdaterResultscheduleAccountUpdater(ScheduleAccountUpdaterRequest scheduleAccountUpdaterRequest, RequestOptions requestOptions)Schedule running the Account Updater-
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
-
RecurringApi
public RecurringApi(Client client)
Default constructor inpackage.- Parameters:
client-Client(required)
-
-
Method Detail
-
createPermit
public CreatePermitResult createPermit(CreatePermitRequest createPermitRequest) throws ApiException, IOException
Create new permits linked to a recurring contract.- Parameters:
createPermitRequest-CreatePermitRequest(required)- Returns:
CreatePermitResult- Throws:
ApiException- if fails to make API callIOException
-
createPermit
public CreatePermitResult createPermit(CreatePermitRequest createPermitRequest, RequestOptions requestOptions) throws ApiException, IOException
Create new permits linked to a recurring contract.- Parameters:
createPermitRequest-CreatePermitRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
CreatePermitResult- Throws:
ApiException- if fails to make API callIOException
-
disable
public DisableResult disable(DisableRequest disableRequest) throws ApiException, IOException
Disable stored payment details- Parameters:
disableRequest-DisableRequest(required)- Returns:
DisableResult- Throws:
ApiException- if fails to make API callIOException
-
disable
public DisableResult disable(DisableRequest disableRequest, RequestOptions requestOptions) throws ApiException, IOException
Disable stored payment details- Parameters:
disableRequest-DisableRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
DisableResult- Throws:
ApiException- if fails to make API callIOException
-
disablePermit
public DisablePermitResult disablePermit(DisablePermitRequest disablePermitRequest) throws ApiException, IOException
Disable an existing permit.- Parameters:
disablePermitRequest-DisablePermitRequest(required)- Returns:
DisablePermitResult- Throws:
ApiException- if fails to make API callIOException
-
disablePermit
public DisablePermitResult disablePermit(DisablePermitRequest disablePermitRequest, RequestOptions requestOptions) throws ApiException, IOException
Disable an existing permit.- Parameters:
disablePermitRequest-DisablePermitRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
DisablePermitResult- Throws:
ApiException- if fails to make API callIOException
-
listRecurringDetails
public RecurringDetailsResult listRecurringDetails(RecurringDetailsRequest recurringDetailsRequest) throws ApiException, IOException
Get stored payment details- Parameters:
recurringDetailsRequest-RecurringDetailsRequest(required)- Returns:
RecurringDetailsResult- Throws:
ApiException- if fails to make API callIOException
-
listRecurringDetails
public RecurringDetailsResult listRecurringDetails(RecurringDetailsRequest recurringDetailsRequest, RequestOptions requestOptions) throws ApiException, IOException
Get stored payment details- Parameters:
recurringDetailsRequest-RecurringDetailsRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
RecurringDetailsResult- Throws:
ApiException- if fails to make API callIOException
-
notifyShopper
public NotifyShopperResult notifyShopper(NotifyShopperRequest notifyShopperRequest) throws ApiException, IOException
Ask issuer to notify the shopper- Parameters:
notifyShopperRequest-NotifyShopperRequest(required)- Returns:
NotifyShopperResult- Throws:
ApiException- if fails to make API callIOException
-
notifyShopper
public NotifyShopperResult notifyShopper(NotifyShopperRequest notifyShopperRequest, RequestOptions requestOptions) throws ApiException, IOException
Ask issuer to notify the shopper- Parameters:
notifyShopperRequest-NotifyShopperRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
NotifyShopperResult- Throws:
ApiException- if fails to make API callIOException
-
scheduleAccountUpdater
public ScheduleAccountUpdaterResult scheduleAccountUpdater(ScheduleAccountUpdaterRequest scheduleAccountUpdaterRequest) throws ApiException, IOException
Schedule running the Account Updater- Parameters:
scheduleAccountUpdaterRequest-ScheduleAccountUpdaterRequest(required)- Returns:
ScheduleAccountUpdaterResult- Throws:
ApiException- if fails to make API callIOException
-
scheduleAccountUpdater
public ScheduleAccountUpdaterResult scheduleAccountUpdater(ScheduleAccountUpdaterRequest scheduleAccountUpdaterRequest, RequestOptions requestOptions) throws ApiException, IOException
Schedule running the Account Updater- Parameters:
scheduleAccountUpdaterRequest-ScheduleAccountUpdaterRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ScheduleAccountUpdaterResult- Throws:
ApiException- if fails to make API callIOException
-
-