Class MyFatoorahConfigurationProperties

java.lang.Object
com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties<MyFatoorahConfigurationProperties>
com.broadleafcommerce.myfatoorah.service.MyFatoorahConfigurationProperties

@ConfigurationProperties("broadleaf.myfatoorah") public class MyFatoorahConfigurationProperties extends com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties<MyFatoorahConfigurationProperties>
Author:
Dima Myroniuk (dmyroniuk)
  • Constructor Details

    • MyFatoorahConfigurationProperties

      public MyFatoorahConfigurationProperties()
  • Method Details

    • getApiToken

      public String getApiToken(@Nullable String applicationId, @Nullable String tenantId)
    • getCurrency

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

      @Nullable public String getFailureType(String responseCode)
    • getCurrencyCode

      @Nullable public String getCurrencyCode(String displayValue)
    • getWebhookEndpointSecret

      public String getWebhookEndpointSecret(@Nullable String applicationId, @Nullable String tenantId)
    • getRefundChargeOnCustomer

      public boolean getRefundChargeOnCustomer(@Nullable String applicationId, @Nullable String tenantId)
    • getServiceChargeOnCustomer

      public boolean getServiceChargeOnCustomer(@Nullable String applicationId, @Nullable String tenantId)
    • setApiConfig

      public void setApiConfig(MyFatoorahConfigurationProperties.ApiConfig apiConfig)
    • setCurrencyCodeByDisplayValue

      public void setCurrencyCodeByDisplayValue(Map<String,String> currencyCodeByDisplayValue)
      The mapping of MyFatoorah's currency display value to the ISO currency codes
    • setWebhookEndpointSecret

      public void setWebhookEndpointSecret(String webhookEndpointSecret)
      The secret value used to verify the validity of webhook request signatures
    • setRefundChargeOnCustomer

      public void setRefundChargeOnCustomer(boolean refundChargeOnCustomer)
      Declares if the customer will be charged for the fees related to DefaultTransactionTypes.REFUND transactions.
      See Also:
    • setServiceChargeOnCustomer

      public void setServiceChargeOnCustomer(boolean serviceChargeOnCustomer)
      Declares if the customer will be charged for the service fees when a payment is refunded.
      See Also:
    • setFailureTypesByCode

      public void setFailureTypesByCode(Map<String,String> failureTypesByCode)
      Map of failure types identified by their MyFatoorah response reason code.
      See Also: