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 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 adyen
      applicationId - - the application id
      tenantId - - 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 adyen
      storedPaymentMethodId - - the id of stored payment method returned by adyen read stored payment endpoint
      applicationId - - the application id
      tenantId - - the tenant id