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)
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetApiToken
(String applicationId, String tenantId) getCurrency
(String applicationId, String tenantId) getCurrencyCode
(String displayValue) getFailureType
(String responseCode) boolean
getRefundChargeOnCustomer
(String applicationId, String tenantId) boolean
getServiceChargeOnCustomer
(String applicationId, String tenantId) getWebhookEndpointSecret
(String applicationId, String tenantId) void
void
setCurrencyCodeByDisplayValue
(Map<String, String> currencyCodeByDisplayValue) The mapping of MyFatoorah's currency display value to the ISO currency codesvoid
setFailureTypesByCode
(Map<String, String> failureTypesByCode) Map of failure types identified by their MyFatoorah response reason code.void
setRefundChargeOnCustomer
(boolean refundChargeOnCustomer) Declares if the customer will be charged for the fees related toDefaultTransactionTypes.REFUND
transactions.void
setServiceChargeOnCustomer
(boolean serviceChargeOnCustomer) Declares if the customer will be charged for the service fees when a payment is refunded.void
setWebhookEndpointSecret
(String webhookEndpointSecret) The secret value used to verify the validity of webhook request signaturesMethods inherited from class com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties
getApplication, getField, getTenant, setApplication, setTenant
-
Constructor Details
-
MyFatoorahConfigurationProperties
public MyFatoorahConfigurationProperties()
-
-
Method Details
-
getApiToken
-
getCurrency
-
getFailureType
-
getCurrencyCode
-
getWebhookEndpointSecret
-
getRefundChargeOnCustomer
-
getServiceChargeOnCustomer
-
setApiConfig
-
setCurrencyCodeByDisplayValue
The mapping of MyFatoorah's currency display value to the ISO currency codes -
setWebhookEndpointSecret
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 toDefaultTransactionTypes.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
Map of failure types identified by their MyFatoorah response reason code.- See Also:
-