Package com.adyen.service.checkout
Class RecurringApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.checkout.RecurringApi
-
public class RecurringApi extends Service
-
-
Constructor Summary
Constructors Constructor Description RecurringApi(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StoredPaymentMethodResourcedeleteTokenForStoredPaymentDetails(String recurringId, String shopperReference, String merchantAccount)Delete a token for stored payment detailsStoredPaymentMethodResourcedeleteTokenForStoredPaymentDetails(String recurringId, String shopperReference, String merchantAccount, RequestOptions requestOptions)Delete a token for stored payment detailsListStoredPaymentMethodsResponsegetTokensForStoredPaymentDetails()Get tokens for stored payment detailsListStoredPaymentMethodsResponsegetTokensForStoredPaymentDetails(String shopperReference, String merchantAccount, RequestOptions requestOptions)Get tokens for stored payment details-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Constructor Detail
-
RecurringApi
public RecurringApi(Client client)
-
-
Method Detail
-
deleteTokenForStoredPaymentDetails
public StoredPaymentMethodResource deleteTokenForStoredPaymentDetails(String recurringId, String shopperReference, String merchantAccount) throws ApiException, IOException
Delete a token for stored payment details- Parameters:
recurringId-StringThe unique identifier of the token. (required)shopperReference-StringYour reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. (required)merchantAccount-StringYour merchant account. (required)- Returns:
StoredPaymentMethodResource- Throws:
ApiException- if fails to make API callIOException
-
deleteTokenForStoredPaymentDetails
public StoredPaymentMethodResource deleteTokenForStoredPaymentDetails(String recurringId, String shopperReference, String merchantAccount, RequestOptions requestOptions) throws ApiException, IOException
Delete a token for stored payment details- Parameters:
recurringId-StringThe unique identifier of the token. (required)shopperReference-StringQuery: Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. (required)merchantAccount-StringQuery: Your merchant account. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
StoredPaymentMethodResource- Throws:
ApiException- if fails to make API callIOException
-
getTokensForStoredPaymentDetails
public ListStoredPaymentMethodsResponse getTokensForStoredPaymentDetails() throws ApiException, IOException
Get tokens for stored payment details- Returns:
ListStoredPaymentMethodsResponse- Throws:
ApiException- if fails to make API callIOException
-
getTokensForStoredPaymentDetails
public ListStoredPaymentMethodsResponse getTokensForStoredPaymentDetails(String shopperReference, String merchantAccount, RequestOptions requestOptions) throws ApiException, IOException
Get tokens for stored payment details- Parameters:
shopperReference-StringQuery: Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. (optional)merchantAccount-StringQuery: Your merchant account. (optional)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ListStoredPaymentMethodsResponse- Throws:
ApiException- if fails to make API callIOException
-
-