Class AdyenConfigurationProperties

java.lang.Object
com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties<AdyenConfigurationProperties>
com.broadleafcommerce.adyen.service.AdyenConfigurationProperties

@ConfigurationProperties("broadleaf.adyen") public class AdyenConfigurationProperties extends com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties<AdyenConfigurationProperties>
  • Constructor Details

    • AdyenConfigurationProperties

      public AdyenConfigurationProperties()
  • Method Details

    • getApiKey

      public String getApiKey(@Nullable String applicationId, @Nullable String tenantId)
    • getMerchantAccount

      public String getMerchantAccount(@Nullable String applicationId, @Nullable String tenantId)
    • getPlatformStore

      @Nullable public String getPlatformStore(@Nullable String applicationId, @Nullable String tenantId)
    • getFailureType

      @Nullable public String getFailureType(String refusalReason)
    • isHardDecline

      public boolean isHardDecline(String refusalReason)
    • getHmacKey

      public String getHmacKey(@Nullable String applicationId, @Nullable String tenantId)
    • setApiKey

      public void setApiKey(String apiKey)
      The API key to authenticate the requests.
    • setMerchantAccount

      public void setMerchantAccount(String merchantAccount)
      The merchant account identifier, with which you want to process the transaction.
    • setPlatformStore

      public void setPlatformStore(String platformStore)
      Required for Adyen for Platforms integrations if you are a platform model. This is your reference (on balance platform) or the storeReference (in the classic Adyen integration) for the ecommerce or point-of-sale store that is processing the payment.
    • setHmacKey

      public void setHmacKey(String hmacKey)
      HMAC key for webhook signature validation, provided by adyen in webhooks config
    • setFailureTypesByRefusalReason

      public void setFailureTypesByRefusalReason(Map<String,String> failureTypesByRefusalReason)
      Map of failure types identified by their Adyen refusal reason.
      See Also:
    • setHardDeclineRefusalReasons

      public void setHardDeclineRefusalReasons(List<String> hardDeclineRefusalReasons)
      The list of Adyen response message codes that should be considered a PaymentDeclineType.HARD decline. The categorization of decline types is primarily used with saved payment methods where a payment method should no longer be used if it's related to a hard decline. For example, if the payment gateway tells us that the payment method is stolen, then we should not allow it to be used anymore.
    • getHardDeclineRefusalReasons

      protected List<String> getHardDeclineRefusalReasons()
      The list of Adyen response message codes that should be considered a PaymentDeclineType.HARD decline. The categorization of decline types is primarily used with saved payment methods where a payment method should no longer be used if it's related to a hard decline. For example, if the payment gateway tells us that the payment method is stolen, then we should not allow it to be used anymore.
      Returns:
      The list of payment gateway response codes that should be considered a PaymentDeclineType.HARD decline