Interface AdyenStoredPaymentMethodService
- All Known Implementing Classes:
DefaultAdyenStoredPaymentMethodService
public interface AdyenStoredPaymentMethodService
This service is responsible for making call to the Adyen stored payment endpoint through
AdyenProvider
-
Method Summary
Modifier and TypeMethodDescriptionreadStoredPaymentMethods
(String customerReference, String applicationId, String tenantId) Reads stored payments for customer reference from adyen endpointvoid
removeStoredPaymentMethod
(String customerReference, String storedPaymentMethodId, String applicationId, String tenantId) Deletes stored payment for customer reference via adyen endpoint
-
Method Details
-
readStoredPaymentMethods
List<AdyenStoredPaymentMethod> readStoredPaymentMethods(String customerReference, @Nullable String applicationId, @Nullable String tenantId) Reads stored payments for customer reference from adyen endpoint- Parameters:
customerReference
- - the customer reference to identify customer/shopper in adyenapplicationId
- - the application idtenantId
- - the tenant- Returns:
- adyen stored payment endpoint response
-
removeStoredPaymentMethod
void removeStoredPaymentMethod(String customerReference, String storedPaymentMethodId, @Nullable String applicationId, @Nullable String tenantId) Deletes stored payment for customer reference via adyen endpoint- Parameters:
customerReference
- - the customer reference to identify customer/shopper in adyenstoredPaymentMethodId
- - the id of stored payment method returned by adyen read stored payment endpointapplicationId
- - the application idtenantId
- - the tenant id
-