Class DefaultAdyenStoredPaymentMethodService

java.lang.Object
com.broadleafcommerce.adyen.service.DefaultAdyenStoredPaymentMethodService
All Implemented Interfaces:
AdyenStoredPaymentMethodService

public class DefaultAdyenStoredPaymentMethodService extends Object implements AdyenStoredPaymentMethodService
  • Constructor Details

  • Method Details

    • readStoredPaymentMethods

      public List<AdyenStoredPaymentMethod> readStoredPaymentMethods(@NonNull @NonNull String customerReference, @Nullable String applicationId, @Nullable String tenantId)
      Description copied from interface: AdyenStoredPaymentMethodService
      Reads stored payments for customer reference from adyen endpoint
      Specified by:
      readStoredPaymentMethods in interface AdyenStoredPaymentMethodService
      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

      public void removeStoredPaymentMethod(@NonNull @NonNull String customerReference, @NonNull @NonNull String storedPaymentMethodId, @Nullable String applicationId, @Nullable String tenantId)
      Description copied from interface: AdyenStoredPaymentMethodService
      Deletes stored payment for customer reference via adyen endpoint
      Specified by:
      removeStoredPaymentMethod in interface AdyenStoredPaymentMethodService
      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
    • getAdyenProvider

      protected AdyenProvider getAdyenProvider()
    • getConfigurationProperties

      protected AdyenConfigurationProperties getConfigurationProperties()