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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetApiToken(String applicationId, String tenantId) getCurrency(String applicationId, String tenantId) getCurrencyCode(String displayValue) getFailureType(String responseCode) booleangetRefundChargeOnCustomer(String applicationId, String tenantId) booleangetServiceChargeOnCustomer(String applicationId, String tenantId) getWebhookEndpointSecret(String applicationId, String tenantId) voidvoidsetCurrencyCodeByDisplayValue(Map<String, String> currencyCodeByDisplayValue) The mapping of MyFatoorah's currency display value to the ISO currency codesvoidsetFailureTypesByCode(Map<String, String> failureTypesByCode) Map of failure types identified by their MyFatoorah response reason code.voidsetRefundChargeOnCustomer(boolean refundChargeOnCustomer) Declares if the customer will be charged for the fees related toDefaultTransactionTypes.REFUNDtransactions.voidsetServiceChargeOnCustomer(boolean serviceChargeOnCustomer) Declares if the customer will be charged for the service fees when a payment is refunded.voidsetWebhookEndpointSecret(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.REFUNDtransactions.- 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:
-